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

Re: Trouble with DRI



On Fri, Nov 07, 2008 at 19:41:38 -0800, Jason C. Wells wrote:
> I'm having trouble with DRI on my Radeon 9600 Pro.

[...]

> jcw@w17 ~ $ uname -a
> Linux w17 2.6.26-1-686 #1 SMP Wed Sep 10 16:46:13 UTC 2008 i686 GNU/Linux
>
> jcw@w17 ~ $ dmesg | grep "agp\|radeon"
> [    6.514439] Linux agpgart interface v0.103
> [    6.566541] agpgart: Detected Ati IGP9100/M chipset
> [    6.567500] agpgart: AGP aperture is 32M @ 0x0
> [   47.974029] [drm] Initialized radeon 1.29.0 20080528 on minor 0
> [   49.859493] agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
> [   49.859522] agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
> [   49.859558] agpgart: Putting AGP V2 device at 0000:01:05.0 into 4x mode
>
> jcw@w17 ~ $ lsmod | grep "radeon\|agp\|drm"
> radeon                118688  0
> drm                    65256  1 radeon
> ati_agp                 6220  1
> agpgart                28776  2 drm,ati_agp
>
> jcw@w17 ~ $ grep "\[agp\]\|\[drm\]" /var/log/Xorg.0.log
> (II) [drm] DRM interface version 1.3
> (II) [drm] DRM open master succeeded.
> (II) RADEON(0): [drm] Using the DRM lock SAREA also for drawables.
> (II) RADEON(0): [drm] framebuffer handle = 0xd0000000
> (II) RADEON(0): [drm] added 1 reserved context for kernel
> (II) RADEON(0): [drm] installed DRM signal handler
> (II) RADEON(0): [agp] Mode 0x1f000207 [AGP 0x1002/0x5833; Card  
> 0x1002/0x4150]
> (II) RADEON(0): [agp] 8192 kB allocated with handle 0x00000001
> (II) RADEON(0): [agp] ring handle = 0x00000000
> (EE) RADEON(0): [agp] Could not map ring
> (EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.
> (II) RADEON(0): [agp] You may want to make sure the agpgart kernel  
> module is loaded before the radeon kernel module.

Based on that message, I would try to change the module load order. (It
does seem that agpgart gets loaded before radeon already, though.)
I would shut down X and remove all the modules (as root):

modprobe -r radeon drm ati_agp agpgart

Check with lsmod that the modules have really been unloaded. Then load
them again in different sequences, e.g.:

modprobe agpgart
modprobe ati_agp
modprobe drm
modprobe radeon

or

modprobe ati_agp
modprobe drm
modprobe radeon

and test if X can be started with DRI.

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |


Reply to: