Bug 1399837 - Second screen can not adjust resolution when "full screen" is enabled.
Summary: Second screen can not adjust resolution when "full screen" is enabled.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: spice-server
Version: 6.7
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Default Assignee for SPICE Bugs
QA Contact: SPICE QE bug list
URL:
Whiteboard:
Depends On:
Blocks: 1461138
TreeView+ depends on / blocked
 
Reported: 2016-11-29 21:14 UTC by jcastran
Modified: 2021-03-11 14:50 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-11 12:42:33 UTC
Target Upstream Version:


Attachments (Terms of Use)
Screenshots of the issue (313.23 KB, image/png)
2016-11-29 21:14 UTC, jcastran
no flags Details
VM XML (5.37 KB, text/plain)
2017-02-14 16:31 UTC, Frank DeLorey
no flags Details

Description jcastran 2016-11-29 21:14:36 UTC
Created attachment 1226048 [details]
Screenshots of the issue

Description of problem:
   Cant the user get full screen for the 2nd display..  the 1st display goes full screen with good resolution. The 2nd display is full screen but the actual working window is not and the resolution is very bad.
   See attached screenshot.

Version-Release number of selected component (if applicable):
   spice-client-0.8.2-15.el6.x86_64
   spice-glib-0.26-7.el6.x86_64
   spice-gtk-0.26-7.el6.x86_64
   spice-gtk-python-0.26-7.el6.x86_64
   spice-protocol-0.12.6-1.el6.noarch
   spice-server-0.12.4-13.el6.1.x86_64
   spice-vdagent-0.14.0-11.el6.x86_64
   spice-xpi-2.7-27.el6.x86_64
   kernel-2.6.32-642.6.2.el6.x86_64


Actual results:
   Second screen is not able to adjust resolution properly

Expected results:
   Resolution can be set for both screen 1 and screen 2

Additional info:
   # xrandr

   152x864 60.00 
   1280x768 60.00 
   1280x760 60.00 
   1280x720 60.00 
   1024x600 60.00 
   960x640 60.00 
   832x624 60.00 
   800x600 60.00 
   800x480 60.00 
   640x480 60.00 
   1904x1179-0 0.06* 
qxl-1 connected 1632x1012+1904+0 0mm x 0mm
   1024x768 60.00 +
   2560x1600 60.00 
   2000x2000 60.00 
   2560x1440 60.00 
   2048x1536 60.00 
   1920x1440 60.00 
   1920x1200 60.00 
   1920x1080 60.00 
   1600x1200 60.00 
   1680x1050 60.00 
   1400x1050 60.00 
   1600x900 60.00 
   1280x1024 60.00 
   1440x900 60.00 
   1280x960 60.00 
   1366x768 60.00 
   1360x768 60.00 
   1280x800 60.00 
   1152x870 60.00 
   1152x864 60.00 
   1280x768 60.00 
   1280x760 60.00 
   1280x720 60.00 
   1024x600 60.00 
   960x640 60.00 
   832x624 60.00 
   800x600 60.00 
   800x480 60.00 
   640x480 60.00 
   1632x1012-1 0.06* 
qxl-2 disconnected
qxl-3 disconnected

Comment 2 Christophe Fergeau 2016-11-30 08:08:30 UTC
What is the resolution of the 2 screens? What is the libvirt VM configuration/libvirt for that VM?

Comment 6 Uri Lublin 2016-12-04 17:08:54 UTC
What OS is running on the guest, host, client ?
What is the version of remote-viewer on the client ?
What is the version of spice-server and qemu* on the host ?
What is the version of spice-vdagent and qxl driver on the guest ?

Comment 7 LinuxAdmins 2016-12-05 15:36:13 UTC
CLIENT
[root@-vm2 ~]# uname -a
Linux -vm2 2.6.32-642.6.2.el6.x86_64 #1 SMP Mon Oct 24 10:22:33 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux

