Red Hat Bugzilla – Bug 1267184
Monitor mapping doesn't properly adjust resolutions
Last modified: 2016-11-03 21:10:37 EDT
Description of problem:
Mapping client:guest monitors results in their resolutions being switched
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. RHEL guest with agent running
2. Client with 2 screens of different resolutions
3. Creat mapping for the guest in client's configuration file, 2:1;1:2
4. Connect to the guest with -f option
Displays are mapped as expected, except that resolution still honors 1:1;2:2, which results in scaling.
Resolution set on individual displays should account for remapping.
changing the component - virt-viewer takes care about monitor-mapping
Tomas, is the guest also RHEL 7.2?
I cannot reproduce the bug here - the guest always adjust to the window size.
A patch fixing a similar issue was posted: https://www.redhat.com/archives/virt-tools-list/2015-May/msg00013.html
No, the guest was RHEL6.7 (from nighlies), haven't tried with 7.2.
*** Bug 1269918 has been marked as a duplicate of this bug. ***
I just posted a patch to fix bug 1269918, but Pavel pointed out that this bug is the same. Here's the patch: https://www.redhat.com/archives/virt-tools-list/2015-October/msg00021.html
(In reply to Jonathon Jongsma from comment #6)
> I just posted a patch to fix bug 1269918, but Pavel pointed out that this
> bug is the same. Here's the patch:
These 2 additional patches are also needed: http://www.redhat.com/archives/virt-tools-list/2015-October/msg00066.html and http://www.redhat.com/archives/virt-tools-list/2015-October/msg00067.html
Just for the record, these are the necessary commits:
I can reproduce it on rhel7.2 release version.
$ rpm -q virt-viewer
1. Prepare a env with two physical monitors.
2. Install a spice guest and modify the configuration file.
$ cat .config/virt-viewer/settings
3. Run "virt-viewer -c qemu:///system 83865c8a-7ded-46e1-b803-584de8de0412 -f"
The two displays appear in correct monitors but the resolution are incorrect.
This issue also exists in rhel6.7, so clone it to rhel6.7.
I verified this bug following the steps in #comment 9 with virt-viewer-2.0-7.el7.x86_64. And the resolutions on two monitors are correct.
So move the bug from ON_QA to VERIFIED now.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.