Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261862 - x11-drivers/nvidia-drivers-180.29: startx says "Failed to load module "wfb" and fails
Summary: x11-drivers/nvidia-drivers-180.29: startx says "Failed to load module "wfb" a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Ricardo Mendoza (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-09 14:20 UTC by Ish West
Modified: 2009-08-03 04:03 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 Ish West 2009-03-09 14:20:54 UTC
After merging x11-drivers/nvidia-drivers-180.29 startx results in a black screen.

To resolve put/link libwfb.so to xorg modules dir, like this:
ln -s /usr/lib64/opengl/nvidia/extensions/libwfb.so /usr/lib64/xorg/modules/



Reproducible: Always

Steps to Reproduce:
1. Insall gentoo from install-amd64-minimal-20090212.iso on geforce 8200 based system
2. Merge propertiary nvidia drivers v 180.29
3. Run nvidia-xconfig
4. Run startx

Actual Results:  
Black screen

Expected Results:  
Running X

startx 2> dump
>=== CUT ===<
X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: UNKNOWN
Current Operating System: Linux myhtpc 2.6.27-gentoo-r8 #6 SMP PREEMPT Mon Mar 9 14:51:30 MSK 2009 x86_64
Build Date: 08 March 2009
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar  9 16:19:13 2009
(==) Using config file: "/etc/X11/xorg.conf"
(WW) NVIDIA: No matching Device section for instance (BusID PCI:0:1:3) found
(EE) Failed to load module "wfb" (module does not exist, 0)
(II) Module already built-in
(EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
(EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
(EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
(EE) NVIDIA(0):     you continue to encounter problems, Please try
(EE) NVIDIA(0):     reinstalling the NVIDIA driver.
(EE) NVIDIA(0): Need libwfb but wfbScreenInit not found

Fatal server error:
AddScreen/ScreenInit failed for driver 0

XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.
>=== CUT ===<

emerge --info
>=== CUT ===<
Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-AMD_Phenom-tm-_8750_Triple-Core_Processor-with-glibc2.2.5
Timestamp of tree: Sun, 08 Mar 2009 11:30:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.6.2-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="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 arts audiofile avahi bash-completion berkdb bidi bindist branding bzip2 cairo cddb cdparanoia cdr cjk cli cracklib crypt css cups cvs cxx dbus djvu dri dts dv dvb dvd dvdr dvdread eds emboss encode esd evo examples exif expat fam ffmpeg fftw firefox flac fltk fontconfig fortran ftp gd gdbm geoip gif gimp gnome gnutls gphoto2 gpm gstreamer gtk gtkhtml gzip hal hardened hddtemp htmlhandbook iconv icq icu idn ieee1394 imagemagick imap imlib ipod ipv6 isdnlog jabber jack java java5 java6 jbig jingle joystick jpeg jpeg2k kde kontact ladspa lame lapack lash latex lcms ldap libgda libnotify libsamplerate libwww lirc lm_sensors lzo mad matroska midi mikmod mime mmx mng modplug mp3 mpeg mplayer mudflap multilib musepack musicbrainz mysql mysqli nas ncurses networkmanager nls nntp nptl nptlonly nsplugin ocaml ocamlopt offensive ogg old-linux openal openexr opengl openmp osc oscar oss pam pcre pda pdf perl plasma plotutils png portaudio posix ppds pppd pulseaudio python qt3 qt3support qt4 quicktime raw rdesktop readline recode reflection rss samba scanner sdl session sharedmem shorten smp snmp sockets socks5 source sox speex spell spl sse sse2 ssl startup-notification subversion suid svg sysfs syslog sysvipc szip taglib tcl tcpd theora threads tiff timidity tk truetype unicode usb v4l v4l2 vcd videos vim-syntax vnc vorbis wavpack wmf x264 xattr xft xine xml xmlrpc xorg xpm xscreensaver xsl xulrunner xv xvid yahoo yaz zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
>=== CUT ===<
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2009-03-10 11:01:11 UTC
It may be helpful for the maintainers to know what exact video card you have. lspci -vv output should help with that.
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2009-03-10 14:07:03 UTC
You are correct in stating that libwfb.so should be in xorg's modules directory. However, it should be provided by xorg-server. Basically the issue here is that libwfb is needed by the newer versions of NVIDIA drivers, and while NVIDIA recommends you use the libwfb that comes with xorg-server, you're using an old xorg-server. The problem is that if we provide that symlink or copy that file in, newer versions of xorg-server will have a conflict when merging.
Comment 3 Ish West 2009-03-10 20:04:00 UTC
(In reply to comment #1)
> It may be helpful for the maintainers to know what exact video card you have.
From what Doug Goldstein said, it doesn't look like a hardware related issue. But anyway: m/b is ECS GF8200A with onboard Geforce 8200 grafics.

lspci -vv (VGA part of it)
>=== CUT ===<
02:00.0 VGA compatible controller: nVidia Corporation GeForce 8200 (rev a2) (prog-if 00 [VGA controller])
        Subsystem: Elitegroup Computer Systems Device 2646
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 21
        Region 0: Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Region 3: Memory at ce000000 (64-bit, prefetchable) [size=32M]
        Region 5: I/O ports at dc00 [size=128]
        Expansion ROM at feae0000 [disabled] [size=128K]
        Capabilities: [60] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Count=1/1 Enable-
                Address: 0000000000000000  Data: 0000
        Kernel driver in use: nvidia
        Kernel modules: nvidia
Comment 4 Ish West 2009-03-10 20:13:52 UTC
(In reply to comment #2)
> ... NVIDIA recommends you use the libwfb that comes with xorg-server, you're
> using an old xorg-server ...
Thanks for explaining the situation.

I think it would make sense to add some message/warning on the issue to the ebuild.
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2009-03-17 15:06:45 UTC
Inside your "Files" section if you add the following, it will resolve the issue:

    ModulePath      "/usr/lib64/xorg/modules/"
    ModulePath      "/usr/lib64/xorg/modules/extensions/"

I'll add a note to the end of the ebuild.
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2009-08-03 04:03:50 UTC
Note added and xorg-server-1.5.x is stable so its null and void.