I've done everything as specified in the AMD64 ATI FAQ on the forums, but X will not load fglrx, no matter what I do. The error I get each time I try to startx is: (II) Loading extension XFree86-DRI (II) LoadModule: "fglrx" (WW) Warning, couldn't open module fglrx (II) UnloadModule: "fglrx" (EE) Failed to load module "fglrx" (module does not exist, 0) (II) LoadModule: "mouse" (II) Loading /usr/lib64/modules/input/mouse_drv.o (II) Module mouse: vendor="X.Org Foundation" compiled for 6.8.2, module version = 1.0.0 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 0.4 (II) LoadModule: "kbd" (II) Loading /usr/lib64/modules/input/kbd_drv.o (II) Module kbd: vendor="X.Org Foundation" compiled for 6.8.2, module version = 1.0.0 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 0.4 (EE) No drivers available. Fatal server error: no screens found Please consult the The X.Org Foundation support at http://wiki.X.Org for help. Please also check the log file at "/var/log/Xorg.0.log" for additional informati on. Reproducible: Always Steps to Reproduce: 1. startx using fglrx Actual Results: X will not load fglrx Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r0, 2.6.11-gentoo-r3 x86_64) ================================================================= System uname: 2.6.11-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 20 2005, 22:32:21)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.9.5, 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r6 sys-devel/libtool: 1.5.10-r5 virtual/os-headers: 2.6.8.1-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -O3 -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks fixpackages sandbox usersandbox" GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://linuv.uv.es/mirror/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.es.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib acpi alsa apache2 avi bash-completion berkdb bitmap-fonts bluetooth bzlib cdparanoia cdr crypt cups curl dga dio directfb divx4linux dv dvd dvdr dvdread encode ethereal fastcgi fbcon ffmpeg fftw flac font-server foomaticdb fortran ftp ggi gif glut gpm gstreamer gtk gtk2 hal icq imagemnagick imlib ipv6 java javascript jp2 jpeg junit kde lm_sensors lzw lzw-tiff mad matroska mime mng motif mozilla mp3 mpeg msn multilib ncurses nls nocd nptl nptlonly offensive ogg oggvorbis openal opengl oss pam pdflib perl png posix python qt quicktime readline samba sdl sockets source spell ssl szip tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l vcd xine xml xml2 xmms xosd xpm xrandr xv xvid zlib video_cards_ati linguas_es linguas_el" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Created attachment 53697 [details] X log file
Even though X does not find fglrx: Module Size Used by fglrx 259968 0
It looks like ati-drivers get installed into /usr/lib/modules/ but xorg-x11 doesn't look in there, just into /usr/lib64/modules/ I did a weird workaround of symlinking ati modules located in lib into lib64. Now xorg-x11 can load them but I feel there are still some uncovered parts.
ls -ld /usr/lib*
drwxr-xr-x 39 root root 16384 Mar 17 20:24 /usr/lib lrwxrwxrwx 1 root root 25 Feb 20 20:26 /usr/lib32 -> ../emul/linux/x86/usr/lib drwxr-xr-x 7 root root 8192 Mar 17 19:11 /usr/lib64 drwxr-xr-x 5 root root 4096 Mar 17 18:13 /usr/libexec
export LIBGL_DRIVERS_PATH=/usr/lib32/modules/dri That line above solved the problem... could anybody add to the ebuild a script that sets that variable to /etc/env.d/??
Doesn't that prevent 64-bit opengl from working? I'd think you'd need both paths in there.
Perhaps yes, but didn't notice... which is your alternative?
Try connecting the two locations with colons, kinda like a PATH entry.
That's fine: export LIBGL_DRIVERS_PATH=/usr/lib32/modules/dri:/usr/lib/modules/dri But the problem I saw first is that this variable was UNSET... anyway, let's add a lil script to the ati-drivers ebuild or, at least, a notification.
I guess the path was updated.