RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1477551 - RHEL guest resets selected higher resolution in remote-viewer with window mode.
Summary: RHEL guest resets selected higher resolution in remote-viewer with window mode.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: xorg-x11-drv-qxl
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Default Assignee for SPICE Bugs
QA Contact: SPICE QE bug list
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-02 11:31 UTC by Andrei Stepanov
Modified: 2018-12-13 13:53 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-13 13:53:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Andrei Stepanov 2017-08-02 11:31:59 UTC
While connected to remote VM user is able to choose a desired screen resolution from the range of supported resolutions. But, selected higher resolution doesn't persist.

# rpm -qa | grep -E 'agent|qxl'
ovirt-guest-agent-common-1.0.13-5.el7ev.noarch
spice-vdagent-0.14.0-14.el7.x86_64
qemu-guest-agent-2.8.0-2.el7.x86_64
xorg-x11-drv-qxl-0.1.5-3.el7.x86_64

This bug doesn't depend on client. It is reproducible with:

virt-viewer-2.0-12.el7.x86_64 and spice-client-msi-x86-4.1-6.el7ev.noarch

How reproducible: always

Steps to Reproduce:
1. Login to User/Admin RHV WebPortal .
2. Have a running RHEL VM.
3. Connect to remote virtual desktop in window mode. 
4. With help of a mouse resize remote viwer window to some smaller dimension. Say, 1024x768 (roughly).  
4. Open terminal in the client.
5. Type xrandr and check current mode.
6. Type xrandr --output Virtual-0 --mode 1920x1200
7. Type xrandr to check a new resolution.

Actual results: In my case a new resolution is: 1598x769      59.95*+

Expected results: Guest must have new resolution 1920x1200

Additional info: 

1. Step #4 is very important.
2. The same is true if you change guest resolution with help of Gnome settings.

Comment 2 Victor Toso 2018-12-13 13:53:22 UTC
> GSpice-DEBUG: 14:42:44.865: ../src/channel-display.c:1883 display-2:0: received new monitors config from guest: n: 1/1
> GSpice-DEBUG: 14:42:44.865: ../src/channel-display.c:1903 display-2:0: monitor id: 0, surface id: 0, +0+0-1920x1200
> GSpice-DEBUG: 14:42:44.865: ../src/spice-widget.c:288 0:0 update monitor area
> GSpice-DEBUG: 14:42:44.865: ../src/spice-widget.c:2460 0:0 update area +0+0 1920x1200
> GSpice-DEBUG: 14:42:44.865: ../src/spice-widget.c:2486 0:0 primary: 1920x1200

(...)

> GSpice-DEBUG: 14:42:44.896: ../src/spice-widget.c:1204 0:0 recalc geom monitor: 0:0, guest +0+0:1920x1200, window 1920x1200, zoom 1
> GSpice-DEBUG: 14:42:44.954: ../src/spice-widget.c:1204 0:0 recalc geom monitor: 0:0, guest +0+0:1920x1200, window 1626x1016, zoom 1
> GSpice-DEBUG: 14:42:46.222: ../src/channel-main.c:1132 main-1:0: sending new monitors config to guest
> GSpice-DEBUG: 14:42:46.222: ../src/channel-main.c:1149 main-1:0: monitor #0: 1920x1016+0+0 @ 32 bpp

The request came correctly, 1920x1200 and due the fact that client is on windowed mode, it considers client's max resolution size minus borders.
Not sure what the bug is about.

I'm closing for now, if I'm mistaken please also check if regression otherwise it might fit better on RHEL 8.


Note You need to log in before you can comment on or make changes to this bug.