Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo in Virtual Box, X.org startup problem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
CannyDuck
n00b
n00b


Joined: 23 Dec 2007
Posts: 3

PostPosted: Sun Dec 23, 2007 9:57 am    Post subject: Gentoo in Virtual Box, X.org startup problem Reply with quote

Hello,

for my first Gentoo install I used VirtualBox. I used the minimal install CD and followed the instructions in the official install howto.
I compiled the standard Gentoo Kernel and after installing X.org, the X-Server will not startup and prints me this error:

Code:

dlopen: /usr/lib/xorg/modules/libxf1bpp.so : undefined symbol: xf1bppDoBitbltCopy
(EE) Failed to load /usr/lib/xorg/modules//libxf4bpp.so
(EE) VGA: Failed to load module "xf4bpp" (loader failed, 7)
(EE) Screens (s) found, but none have a usable configuration.


Is it necessary to ingegrate another module into the kernel or what to do?

Thanks

CannyDuck
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Sun Dec 23, 2007 12:04 pm    Post subject: Reply with quote

Did you ran X -configure? Can you post the content of your xorg.conf?
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Back to top
View user's profile Send private message
CannyDuck
n00b
n00b


Joined: 23 Dec 2007
Posts: 3

PostPosted: Sun Dec 23, 2007 1:16 pm    Post subject: Reply with quote

I run X -configure.
Here my xorg.conf

Code:

Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   RgbPath      "/usr/share/X11/rgb"
   ModulePath   "/usr/lib/xorg/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/OTF"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/100dpi/"
   FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
   Load  "record"
   Load  "dri"
   Load  "glx"
   Load  "dbe"
   Load  "xtrap"
   Load  "extmod"
   Load  "GLcore"
   Load  "freetype"
   Load  "type1"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

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  "Unknown Vendor"
   BoardName   "Unknown Board"
   BusID       "PCI:0:2:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Sun Dec 23, 2007 2:36 pm    Post subject: Reply with quote

Try changing driver vga to driver vesa:

Code:
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      "vesa"
   VendorName  "Unknown Vendor"
   BoardName   "Unknown Board"
   BusID       "PCI:0:2:0"
EndSection

_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Back to top
View user's profile Send private message
CannyDuck
n00b
n00b


Joined: 23 Dec 2007
Posts: 3

PostPosted: Sun Dec 23, 2007 2:42 pm    Post subject: Reply with quote

Code:

Failed to load module "vesa"
No drivers available.


I have to compile it in the kernel? If how?

Thanks[/quote]
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Sun Dec 23, 2007 2:47 pm    Post subject: Reply with quote

You need to add the following lines to your make.conf (see also: http://www.gentoo.org/doc/en/xorg-config.xml)

Code:
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="vesa vga"


Then you re-merge x11-base/xorg-server
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Dec 23, 2007 4:40 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Desktop Environments.
Not about getting gentoo installed, so moved here.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
newtonian
Guru
Guru


Joined: 19 Jan 2005
Posts: 465
Location: Hokkaido Japan

PostPosted: Tue Jan 22, 2008 8:12 am    Post subject: same issue Reply with quote

Hi-

I've got the same issue:

Code:
(II) VGA(0): Modeline "400x300"   25.00  400 428 488 520  300 318 321 333 doublescan +hsync +vsync
(**) VGA(0): *Default mode "400x300": 24.8 MHz, 46.9 kHz, 75.1 Hz (D)
(II) VGA(0): Modeline "400x300"   24.75  400 408 448 528  300 300 302 312 doublescan +hsync +vsync
(**) VGA(0): *Default mode "400x300": 28.1 MHz, 53.7 kHz, 85.3 Hz (D)
(II) VGA(0): Modeline "400x300"   28.15  400 416 448 524  300 300 302 315 doublescan +hsync +vsync
(==) VGA(0): DPI set to (75, 75)
(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: xf1bppDoBitbltCopy
(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.

Fatal server error:
no screens found


Code:
localhost ~ # lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:0b.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 20)
01:00.0 VGA compatible controller: S3 Inc. Savage 4 (rev 04)



my system hasn't been updated since the orginal install of 2007.1.
I'm wondering if it is a mismatch of installed libraries/programs etc.
I'm doing an emerge --newuse world and report back if it helps.


Cheers,
Back to top
View user's profile Send private message
jcat
Veteran
Veteran


Joined: 26 May 2006
Posts: 1337

PostPosted: Tue Jan 22, 2008 11:48 pm    Post subject: Reply with quote

If the "vesa" driver doesn't work you could try the vmware driver. It's for a vmware based host running X (obviously), but it may work if your out of other options.



Cheers,
jcat
Back to top
View user's profile Send private message
guyr
Apprentice
Apprentice


Joined: 17 Aug 2004
Posts: 237

PostPosted: Thu Feb 14, 2008 8:12 pm    Post subject: Reply with quote

In your VirtualBox VM running Gentoo, install the VirtualBox additions; the package is in portage. Then use the VirtualBox accelerated driver:

Driver "vboxvideo"
_________________
Guy Rouillier
Back to top
View user's profile Send private message
newtonian
Guru
Guru


Joined: 19 Jan 2005
Posts: 465
Location: Hokkaido Japan

PostPosted: Mon Feb 18, 2008 8:27 am    Post subject: solved my issue Reply with quote

Turns out that I had the incorrect CFLAGS set on my system. Setting the correct CFLAGS in /etc/make.conf and running:

Code:
emerge -eav system
emerge -eav world


fixed the issue for me.

Cheers,
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum