different approach to resolution switching

Lionel Ulmer lionel.ulmer at free.fr
Sun Sep 7 07:32:04 CDT 2003

On Sat, Sep 06, 2003 at 08:46:43PM +0200, Rok Mandeljc wrote:
> I've been thinking recently about resolution changes in wine/X. As I
> understand, this now works with UseXVidMode enabled, but I sometimes
> find it ugly; I run X at 1280x1024 and when I run game in 640x480
> (fullscreen), X switches resolution. But as mouse cursor can escape from
> 640x480 "box", I can see the rest of my desktop (enlarged). I believe
> this is not how Win do it.

Well, if you are in a coding mood, read the specs for the RandR extension
and start coding in Wine. With some luck, you may even implement depth
switching :-)

> Even worse is when you run a game in desktop mode (let's say 1024x768)
> and game uses different resolutions (e.g. game: 1024x768, intro & main
> menu: 640x480).

'Desktop' mode switching is another story. For that, it's pure Wine coding,
no further use of X11 extensions are needed.

> So I've been wondering if you guys have already considered use of
> scaler. It would probably (in my opinion) look much nicer than current
> res switching and it would fill those black places in desktop mode.

A scaler ? That's another possibility. But either it's in hardware or you
will have a very slow Wine to play with (as the only stuff using resolution
switching are games and, well, you do not want to get Wine's performance
even slower that it currently is :-) ).


		 Lionel Ulmer - http://www.bbrox.org/

More information about the wine-devel mailing list