Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270982 - X fails on libwfb.so from nvidia drivers
Summary: X fails on libwfb.so from nvidia drivers
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ricardo Mendoza (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-23 20:01 UTC by pjv
Modified: 2009-06-06 18:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pjv 2009-05-23 20:01:00 UTC
X fails to start. Some symbol in libwfb.so is not found. This after an upgrade to X-1.5 and more recent nvidia-drivers (I did try to do "modprobe -r nvidia" and "eselect opengl set nvidia").

Reproducible: Always

Steps to Reproduce:
1. Start x

Actual Results:  
X crashes


With the information from #202978, I solved it for now by deleting /usr/lib/opengl/nvidia/extensions/libwfb.so and recreating the link /usr/lib/xorg/modules/extensions/libwfb.so to point to /usr/lib/xorg/modules/libwfb.so. 

[ebuild   R   ] x11-base/xorg-server-1.5.3-r6  USE="hal ipv6 nptl xorg -3dfx -debug -dmx -kdrive -minimal -sdl -tslib" INPUT_DEVICES="evdev keyboard mouse synaptics -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -tek4957 -tslib -ur98 -virtualbox -vmmouse -void -wacom" VIDEO_CARDS="fbdev nv nvidia vesa -apm -ark -ast -chips -cirrus -dummy -epson -fglrx -geode -glint -i128 -i740 (-impact) -imstt -intel -mach64 -mga -neomagic (-newport) -r128 -radeon -radeonhd -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vermilion -via -virtualbox -vmware -voodoo -xgi" 0 kB
[ebuild   R   ] x11-drivers/nvidia-drivers-180.29  USE="acpi gtk -custom-cflags (-multilib)" 0 kB

Portage 2.1.6.11 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r5040 i686)
=================================================================
System uname: Linux-2.6.28-gentoo-r5040-i686-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-glibc2.0
Timestamp of tree: Sat, 23 May 2009 14:35:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 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.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -msse3"
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 /usr/share/cursors/xfree/default/index.theme,/sbin/halt,/sbin/shutdown,/sbin/reboot,/usr/bin/emerge,/usr/share/xmodmap/xmodmap.us_intl-be-deadkeys,/usr/X11R6/lib/X11/xkb/symbols/pc/us-dutch,/usr/X11R6/lib/X11/xkb/rules/xfree86,/usr/X11R6/lib/X11/xkb/symbols.dir,/usr/X11R6/lib/X11/locale/iso8859-15/Compose,/usr/lib/X11/xkb/symbols/pc/us-dutch,/usr/lib/X11/xkb/rules/xfree86,/usr/lib/X11/xkb/symbols.dir,/usr/lib/X11/locale/iso8859-15/Compose,/usr/X11R6/lib/X11/locale/iso8859-15/Compose.xorg,/usr/lib/X11/locale/iso8859-15/Compose.xorg,/usr/X11R6/lib/X11/xkb/rules/xorg,/usr/lib/X11/xkb/rules/xorg,/usr/share/X11/xkb/symbols/pc/us-dutch,/usr/share/X11/xkb/rules/xfree86,/usr/share/X11/xkb/rules/xorg,/usr/share/X11/xkb/symbols.dir,/usr/share/X11/xkb/symbols/us-dutch,/usr/share/X11/locale/iso8859-15/Compose,/usr/lib/hal/scripts/linux/hal-system-power-suspend-linux,/usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned psyco sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://ftp.gentoo.skynet.be/pub/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://ftp.gentoo.skynet.be/pub/gentoo ftp://sunsite.cnlab-switch.ch/mirror/gentoo http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="nl_BE@euro"
LC_ALL="nl_BE@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="nl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/portage/local/layman/sunrise /usr/portage/local/layman/voip /usr/portage/local/layman/royratcliffe /usr/portage/local/layman/java-overlay /usr/portage/local/layman/secondlife /usr/portage/local/layman/vuze-bin /usr/portage/local/layman/wschlich-testing /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/suka /usr/portage/local/layman/ikelos /usr/local/portage /usr/portage/local/layman/liquidx /usr/portage/local/layman/dang/maintainer"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi acpi4linux aiglx alsa applet asf avahi bash-completion be beagle berkdb binary-drivers bluetooth bonobo browserplugin bzip2 cairo calendar caps cardbus ccache cdaudio cddb cdr cdrkit cdrom cdrparanoia chipcard chm chroot cjk clamav clamd clanVoice cli codecs colordiff console cpudetection cracklib crypt css cups cursors custom-optimization daap dbus dga dhcp dia dict dirac directfb disk-partition distribution divx divx4linux djvu dmi dnd dri dv dvd dvdnav dvdr dvdread dvi eap-sim edl eds enblend enca encode equalizer ethereal evo evolution exif faad faad2 fam fasttrack fat fbcon fbcondecor fbsplash ffmpeg firefox flac flash font-server fr freebox freetts freetype ftp fuse gaim galago gamin gammu gatos gb gd gdbm gdl gdm gedit gif gimp gimpprint glibc-omitfp glitz gmail gmailtimestamps gmedia gnokii gnome gnome-keyring gnome-print gnutella gocr gphoto2 gpm gsm gstreamer gtk gtk2 gui gzip h323 hal hddtemp hibernate-script hou howl hpn ical icons iconv icq id3 id3tag ieee1394 imap inotify insecure-savers ipv6 ipw4965 irc iris irmc isdnlog java java5 java6 javascript jfs jpeg jpeg2k jrtplib jsapi kdgraphics kerberos keyring kpathsea krb4 lame lcd ldap libburn libnotify libsexy live lm_sensors lzo lzw-tiff mad maps matroska maya-shaderlibrary mbox mbrola mcal md5sum mdb mdnsresponder-compat midi mime ming mmap mmkeys mmx mmx2 mmxext mng modplug monkey mono mozbranding mozp3p mozsvg mp3 mp3rtp mp4 mp4live mpeg mpeg2 mpeg4 mplayer msn mudflap muine mule music musicbrainz mythtv nautilus ncurses net network networkmanager nl nl_wolf nls nntp no-seamonkey nocd nograss nptl nptlonly nsplugin ntfs ntlm nvidia nvtv oav obex ofa office ogg openal openct opendoc openft opengl openmp p2p pam pcmcia pcre pcsc-lite pdf perl php pidgin plugin plugin-file plugin-python plugins pmu png pnp pop portaudio postscript ppds pppd prediction ps qt3support quicktime quotes rar rdesktop readline realmedia reflection regex reiser4 reiserfs remote rhythmbox rss rtc samba scanner schroedinger serpentine session seti sftp sharedmem sift skype smp sms snmp sound soundtouch speex spell spl srt sse sse-filters sse2 ssl ssse3 startup-notification streamripper subtitles subversion suid svg sysfs taglib tagwriting tcpd tesseract theora tiff timidity tools totem tpmtok tracker transcode trayicon truetype trusted unicode usagi usb userlocales utf8 v4l v4l2 vcd vditool videos visualization vorbis vorbis-psy wavpack webmin-minimal widescreen wifi win32codecs wma wmf wmp x264 x86 xanim xattr xcb xchatdccserver xcomposite xen xext xfs xim xine xinerama xml xmp xorg xosd xpm xscreensaver xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="canon directory ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl" NETBEANS_MODULES="groovy gsf j2ee ide java harness websvccommon nb profiler" USERLAND="GNU" VIDEO_CARDS="nvidia vga vesa fbdev nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 pjv 2009-05-23 20:28:00 UTC
Hmm, I wonder if this is my fault, as I seem to have "ModulePath "/usr/lib/opengl/xorg-x11/extensions/,/usr/lib/opengl/nvidia/extensions/,/usr/lib/opengl/nvidia/lib/,/usr/lib/modules/,/usr/lib/xorg/modules/"" in my Xorg.conf.
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2009-05-26 06:35:58 UTC
(In reply to comment #1)
> Hmm, I wonder if this is my fault, as I seem to have "ModulePath
> "/usr/lib/opengl/xorg-x11/extensions/,/usr/lib/opengl/nvidia/extensions/,/usr/lib/opengl/nvidia/lib/,/usr/lib/modules/,/usr/lib/xorg/modules/""
> in my Xorg.conf.
> 
You don't need to have any ModulePath in the xorg.xonf. Remove it and test whether it it is fixed. If not please reopen the bug and attach, Xorg.log xorg.conf, lspci -vvnn.

I can reproduce it with this strange ModulePath in the xorg.conf.

Assigning to maintainer, you should check whether something must be done with this multiple libs.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2009-05-27 05:56:19 UTC
Delete all those ModulePath entries. With xorg-server and new-ish (somewhere in the 173.x.y series) drivers, NVIDIA needed libwfb but xorg-server 1.3 didn't ship it. The fix was to add the additional ModulePath to pull in the needed file. However, that was a backported copy of that library for xorg-server 1.3 and it doesn't work with newer xorg-servers. By having those config lines with xorg-server 1.5, you're using the NVIDIA copy over the xorg-server's own copy.

Delete them and you're set.
Comment 4 pjv 2009-06-06 18:45:26 UTC
Works. Thanks for the great and fast support.