Bug 76284

Summary: [radeon] dota2, applying new screen resolution corrupts display
Product: Mesa Reporter: Sylvain BERTRAND <sylvain.bertrand>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: medium    
Version: 10.1   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Xorg.0.log
dmesg

Description Sylvain BERTRAND 2014-03-17 17:50:47 UTC
In dota2, with a radeon GPU, evergreen and southern islands, when I apply a new resolution, the display is corrupted, nearly unusable.
up-to-date fedora rawhide.
Comment 1 Alex Deucher 2014-03-17 19:19:55 UTC
Please attach your xorg log and dmesg output.  Is it all resolutions or only specific ones?
Comment 2 Sylvain BERTRAND 2014-03-17 23:48:38 UTC
Created attachment 95972 [details]
Xorg.0.log
Comment 3 Sylvain BERTRAND 2014-03-17 23:49:00 UTC
Created attachment 95973 [details]
dmesg
Comment 4 Sylvain BERTRAND 2014-03-17 23:53:53 UTC
My desktop is native at 1920x1200.

I started dota2.
I switched in the options the resolution from 1920x1200 to 1200x800-->dota2 display corruption.

Nearly blind, namely by guessing the location of the buttons on the screen, I was able to quit dota2 to the desktop (non compositing xfce4 desktop).

The desktop display is not corrupted.

If I start again dota2, the resolution will be fine at 1200x800.

It is the same pb if I switch on/off vsync in dota2 options.
Comment 5 Sylvain BERTRAND 2014-06-13 15:15:08 UTC
In the lastest dota2, I tried to enable vsync. 

When I do so, once I close/apply the options, the display gets corrupted. Then I exit (guessing where the quit button is...) the game, then when I start again the game vsync is still not enabled.
Comment 6 Michel Dänzer 2014-06-16 07:35:29 UTC
Does the same thing happen if you switch between 'Window' and 'Borderless Window' mode?

AFAICT dota2 never actually changes screen resolution when changing any of these settings, apparently it merely changes some internal state.

BTW, I can always exit the game with Alt-F4, no need to guess where any buttons are located.
Comment 7 Sylvain BERTRAND 2014-06-26 16:55:42 UTC
ALT-F4 was disabled for my window manager

That said, with an up-to-date fedore rawhide.

It's fixed (I did a bit of change resolution torture)

:)

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.