Bug 12618

Summary: Messed up viewport after switching resolution using xvidmode [with patch]
Product: xorg Reporter: David Nolden <david.nolden.freedesktop>
Component: Server/GeneralAssignee: Jeremy Huddleston Sequoia <jeremyhu>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: All   
Whiteboard: 2011BRB_Reviewed
i915 platform: i915 features:
Attachments:
Description Flags
The patch that solves the problem on my machine. none

Description David Nolden 2007-09-29 09:40:09 UTC
When a game, for example nexuiz, reduces the resolution using xvidmode, the game window becomes only partially visible, because somehow the viewport seems to get messed up.

I'm using the current proprietary nvidia driver.

Since this does not happen when changing the resolution using xrandr, I've copied the solution in the attached patch from the xrandr implementation.
Comment 1 David Nolden 2007-09-29 09:42:12 UTC
Created attachment 11821 [details]
The patch that solves the problem on my machine.
Comment 2 David Nolden 2007-10-04 19:13:32 UTC
I have also noticed that the same problem appears in the xorg versions from ubuntu gutsy and opensuse 10.3 (I haven't tested earlier versions) when using twin-view setups.

This means:
When I have a big desktop over both screens, and start a game from there that changes the resolution, I end up hearing only the sound of the game, and have to switch to a terminal and kill the game to make the desktop usable again.
Comment 3 David Nolden 2007-12-02 15:28:32 UTC
Has anyone noticed this? It is quite serious imo, and I've sent a patch..
Comment 4 Jeremy Huddleston Sequoia 2011-10-02 13:51:45 UTC
Fixing component.

Is this still an issue for you?  Please send your patch to xorg-devel for 
review.
Comment 5 Adam Jackson 2018-06-12 18:43:34 UTC
Mass closure: This bug has been untouched for more than six years, and is not obviously still valid. Please file a new report if you continue to experience issues with a current server.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.