Emerging ati-drivers-8.14.13-r1 fails with the following: * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.12-rc6-mw * Checking for MTRR support enabled ... [ ok ] * Checking for AGP support enabled ... [ ok ] * Checking for DRM support disabled ... [ ok ] * X11 implementation is xorg-x11. >>> Unpacking source... >>> Unpacking fglrx_6_8_0-8.14.13-1.i386.rpm * Applying fglrx-2.6.10-pci_get_class.patch ... [ ok ] * Applying 8.8.25-via-amd64.patch ... [ ok ] * Applying 8.8.25-smp.patch ... [ ok ] >>> Source unpacked. * Building the DRM module... make: Entering directory `/usr/src/linux-2.6.12-rc6' CC [M] /var/tmp/portage/ati-drivers-8.14.13-r1/work/lib/modules/fglrx/build_mod/agp3.o CC [M] /var/tmp/portage/ati-drivers-8.14.13-r1/work/lib/modules/fglrx/build_mod/nvidia-agp.o CC [M] /var/tmp/portage/ati-drivers-8.14.13-r1/work/lib/modules/fglrx/build_mod/agpgart_be.o /var/tmp/portage/ati-drivers-8.14.13-r1/work/lib/modules/fglrx/build_mod/agpgart_be.c: In function `agp_find_supported_device': /var/tmp/portage/ati-drivers-8.14.13-r1/work/lib/modules/fglrx/build_mod/agpgart_be.c:7159: error: structure has no member named `slot_name' /var/tmp/portage/ati-drivers-8.14.13-r1/work/lib/modules/fglrx/build_mod/agpgart_be.c:7179: error: structure has no member named `slot_name' /var/tmp/portage/ati-drivers-8.14.13-r1/work/lib/modules/fglrx/build_mod/agpgart_be.c:7184: error: structure has no member named `slot_name' /var/tmp/portage/ati-drivers-8.14.13-r1/work/lib/modules/fglrx/build_mod/agpgart_be.c:7210: error: structure has no member named `slot_name' /var/tmp/portage/ati-drivers-8.14.13-r1/work/lib/modules/fglrx/build_mod/agpgart_be.c:7230: error: structure has no member named `slot_name' /var/tmp/portage/ati-drivers-8.14.13-r1/work/lib/modules/fglrx/build_mod/agpgart_be.c:7250: error: structure has no member named `slot_name' /var/tmp/portage/ati-drivers-8.14.13-r1/work/lib/modules/fglrx/build_mod/agpgart_be.c:7255: error: structure has no member named `slot_name' /var/tmp/portage/ati-drivers-8.14.13-r1/work/lib/modules/fglrx/build_mod/agpgart_be.c: In function `__fgl_agp_init': /var/tmp/portage/ati-drivers-8.14.13-r1/work/lib/modules/fglrx/build_mod/agpgart_be.c:7636: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106) /var/tmp/portage/ati-drivers-8.14.13-r1/work/lib/modules/fglrx/build_mod/agpgart_be.c: In function `__fgl_agp_cleanup': /var/tmp/portage/ati-drivers-8.14.13-r1/work/lib/modules/fglrx/build_mod/agpgart_be.c:7646: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116) make[1]: *** [/var/tmp/portage/ati-drivers-8.14.13-r1/work/lib/modules/fglrx/build_mod/agpgart_be.o] Error 1 make: *** [_module_/var/tmp/portage/ati-drivers-8.14.13-r1/work/lib/modules/fglrx/build_mod] Error 2 make: Leaving directory `/usr/src/linux-2.6.12-rc6' * DRM module not built Kernel is vanilla-sources-2.6.12_rc6 . Reproducible: Always Steps to Reproduce: 1. emerge "=ati-drivers-8.14.13-r1" 2. 3. Actual Results: Fails to compile. Direct rendering broken. Expected Results: Should compile. % emerge info Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-rc6-mw i686) ================================================================= System uname: 2.6.12-rc6-mw i686 AMD Athlon(tm) XP 3200+ Gentoo Base System version 1.6.12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.2.3-r5, 2.3.5, 2.4.1 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16-r1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -mmmx -msse -m3dnow -mfpmath=sse -ftracer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -mmmx -msse -m3dnow -mfpmath=sse -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 3dnow X aalib acl alsa apache2 apm avi bash-completion berkdb bitmap-fonts bonobo bzip2 bzlib cdparanoia cdr crypt cups curl dedicated dga divx4linux doc dvd dvdr eds emboss encode escreen fam fbcon flac foomaticdb fortran gd gdbm gif gimpprint gnome gstreamer gtk gtk2 i8x0 imagemagick imap imlib ipv6 java jpeg jpeg2k libg++ libwww mad mailwrapper mbox mmx motif mozdevelop mozilla mozsvg mp3 mpeg mysql ncurses nls no-htdocs ogg oggvorbis opengl oss pam pcre pdflib perl png python quicktime readline real rtc ruby samba sdl silverxp slang spell sse ssl stencil-buffer svg svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts userlocales vim-with-x vorbis win32codecs xanim xchattext xine xml xml2 xmms xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Same here, but with gentoo-sources-2.6.12.
I'll work on it
fix in cvs please wait a bit and test it
Building the module now works, but loading the module fails: fglrx: Unknown symbol inter_module_get That error appears also as a warning during the build process.
I fixed that one, but looks like that there is still something wrong (at least here it can't work correctly)
Comment #23 here is interesting: http://ati.cchtml.com/show_bug.cgi?id=136 It might depend on the usage of the internal or external agp module.
this patch http://lems1.kiskeyix.org/downloads/fglrx-2.6.12-rc6-2005-06-14.diff.gz makes this driver work here with the 2.6.12 kernel if I add "UseInternalAGPGART" "yes" to xorg.conf
2.6.11 works for me, but 2.6.12 gives the famous xf86_ENODEV error or hangs with a also famous VGA _ cursor left top while starting X. Vesa driver works.
I have upgraded kernel to gentoo-sources-2.6.12-r1 and re-emerged ati-drivers. When re-emerging ati-drivers, there were only some warnings and fglrx compiled. I had to reboot several times (two or three times, I don't remeber exactly) and then fglrx started to work. I don't know how to test whether it uses its full potential but it works for the things I use it for (video, OpenGL screensaver etc.).
(In reply to comment #9) > I have upgraded kernel to gentoo-sources-2.6.12-r1 and re-emerged ati-drivers. > When re-emerging ati-drivers, there were only some warnings and fglrx compiled. > I had to reboot several times (two or three times, I don't remeber exactly) and > then fglrx started to work. I don't know how to test whether it uses its full > potential but it works for the things I use it for (video, OpenGL screensaver etc.). Here's how you can test it: Run glxgears unter 2.6.11, notice the 3rd value (after 15 seconds) and do the same for 2.6.12, if the module works fully, the values shouldn't differ more then a few frames.
I have no longer kernel 2.6.11-* in my system but I'm sure the driver works. Now I'm on gentoo-sources-2.6.12-r2. Here is the output: $ glxgears 7772 frames in 5.0 seconds = 1554.400 FPS 9675 frames in 5.0 seconds = 1935.000 FPS 10042 frames in 5.0 seconds = 2008.400 FPS 10028 frames in 5.0 seconds = 2005.600 FPS 10043 frames in 5.0 seconds = 2008.600 FPS 10046 frames in 5.0 seconds = 2009.200 FPS After several reboots appeared another problem - the same problem as mentioned in bug 97093.
(In reply to comment #11) > I have no longer kernel 2.6.11-* in my system but I'm sure the driver works. Now > I'm on gentoo-sources-2.6.12-r2. Here is the output: > > $ glxgears > 7772 frames in 5.0 seconds = 1554.400 FPS > 9675 frames in 5.0 seconds = 1935.000 FPS > 10042 frames in 5.0 seconds = 2008.400 FPS > 10028 frames in 5.0 seconds = 2005.600 FPS > 10043 frames in 5.0 seconds = 2008.600 FPS > 10046 frames in 5.0 seconds = 2009.200 FPS > > After several reboots appeared another problem - the same problem as mentioned > in bug 97093. Ok, here is what I got: 2.6.11: 4550 FPS 2.6.12 - external AGP: 150 FPS 2.6.12 - internal AGP: 4540 FPS
Just as info: The problems after leaving a kde session are existent for me too.
I have installed gentoo-sources-2.6.12-r3 and re-emerged ati-drivers and till now the driver works without problems.
Marked as fixed then