starcraft

Chris Aitken chris-n/jUll39koHNgV/OU4+dkA at public.gmane.org
Thu Oct 4 14:51:15 UTC 2007


Lennart Sorensen wrote:
> On Wed, Oct 03, 2007 at 06:02:14PM -0400, Chris Aitken wrote:
>   
>> Yeah, I've already burnwed a copy of my son's (it's getting old) - it 
>> works fine.
>>
>> Now, to get full screen working in the vm:
>>
>> Unable to turn on direct graphics.
>> Your guest's depth (8) doesn't match your host's (24).  Fullscreen may 
>> have failed because your XF86Config file lacks modes for depth 8.  
>> Either add the modes to XF86Config, or switch your guest's depth to 
>> match your host's to enable fullscreen mode.
>> Failed to switch to full screen SVGA mode.
>>
>> How should I go about this? I don't want to go the ham-fisted route this 
>> time. I was asking in an earlier email in this thread how to get my 
>> Hardware Browser back - does anyone know? I'm missing a few things on my 
>> menus - like monitor resolution selector (no idea what it's called)...
>>     
>
> Well if you look in your X configuration file (usually
> /etc/X11/xorg.conf) see what it lists for the screen section.
>
> For example:
> Section "Screen"
>         Identifier      "Default Screen"
>         Device          "nVidia Corporation NV34 [GeForce FX 5200]"
>         Monitor         "Generic Monitor"
>         DefaultDepth    24
>         SubSection "Display"
>                 Modes           "800x600"
>         EndSubSection
> EndSection
>
> That is from an Xorg 7.3.
>
> Older versions were a little different I believe.  Here is one from 7.1:
> Section "Screen"
>         Identifier      "Default Screen"
>         Device          "nVidia Corporation NV34 [GeForce FX 5200]"
>         Monitor         "Generic Monitor"
>         DefaultDepth    24
>         SubSection "Display"
>                 Depth           1
>                 Modes           "1024x768" "800x600" "640x480"
>         EndSubSection
>         SubSection "Display"
>                 Depth           4
>                 Modes           "1024x768" "800x600" "640x480"
>         EndSubSection
>         SubSection "Display"
>                 Depth           8
>                 Modes           "1024x768" "800x600" "640x480"
>         EndSubSection
>         SubSection "Display"
>                 Depth           15
>                 Modes           "1024x768" "800x600" "640x480"
>         EndSubSection
>         SubSection "Display"
>                 Depth           16
>                 Modes           "1024x768" "800x600" "640x480"
>         EndSubSection
>         SubSection "Display"
>                 Depth           24
>                 Modes           "1024x768" "800x600" "640x480"
>         EndSubSection
> EndSection
>
> Notice how each Display Subsection mentions a depth and what resolutions
> to allow at that depth.  This configuration should allow going full
> screen in any of those depths with any of those resolutions.  Some
> systems configure X with only one section and hence only one depth and
> as a result applications can't request another mode since there is no
> configuration for it.
>
> What does your X config have for the Screen section?
>   
[chris at p733 ~]$ cat /etc/X11/xorg.conf
# Xorg configuration created by pyxf86config

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "i810"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

<snip>
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list