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 991385 - Issue on multi-monitor machine when change the resolution higher than monitor native resolution
Summary: Issue on multi-monitor machine when change the resolution higher than monitor...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: xorg-x11-drv-qxl
Version: 6.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Marc-Andre Lureau
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On: 1053039 1076728
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-02 10:14 UTC by CongDong
Modified: 2014-10-07 08:56 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-07 08:56:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
The screenshot for the wrong size and wong resolution (1.53 MB, image/png)
2013-08-02 10:14 UTC, CongDong
no flags Details
spice-vdagent log file (619 bytes, text/x-log)
2013-08-15 02:11 UTC, CongDong
no flags Details
virt-viewer log file with SPICE_DEBUG=1 (44.95 KB, text/x-log)
2013-08-15 02:15 UTC, CongDong
no flags Details
SPICE_DEBUG=1 (337.96 KB, text/plain)
2013-08-16 02:08 UTC, CongDong
no flags Details

Description CongDong 2013-08-02 10:14:42 UTC
Created attachment 781920 [details]
The screenshot for the wrong size  and wong resolution

Description of problem:
Connect the guset with virt-viewer(check on the "Automatically resize"), and change it's resolution higher than monitor native resolution, there is an offset between mouse pointer and actually displayed cursor.
And the resolution is abnormal, resolution of each display is not the one you set in the "Display preference", can check this in the attachment. One of the display will change to a small size.


Version-Release number of selected component (if applicable):
spice-gtk-0.20-3.el6.x86_64
virt-viewer-0.5.6-6.el6.x86_64
spice-vdagent-0.14.0-1.el6.x86_64
spice-glib-0.20-3.el6.x86_64
libvirt-0.10.2-21.el6.x86_64
qemu-kvm-0.12.1.2-2.382.el6.x86_64

How reproducible:
20%


Steps to Reproduce:
1.Prepare a machine with two physical monitors.
2.Create a rhel guest with spice+qxl+spicevmc, install spice-vdagent in it, configure it to two displays.
3.# virt-viewer $guest , check on the "Automatically resize", and type 'f11' to change to fullscreen.
4.Make sure can see the two displays of guest are full-screen on each monitor.
5.Change the resolution to 2000*2000(try this sevral times).
6.Click the mouse, and do some drag operation one the desktop.
7.Check the resolution.

Actual results:
As the description.

Expected results:
There should not be an offset between mouse pointer and actually displayed cursor.
Can set the resolution successfully, and the size of the display should be normal.

Additional info:

Comment 2 Marc-Andre Lureau 2013-08-14 20:26:39 UTC
More likely an agent/guest issue, moving there for investigation.

Please provide the vdagent and SPICE_DEBUG=1 client logs.

thanks

Comment 3 CongDong 2013-08-15 02:11:53 UTC
Created attachment 786756 [details]
spice-vdagent log file

BTW, I reproduce this, and there is no need to check on the "Automatically resize".

Comment 4 CongDong 2013-08-15 02:15:32 UTC
Created attachment 786757 [details]
virt-viewer log file with SPICE_DEBUG=1

Comment 5 Hans de Goede 2013-08-15 10:32:48 UTC
Hi,

(In reply to Marc-Andre Lureau from comment #2)
> More likely an agent/guest issue, moving there for investigation.

Erm, how can this be an agent issue, the agent does not know about the client monitors native resolution, only the client does, changing back to virt-viewer.

Note that the attempt to change the guest to the higher resolution fails, from the attached agent log:

Aug 13 22:21:47.461203 spice-vdagent[2425]: warning: Ignoring previous failed client monitor config
Aug 13 22:22:27.496184 spice-vdagent[2425]: err: XRRSetScreenSize failed, not enough mem?
Aug 13 22:22:27.496215 spice-vdagent[2425]: warning: Restoring previous config
Aug 13 22:22:27.670801 spice-vdagent[2425]: err: XRRSetScreenSize failed, not enough mem?
Aug 13 22:22:29.504298 spice-vdagent[2425]: err: XRRSetScreenSize failed, not enough mem?
Aug 13 22:22:29.504329 spice-vdagent[2425]: warning: Restoring previous config
Aug 13 22:22:29.726408 spice-vdagent[2425]: err: XRRSetScreenSize failed, not enough mem?

Regards,

Hans

Comment 6 Marc-Andre Lureau 2013-08-15 20:06:12 UTC
(In reply to CongDong from comment #4)
> Created attachment 786757 [details]
> virt-viewer log file with SPICE_DEBUG=1

there is no spice debugging there, please get the log with SPICE_DEBUG=1 (and G_MESSAGES_DEBUG=GSpice if running with a recent glib version) thanks

Comment 8 CongDong 2013-08-16 02:08:58 UTC
Created attachment 787125 [details]
SPICE_DEBUG=1

Sorry add the wrong log file last time.
As I said in comment3, there is no need to check on the "Automatically resize", So I tried again,  I found there is no log in "spice-vdagentd.log".

BTW, the offset of mouse disappeared, but the resolution is still wrong.

Comment 9 Marc-Andre Lureau 2013-08-16 09:35:17 UTC
I don't see any problem with the client then.

Moving to qxl side, hopefully someone can explain what should be the memory configuration to avoid the "XRRSetScreenSize failed, not enough mem?".

I am also a bit confused by what is the correct way to configure the qxl devices, and why it's not working by default in some situations.

Comment 10 Marc-Andre Lureau 2014-08-12 18:28:05 UTC
it's tempting to close as duplicate of bug 1076728

Comment 11 Marc-Andre Lureau 2014-08-14 18:41:10 UTC
Can you still reproduce this issue? I can't reach this cursor offset bug.

To reach higher resolution, bug 1053039 provides a mean to configure the maximum framebuffer size.

Comment 12 Marc-Andre Lureau 2014-08-19 12:17:51 UTC
not reproducible so far, moving to 6.7

Comment 13 CongDong 2014-09-16 02:22:47 UTC
After I update the xorg-x11-drv-qxl, I cannot reproduce this, I think this problem is fixed.


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