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 1032923 - Additional display pop out when restarting service spice-vdagentd in guest
Summary: Additional display pop out when restarting service spice-vdagentd in guest
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: spice-gtk
Version: 6.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Jonathon Jongsma
QA Contact: SPICE QE bug list
URL:
Whiteboard:
Depends On: 1185434
Blocks: 1009648 1043782
TreeView+ depends on / blocked
 
Reported: 2013-11-21 09:13 UTC by tingting zheng
Modified: 2015-07-22 06:30 UTC (History)
10 users (show)

Fixed In Version: spice-gtk-0.26-1.el6
Doc Type: Bug Fix
Doc Text:
Cause: race condition when spice-vdagent is started in the guest and the client connects to it Consequence: if the 1st monitor was disabled, it could sometimes be wrongly reenabled after restarting spice-vdagentd Fix: delay sending monitor configuration when an agent connects so that we get a chance to negociate client/agent capabilities first Result: first display no longer gets wrongly reenabled
Clone Of:
: 1043782 (view as bug list)
Environment:
Last Closed: 2015-07-22 06:30:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Spice debug log file (223.81 KB, text/plain)
2013-11-21 09:13 UTC, tingting zheng
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1322 0 normal SHIPPED_LIVE virt-viewer and spice-gtk bug fix and enhancement update 2015-07-20 17:53:14 UTC

Description tingting zheng 2013-11-21 09:13:59 UTC
Created attachment 827084 [details]
Spice debug log file

Description
Additional display pop out when restarting service spice-vdagentd in guest

Version:
libvirt-0.10.2-29.el6.1.x86_64
virt-viewer-0.5.6-8.el6.x86_64
spice-gtk-python-0.20-11.el6.x86_64
spice-xpi-2.7-24.el6.x86_64
spice-vdagent-0.14.0-2.el6.x86_64
spice-glib-0.20-11.el6.x86_64
spice-gtk-0.20-11.el6.x86_64
spice-server-0.12.4-6.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Prepare a spice guest with qxl and spicevmc,install spice-vdagent in guest.
2.Boot the guest,use virt-viewer to launch the guest,disable display 1 and enable other displays,eg display 2.
# virt-viewer $guest
3.Restart service spice-vdagentd in guest.
4.Display 1 will pop out.

Actual results:
As description.

Expected results:
No additional display pop out when restarting service spice-vdagentd in guest.

Additional info:
1.If enable display 1,then restart service spice-vdagentd in guest,no additional display pop out.
2.Disable display 1,enable display 3 or 4,restart service spice-vdagentd in guest,display 1 will pop put.
3.The issue can not be reproduced on rhel7.

Comment 1 Marc-Andre Lureau 2014-06-04 12:47:20 UTC
I can't reproduce with:

virt-viewer-0.6.0-2.el6
spice-vdagent-0.14.0-3.el6_5.x86_64
xorg-x11-drv-qxl-0.1.1-12.el6.x86_64

Please check with more recent vdagent & qxl, or if virt-viewer-0.6.0-2.el6 update fixed the issue. thanks

