Using nvidia-drivers 180.22 the neverwinter nights game won't start and complain about a segfault in /opt/nwn/nwn. Re-compiling the 177.82 drivers, everything works without a glitch again.
#emerge --info Portage 2.1.6.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.28-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.28-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-glibc2.0 Timestamp of tree: Mon, 19 Jan 2009 18:15:02 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.4.4-r13, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.4.6-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirror.switch.ch/ftp/mirror/gentoo/ " LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aac acl acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cdr cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread emacs emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gif gphoto2 gpm gstreamer gtk hal iconv imlib isdnlog jpeg lame latex ldap libnotify mad matroska midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb v4l2 vorbis win32codecs x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa vga fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS #emerge -pv nvidia-drivers These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] x11-drivers/nvidia-drivers-180.22 [177.82] USE="acpi gtk -custom-cflags (-multilib)" 0 kB
Did you confirm that you had the same version kernel module loaded?
(In reply to comment #2) > Did you confirm that you had the same version kernel module loaded? > Yes. I encountered the segfault after a fresh boot, so the nvidia module 180.22 has to be correct for the kernel. Shutting down the x server, rmmod the module, rebuilding the 177.82 module, modprobing that one and restarting the x server solved the problem.
Created attachment 179906 [details] emerge --info I've attached the results of an emerge --info and an emerge -pv nvidia-drivers. nwmain segfaults when run. Is this a driver issue, or an issue with the SDL binary in the nwn package? The log below shows NWMovies, but this issue occurs with or without NWMovies installed. Reverting to 177.82 works around the issue. toad@saya ~ $ nwn NOTICE: NWMovies(./nwmain): Version: 20080430.v4rc1 NOTICE: Looking up symbols in libSDL..... ERROR: sdl_wm_grabinput_ptr == NULL: (null) /opt/nwn/nwn: line 63: 6000 Aborted ./nwmain $@
(In reply to comment #4) > Created an attachment (id=179906) [edit] > emerge --info > > I've attached the results of an emerge --info and an emerge -pv nvidia-drivers. > > nwmain segfaults when run. Is this a driver issue, or an issue with the SDL > binary in the nwn package? The log below shows NWMovies, but this issue occurs > with or without NWMovies installed. Reverting to 177.82 works around the > issue. > > toad@saya ~ $ nwn > NOTICE: NWMovies(./nwmain): Version: 20080430.v4rc1 > NOTICE: Looking up symbols in libSDL..... > ERROR: sdl_wm_grabinput_ptr == NULL: (null) > /opt/nwn/nwn: line 63: 6000 Aborted ./nwmain $@ > i'm too see this bug. this games enemy territory and torcs, and all segfault crash
Same issues with 180.27?
Unfortunately, yes: safferli@dragaera ~ $ nwn & [1] 12458 safferli@dragaera ~ $ NOTICE: NWMouse: Version: 20050216.085035 NOTICE: NWMouse: Patch 0 Address: 0x084e9380 NOTICE: NWMouse: Patch 1 Address: 0x084e009c NOTICE: NWMouse: Patch 2 Address: 0x0863d880 NOTICE: NWMouse: Patch 3 Address: 0x084ffd44 NOTICE: NWMouse: Patch 4 Address: 0x084e3018 NOTICE: NWMouse: Patch 5 Address: 0x084e05b7 NOTICE: NWMouse: Patch 6 Address: 0x084e8440 NOTICE: NWMouse: Stop pointer: 0x084e9380 NOTICE: NWMouse: Table Address: 0x0863d880 NOTICE: NWMouse: Table Length: 89 NOTICE: NWMouse: Render function replaced in secondary table, offset: 6 NOTICE: NWMouse: Texture function replaced in secondary table, offset: 13. NOTICE: NWMouse: Orientation function replaced in secondary table, offset: 25. NOTICE: NWMouse: Original Table: 80 d8 63 08 NOTICE: NWMouse: Pushed: 54 2a 7c 08 NOTICE: NWMouse: PreMod1: c7 40 0c 80 d8 63 08 NOTICE: NWMouse: PostMod1: e9 05 c5 a6 af 90 90 NOTICE: NWMouse: PreMod2: ff 05 68 d8 63 08 NOTICE: NWMouse: PostMod2: e9 31 c0 a6 af 08 83 NOTICE: NWMouse: Initialized. /opt/nwn/nwn: line 63: 12515 Segmentation fault ./nwmain $@
Please give nvidia-drivers-180.29.ebuild a try and report back.
(In reply to comment #8) > Please give nvidia-drivers-180.29.ebuild a try and report back. > Still the same -- segfaults.
Works in 180.35 now, at least for me and nwn.
No longer works for .37 and .44, though I switched to xserver 1.5.3, so that might also be an issue.
180.60 seems to work for me. I'm going to close this out. Basically, yeah, some binary releases are better than others. Pick one that works for your needs.