Every program that uses GLX crashes, glxgears, ut2004 etc. All end with a segmentation fault. Reproducible: Always Steps to Reproduce: 1.emerge nvidia-glx-1.0.7174-r1 and nvidia-kernel-1.0.7174 2.Run any glx application. Actual Results: sonic ~ # glxgears X Error of failed request: BadImplementation (server does not implement operation) Major opcode of failed request: 144 (NV-GLX) Minor opcode of failed request: 2 () Serial number of failed request: 8 Current serial number in output stream: 8 Segmentation fault Expected Results: Seeing some nice 3D gears, so staring glxgears properly. ---------- [ebuild R ] media-video/nvidia-glx-1.0.7174-r1 0 kB [ebuild R ] media-video/nvidia-kernel-1.0.7174 0 kB ---------- Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 2 2005, 15:00:32)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.6.3, 1.8.5-r3, 1.7.9-r1, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.nutsmaas.nl/gentoo/" LANG="nl_NL@euro" LINGUAS="nl" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="x86 X Xaw3d a52 aac aalib acpi alsa apm audiofile avi bash-completion berkdb bitmap-fonts bzlib caps cdb cdparanoia cdr crypt cups curl debug directfb divx4linux dvdr dvdread emboss encode ethereal exif fam fbcon ffmpeg fftw flac foomaticdb fortran ftp gdbm gif gpm gstreamer gtk2 hal imagemagick imap imlib ipv6 jabber java javascript jit jpeg junit kde kdeenablefinal libcaca libg++ libwww mad memlimit mhash mikmod mime mmap motif mp3 mpeg mpi msession msn nas ncurses ncursus nls nocardbus nptl nptlonly ogg oggvorbis openal opengl oss pam pdflib perl png posix profile python qt quicktime readline samba sdl session sharedmem shorten simplexml sockets source speex spell sse ssl svg svga tcltk tcpd theora threads tiff treutype truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd videos vorbis win32codecs wxwindows xml xml2 xmms xpm xsl xv xvid zlib linguas_nl" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Matthijs, which CFLAGS did you use to compile xorg-x11, nvidia-kernel and nvidia-glx? I had the same problem that you describe, and replacing '-Os' with '-O2' solved my problem.
Silly me, should have looked at your CFLAGS first. Anyway, try to recompile xorg-x11 with -O2 instead of -O3.
*** This bug has been marked as a duplicate of 90047 ***