Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217688 - x11-base/xorg-x11-7.2 Fails to load module xf4bpp
Summary: x11-base/xorg-x11-7.2 Fails to load module xf4bpp
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-14 17:48 UTC by David
Modified: 2009-03-10 09:02 UTC (History)
1 user (show)

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


Attachments
Xorg.0.log (Xorg.0.log,23.85 KB, text/plain)
2008-04-14 17:50 UTC, David
Details
Xorg.conf (xorg.conf.new,2.01 KB, text/plain)
2008-04-14 17:50 UTC, David
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David 2008-04-14 17:48:54 UTC
I am attempting to get X running on my freshly built Gentoo Linux 2007.0 system.  I emerged xorg-x11 using vga and vesa as my driver support for VIDEO_CARDS.  Build went fine.  Ran Xorg -configure.  A new xorg.conf.new file was created in /root.

Try running "X -config /root/xorg.conf.new."  Fails due to undefined symbol when loading module "xf4bpp".

Verified I have all updates per the latest portage.  Ran revdep-rebuild, no changes were necessary. 


Reproducible: Always

Steps to Reproduce:
1. emerge xorg-x11
2. Xorg -configure
3. X -config /root/xorg.conf.new

Actual Results:  
Will supply Xorg.0.log on request.

(II) Loading sub module "xf4bpp"
(II) LoadModule: "xf4bpp"
(II) Loading /usr/lib/xorg/modules//libxf4bpp.so
dlopen: /usr/lib/xorg/modules/libxf1bpp.so: undefined symbol: xf1bppSegmentSD
(EE) Failed to load /usr/lib/xorg/modules//libxf4bpp.so
(II) UnloadModule: "xf4bpp"
(EE) VGA: Failed to load module "xf4bpp" (loader failed, 7)
(II) UnloadModule: "vga"
(II) UnloadModule: "vgahw"
(II) Unloading /usr/lib/xorg/modules//libvgahw.so
(II) UnloadModule: "int10"
(II) Unloading /usr/lib/xorg/modules//libint10.so
(EE) Screen(s) found, but none have a usable configuration.


Expected Results:  
Should see the basic X pattern on the screen.

I am new to Gentoo and working with X and Window Managers.  Attempting to use Fluxbox as my WM.  The Fluxbox portage was installed prior to installing X (thought X was installed with it).  

Hardware is an Intel P4 3.2GHz Dual Core, Intel 82945G/GZ Integrated Graphics Controller rev 02.
Comment 1 David 2008-04-14 17:50:40 UTC
Created attachment 149709 [details]
Xorg.0.log
Comment 2 David 2008-04-14 17:50:59 UTC
Created attachment 149710 [details]
Xorg.conf
Comment 3 David 2008-04-14 17:53:16 UTC
emerge --search xorg-x11

*  x11-base/xorg-x11
      Latest version available: 7.2
      Latest version installed: 7.2
      Size of files: 0 kB
      Homepage:      http://xorg.freedesktop.org
      Description:   An X11 implementation maintained by the X.Org Foundation (meta package)
      License:       as-is
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2008-04-14 20:27:16 UTC
Please provide the output of `emerge --info`
Comment 5 Joseph Turian 2008-05-22 15:33:02 UTC
I had the same problem on the same card.
I fixed it by using driver i810 instead of vga.
Comment 6 Janusz 2008-07-23 20:14:57 UTC
(In reply to comment #5)
> I had the same problem on the same card.
> I fixed it by using driver i810 instead of vga.
> 

Well, apparently there is a bug/inconsistency in Xorg in a way it determines drivers.

I've noticed the same issue. It is not that using i810 "helps" it rather is that Xorg fails to detect proper video driver (effectively substituting vga with i810 helps of course, so above is true :-))

OK, so what do I already know about this: my instalation is perfect, this root tree boots perfectly from ramdisk, boots with openrc, detects video as i810 and starts Xorg.

But I wanted to squashfs this root tree and then I got:

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 hacker-is-me 2.6.24-gentoo-r8-term #1 Sat May 17 11:57:26 UTC 2008 i686
Build Date: 17 July 2008
        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: Wed Jul 23 20:04:05 2008
(++) Using config file: "/root/xorg.conf.new"
dlopen: /usr/lib/xorg/modules/libxf1bpp.so: undefined symbol: xf1bppSegmentSD
(EE) Failed to load /usr/lib/xorg/modules//libxf4bpp.so
(EE) VGA: Failed to load module "xf4bpp" (loader failed, 7)
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Ok, but why X when booted from squashfs detects other video card?? (the output now is from Vmware, but this is true for real systems too, instead of vesa you could substitute i810):

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "KGAUniversal"              # [<bool>]
        Identifier  "Card0"
        Driver      "vga"
        VendorName  "VMware Inc"
        BoardName   "[VMware SVGA II] PCI Display Adapter"
        BusID       "PCI:0:15:0"
EndSection

while it should be:

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optionalSection "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "DefaultRefresh"            # [<bool>]
        #Option     "ModeSetClearScreen"        # [<bool>]
        Identifier  "Card0"
        Driver      "vesa"
        VendorName  "VMware Inc"
        BoardName   "[VMware SVGA II] PCI Display Adapter"
        BusID       "PCI:0:15:0"
EndSection

I resolved this by crafting some wrapper for xorg -config command but it is strange and I also see this as a bug.

More information needed?
Comment 7 NiTr0 2009-01-06 19:57:24 UTC
This bug is still present. I have an NVidia card (old Riva TNT2), in config it's detected successfully, but it tries to use vga driver (not built-in nv nor svga). There is a part of resulting xorg.conf:

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "KGAUniversal"              # [<bool>]
        Identifier  "Card0"
        Driver      "vga"
        VendorName  "nVidia Corporation"
        BoardName   "NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
        BusID       "PCI:1:0:0"
EndSection
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2009-02-27 18:42:17 UTC
The 'vga' driver is dead. Could any of you test the 'vesa' driver instead?

Don't hesitate to reopen this bug if you have issues with that driver.

Thanks
Comment 9 caozhenzhong 2009-03-10 09:02:50 UTC
I had the same problem in my virtualbox guest system, so I google and find this page.

As Rémi Cardona said,I tried "vesa" driver,and it works. 

so is it! thanks