[ovirt-users] Re: video virtio (instead of qxl)

2020-07-15 Thread Michal Skrivanek


> On 15 Jul 2020, at 19:05, Michael Lipp  wrote:
> 
> Am 15.07.20 um 17:36 schrieb Michal Skrivanek:
>> 
>>> On 14 Jul 2020, at 16:44, Michael Lipp  wrote:
>>> 
>>> Am 14.07.20 um 15:27 schrieb Michal Skrivanek:
> This works perfectly with my Fedora 32 and Arch guests and the change is 
> really worth it.
 Hi,
 what kind of performance benefits you’ve seen? 
 
 It’s not currently in near term roadmap, but if anyone wants to contribute 
 patches I don’t see a problem including it as an option for newer guests 
 indeed.
>>> The display (spice) updates much faster and more "smoothly". Most
>>> notibly when using Arch VMs. With QXL, I have an extreme delay when
>>> typing. This vanishes completey with virtio-vga.
>> using which client? remote-viewer? on which platform?
>> qxl needs drivers, not sure if Arch has that…it should have, but for Windows 
>> you definitely need to install them. If they’re not all right it falls back 
>> to vga emulation which is then slow indeed
> 
> Using ... interesting question. I always assumed that virt-manager
> starts a viewer, but I cannot find one in my process list. So: using
> virt-manager.

for vnc and spice it embeds the same component as remote-viewer. There’s 
“graphics” which is the console protocol(spice,vnc) and “video” which is the 
emulated guest video card. You could use both for graphics(that’s what we 
default to since ~4.3) and then you can choose. I’m not sure what virt-manager 
does in this case. Either way, I would suspect it uses VNC


> 
> My Arch system has "xf86-video-qxl" installed and loads the "qxl" kernel
> module automatically when the guest configuration is set to using QXL.
> It does not automatically load "bochs_drm" as mentioned here
> (https://wiki.archlinux.org/index.php/QEMU#qxl 
> ). However, adding it
> "manually" doesn't make any difference.

it could be just a misconfiguration, I’m really not familiar with how this is 
supposed to be configured on Arch, sorry, but it generally works ok elsewhere.

> 
> I know about Windows. I'm using these guests with QXL and the windows
> drivers installed (AFAIK there are no virtio-vga drivers for Windows).
> Contrary to Arch, Windows+QXL works satisfactory.

ok. that’s another indication it’s rather on the guest side.

The only reason we’re not adding it just yet is that it lacks wider support 
(e.g. those Windows drivers) and there’s not much difference. It may be that on 
Arch it’s already useful, but it’s still not widespread enough so not on the 
list yet.
If anyone wants to contribute a patch it would be welcome (it’s not exactly 
trivial, but not too complex either)

Thanks,
michal

> 
>  - Michael
> 
>> 
>>> - Michael
>>> 
 Thanks,
 michal
 
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/IZQHW3NZB4BFGMP4LMJE2VTJ6H2OSWSB/

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MKA22EZKWUEUA4ZPGQF6PODQMRDSHL7X/


[ovirt-users] Re: video virtio (instead of qxl)

2020-07-15 Thread Michael Lipp
Am 15.07.20 um 17:36 schrieb Michal Skrivanek:
>
>> On 14 Jul 2020, at 16:44, Michael Lipp  wrote:
>>
>> Am 14.07.20 um 15:27 schrieb Michal Skrivanek:
 This works perfectly with my Fedora 32 and Arch guests and the change is 
 really worth it.
>>> Hi,
>>> what kind of performance benefits you’ve seen? 
>>>
>>> It’s not currently in near term roadmap, but if anyone wants to contribute 
>>> patches I don’t see a problem including it as an option for newer guests 
>>> indeed.
>> The display (spice) updates much faster and more "smoothly". Most
>> notibly when using Arch VMs. With QXL, I have an extreme delay when
>> typing. This vanishes completey with virtio-vga.
> using which client? remote-viewer? on which platform?
> qxl needs drivers, not sure if Arch has that…it should have, but for Windows 
> you definitely need to install them. If they’re not all right it falls back 
> to vga emulation which is then slow indeed

Using ... interesting question. I always assumed that virt-manager
starts a viewer, but I cannot find one in my process list. So: using
virt-manager.

