GNOME Bugzilla – Bug 777815
Rotating display causes screen artifacts
Last modified: 2021-07-05 13:52:54 UTC
Created attachment 344374 [details] My monitor config My monitor config has Samsung U28E590D UHD monitor on the left and a Qnix QX2710 2560x1440 resolution monitor on the right in portrait mode. When I rotate my right display on Gnome Wayland session, I get severe corruption/artifacts on it. Everything works fine on X11 and on Wayland when I don't rotate the right display. I have tested this on Fedora and on OpenSUSE Tumbleweed on Gnome 3.22.2. I have an AMD R9 280 card running the open source drivers(using Radeon kernel driver, not AMDGPU) and my left monitor uses Displayport and the right one uses Dual link DVI. Related commit used to enable screen rotation on Wayland: https://git.gnome.org/browse/mutter//commit/?id=efef0c993b7e45c1a5d06afffdf302c30ba441a0&utm_source=anzwix Related bug: https://bugzilla.gnome.org/show_bug.cgi?id=745079
Created attachment 344375 [details] Artifacts captured with phone camera(1)
Created attachment 344376 [details] Artifacts captured with phone camera(2)
Created attachment 344377 [details] Artifacts captured with phone camera(2)
(Even though I don't get to spot the artifacts you mean). Portrait rotation is known broken on tiled/MST monitors, maybe it's the case of your 4k monitor? I would however expect broken positioning in one of the tiles, not plain artifacts.
(In reply to Carlos Garnacho from comment #4) > (Even though I don't get to spot the artifacts you mean). Portrait rotation > is known broken on tiled/MST monitors, maybe it's the case of your 4k > monitor? I would however expect broken positioning in one of the tiles, not > plain artifacts. The 4k monitor rotates fine. I believe it is a SST. The Qnix QX2710 1440p monitor has an issue. >Even though I don't get to spot the artifacts you mean See the 344375 attachment. The left monitor(the Samsung U28E590D 4K) is bright and normal, while the Qnix is very dark after I rotate it with some bands forming across it. Thanks for replying. Do let me know if you need any kind of logs/any more info. I'll attach a video within a day to show the problem.
Could you run: gdbus call --session -d org.gnome.Mutter.DisplayConfig -o /org/gnome/Mutter/DisplayConfig -m org.gnome.Mutter.DisplayConfig.GetResources and attach the output as a file here?
Created attachment 348212 [details] Command Jonas said to run on X11
Created attachment 348213 [details] Command Jonas said to run on wayland
(In reply to Jonas Ådahl from comment #6) > Could you run: > > gdbus call --session -d org.gnome.Mutter.DisplayConfig -o > /org/gnome/Mutter/DisplayConfig -m > org.gnome.Mutter.DisplayConfig.GetResources > > and attach the output as a file here? Have attached the outputs as requested, both on X11 as well as Wayland. My phone camera is borked. I'll try to do a video to show the problem more clearly in 1-2 days.
(In reply to Varun Priolkar from comment #5) > (In reply to Carlos Garnacho from comment #4) > > (Even though I don't get to spot the artifacts you mean). Portrait rotation > > is known broken on tiled/MST monitors, maybe it's the case of your 4k > > monitor? I would however expect broken positioning in one of the tiles, not > > plain artifacts. > > The 4k monitor rotates fine. I believe it is a SST. The Qnix QX2710 1440p > monitor has an issue. I apparently misread and thought both are 4k... it seems the monitor is not MST indeed (although Jonas might correct me), so the situation should be regular despite the sizes of the framebuffers. > > >Even though I don't get to spot the artifacts you mean > See the 344375 attachment. The left monitor(the Samsung U28E590D 4K) is > bright and normal, while the Qnix is very dark after I rotate it with some > bands forming across it. Right, I wasn't sure if the differing colors were due to color profiles, camera/screen angle, etc. I wonder if you can capture the artifacts with a plain screenshot, you should be able to since screen capturing just reads the pixels from the framebuffer(s).
(In reply to Carlos Garnacho from comment #10) > Right, I wasn't sure if the differing colors were due to color profiles, > camera/screen angle, etc. I wonder if you can capture the artifacts with a > plain screenshot, you should be able to since screen capturing just reads > the pixels from the framebuffer(s). A screenshot is not capturing artifacts or any changes. I tried changing the color profiles too to fix the issue but to no avail. I've captured two videos to show the issue a little better. On Wayland: https://www.youtube.com/watch?v=5Jj_rsL5X48 On Xorg: https://www.youtube.com/watch?v=T61T9aL-xJY Compare the colors of secondary display in both the videos. Also see how windows become "transparant" in the Wayland video.
Also noticed something strange. The discoloration/artifacting is persistant even if the screen is not rotated. I'll try the Fedora 26 Alpha once that is out and check if I see any improvements.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/mutter/-/issues/ Thank you for your understanding and your help.