Kernel update - now no DRI

James Gray james at grayonline.id.au
Mon Sep 26 05:35:33 UTC 2005


I've been using the packages from Flavio Stanchina 
(http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html) for 
a while with my Ati X300 lappy.  Everything was happy and 3D apps/screen 
savers were smoooth :)

This morning I did an "apt-get dist-upgrade" and among a few KDE3.4.2 updates 
there was a new kernel and new headers etc.  This normally isn't a problem as 
after the reboot, to load the new kernel, I loose 3D acceleration until I 
recompile the fglrx kernel module.  So I went and did that and can 
successfully load the kernel module:

$ lsmod
...
fglrx                 261352  0
...

$ dmesg | grep fglrx
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, 
GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 432 MBytes.
[fglrx] module loaded - fglrx 8.16.20 [Aug 16 2005] on minor 0

All is well.  Until I restart X only to find I still have no accelerated 3D!  
Bummer.  Here's the relevant lines from /var/log/Xorg.0.log:

(II) fglrx(0): UMM area:     0xc0501000 (size=0x03aef000)
(II) fglrx(0): Composite extension enabled, disabling direct rendering
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *

...what is curious is the lack of /dev/dri directories which I know used to 
exist prior to this kernel update.

Other relevant info:
$uname -r
2.6.10-5-686

$dpkg -l "*linux*[image|header]*" | grep ii
ii  linux-headers-2.6.10-5                2.6.10-34.6 
ii  linux-headers-2.6.10-5-686            2.6.10-34.6
ii  linux-headers-686                     2.6.10-7
ii  linux-image-2.6.10-5-686              2.6.10-34.6
ii  linux-kernel-headers                  2.5.999-test7-bk-17
ii  linux-restricted-modules-2.6.10-5-686 2.6.10.5-1  (see below)
ii  linux-restricted-modules-686          2.6.10-7

I know the linux-restricted-modules-2.6.10-5-686 package installs 
/lib/modules/2.6.10-5-686/kernel/drivers/video/fglrx.ko but I've removed that 
manually (moved it out of the kernel binary tree actually) and re-run "depmod 
-ae" but still no joy.

Any X or Ati guru's want to comment?

Cheers,

James
-- 
Reichel's Law:
 A body on vacation tends to remain on vacation unless acted upon by
 an outside force.




More information about the ubuntu-users mailing list