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

Re: No direct rendering with recent kernels



On Tue, 2006-01-03 at 11:58 +0100, Svante Signell wrote:
> Subject: xserver-xorg: No direct rendering with recent kernels
> Package: xserver-xorg
> Version: 6.9.0.dfsg.1-1
> Severity: important
> 
> *** Please type your report below this line ***
> Recent kernels 2.6.14-2-686-smp and 2.6.15-rc4-686-smp does not have 
> direct rendering enabled. Kernel 2.6.11-1-686-smp works OK.
> 
> Kernel 2.6.14:
> ~$ LIBGL_DEBUG=verbose glxgears
> libGL error: XF86DRIQueryDirectRenderingCapable returned false
> 598 frames in 6.2 seconds = 97.027 FPS
> 560 frames in 6.4 seconds = 87.010 FPS
> 560 frames in 6.4 seconds = 88.052 FPS
> 
> Kernel 2.6.11:
> ~$ LIBGL_DEBUG=verbose glxgears
> libGL: XF86DRIGetClientDriverName: 1.2.1 mga (screen 0)
> libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/mga_dri.so
> drmOpenByBusid: Searching for BusID pci:0000:01:00.0
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is 4, (OK)
> drmOpenByBusid: drmOpenMinor returns 4
> drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
> 2440 frames in 5.0 seconds = 487.941 FPS
> 2526 frames in 5.0 seconds = 505.015 FPS
> 2519 frames in 5.0 seconds = 503.690 FPS
> 

It seems that this bug has been solved in the DRM module in CVS in
November, see https://bugs.freedesktop.org/show_bug.cgi?id=4797

The problem is that the changes are not included in kernels 2.6.14 and
2.6.15 (released yesterday). I've asked on the DRI-devel mailinglist if
a patch can be made available that can be included when building these
kernels. If not, a workaround is to add the  Option "OldDmaInit" "true"
in the Device section of xorg.conf for the card as a workaround. My
problems were solved by this setting for the card, an MGA G400 DH AGP.




Reply to: