DRI not working

Alex mailinglist at ahhyes.net
Sat Sep 27 13:32:51 UTC 2008


Hi Guys,

I seem to be having issues getting DRI to work on my Laptop (Dell 
Inspiron 510M, the unit is quite dated now so, hardware support should 
be quite good, but it isn't.

Firstly, some information about my system:

[root at laptop /usr/home/alex]# uname -a
FreeBSD laptop.xor.net 7.1-BETA FreeBSD 7.1-BETA #0: Fri Sep 26 23:44:00 
EST 2008     alex at laptop.xor.net:/usr/obj/usr/src/sys/custom  i386

[root at laptop /usr/home/alex]# dmesg |grep drm
drm0: <Intel i852GM/i855GM GMCH> on vgapci0
info: [drm] AGP at 0xf0000000 128MB
info: [drm] Initialized i915 1.5.0 20060119
drm1: <Intel i852GM/i855GM GMCH> on vgapci1
info: [drm] AGP at 0xf0000000 128MB
info: [drm] Initialized i915 1.5.0 20060119

In my xorg logs, I see the following information:

(II) [drm] DRM interface version 1.2
(II) [drm] DRM open master succeeded.
(II) intel(0): [drm] Using the DRM lock SAREA also for drawables.
(II) intel(0): [drm] framebuffer mapped by ddx driver
(II) intel(0): [drm] added 1 reserved context for kernel
(II) intel(0): X context handle = 0x1
(II) intel(0): [drm] installed DRM signal handler
(**) intel(0): Framebuffer compression enabled
(**) intel(0): Tiling enabled
(==) intel(0): Write-combining range (0xfaf80000,0x80000) was already clear
(==) intel(0): VideoRam: 131072 KB
(II) intel(0): Attempting memory allocation with tiled buffers.
(WW) intel(0): xf86AllocateGARTMemory: allocation of 10 pages failed
        (Cannot allocate memory)
(WW) intel(0): xf86AllocateGARTMemory: allocation of 4 pages failed
        (Cannot allocate memory)
(WW) intel(0): Disabling HW cursor because the cursor memory allocation 
failed.
(II) intel(0): Tiled allocation successful.
(--) intel(0): DRI is disabled because it needs HW cursor, 2D accel and 
AGPGART.


Now, if I add an extra line in my xorg.conf:

Option "Tiling" "False"

The memory allocation succeeds and DRI is working, but with a 
performance hit?!? DRI should work out of the box right?  I tried 
updating the video driver to xf86-video-intel-2.4.2 (was 2.4.0), this 
made no difference.

Is this an xorg related issue with freebsd or a problem with the agpgart 
driver? I recall having this issue with 7.0-RELEASE on this machine too 
some time ago.. I gave up previously because of the lack of 
help/interest from the community with the issue.

Any help/suggestions would be appreciated.

Thanks!
Alex.



More information about the freebsd-x11 mailing list