RV410 [Radeon X700 Pro (PCIE)] In kernel is turned on radeon drm & KMS (not module). In /dev/dri is 2 devices: card0 & controlD64, but DRI not working. Reproducible: Always Steps to Reproduce: 1. sys-kernel/gentoo-sources-2.6.32 || -r1 || -r2 2. x11-libs/libdrm-2.4.17 3. media-libs/mesa-7.7-r1 VIDEO_CARDS="radeon" 4. x11-base/xorg-server-1.7.4 5. x11-drivers/xf86-video-ati-6.12.4-r1 Actual Results: DRI & 3D not working Expected Results: DRI & 3D working.
Created attachment 216879 [details] dmesg with drm information
Created attachment 216880 [details] log of xserver
Created attachment 216882 [details] log of xserver with EXA enabled
Comment on attachment 216882 [details] log of xserver with EXA enabled (EE) RADEON(0): [dri] RADEONDRIGetVersion failed because of a version mismatch. [dri] radeon kernel module version is 2.0.0 but version 1.17.0 or newer is needed. [dri] Disabling DRI.
IIRC, x11-drivers/xf86-video-ati-6.12.4-r1 is not recent enough for KMS.
Disable KMS. xf86-video-ati-6.12.4 does indeed not support KMS.
Created attachment 219041 [details] xf86-video-ati-6.12.99_pre20100205.ebuild Git snapshot ebuild which should work with KMS
(In reply to comment #7) > Created an attachment (id=219041) [details] > xf86-video-ati-6.12.99_pre20100205.ebuild > > Git snapshot ebuild which should work with KMS > This snapshot is fine: EXA && UXA work on 2.6.32-gentoo-r4 ... EXA work && UXA not work (Gnome or KDE is unuseable) on 2.6.32-gentoo-r3 ... (X Server 1.7.4.901)
This problem gets worse if one tries to run the current 2.6.33 gentoo sources. It looks like they bumped the DRI version number from 1.17.0 to 2.0.0 and if one looks at the version number checks in radeon_dri.c (from xf86-video-ati) they are completely messed up. The error starts as: [dri] radeon kernel module version is 2.0.0 but version 1.17.0 or newer is needed. Now of course, 2.0.0 *is* newer than 1.17.0 but there is a hardwired check for a major version # of 1 in the source (which is why it breaks). If one hacks that version to work around that, one ends up with more problems: (II) RADEON(0): [dri] Found DRI library version 1.3.0 and kernel module version 2.0.0 (==) RADEON(0): Page Flipping disabled on r5xx and newer chips. (II) RADEON(0): Will try to use DMA for Xv image transfers (WW) RADEON(0): [dri] limiting video memory to one aperture of 262144K (WW) RADEON(0): [dri] detected radeon kernel module version 1.0 but 1.23 or newer is required for full memory mapping. (II) RADEON(0): Detected total video RAM=262144K, accessible=262144K (PCI BAR=262144K) (II) RADEON(0): Video RAM override, using 262144 kB instead of 262144 kB (**) RADEON(0): Mapped VideoRAM: 262144 kByte (64 bit DDR SDRAM) (WW) RADEON(0): [dri] color tiling disabled because of version mismatch. [dri] radeon.o kernel module version is 2.0.0 but 1.14.0 or later is required for color tiling. So it would appear that the ATI (radeon) version checking/compatibility has significant problems with 2.6.33/KMS and perhaps DRI. Could we at least get some feedback with respect to *what* versions of the ATI/DRI drivers are *supposed* to work with 2.6.33 (and perhaps where to get them) if they aren't likely to make it into the Gentoo tree anytime soon? (This is a system with all Xorg, x11-drivers, mesa, etc. allowed in package.keywords (~x86) but no overlays.)
Newest snapshots of x86-video-ati drivers added and should work peachy with latest kernel and KMS, please reopen if you have issues with them too.