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 1043738 - Guest display abnormal with multiple monitors
Summary: Guest display abnormal with multiple monitors
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: spice
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Default Assignee for SPICE Bugs
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On: 1109400
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-17 03:36 UTC by mazhang
Modified: 2016-09-20 04:40 UTC (History)
10 users (show)

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


Attachments (Terms of Use)
guest screen snapshot (1.64 MB, image/png)
2013-12-17 03:36 UTC, mazhang
no flags Details
guest screen snapshot2 (2.47 MB, image/png)
2013-12-17 03:42 UTC, mazhang
no flags Details
spice vdagent log (5.58 KB, text/x-log)
2013-12-20 12:16 UTC, mazhang
no flags Details

Description mazhang 2013-12-17 03:36:25 UTC
Created attachment 837536 [details]
guest screen snapshot

Description of problem:
Guest display abnormal with multiple monitors.

Version-Release number of selected component (if applicable):

Host:
qemu-kvm-rhev-1.5.3-21.el7.x86_64
spice-server-0.12.4-3.el7.x86_64
kernel-3.10.0-57.el7.x86_64

Guest:
RHEL7-64
spice-vdagent-0.14.0-5.el7.x86_64

Client:
RHEL6.5-64
virt-viewer-0.5.6-8.el6.x86_64
spice-client-0.8.2-15.el6.x86_64
spice-gtk-0.20-11.el6.x86_64
spice-glib-0.20-11.el6.x86_64

How reproducible:
3/4

Steps to Reproduce:
1.start qemu-kvm with following cli:
gdb --args /usr/libexec/qemu-kvm \
-M pc \
-cpu host \
-m 4G \
-smp 4,maxcpus=16 \
-enable-kvm \
-name rhel7 \
-uuid 990ea161-6b67-47b2-b803-19fb01d30d12 \
-smbios type=1,manufacturer='Red Hat',product='RHEV Hypervisor',version=el6,serial=koTUXQrb,uuid=feebc8fd-f8b0-4e75-abc3-e63fcdb67170 \
-k en-us \
-rtc base=localtime,clock=host,driftfix=slew \
-nodefaults \
-monitor stdio \
-qmp tcp:0:6666,server,nowait \
-boot menu=on \
-bios /usr/share/seabios/bios.bin \
-drive file=/home/rhel7-64.qcow2,if=none,id=drive-data-disk,format=qcow2,cache=none,aio=native,werror=stop,rerror=stop \
-device virtio-blk-pci,bus=pci.0,scsi=off,drive=drive-data-disk,id=data-disk \
-vga qxl \
-spice port=5900,disable-ticketing \
-device virtio-serial-pci,id=virtio-serial1 \
-chardev spicevmc,id=charchannel0,name=vdagent \
-device virtserialport,bus=virtio-serial1.0,nr=3,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 \

2.Connect guest, client machine has two monitors
#remote-viewer spice://10.66.106.39:5900 --full-screen=auto-conf

3.

Actual results:
Guest display abnormal, see attachment.

Expected results:
Guest display normal.

Additional info:

Comment 1 mazhang 2013-12-17 03:42:15 UTC
Created attachment 837538 [details]
guest screen snapshot2

Comment 3 Jonathon Jongsma 2013-12-19 15:29:46 UTC
Can you provide a debug log of the spice-vdagent running on the guest?

(By the way, the overlapping displays in the second screenshot is probably caused by bug 1002156.)

Comment 4 mazhang 2013-12-20 12:16:42 UTC
Created attachment 839550 [details]
spice vdagent log

Comment 5 Jonathon Jongsma 2013-12-20 15:34:00 UTC
Hm.  that vdagent log doesn't seem to have any evidence of the client sending a monitor configuration to the guest.  Perhaps you have to manually kill the spice-vdagent process (not spice-vdagentd), and then manually start it within your guest session (in a terminal, run: 'spice-vdagent -xd').  Then disconnect from the guest and re-launch remote-viewer and see what happens.

Comment 6 Jonathon Jongsma 2013-12-20 16:35:19 UTC
actually, ignore that request for now.

Comment 7 RHEL Program Management 2014-03-22 06:22:00 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 9 Jonathon Jongsma 2014-07-14 19:24:12 UTC
mazhang, can you reproduce this on latest build? I think this is likely fixed by rebase to 0.6.0

Comment 10 mazhang 2014-07-16 08:18:46 UTC
Test this bug on qemu-kvm-1.5.3-66.el7.x86_64, the problem has gone.

Host:
qemu-img-1.5.3-66.el7.x86_64
qemu-kvm-tools-1.5.3-66.el7.x86_64
qemu-kvm-common-1.5.3-66.el7.x86_64
qemu-kvm-debuginfo-1.5.3-66.el7.x86_64
ipxe-roms-qemu-20130517-5.gitc4bce43.el7.noarch
qemu-kvm-1.5.3-66.el7.x86_64
kernel-3.10.0-128.el7.x86_64
spice-server-0.12.4-5.el7.x86_64

Guest:
kernel-3.10.0-123.el7.x86_64
spice-vdagent-0.14.0-7.el7.x86_64

Client:
virt-viewer-0.6.0-9.el6.x86_64

Cli:
/usr/libexec/qemu-kvm \
-M pc \
-cpu SandyBridge \
-m 2G \
-smp 4,sockets=2,cores=2,threads=1,maxcpus=160 \
-enable-kvm \
-name rhel7 \
-uuid 990ea161-6b67-47b2-b803-19fb01d30d12 \
-smbios type=1,manufacturer='Red Hat',product='RHEV Hypervisor',version=el6,serial=koTUXQrb,uuid=feebc8fd-f8b0-4e75-abc3-e63fcdb67170 \
-k en-us \
-rtc base=localtime,clock=host,driftfix=slew \
-nodefaults \
-monitor stdio \
-qmp tcp:0:6666,server,nowait \
-boot menu=on \
-bios /usr/share/seabios/bios.bin \
-chardev socket,id=seabios,path=/tmp/seabios0,server,nowait \
-device isa-debugcon,chardev=seabios,iobase=0x402 \
-monitor unix:/tmp/socket0,server,nowait -device sga \
-vga qxl \
-spice port=5900,disable-ticketing \
-drive file=/mnt/rhel7-64.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=none,werror=stop,rerror=stop,aio=threads \
-device virtio-blk-pci,scsi=off,bus=pci.0,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 \
-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x7 \
-chardev socket,id=channel0,host=127.0.0.1,port=12345,server,nowait \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=channel0,id=channel0,name=com.redhat.rhevm.vdsm \
-chardev spicevmc,id=charchannel1,name=vdagent \
-device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=com.redhat.spice.0 \ 

Result:
Guest screen full fill in two monitors, display normal.

Comment 11 Marc-Andre Lureau 2014-07-16 10:14:35 UTC
ok thanks


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