Bug 1032923
Summary: | Additional display pop out when restarting service spice-vdagentd in guest | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | tingting zheng <tzheng> | ||||
Component: | spice-gtk | Assignee: | Jonathon Jongsma <jjongsma> | ||||
Status: | CLOSED ERRATA | QA Contact: | SPICE QE bug list <spice-qe-bugs> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6.5 | CC: | cfergeau, dblechte, dyuan, fidencio, jjongsma, marcandre.lureau, mzhan, rbalakri, tpelka, tzheng | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
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
|
Story Points: | --- | ||||
Clone Of: | |||||||
: | 1043782 (view as bug list) | Environment: | |||||
Last Closed: | 2015-07-22 06:30:49 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: | 1185434 | ||||||
Bug Blocks: | 1009648, 1043782 | ||||||
Attachments: |
|
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 (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. How do you restart vdagent? Can you provide xrandr before and after the restart? thanks (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 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) I can reproduce quite easily with something like: for i in {1..20}; do service spice-vdagentd restart; usleep 500000; done see Bug 1043782 comment #4 for description of the cause 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 |
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.