Created attachment 84944 [details] Xorg log When SDL has a window open which is the same size as the screen and it switches to fullscreen mode it sometimes breaks the driver and an Xorg restart is required. After the SDL application exits the whole screen continues to have corrupted display. It seems like old data from the window is sometimes displayed. Or sometimes just random image corruption appears. It only happens if the non-fullscreen SDL window is exactly 1920x1080 (the size of my screen). I noticed this problem when watching 1080p video with ffplay (from ffmpeg), but I have created a small program to reproduce the bug have attached it to this report. Program versions (all from git): Xorg: 1.14.2.902 xf86-video-intel: 2.21.15 libdrm: 2.4.46 pixman: 0.30.2 libXdamage: 1.1.4 $ uname -a Linux namdle 3.10.10-namdle+ #5 SMP Fri Aug 30 21:12:29 EDT 2013 x86_64 GNU/Linux
Created attachment 84945 [details] A small program which reproduces the bug
I have bisected this and found b7a96df9b0872867c823dc945add5be04d51c30a sna: Honour LinearFramebuffer is the first bad commit.
As of the 2.99.905 snapshot I can no longer reproduce this problem. Some commit between 2.99.904-b1ecadd and now must have fixed it.
Sorry, I forgot to ask you to test. I had hoped that this was fixed accidentally as I had not worked out the root cause here. Please reopen if this problem is merely hidden temporarily.
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.