Comment 2 tingting zheng 2014-06-05 04:57:40 UTC
(In reply to Marc-Andre Lureau from comment #1)
> I can't reproduce with:
> 
> virt-viewer-0.6.0-2.el6
> spice-vdagent-0.14.0-3.el6_5.x86_64
> xorg-x11-drv-qxl-0.1.1-12.el6.x86_64
> 
> Please check with more recent vdagent & qxl, or if virt-viewer-0.6.0-2.el6
> update fixed the issue. thanks

I tested with:
spice-vdagent-0.14.0-3.el6_5.x86_64
xorg-x11-drv-qxl-0.1.1-12.el6.x86_64
virt-viewer-0.6.0-4.el6.x86_64

The bug can still be reproduced.

Comment 3 Marc-Andre Lureau 2014-06-05 08:20:02 UTC
How do you restart vdagent?
Can you provide xrandr before and after the restart?
thanks

Comment 4 tingting zheng 2014-06-06 07:12:02 UTC
(In reply to Marc-Andre Lureau from comment #3)
> How do you restart vdagent?
> Can you provide xrandr before and after the restart?
> thanks

# xrandr
Screen 0: minimum 320 x 200, current 1096 x 828, maximum 8192 x 8192
qxl-0 disconnected
qxl-1 connected 1096x828+0+0 0mm x 0mm
   1024x768       60.0 +
   2560x1600      60.0  
   2000x2000      60.0  
   2560x1440      60.0  
   2048x1536      60.0  
   1920x1440      60.0  
   1920x1200      60.0  
   1920x1080      60.0  
   1600x1200      60.0  
   1680x1050      60.0  
   1400x1050      60.0  
   1600x900       60.0  
   1280x1024      60.0  
   1440x900       60.0  
   1280x960       60.0  
   1366x768       60.0  
   1360x768       60.0  
   1280x800       60.0  
   1152x870       60.0  
   1152x864       60.0  
   1280x768       60.0  
   1280x760       60.0  
   1280x720       60.0  
   1024x600       60.0  
   960x640        60.0  
   832x624        60.0  
   800x600        60.0  
   800x480        60.0  
   640x480        60.0  
   1096x828-1      0.1* 
qxl-2 disconnected
qxl-3 disconnected

# service spice-vdagentd restart
Stopping spice-vdagentd:                                   [  OK  ]
Starting spice-vdagentd:                                   [  OK  ]

# xrandr
Screen 0: minimum 320 x 200, current 1416 x 828, maximum 8192 x 8192
qxl-0 connected 320x200+0+0 0mm x 0mm
   1024x768       60.0 +
   2560x1600      60.0  
   2000x2000      60.0  
   2560x1440      60.0  
   2048x1536      60.0  
   1920x1440      60.0  
   1920x1200      60.0  
   1920x1080      60.0  
   1600x1200      60.0  
   1680x1050      60.0  
   1400x1050      60.0  
   1600x900       60.0  
   1280x1024      60.0  
   1440x900       60.0  
   1280x960       60.0  
   1366x768       60.0  
   1360x768       60.0  
   1280x800       60.0  
   1152x870       60.0  
   1152x864       60.0  
   1280x768       60.0  
   1280x760       60.0  
   1280x720       60.0  
   1024x600       60.0  
   960x640        60.0  
   832x624        60.0  
   800x600        60.0  
   800x480        60.0  
   640x480        60.0  
   320x200-0       0.1* 
qxl-1 connected 1096x828+320+0 0mm x 0mm
   1024x768       60.0 +
   2560x1600      60.0  
   2000x2000      60.0  
   2560x1440      60.0  
   2048x1536      60.0  
   1920x1440      60.0  
   1920x1200      60.0  
   1920x1080      60.0  
   1600x1200      60.0  
   1680x1050      60.0  
   1400x1050      60.0  
   1600x900       60.0  
   1280x1024      60.0  
   1440x900       60.0  
   1280x960       60.0  
   1366x768       60.0  
   1360x768       60.0  
   1280x800       60.0  
   1152x870       60.0  
   1152x864       60.0  
   1280x768       60.0  
   1280x760       60.0  
   1280x720       60.0  
   1024x600       60.0  
   960x640        60.0  
   832x624        60.0  
   800x600        60.0  
   800x480        60.0  
   640x480        60.0  
   1096x828-1      0.1* 
qxl-2 disconnected
qxl-3 disconnected

Comment 5 Fabiano Fidêncio 2014-08-05 14:17:41 UTC
I also cannot reproduce the issue here with latest RHEL6 as guest:
spice-vdagent-0.14.0-3.el6.x86_64
xorg-x11-drv-qxl-0.1.1-12.el6.x86_64

And F20 as host (using upstream virt-viewer)

Comment 6 Jonathon Jongsma 2014-08-27 21:07:45 UTC
I can reproduce quite easily with something like:

  for i in {1..20}; do service spice-vdagentd restart; usleep 500000; done

Comment 7 Jonathon Jongsma 2014-08-27 21:42:05 UTC
see Bug 1043782 comment #4 for description of the cause

Comment 12 errata-xmlrpc 2015-07-22 06:30:49 UTC
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.

https://rhn.redhat.com/errata/RHBA-2015-1322.html


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