Temporary resolution changes?
Eric Anholt
eric at anholt.net
Tue Jun 9 15:02:12 PDT 2009
On Wed, 2009-05-20 at 10:59 +0100, Luke Benstead wrote:
> Hi all,
>
> I recently had a discussion with a Wine developer and I mentioned that
> I had on several occasions been left at a low resolution when a
> fullscreen application crashes. He said that Wine could perhaps code
> in a fix which guaranteed the resolution was reset but he wasn't sure
> where this problem lied, or more specifically which project should fix
> it, as native games also suffer the same problem.
>
> Incidentally, the previous day I had been in a PC store and started up
> SuperTux on a netbook in the shop, I came back a few minutes later to
> find the desktop at a low resolution, the game had obviously crashed
> (desperate not to give a bad impression of Linux to passers by I reset
> the netbook ;) ) so I know it's quite a common issue.
>
> After more discussion with the Wine dev I learned/realized that
> Windows generally doesn't suffer a similar problem, because setting
> the CDS_FULLSCREEN flag in the DEVMODE structure (passed to
> ChangeDisplaySettings) indicates a temporary resolution change. If the
> program crashes, or is ALT+TABbed away from, Windows (usually) resets
> the resolution back to native.
>
> After some discussion on some forums I found this bug report:
> https://bugs.freedesktop.org/show_bug.cgi?id=14255
>
> I really just interested to find out from you guys where you think the
> problem lies? Is it something that the X.org devs can fix? Or is it
> something that should be fixed higher up? Is a "temp flag" perhaps
> something that can be passed to xrandr when a resolution is set?
I'd love to see an extension to RandR to handle this. It's been a
serious problem of X's modesetting APIs forever.
--
Eric Anholt
eric at anholt.net eric.anholt at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.x.org/archives/xorg-devel/attachments/20090609/b07d9805/attachment.pgp
More information about the xorg-devel
mailing list