Switching video mode

Glenn Schrader geschrader at attbi.com
Sat May 25 18:07:56 CDT 2002


Miklos Bagi Jr. wrote:

>Hi,
>
>This is some short of technical question or might be my stupidity, please tell 
>me so ;o)
>
>Ok, let's say I have an application which I would like to run in 
>640x480x32/fullscreen. I have my basic X desktop settings at 1024x768 and I 
>would no like to change the resolution. Is there any way to let wine start an 
>X server on another shell with a different resolution, automatically switch 
>to thatone and run the application there? Or any way to change resolutions on 
>on of the multi-desktop environments (kde/gnome)?
>
>I'm asking this because... when I'm trying to run an application on my 
>1024x768 in 640x480, wine puts a window into the top-left corner which is 
>640x480 for sure, but does not swtich it to fullscreen. 
>
>Any suggestions (documentation liks are welcomed as well ;o))
>
>Regards,
>MBJr.
>

It sound to me like your X server isn't set up to handle 640x480.

Look in the file /etc/X11/XF86Config-4 for the "Screens" section.
You should find something like the following. Of course, your
video card and monitor is probably different but it be similar...

Section "Screen"
    Identifier "Screen0"
    Device "RIVA TNT2"
    Monitor "HWP"
    DefaultDepth 16
    Subsection "Display"
        Depth 16
        Modes "1024x768"
        Modes "640x480"
    EndSubSection
EndSection

The symptom that you describe is roughly the same thing that
I get when the Modes line for 640x480 is missing. If its missing
from your XF86Config-4 then add it, restart your X server, and
try the app again. This would definitely cause what you're seeing.

-ges




More information about the wine-users mailing list