Bug 1156339
Summary: | virt-viewer cannot connect guest with fullscreen mode on 4 monitor | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | CongDong <codong> | ||||||
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 7.1 | CC: | codong, dblechte, hhuang, huding, jdenemar, jjongsma, juzhang, juzhou, marcandre.lureau, mzhan, rbalakri, tzheng, uril, virt-maint, xfu | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2015-02-10 13:55:41 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: | |||||||||
Attachments: |
|
Description
CongDong
2014-10-24 09:01:41 UTC
Created attachment 950278 [details]
screen shot for 4 display
This seems like a bug in the guest. If configuring 4 fullscreen displays does not work, it should fall back to its previous configuration. Which guest were you using? A debug log might help understand what happened on the guest and why it's not reverting to a previous configuration. (In reply to Jonathon Jongsma from comment #3) > This seems like a bug in the guest. If configuring 4 fullscreen displays > does not work, it should fall back to its previous configuration. Which > guest were you using? A debug log might help understand what happened on the > guest and why it's not reverting to a previous configuration. Both rhel7.0 and rhel6.6 guest can reproduce this problem. And which log do you need? I've attached the virt-viewer debug log :) (In reply to CongDong from comment #4) > Both rhel7.0 and rhel6.6 guest can reproduce this problem. > And which log do you need? I've attached the virt-viewer debug log :) Oh, sorry, I missed that. So, from the log I can see that virt-viewer attempted to set the guest display properly, but it seems that the guest never responded with a MonitorsConfig message. Re-assigning to vdagent. (In reply to CongDong from comment #0) > Additional info: > No problem if I configure the guest like this: > # virsh edit $vm > <domain type='kvm' id='5' > xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> > ... > <qemu:commandline> > <qemu:arg value='-global'/> > <qemu:arg value='qxl-vga.vgamem_mb=32'/> > </qemu:commandline> > </domain> This then seems to me like a configuration issue. What was the value of qxl-vga.vgamem_mb before you changed it ? How did you create the VM ? Can you please attach the output of -- virsh dumpxml $vm ? I can't reproduce with current 7.1 guest on 7.1 host. I am using <video> <model type='qxl' ram='65536' vram='65536' vgamem='32768' heads='1'/> </video> Please try with video settings, and avoid qemu:commandline options. Thanks moving (In reply to Marc-Andre Lureau from comment #7) > I can't reproduce with current 7.1 guest on 7.1 host. I am using > <video> > <model type='qxl' ram='65536' vram='65536' vgamem='32768' heads='1'/> > </video> > > Please try with video settings, and avoid qemu:commandline options. Thanks Yes, with the video setting, can connect the guest with 4 displays. I think this is fixed. BTW, the default size of vgamem is 8192, this is not enough for support 4 monitors. Do you think libvirt should set the default size to enough for 4 monitors? (In reply to CongDong from comment #9) > (In reply to Marc-Andre Lureau from comment #7) > > I can't reproduce with current 7.1 guest on 7.1 host. I am using > > <video> > > <model type='qxl' ram='65536' vram='65536' vgamem='32768' heads='1'/> > > </video> > > > > Please try with video settings, and avoid qemu:commandline options. Thanks > > Yes, with the video setting, can connect the guest with 4 displays. > I think this is fixed. > > BTW, the default size of vgamem is 8192, this is not enough for support 4 > monitors. > Do you think libvirt should set the default size to enough for 4 monitors? afaik, qemu has a patch for that already. Moving components for further discussion The original default for qxl-vga.vgamem was 16 MB, which is apparently not enough for 4 monitors (or even a large resolution on fewer monitors). Thanks to bug 1076098, users can now increase the video memory size in a supported way (no qemu:commandline) in domain XML. I think there's nothing more we could do about this. *** This bug has been marked as a duplicate of bug 1076098 *** |