[PVE-User] Increase memory QXL graphic adapter

Alexandre DERUMIER aderumier at odiso.com
Tue Jul 25 11:12:08 CEST 2017


seem that streaming-video=off by default,

maybe can you test with editing

/usr/share/perl5/PVE/QemuServer.pm

        push @$devices, '-spice', "tls-port=${spice_port},addr=$localhost,tls-ciphers=HIGH,seamless-migration=on";

and add 

  push @$devices, '-spice', "tls-port=${spice_port},addr=$localhost,tls-ciphers=HIGH,seamless-migration=on,streaming-video=filter";


then restart 

systemctl restart pvedaemon


and start your vm.


(test with "filter" and "all" value to compare)



----- Mail original -----
De: "aderumier" <aderumier at odiso.com>
À: "proxmoxve" <pve-user at pve.proxmox.com>
Envoyé: Mardi 25 Juillet 2017 10:06:26
Objet: Re: [PVE-User] Increase memory QXL graphic adapter

also discussion about youtube performance 

https://www.spinics.net/lists/spice-devel/msg27403.html 

"Since you are on el7 system you can test our nightly builds: 
https://copr.fedorainfracloud.org/coprs/g/spice/nightly/ 
which provides ability to switch the video encoder in spicy (package 
spice-gtk-tools) under Options menu. 

Your vm needs to have the video streaming enabled (set to 'filter' or 
'all'). 

(virsh edit VM ; and add <streaming mode='all'/> to graphics node) 

Also check if the image compression is turned on (ideally set to glz) 

" 

this can be tuned in -spice command line. (this need change in proxmox QemuServer.pm) 

"-spice port=5903,tls-port=5904,addr=127.0.0.1,\ 
x509-dir=/etc/pki/libvirt-spice,\ 
image-compression=auto_glz,jpeg-wan-compression=auto,\ 
zlib-glz-wan-compression=auto,\ 
playback-compression=on,streaming-video=all" 


not sure about new spicy video encoder. 



----- Mail original ----- 
De: "aderumier" <aderumier at odiso.com> 
À: "proxmoxve" <pve-user at pve.proxmox.com> 
Envoyé: Mardi 25 Juillet 2017 09:23:14 
Objet: Re: [PVE-User] Increase memory QXL graphic adapter 

another interesting article in deutsh 

http://linux-blog.anracom.com/2017/07/06/kvmqemu-mit-qxl-hohe-aufloesungen-und-virtuelle-monitore-im-gastsystem-definieren-und-nutzen-i/ 


----- Mail original ----- 
De: "aderumier" <aderumier at odiso.com> 
À: "proxmoxve" <pve-user at pve.proxmox.com> 
Envoyé: Mardi 25 Juillet 2017 09:21:01 
Objet: Re: [PVE-User] Increase memory QXL graphic adapter 

ovirt have a good draft for auto tune value, I wonder if we could we use this for proxmox ? 
http://www.ovirt.org/documentation/draft/video-ram/ 

default value are ram='65536', vram='65536', vgamem='16384', 'heads=1'. 

also, seem that a new vram64 value is available 

https://www.redhat.com/archives/libvir-list/2016-February/msg01082.html 


I think you can do tests with 

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



----- Mail original ----- 
De: "Eric Abreu" <abreuer1521 at gmail.com> 
À: "proxmoxve" <pve-user at pve.proxmox.com> 
Envoyé: Mardi 25 Juillet 2017 04:36:04 
Objet: [PVE-User] Increase memory QXL graphic adapter 

Hi. I wonder if there are ways of improving graphic performance of a kvm 
VM. Is there a way of increasing the memory of the virtual graphic adapter 
(QXL) from the terminal or tweaking the VM in a way that a user could 
stream YouTube videos without interruption. Thank you in advance. 
_______________________________________________ 
pve-user mailing list 
pve-user at pve.proxmox.com 
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user 

_______________________________________________ 
pve-user mailing list 
pve-user at pve.proxmox.com 
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user 

_______________________________________________ 
pve-user mailing list 
pve-user at pve.proxmox.com 
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user 

_______________________________________________ 
pve-user mailing list 
pve-user at pve.proxmox.com 
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user 




More information about the pve-user mailing list