after upgrading to =x11-base/xorg-server-1.16.2.901-r1 together with media-libs/mesa-10.3.5-r1, x11-proto/glproto-1.4.17-r1 and app-admin/eselect-opengl-1.3.1 no GLX extension is available. I have tried to re-emerge nvidia-drivers after that, bug with no success. The error message in Xorg.log is: [ 11.081] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X [ 11.081] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X [ 11.081] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If [ 11.081] (EE) NVIDIA(0): you continue to encounter problems, Please try [ 11.081] (EE) NVIDIA(0): reinstalling the NVIDIA driver. Reproducible: Always # emerge --info xorg-server Portage 2.2.14 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.3, glibc-2.19-r1, 3.17.7-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.17.7-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790K_CPU_@_4.00GHz-with-gentoo-2.2 KiB Mem: 32988684 total, 30382120 free KiB Swap: 0 total, 0 free Timestamp of tree: Thu, 01 Jan 2015 18:30:01 +0000 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.2_p53 dev-java/java-config: 2.2.0 dev-lang/perl: 5.18.2-r2 dev-lang/python: 2.7.9-r1, 3.3.5-r1, 3.4.1 dev-util/cmake: 2.8.12.2-r1 dev-util/pkgconfig: 0.28-r1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6-r1, 1.13.4 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.8.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2-r1 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.16 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo steam-overlay kde local_overlay Installed sets: @kdeartwork-4.14, @kdebase-4.14, @system ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-3.0 /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --autounmask-write --jobs=5 --load-average=5.0" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/steam /var/lib/layman/kde /usr/local/portage" USE="X a52 aac acl acpi alsa amd64 avx avx2 bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdio cdparanoia cdr cli compiz consolekit cracklib crypt cups cxx dbus declarative device-mapper dri dts dvd dvdr emboss encode evdev exif fam ffmpeg firefox flac fortran gdbm gif glamor glib glibc gpm gstreamer gtk iconv icu id3tag ieee1394 imagemagick inotify ipv4 ipv6 irc jack java java6 jpeg jpeg2k kde kde4 kipi latex lcms ldap libnotify libsamplerate lvm lzma mad mmx mmxext mng modules mozilla mp3 mp4 mpeg mplayer multilib musicbrainz ncurses nls nptl ntp ogg opengl openmp oscar otr pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qemu qt3support qt4 quicktime rar readline real rss rtc sdl semantic-desktop session spell sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification strigi svg syslog taglib tcpd theora threads thumbnail tiff truetype udev udisks unicode upower usb v41 v412 v4l vaapi vcd vdpau vim-syntax visualization vorbis wavpack win32codecs wlm wma wmf wxwidgets x264 xcb xcomposite xine xinerama xml xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hdsp hdspm" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON ================================================================= Package Settings ================================================================= x11-base/xorg-server-1.16.2.901-r1 was built with the following: USE="glamor ipv6 nptl suid udev xorg -dmx -doc -kdrive -minimal (-selinux) -static-libs -systemd -tslib -unwind -wayland -xnest -xvfb" ABI_X86="64" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,lazy"
Created attachment 392896 [details] Complete Xorg.0.log
$ grep -R ModulePath /etc/X11/xorg.conf* please.
forgott to mention the previous working configuration: - x11-base/xorg-server-1.16.2.901 - media-libs/mesa-10.2.8 - x11-proto/glproto-1.4.17 - app-admin/eselect-opengl-1.2.7
(In reply to Michał Górny from comment #2) > $ grep -R ModulePath /etc/X11/xorg.conf* > > please. grep -R ModulePath /etc/X11/xorg.conf* /etc/X11/xorg.conf.d/20opengl.conf: ModulePath "/usr/lib32/xorg/modules" /etc/X11/xorg.conf.d/20opengl.conf: ModulePath "/usr/lib64/opengl/nvidia" /etc/X11/xorg.conf.d/20opengl.conf: ModulePath "/usr/lib64/xorg/modules"
Please attach your xorg.conf then. I'm afraid this is the one case we hadn't figured out yet ;/.
I had a very similar issue using the radeon driver. After an update from x11-base/xorg-server-1.16.2.901 to x11-base/xorg-server-1.16.2.901-r1, the GLX module failed to load. It turned out that the ModulePath in /etc/X11/xorg.conf.d/20opengl.conf was set to /usr/lib32/xorg/modules whereas it should have been /usr/lib64/xorg/modules. Changing the path manually did the job. I also saved the log file, if needed.
(In reply to Michael Seifert from comment #6) > I had a very similar issue using the radeon driver. After an update from > x11-base/xorg-server-1.16.2.901 to x11-base/xorg-server-1.16.2.901-r1, the > GLX module failed to load. > > It turned out that the ModulePath in /etc/X11/xorg.conf.d/20opengl.conf was > set to /usr/lib32/xorg/modules whereas it should have been > /usr/lib64/xorg/modules. Changing the path manually did the job. > > I also saved the log file, if needed. Didn't it contain the lib64 path as well? Please also paste 'ls -R /usr/lib32/xorg'.
Created attachment 392912 [details] xorg.conf
(In reply to Till Schäfer from comment #8) > Created attachment 392912 [details] > xorg.conf Could you try removing the Module section completely? It shouldn't be necessary, and it's my first guess.
(In reply to Michał Górny from comment #9) > (In reply to Till Schäfer from comment #8) > > Created attachment 392912 [details] > > xorg.conf > > Could you try removing the Module section completely? It shouldn't be > necessary, and it's my first guess. removing that section did not help i have also generated a complete new xorg.conf file (see Attachmen) from nvidia-settings. nothing changed.
Created attachment 392922 [details] fresh xorg.conf from nvidia-settings
Same with nouveau and evdev drivers. emerge -1 x11-drivers/xf86-video-nouveau x11-drivers/xf86-input-evdev helped me.
(In reply to Till Schäfer from comment #11) > Created attachment 392922 [details] > fresh xorg.conf from nvidia-settings Try removing these 2 lines: Section "Files" EndSection
(In reply to Ben Kohler from comment #13) > (In reply to Till Schäfer from comment #11) > > Created attachment 392922 [details] > > fresh xorg.conf from nvidia-settings > > Try removing these 2 lines: > > Section "Files" > EndSection Removing them does indeed fix the problem. thx for the info. Can we do something against nvidia-settings autogenerating that section? Why is this section only problemativ for the -r1 ebuild?
I ran into this problem too. In my case switching to nvidia-glx caused a "something is wrong in gnome box" that was unrecoverable after glxinfo was typed. removing Section Files EndSection from xorg.conf fixed the issue. Would be good if we could warn users in some automated way.
I had 2 (not empty) Files Sections in 2 files 20opengl.conf (seems to be generated from emerge -1v nvidia-drivers) 80-fonts.conf (manually written to add more font path's) 20opengl only had ModulePath, and 80-fonts only FontPath. And it didn't work. It only worked AFTER I removed my 80-fonts.conf, it seems there MUST be only 1 Files Section, they do not merge somehow... is it really a desirable behavior? (with old xorg-server&co it worked fine)
This really is the same as bug #534128, im gonna go ahead and mark dupe, so we can get everyone looking at the same place for info. See comment #28 there (https://bugs.gentoo.org/show_bug.cgi?id=534128#c28), this is not desirable behavior, it's been reported upstream. *** This bug has been marked as a duplicate of bug 534128 ***
(In reply to Michał Górny from comment #7) > (In reply to Michael Seifert from comment #6) > > I had a very similar issue using the radeon driver. After an update from > > x11-base/xorg-server-1.16.2.901 to x11-base/xorg-server-1.16.2.901-r1, the > > GLX module failed to load. > > > > It turned out that the ModulePath in /etc/X11/xorg.conf.d/20opengl.conf was > > set to /usr/lib32/xorg/modules whereas it should have been > > /usr/lib64/xorg/modules. Changing the path manually did the job. > > > > I also saved the log file, if needed. > > Didn't it contain the lib64 path as well? Please also paste 'ls -R > /usr/lib32/xorg'. Sorry that this is late, but I forgot adding me to CC... The bug is already closed, but anyway: No, the lib64 path was not contained in /etc/X11/xorg.conf.d/20opengl.conf. Here is the requested output: # ls -R /usr/lib32/xorg /usr/lib32/xorg: modules /usr/lib32/xorg/modules: extensions /usr/lib32/xorg/modules/extensions: libglx.so whereas /usr/lib32/xorg/modules/extensions/libglx.so is a dead link to /usr/lib32/opengl/ati/extensions/libglx.so. Maybe this is a remain from the fglrx driver which I used before the radeon driver?
You should not be using any nvidia-drivers installed tool to write xorg.conf. You should at most need a <Section "Device"> in a file under /etc/X11/xorg.conf.d with newer xorg-server versions.