Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with X setup on Virtual PC 2007
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
IronManRust
n00b
n00b


Joined: 19 Oct 2004
Posts: 14
Location: Chicago, Illinois, United States

PostPosted: Mon Apr 13, 2009 6:51 pm    Post subject: Problems with X setup on Virtual PC 2007 Reply with quote

I am trying to setup a Gentoo virtual machine in Microsoft Virtual PC 2007 here at work. The host is running Windows XP Professional SP3 x86 Edition. For the most part things have gone well, but I’ve ground to a halt trying to coax X into cooperating.

First, it would probably help to share some bits of system information, so here goes.

make.conf

Code:
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j2"
GENTOO_MIRRORS="ftp://gentoo.cites.uiuc.edu/pub/gentoo/"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="s3"
USE="X gnome -kde gtk gtk2 -qt3 -qt4 firefox -mozilla nsplugin java doc jadetex opengl alsa esd gstreamer cdparanoia flac mad mp3 mysql emacs ftp -acl samba -cups quicktime mpeg avi xvid divx4linux gif jpeg gd xvmc hal"


xorg.conf

Code:
Section "InputDevice"
  Identifier "Keyboard"
  Driver "kbd"
  Option "CoreKeyboard"
  Option "XkbRules" "xorg"
  Option "XkbModel" "pc105"
  Option "XkbLayout" "us"
EndSection

Section "InputDevice"
  Identifier "Mouse"
  Driver "mouse"
  Option "CorePointer"
  Option "Device" "/dev/input/mice"
  Option "Protocol" "ImPS/2"
  Option "ZAsixMapping" "4 5"
  Option "Emulate3Buttons" "true"
EndSection

Section "Device"
  Identifier "S3 Trio 32 PCI"
  Driver "s3"
  BusID "PCI:0:8:0"
  Option "UseFBDev" "true"
EndSection

Section "Monitor"
  Identifier "Monitor"
  HorizSync 31.5-48.5
  VertRefresh 50-70
EndSection

Section "Screen"
  Identifier "Screen"
  Device "S3 Trio 32 PCI"
  Monitor "Monitor"
  DefaultDepth 16
  SubSection "Display"
    Modes "1024x768"
  EndSubSection
EndSection

Section "ServerLayout"
  Identifier "Layout"
  Screen "Screen"
  InputDevice "Keyboard"
  InputDevice "Mouse"
EndSection


All currently installed packages are in the stable x86 tree, and I plan to keep it that way if possible.

When I go to run startx I receive the following:

Code:
Fatal server error:
AddScreen/ScreenInit failed for driver 0


Xorg.0.log

Code:
...
<snip>
...
(II) Loading /usr/lib/xorg/modules//libxaa.so
(II) Module xaa: vendor="X.Org Foundation"
  compiled for 1.5.3, module version 1.2.1
  ABI class: X.Org Video Driver, version 4.1
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
...
<snip 11 hex ranges>
...

Fatal server error:
AddScreen/ScreenInit failed for driver 0


If you need additional bits of the Xorg.0.log I can supply them, I just don't have any copy/paste functionality on my VM yet so it takes me a while to type everything. :wink:

I'm pretty sure I have all of the right kernel (2.6.27-gentoo-r8, manually configured) settings to support the S3 video card that's emulated in Virtual PC 2007 but I can check if needed.

Basically, I'm not sure what else to do at this point, and would appreciate any assistance.
Back to top
View user's profile Send private message
IronManRust
n00b
n00b


Joined: 19 Oct 2004
Posts: 14
Location: Chicago, Illinois, United States

PostPosted: Tue Apr 14, 2009 5:38 pm    Post subject: Admitting Defeat ... For Now Reply with quote

After playing around with various kernel parameters and xorg.conf settings I've decided to throw in the towel trying to get the S3 driver working. A quick emerge of the generic VESA driver and I got X to start up without a hitch on the first try.

I'm still open for suggestions on getting the vendor-specific driver working, but since it won't really be doing any "hardware" acceleration I'm not going to lose any sleep over it.

For everyone who read my thread - thanks for looking!
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