tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

netbsd-7 on intel GPU (improvements and regressions)



Hello,
I've updated two systems with Intel GPU to the latest netbsd-7.
There were running netbsd-7 from december, with DRMKMS, with accel
disabled.
With the new netbsd-7:
- on a system running amd64 with 
pchb0 at pci0 dev 0 function 0: Intel Haswell Host Bridge, DRAM (rev. 0x06)
i915drmkms0 at pci0 dev 2 function 0: Intel Haswell Integrated Graphics Device (
rev. 0x06)
drm: Memory usable by graphics device = 2048M
drm: Supports vblank timestamp caching Rev 2 (21.10.2013).
drm: Driver supports precise vblank timestamp query.
i915drmkms0: interrupting at ioapic0 pin 16 (i915)
intelfb0 at i915drmkms0
i915drmkms0: info: registered panic notifier
i915drmkms0: More than 8 outputs detected via ACPI
intelfb0: framebuffer at 0xffff80008ef96000, size 1280x1024, depth 32, stride 51
20
wsdisplay0 at intelfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0

I can now run with accel enabled, opengl applications are stable without
display problem. This is definitively an improvement.

- on a system running i386 with:
pchb0 at pci0 dev 0 function 0WARNING: module error: vfs load failed for `pciver
bose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
: vendor 0x8086 product 0x2a00 (rev. 0x0c)
agp0 at pchb0: i965-family chipset
agp0: detected 7676k stolen memory
agp0: aperture at 0xe0000000, size 0x20000000
i915drmkms0 at pci0 dev 2 function 0WARNING: module error: vfs load failed for `
pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
: vendor 0x8086 product 0x2a02 (rev. 0x0c)
drm: Memory usable by graphics device = 512M
drm: Supports vblank timestamp caching Rev 2 (21.10.2013).
drm: Driver supports precise vblank timestamp query.
i915drmkms0: interrupting at ioapic0 pin 16 (i915)
drm: initialized overlay support
intelfb0 at i915drmkms0
i915drmkms0: info: registered panic notifier
intelfb0: framebuffer at 0xdb1d6000, size 1280x800, depth 32, stride 5120
wsdisplay0 at intelfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0

I can no longer run any opengl application, with or without accel:
/:/home/bouyer>gdb /usr/X11R7/bin/glxgears 
GNU gdb (GDB) 7.7.1
[...]
Reading symbols from /usr/X11R7/bin/glxgears...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/X11R7/bin/glxgears 
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 1]
0xbbbbdf00 in glLightfv () from /usr/X11R7/lib/libGL.so.2
(gdb) where
#0  0xbbbbdf00 in glLightfv () from /usr/X11R7/lib/libGL.so.2
#1  0x0804ac34 in main ()

This is a regression: with the previous netbsd-7 I could run opengl
applications with accel disabled (with accel on there would be display
corruptions)

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index