Bug 107385

Summary: full Screen Corruption when a program is fullscreen
Product: xorg Reporter: monkeyinastripedshirt
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
glxinfo
none
Corruption
none
dmsg log
none
Xorg log none

Description monkeyinastripedshirt 2018-07-26 10:07:42 UTC
Created attachment 140826 [details]
glxinfo

This seemed to appear a few days ago after updating the obiaf ppa on Ubuntu 18. I did not have this problem before.

Basically any time certain programs are fullscreen the screen becomes corrupted and looks like a corrupted version of the login background however everything is still intractable and (I'm using Gnome) pressing the super key allows me to view the application and kill it. 
The view within (Whatever the application window thing is called) works and I can see the loading animations, the start menu, and everything which is how I have managed to get a few applications out of fullscreen and they work fine when not in fullscreen.

Attempting to screenshot the problem doesn't seem to work. LightDM also has this issue, the screen looks the exact same, with even the same colors. glxinfo is also attached. Not too sure what other information I need to include?

OS: Ubuntu 18
Mesa Version: 18.2.0
Graphics Card: R9 390x (8GB)
Comment 1 monkeyinastripedshirt 2018-07-26 10:10:25 UTC
Created attachment 140827 [details]
Corruption

This is what it looks like on my monitors.
Comment 2 Michel Dänzer 2018-07-26 13:59:05 UTC
(In reply to monkeyinastripedshirt from comment #0)
> This seemed to appear a few days ago after updating the obiaf ppa on Ubuntu
> 18.

Can you look up in /var/log/apt/history.log which packages were updated, and what the old and new package versions are?


Please also attach the corresponding Xorg log file and dmesg output.
Comment 3 monkeyinastripedshirt 2018-07-26 14:50:51 UTC
Created attachment 140838 [details]
dmsg log
Comment 4 monkeyinastripedshirt 2018-07-26 14:58:24 UTC
>Can you look up in /var/log/apt/history.log which packages were updated, and what the old and new package versions are?

18.2~git1807210730.e1febb~oibaf~b possibly? I updated to that on sunday. I said seemed because I don't know when the last time I played a game in fullscreen, it very well could have been much earlier. It also might be worth noting that things like YouTube videos might also have this issue, but not always as yesterday I tried to fullscreen a video and it happened.
Comment 5 Michel Dänzer 2018-07-26 15:03:14 UTC
(In reply to monkeyinastripedshirt from comment #4)
> 18.2~git1807210730.e1febb~oibaf~b possibly? I updated to that on sunday.

What was the previous version? /var/log/apt/history.log lists both on the Upgrade: line.
Comment 6 Michel Dänzer 2018-07-26 15:12:09 UTC
Specifically, I'm interested in the versions of the xserver-xorg-video-radeon package.

BTW, there's a new version 1:18.0.1+git1807251933.fed411~oibaf~x of that package, can you try if that helps for this issue?
Comment 7 monkeyinastripedshirt 2018-07-26 19:37:39 UTC
>xserver-xorg-video-radeon:amd64 (1:18.0.1-1, 1:18.0.1+git1807201017.64bd00~oibaf~b)

The update is downloading right now and I'll let you know as soon as I've tested it.
Comment 8 monkeyinastripedshirt 2018-07-26 20:22:18 UTC
Created attachment 140844 [details]
Xorg log

Unfortunately no, `1:18.0.1+git1807251933.fed411~oibaf~b` does not solve the problem. Demesg shows the exact same error, I'm also including the most recent Xorg log, hopefully that might shed some light on this.
Comment 9 Michel Dänzer 2018-07-27 09:35:23 UTC
I was able to reproduce the problem. It's a regression of xf86-video-amdgpu with Xorg < 1.20. https://patchwork.freedesktop.org/patch/241330/ fixes it.
Comment 10 Michel Dänzer 2018-07-31 10:09:44 UTC
Thanks for the report, fixed in xf86-video-ati Git master:

commit db28d35ce9fd07a2a4703f3df0633d4c8291ff9b
Author: Michel Dänzer <michel.daenzer@amd.com>
Date:   Fri Jul 27 11:30:57 2018 +0200

    glamor: Use glamor_egl_create_textured_pixmap_from_gbm_bo when possible

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.