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

Re: Titanium IV: XFree86.0.log: "(II) RADEON(0): Direct rendering disabled"

On Wed, 2004-03-03 at 01:43, Michel Dänzer wrote:
> On Tue, 2004-03-02 at 20:49, Wolfgang Pfeiffer wrote: 
> > 
> > ! (II) RADEON(0): [drm] drmSetBusid failed (8, pci:0000:00:10.0), Permission denied
> > ! (EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.
> (In the future, please use diff -u instead of diff -c)
> Was the DRM compiled by the same compiler as the kernel?

No. I forgot some days ago to update my gcc-link to point to 2.95, which
after an 3.3 (?) update pointed to 3.3 (?).  The corresp. kernel for
drm-trunk was compiled, as usual, with 2.95. 
But I compiled the drm-trunk module with <ducking> gcc-3.3 </ducking>
today .. :)

I also cleaned now the kernel tree ... not being sure it this is really
necessary/useful  when compiling only third party modules, but I hope it
didn't hurt ... 

What I didn't realise either, is that it seems one has to reboot to get
the new direct rendering stuff loaded to X. A simple logout/login
from/to X doesn't help, IIUC.

The latest XFree86.0.log: 
less /var/log/XFree86.0.log | grep 'Direct render'
(II) RADEON(0): Direct rendering enabled

> > $ dpkg -S /lib/modules/2.4.24-ben1/kernel/drivers/char/drm/radeon.o
> > diversion by drm-trunk-module-2.4.24-ben1 from: /lib/modules/2.4.24-ben1/kernel/drivers/char/drm/radeon.o
> > diversion by drm-trunk-module-2.4.24-ben1 to: /lib/modules/2.4.24-ben1/kernel/drivers/char/drm/radeon.o.kernel
> > drm-trunk-module-2.4.24-ben1: /lib/modules/2.4.24-ben1/kernel/drivers/char/drm/radeon.o
> > $ 
> >From /usr/share/doc/drm-trunk-module-src/changelog.Debian.gz:
> dri-trunk-sid (2003.08.07-1) unstable; urgency=low
> [...]
>                                                                                   * debian/local/drm-debian/{rules,preinst.in,postrm.in}: divert kernel
>   DRM modules to avoid conflicts, thanks Patricio Rojo
>   <pmr27@cornell.edu> for inspiring the idea
> > ls -l /lib/modules/2.4.24-ben1/kernel/drivers/char/drm/radeon.o.kernel
> > ls: /lib/modules/2.4.24-ben1/kernel/drivers/char/drm/radeon.o.kernel: No such file or directory
> This is harmless. If the kernel-image package shipped radeon.o as well,
> it would be diverted to radeon.o.kernel. man dpkg-divert
> > I know some package (drm-related ?)got uninstalled about 2 weeks ago
> > when upgdrading packages, but I forgot which one:
> > 
> > It might be it was 
> > xlibmesa-gl1-dri-trunk 2003.10.05-2
> > which was replaced by
> > xlibmesa-gl, but I'm not sure:
> Probably xlibmesa-gl1-dri-trunk, because xlibmesa-gl-dev no has a
> versioned dependency on xlibmesa-gl. Fixed in the current version, with
> more diversions. :) These are only involved when actually starting
> OpenGL apps though, hence unrelated to direct rendering not working at
> all.

I installed now
xlibmesa-gl1-dri-trunk 2004.02.28-1

Let's see what happens after the next reboot on X ... :)

Thanks for your time, Michel

And sorry for gcc-3.3 (oder whatever version it was: But rather sure not
the same than the one that the corresponding kernel was compiled with)


Profile, Links: http://profiles.yahoo.com/wolfgangpfeiffer

Reply to: