Bug#378713: xserver-xorg-video-ati: DRI disabled because it cannot see AGP kernel interface
On Tue, 2006-07-18 at 23:17 +0200, Laurent Bonnaud wrote: On Tue, 2006-07-18 at 17:44 +0200, Michel Dänzer wrote: Note that I don't think lsmod lists the modules in the order they were loaded. Also, the above message was written back when both radeon and agpgart were still monolithic modules. Now that they have both been split into core and backend modules, the safest bet is to make sure that both the agpgart and intel_agp modules are loaded before both the drm and radeon modules. Running modprobe -r radeon; modprobe radeon should achive this in your case. If restarting the X server after doing this still doesn't enable the DRI, please provide the kernel output. I did what you suggested (several times) and DRI is still disabled. Here are the kernel messages. As you can read, I use a standard Debian kernel. In the error messages at the end, the PID are those of the X servers. Yeah, these are just symptoms of the X driver not handling the failure condition as gracefully as it could. They're harmless. Now, it's odd that there isn't anything pertaining to your AGP bridge in the kernel output, and that lsmod shows intel_agp being unused. In my experience, intel_agp should generate output about the hardware it detects, and agpgart should increase the use count of intel_agp. What happens if you unload and reload intel_agp? At any rate, this looks like a kernel AGP issue rather than an X driver issue. -- Earthling Michel Dänzer | http://tungstengraphics.com Libre software enthusiast | Debian, X and DRI developer
Bug#378713: xserver-xorg-video-ati: DRI disabled because it cannot see AGP kernel interface
On Wed, 2006-07-19 at 08:57 +0200, Michel Dänzer wrote: At any rate, this looks like a kernel AGP issue rather than an X driver issue. I forgot to mention that you may be able to enable the DRI with Option BusType PCI as a workaround, but performance probably won't be great. -- Earthling Michel Dänzer | http://tungstengraphics.com Libre software enthusiast | Debian, X and DRI developer
Bug#378713: xserver-xorg-video-ati: DRI disabled because it cannot see AGP kernel interface
On Wed, 2006-07-19 at 09:31 +0200, Michel Dänzer wrote: I forgot to mention that you may be able to enable the DRI with Option BusType PCI as a workaround, but performance probably won't be great. Thank you for the tip ! I cannot test the speed ATM because I work remotely, but according to the X server log, DRI is now enabled. -- Laurent Bonnaud. http://www.lis.inpg.fr/pages_perso/bonnaud/
Bug#378713: xserver-xorg-video-ati: DRI disabled because it cannot see AGP kernel interface
On Wed, 2006-07-19 at 08:57 +0200, Michel Dänzer wrote: Now, it's odd that there isn't anything pertaining to your AGP bridge in the kernel output, and that lsmod shows intel_agp being unused. In my experience, intel_agp should generate output about the hardware it detects, and agpgart should increase the use count of intel_agp. What happens if you unload and reload intel_agp? Nothing is displayed. If I remove then reload both AGP modules, then I get this kernel message: Linux agpgart interface v0.101 (c) Dave Jones At any rate, this looks like a kernel AGP issue rather than an X driver issue. OK. Then I will reassign this bug to the kernel package and see what kernel maintainers say. Thanks for your comments ! -- Laurent Bonnaud. http://www.lis.inpg.fr/pages_perso/bonnaud/
Bug#378713: xserver-xorg-video-ati: DRI disabled because it cannot see AGP kernel interface
On Tue, 2006-07-18 at 16:19 +0200, Laurent Bonnaud wrote: Package: xserver-xorg-video-ati Version: 1:6.5.8.0-1 Severity: important Hi, since a few revisions of the xorg server, DRI does not work any longer on this system. The computer is equipped with this videocard: 01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200] (rev 01) and hardware accelerated DRI/DRM/OpenGL used to work perfectly. According to the log file, the problem seems to be missing AGP from the kernel: (WW) RADEON(0): [agp] AGP not available (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. However, AGP modules are loaded: # lsmod |grep agp intel_agp 21116 0 agpgart29864 2 drm,intel_agp and the radeon module is loaded afterwards (see below the output of lsmod). Note that I don't think lsmod lists the modules in the order they were loaded. Also, the above message was written back when both radeon and agpgart were still monolithic modules. Now that they have both been split into core and backend modules, the safest bet is to make sure that both the agpgart and intel_agp modules are loaded before both the drm and radeon modules. Running modprobe -r radeon; modprobe radeon should achive this in your case. If restarting the X server after doing this still doesn't enable the DRI, please provide the kernel output. -- Earthling Michel Dänzer | http://tungstengraphics.com Libre software enthusiast | Debian, X and DRI developer