View Single Post
Old 08-16-06, 11:24 PM   #3
uOpt
FreeBSD cheering section
 
uOpt's Avatar
 
Join Date: Nov 2004
Location: Boston, MA, USA
Posts: 609
Default Re: How do I restore original resoltion after a fullscreen dumb app changed it?

Quote:
Originally Posted by AaronP
Try xvidtune -next and xvidtune -prev.
Same as Control-Alt-"-". It only allows me to go back to where the crashed app set the resolution. After that, silently ignored.

As I mentioned, I know this used to work last time I played with wine (I should know better...), I dunno what broke it.

%%

I have since then composed a video mode and call XF86VidModeSwitchToMode(3) directly, but I get
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 135 (XFree86-VidModeExtension)
Minor opcode of failed request: 10 (XF86VidModeSwitchToMode)

[I am sure I got the right parameters, even though the manpage should have mentioned that the clock is in KHz).
__________________

My Unix benchmark results
uOpt is offline   Reply With Quote