Bug 1670287

Summary: Remote desktop and screencasting looks corrupted on HiDPI
Product: Red Hat Enterprise Linux 8 Reporter: Jonas Ådahl <jadahl>
Component: mutterAssignee: Jonas Ådahl <jadahl>
Status: CLOSED CURRENTRELEASE QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0CC: fmuellner, jan.public, jwboyer, tpelka
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mutter-3.28.3-18.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-14 01:30:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1678350    
Attachments:
Description Flags
screenshot none

Description Jonas Ådahl 2019-01-29 07:32:59 UTC
Description of problem:

When opening a screen cast or remote desktop session using org.gnome.Mutter APIs and the screen casted monitor is configured with scale higher than 1, the resulting image is corrupted.


How reproducible:


Steps to Reproduce:
1. Configure the host to use scale 2
2. Enable screen sharing
3. Connect using Vinagre from another computer

Actual results:

The image in Vinagre is not correct

Expected results:

The image in Vinagre should be correct

Comment 1 Tomas Pelka 2019-01-29 07:38:32 UTC
I believe this dup of https://bugzilla.redhat.com/1656788

Comment 2 Tomas Pelka 2019-01-29 07:39:53 UTC
*** Bug 1656788 has been marked as a duplicate of this bug. ***

Comment 4 Jonas Ådahl 2019-01-29 07:46:59 UTC
(In reply to Tomas Pelka from comment #1)
> I believe this dup of https://bugzilla.redhat.com/1656788

You sure? The way the screen is "corrupted" is very different. In this case, it'll look like the screen is squeezed and duplicated horizontally (somewhat like as if it was mirrored).

Comment 10 Tomas Pelka 2019-02-20 13:37:49 UTC
Created attachment 1536691 [details]
screenshot

I'm afraid this is not fixed, see attached screenshot. Seems for scaling factor = 2 remote desktop shows split screen like there are two monitors.

mutter-3.28.3-17.el8.x86_64
gnome-remote-desktop-0.1.6-3.el8.x86_64

On the screenshot 
- left site VM with scale factor 2 over SPICE - original host I'm connectinf via vinagre
- right site vinagre connected to hostname:0

Comment 11 Jonas Ådahl 2019-02-21 11:18:39 UTC
The reason was a accidental backport of 0001-wayland-enable-scale-monitor-framebuffer-by-default.patch as part of https://bugzilla.redhat.com/show_bug.cgi?id=1668883.

We should not enable that experimental feature as it is incomplete. Reverting it makes this issue go away again.

Comment 12 Tomas Pelka 2019-02-21 12:12:56 UTC
Verified with mutter-3.28.3-18.el8