My Arch system has "xf86-video-qxl" installed and loads the "qxl" kernel
module automatically when the guest configuration is set to using QXL.
It does not automatically load "bochs_drm" as mentioned here
(https://wiki.archlinux.org/index.php/QEMU#qxl). However, adding it
"manually" doesn't make any difference.

I know about Windows. I'm using these guests with QXL and the windows
drivers installed (AFAIK there are no virtio-vga drivers for Windows).
Contrary to Arch, Windows+QXL works satisfactory.

 - Michael

>
>>  - Michael
>>
>>> Thanks,
>>> michal
>>>
 ___
 Users mailing list -- users@ovirt.org
 To unsubscribe send an email to users-le...@ovirt.org
 Privacy Statement: https://www.ovirt.org/privacy-policy.html
 oVirt Code of Conduct: 
 https://www.ovirt.org/community/about/community-guidelines/
 List Archives: 
 https://lists.ovirt.org/archives/list/users@ovirt.org/message/IZQHW3NZB4BFGMP4LMJE2VTJ6H2OSWSB/
>>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZIX7QDZERFY7IYO5J6DUAJ7Y6K3QBSOF/


[ovirt-users] Re: video virtio (instead of qxl)

2020-07-15 Thread Michal Skrivanek


> On 14 Jul 2020, at 16:44, Michael Lipp  wrote:
> 
> Am 14.07.20 um 15:27 schrieb Michal Skrivanek:
>> 
>>> This works perfectly with my Fedora 32 and Arch guests and the change is 
>>> really worth it.
>> Hi,
>> what kind of performance benefits you’ve seen? 
>> 
>> It’s not currently in near term roadmap, but if anyone wants to contribute 
>> patches I don’t see a problem including it as an option for newer guests 
>> indeed.
> 
> The display (spice) updates much faster and more "smoothly". Most
> notibly when using Arch VMs. With QXL, I have an extreme delay when
> typing. This vanishes completey with virtio-vga.

using which client? remote-viewer? on which platform?
qxl needs drivers, not sure if Arch has that…it should have, but for Windows 
you definitely need to install them. If they’re not all right it falls back to 
vga emulation which is then slow indeed

> 
>  - Michael
> 
>> Thanks,
>> michal
>> 
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovirt.org
>>> Privacy Statement: https://www.ovirt.org/privacy-policy.html
>>> oVirt Code of Conduct: 
>>> https://www.ovirt.org/community/about/community-guidelines/
>>> List Archives: 
>>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/IZQHW3NZB4BFGMP4LMJE2VTJ6H2OSWSB/
> 
> 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MMSHCWHO74MXAGYPRZHHNXZTJJKFCB6R/


[ovirt-users] Re: video virtio (instead of qxl)

2020-07-14 Thread Michal Skrivanek


> On 14 Jul 2020, at 13:48, Michael Lipp  wrote:
> 
>> Do you mean virtio-vga / virtio-gpu?
> 
> virtio-vga. To be specific (libvirt):
> 
>
>  
>
>  
>   function='0x0'/>
>
> 
> which results in:
> 
> -device virtio-vga,id=video0,virgl=off,max_outputs=1,bus=pci.0,addr=0x2
> 
> This works perfectly with my Fedora 32 and Arch guests and the change is 
> really worth it.

Hi,
what kind of performance benefits you’ve seen? 

It’s not currently in near term roadmap, but if anyone wants to contribute 
patches I don’t see a problem including it as an option for newer guests indeed.

Thanks,
michal

> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/IZQHW3NZB4BFGMP4LMJE2VTJ6H2OSWSB/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JFXH4LHDHE2CFEXXWVZPMFCYA2QJU4NA/


[ovirt-users] Re: video virtio (instead of qxl)

2020-07-14 Thread Michael Lipp
> Do you mean virtio-vga / virtio-gpu?

virtio-vga. To be specific (libvirt):


  

  
  


which results in:

-device virtio-vga,id=video0,virgl=off,max_outputs=1,bus=pci.0,addr=0x2

This works perfectly with my Fedora 32 and Arch guests and the change is really 
worth it.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/IZQHW3NZB4BFGMP4LMJE2VTJ6H2OSWSB/


[ovirt-users] Re: video virtio (instead of qxl)

2020-07-14 Thread Gianluca Cecchi
On Tue, Jul 14, 2020 at 11:44 AM Michael Lipp  wrote:

> Hi,
>
> I've searched to no avail: is it possible to use video virtio (instead of
> qxl) in a VM managed by oVirt? I have much better performance with video
> virtio when testing this with "plain" libvirt.
>
> I would have at least expected to find some feature request or something
> alike when searching. Does anybody know anything about this being on some
> ToDo list? Or has this really escaped everybody's notice?
>
>  - Michael
> ___
>
>
Do you mean virtio-vga / virtio-gpu?
It seems it only supports Linux guests with kernel >= 4.4 and mesa >= 11.2
and also compiled with option gallium-drivers=virgl
So probably many guests would be left out...
Anyway it could be an interesting option for newer guests, if you say that
you get better performances and if it is stable enough...

Gianluca
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SE32MCNFN7CIY5LRV2672Y4DBAHJXYAI/