Bug 922283

Summary: win-vdagent: does not enable extra displays
Product: Red Hat Enterprise Linux 8 Reporter: Marc-Andre Lureau <marcandre.lureau>
Component: spice-vdagent-winAssignee: Arnon Gilboa <agilboa>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: ---CC: acathrow, cfergeau, dblechte, djasa, dyasny, jbiddle, mkrcmari, pvine, vipatel
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Windows   
Whiteboard:
Fixed In Version: vdagent-win-0.1-16 Doc Type: Bug Fix
Doc Text:
Previously, when attempting to connect multiple displays using a Windows 7 guest, remote-viewer would only show one display available, even when all settings in the manager and on the SPICE client itself were correctly configured. This was caused by a regression issue relating to changes to custom resolution commands. Now, connecting and displaying multiple monitors functions correctly.
Story Points: ---
Clone Of: 919530 Environment:
Last Closed: 2013-06-10 20:27:18 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:    
Bug Blocks: 919530    

Description Marc-Andre Lureau 2013-03-16 00:06:32 UTC
+++ This bug was initially created as a clone of Bug #919530 +++

Created attachment 707161 [details]
Screenshot of Win 7 guest with 2 monitors setup in RHEVM and on guest, but remote-viewer only shows 1 display available.

Description of problem:
Setup a Win7 guest (installed RHEV tools 3.2.4 and updated spice vdagent, verified in Device Manager of guest it has 2 display adapters Red Hat qxl gpu), when connect from a client with 2 monitors, virt-viewer doesn't show an available 2nd display from View->Displays, only one.

*Note: (multimonitor worked fine for the same client using a RHEL 6.4 guest)

Version-Release number of selected component (if applicable):
Testing with a Win7_64bit client & guest
RHEVM 3.2 sf9
Win 7 64 guest, RHEV-tools 3.2.4, with updated spice agent: vdagent-win-0.1-15
RV client:rhevm-spice-client-x64-cab-3.2-2


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:
Only one available display is shown.

Expected results:
See two available displays

Additional info:

--- Additional comment from Marc-Andre Lureau on 2013-03-08 13:33:24 EST ---

(In reply to comment #0)
> Created attachment 707161 [details]
> Screenshot of Win 7 guest with 2 monitors setup in RHEVM and on guest, but
> remote-viewer only shows 1 display available.
> 
> Description of problem:
> Setup a Win7 guest (installed RHEV tools 3.2.4 and updated spice vdagent,
> verified in Device Manager of guest it has 2 display adapters Red Hat qxl
> gpu), when connect from a client with 2 monitors, virt-viewer doesn't show
> an available 2nd display from View->Displays, only one.
>

This menu is dynamic only when the guest has dynamic multi-monitor config.

Is the guest 2nd monitor enabled?

--- Additional comment from Vimal Patel on 2013-03-13 14:50:19 EDT ---

Hi Marc-Andre,

Yes I checked in DeviceManger and both monitors are enabled, and the 2nd display is not shown by remote-viewer.  

I disabled one of the monitors from DeviceManager and restarted the system, and then remote-viewer shows me two displays, one of which is black and unusable.  If I then enable and start the RHEV Spice Agent (which gets shutdown after system restart after disabling one of the monitors) the 2nd display it works properly; however, after closing out remote-viewer (both monitors enabled) and launching it again from the UP/PUP it only shows one display.

And the 2nd one won't show up until I again disable one of the monitors and restart the VM and start the same process over again.

Comment 1 Marc-Andre Lureau 2013-03-16 00:08:01 UTC
Patch on ML:
http://lists.freedesktop.org/archives/spice-devel/2013-March/012776.html

Comment 2 Marc-Andre Lureau 2013-03-18 18:00:51 UTC
This is probably a regression since we introduced the "escape" command for custom resoltion. The CreateGC call fails on disabled monitor, causing the rest of monitor configuration / auto-enable to fail.

Comment 3 Marc-Andre Lureau 2013-03-18 18:11:07 UTC
*** Bug 922394 has been marked as a duplicate of this bug. ***

Comment 7 Vimal Patel 2013-04-15 17:59:35 UTC
Verifed that mingw-virt-viewer-0.5.3-23.el6ev, now has the 2nd monitor enabled form the View Display options when doing multimonitor, 

*tested it with Windows 7 client x86_64 and Windows 7 x86_64 guest

Comment 11 errata-xmlrpc 2013-06-10 20:27:18 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.

http://rhn.redhat.com/errata/RHSA-2013-0924.html