Bug#345758: No direct rendering with recent kernels (workaround)

2006-01-13 Thread David Martínez Moreno
El viernes, 13 de enero de 2006 01:13, Svante Signell escribió:
> On Thu, 2006-01-12 at 16:16 +0100, Michel Dänzer wrote:
> > Someone should fix the mga X driver to fall back to the old DMA init
> > method if the new one fails.
>
> Why not making a patch of the kernel module for kernels 2.6.14 and 2.6.15?
> The problem has obviously been solved in November last year, see
> https://bugs.freedesktop.org/show_bug.cgi?id=4797

Because we only control X.Org, not kernel.

Definitely Michel's solution seems the best for me.


Ender.
-- 
Oh, I saw...Very American. Fire enough bullets and hope
 they hit the target!
-- Allan Quatermain (The League of Extraordinary Gentlemen).
--
Desarrollador de Debian
Debian developer


pgpZv2IsUAo0Z.pgp
Description: PGP signature


Bug#345758: No direct rendering with recent kernels (workaround)

2006-01-12 Thread Svante Signell
On Thu, 2006-01-12 at 16:16 +0100, Michel Dänzer wrote:
> On Wed, 2006-01-11 at 10:42 +0100, Svante Signell wrote:
> > Can you please add the workaround described below to the DRM problems
> > with kernels 2.6.14+15 to next release of Xorg. Obviously the kernel
> > module patch will not be included until kernel 2.6.16. 
> > 
> > For direct rendering with MGA graphics cards use the following option in
> > the Device section of xorg.conf:
> > Option "OldDmaInit" "true"
> 
> Someone should fix the mga X driver to fall back to the old DMA init
> method if the new one fails.

Why not making a patch of the kernel module for kernels 2.6.14 and 2.6.15?
The problem has obviously been solved in November last year, see
https://bugs.freedesktop.org/show_bug.cgi?id=4797

-- 
Svante Signell <[EMAIL PROTECTED]>



Bug#345758: No direct rendering with recent kernels (workaround)

2006-01-12 Thread Michel Dänzer
On Wed, 2006-01-11 at 10:42 +0100, Svante Signell wrote:
> Can you please add the workaround described below to the DRM problems
> with kernels 2.6.14+15 to next release of Xorg. Obviously the kernel
> module patch will not be included until kernel 2.6.16. 
> 
> For direct rendering with MGA graphics cards use the following option in
> the Device section of xorg.conf:
> Option "OldDmaInit" "true"

Someone should fix the mga X driver to fall back to the old DMA init
method if the new one fails.


-- 
Earthling Michel Dänzer  | Debian (powerpc), X and DRI developer
Libre software enthusiast|   http://svcs.affero.net/rm.php?r=daenzer



Bug#345758: No direct rendering with recent kernels (workaround)

2006-01-11 Thread Svante Signell
Can you please add the workaround described below to the DRM problems
with kernels 2.6.14+15 to next release of Xorg. Obviously the kernel
module patch will not be included until kernel 2.6.16. 

For direct rendering with MGA graphics cards use the following option in
the Device section of xorg.conf:
Option "OldDmaInit" "true"

On Thu, 2006-01-05 at 00:45 +0100, Svante Signell wrote:
> 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::01:00.0
> > drmOpenDevice: node name is /dev/dri/card0
> > drmOpenDevice: open result is 4, (OK)
> > drmOpenByBusid: drmOpenMinor returns 4
> > drmOpenByBusid: drmGetBusid reports pci::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.
> 
> 
-- 
Svante Signell <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]