[root@-vm2 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.8 (Santiago)

[root@-vm2 ~]# rpm -qav|grep -i spice
spice-client-0.8.2-15.el6.x86_64
spice-vdagent-0.14.0-11.el6.x86_64
spice-gtk-python-0.26-7.el6.x86_64
spice-gtk-0.26-7.el6.x86_64
spice-xpi-2.7-27.el6.x86_64
spice-server-0.12.4-13.el6.1.x86_64
spice-protocol-0.12.6-1.el6.noarch
spice-glib-0.26-7.el6.x86_64

[root@-vm2 ~]# rpm -qav|grep -i qxl
xorg-x11-drv-qxl-0.1.1-19.el6.x86_64

[root@-vm2 ~]# rpm -qav|grep -i qemu
qemu-guest-agent-0.12.1.2-2.491.el6_8.3.x86_64


HYPERVISOR
[root@~]# cat /etc/redhat-release 
Red Hat Enterprise Virtualization Hypervisor release 6.6 (20150603.0.el6ev)

[root@~]# uname -a
Linux .com 2.6.32-504.23.4.el6.x86_64 #1 SMP Fri May 29 10:16:43 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux

[root@~]# rpm -qav|grep -i spice
spice-server-0.12.4-11.el6.x86_64
[root@~]# rpm -qav|grep -i qemu
qemu-kvm-rhev-0.12.1.2-2.448.el6_6.3.x86_64
qemu-img-rhev-0.12.1.2-2.448.el6_6.3.x86_64
gpxe-roms-qemu-0.9.7-6.12.el6.noarch
qemu-kvm-rhev-tools-0.12.1.2-2.448.el6_6.3.x86_64

CLIENT
Virtual Machine Viewer 0.6.0-34

Comment 8 LinuxAdmins 2016-12-15 15:53:41 UTC
any progress on this ?
thanks

Comment 9 Christophe Fergeau 2016-12-15 16:05:23 UTC
Could you provide the libvirt XML configuration for the VM, and the maximum resolution of the 2 physical screens?

Comment 10 LinuxAdmins 2016-12-15 17:48:04 UTC
im not sure where the libvirt xml file would be.

do you have a path ?

the only libvirt related pkg i see is
libvirt-client-0.10.2-60.el6.x86_64


doing rpm -qil on it only gives me

rpm -qil libvirt-client-0.10.2-60.el6.x86_64|grep xml
/usr/bin/virt-xml-validate
/usr/share/libvirt/cpu_map.xml
/usr/share/man/man1/virt-xml-validate.1.gz

Comment 14 Joe Wright 2016-12-19 15:21:02 UTC
Resolutions are as follows:

Left is 1280x1024
right is 1280x1024

Comment 17 Frank DeLorey 2017-02-14 16:31:29 UTC
Created attachment 1250291 [details]
VM XML

Comment 18 Pavel Grunt 2017-02-14 16:55:52 UTC
(In reply to Frank DeLorey from comment #17)
> Created attachment 1250291 [details]
> VM XML

How was the vm created (rhevm, virt-manager, ...) ?

anyway, it is defined as single monitor (heads='1')

...
    <video>
      <model type='qxl' ram='65536' vram='32768' heads='1'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
...

Comment 19 Christophe Fergeau 2017-02-14 17:03:27 UTC
(In reply to Pavel Grunt from comment #18)
> (In reply to Frank DeLorey from comment #17)
> > Created attachment 1250291 [details]
> > VM XML
> 
> How was the vm created (rhevm, virt-manager, ...) ?
> 
> anyway, it is defined as single monitor (heads='1')

'heads' is currently ignored though.

Comment 20 Pavel Grunt 2017-02-14 17:30:18 UTC
I am asking because when I create a rhel6 vm in rhevm 3.6, I set up 2 monitors, Single PCI in "Edit" -> "Console"

and I got ram='131072' heads='2'

Comment 21 LinuxAdmins 2017-02-16 16:53:23 UTC
our Vms are created via RHEVM UI and then PXE for the OS

Comment 22 Uri Lublin 2017-02-16 17:18:38 UTC
(In reply to LinuxAdmins from comment #21)
Can you please try the following (webadmin portal, "Virtual Machines" tab)
1. Shutdown the VM (can be done from within the guest too)
2. Edit the VM
3. On "Edit Virtual Machine" dialog:
  a. Click "Console" tab
  b. For "Monitors" pick 2 and check "Single PCI"
  c. Click "OK"
4. Run the VM

Comment 26 Red Hat Bugzilla Rules Engine 2018-01-11 12:42:33 UTC
Product Management has reviewed and declined this request.
You may appeal this decision by reopening this request.

Comment 27 RHEL Program Management 2018-01-11 12:42:35 UTC
Product Management has reviewed and declined this request.
You may appeal this decision by reopening this request.


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