Bug 1273106 (spice_4k_res)

Summary: [RFE] SPICE 4K resolution support
Product: Red Hat Enterprise Virtualization Manager Reporter: Andrei Stepanov <astepano>
Component: RFEsAssignee: Scott Herold <sherold>
Status: CLOSED DUPLICATE QA Contact: Gil Klein <gklein>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: astepano, bsanford, cfergeau, dblechte, djasa, ecohen, fidencio, gklein, lsurette, pgrunt, rbalakri, sstutsma, tjamrisk, tpelka, vehrlich, yeylon, ylavi
Target Milestone: ovirt-4.0.0-alphaKeywords: FutureFeature
Target Release: 4.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: spice
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-26 16:21:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Spice RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
virt-viewer log
none
qemu-kvm with SPICE_DEBUG_LEVEL=5 (first run)
none
qemu-kvm with SPICE_DEBUG_LEVEL=5 (second run)
none
qemu-kvm with SPICE_DEBUG_LEVEL=5 (qxl video)
none
virt-viewer log (qxl video) none

Description Andrei Stepanov 2015-10-19 15:40:00 UTC
virt-viewer with --full-screen parameter on 4k monitor doesn't update resolution of guest VM

virt-viewer v2.0-48 (Windows 7 32)

client's native resolution is: 3840x2160
virt-viewer -f spice:\\xx.xx.xx.xx:3000 -f

It works as expected on the same client/monitor with resolution 1920x1080

Comment 1 Andrei Stepanov 2015-10-19 15:42:23 UTC
Created attachment 1084446 [details]
virt-viewer log

Comment 2 Andrei Stepanov 2015-10-19 15:44:01 UTC
Created attachment 1084447 [details]
qemu-kvm with SPICE_DEBUG_LEVEL=5 (first run)

Comment 3 Andrei Stepanov 2015-10-19 15:44:54 UTC
Created attachment 1084449 [details]
qemu-kvm with SPICE_DEBUG_LEVEL=5 (second run)

Comment 4 Andrei Stepanov 2015-10-19 15:53:39 UTC
Host is:
kernel-3.10.0-323.el7.x86_64
spice-server-0.12.4-15.el7.x86_64

Guest is:
spice-vdagent-0.14.0-10.el7
xorg-x11-drv-qxl-0.1.1-18-el7

Comment 5 Andrei Stepanov 2015-10-19 15:55:08 UTC
Created attachment 1084452 [details]
qemu-kvm with SPICE_DEBUG_LEVEL=5 (qxl video)

Comment 7 Andrei Stepanov 2015-10-19 15:58:27 UTC
Created attachment 1084453 [details]
virt-viewer log (qxl video)

Comment 8 Andrei Stepanov 2015-10-19 16:02:57 UTC
Switching from window mode, using menu View->Full Screen also is broken.
Resolutions stays the same as it was for window mode.

Comment 9 Pavel Grunt 2015-10-20 06:17:58 UTC
the client is virt-viewer v2.0-48 (Windows 7 32), changing product & component to rhevm

Comment 10 Pavel Grunt 2015-10-20 06:23:26 UTC
How the VM was created?

Most likely it doesn't have enough memory for the 4k resolution. In that case the RHEL guest fallbacks to the previous used resolution.

Comment 12 Andrei Stepanov 2015-10-20 10:03:46 UTC
Changing from

<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1'/>

to

<model type='qxl' ram='131072' vram='131072' vgamem='32768' heads='1'/>

-vga qxl -global qxl-vga.ram_size=134217728 -global qxl-vga.vram_size=134217728 -global qxl-vga.vgamem_mb=32

Allows to go in 4k full screen mode

Comment 13 Yaniv Kaul 2015-10-20 10:28:00 UTC
(In reply to Andrei Stepanov from comment #12)
> Changing from
> 
> <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1'/>
> 
> to
> 
> <model type='qxl' ram='131072' vram='131072' vgamem='32768' heads='1'/>
> 
> -vga qxl -global qxl-vga.ram_size=134217728 -global
> qxl-vga.vram_size=134217728 -global qxl-vga.vgamem_mb=32
> 
> Allows to go in 4k full screen mode

Was it tested? What's the overall performance of a VM with more graphics memory? What's the graphics performance?
Can it be migrated, for example?

Comment 17 Yaniv Lavi 2015-10-28 14:41:00 UTC
*** Bug 1210362 has been marked as a duplicate of this bug. ***

Comment 18 Yaniv Kaul 2015-11-26 16:21:07 UTC

*** This bug has been marked as a duplicate of bug 1260751 ***