LibVF.I, Support For VM's.

just to clarify, there are several parts to this:

one is to give a vm a (partitioned/virtualized) gpu -> this is done with e.g. nvidia vgpu (see https://pve.proxmox.com/wiki/NVIDIA_vGPU_on_Proxmox_VE ) or virtio-gl, etc.
another is to get the display of that vm to the user -> this is what spice/vnc/looking glass is doing

partitioning and/or passing through gpus to vms is not a problem with PVE
neither is using VNC/SPICE/looking glass

the problem is when using a passed through gpu (either complete or partitioned) qemu does not have direct access to the framebuffer anymore (since it's in hardware and not virtualized) and thus cannot stream it via VNC/SPICE
the solution here is to use something inside the guest, like parsec/remote desktop etc.

looking glass is a similar solution for a different problem: it's useful if you want to show the display of the guest on the same host, but not remote so it only does the framebuffer copying, not the encoding/decoding streaming via network, etc.

is it maybe more clear now?

i don't see how we currently could integrate looking glass, without having a proper remote desktop protocol to go along with it. in the meantime using something inside the vm is probably better suited for remote access
(for local access via looking glass there isn't anything special needed)
would it be possible to use looking glass as an alternative qxl when using spice, so instead of selecting Spice (QXL) you souls have an option to choose Spice (Looking Glass) therefore leveraging spice, but replacing qxl with looking glass for better performance.

Also have you guys gave any consideration to supporting no machine as a display protocol, as a display option?
 
Last edited:
would it be possible to use looking glass as an alternative qxl when using spice, so instead of selecting Spice (QXL) you souls have an option to choose Spice (Looking Glass) therefore leveraging spice, but replacing qxl with looking glass for better performance.
sorry if i was not clear enough, but it's not that simple, since qemu is not a looking glass client, that would be a rather big task to add that
(but you can open a feature request here: https://bugzilla.proxmox.com since we maybe want something like this in the future)

note that you can use looking glass locally on a pve already (you have to use the ivshmem option in the vm config, then you can use the looking glass client directly on the pve host)

Also have you guys gave any consideration to supporting no machine as a display protocol, as a display option?
not really, and also that would have to be implemented inside qemu too, so there it would be easier to just install it inside the guest and use that instead of going through the host (+qemu)
 
sorry if i was not clear enough, but it's not that simple, since qemu is not a looking glass client, that would be a rather big task to add that
(but you can open a feature request here: https://bugzilla.proxmox.com since we maybe want something like this in the future)

note that you can use looking glass locally on a pve already (you have to use the ivshmem option in the vm config, then you can use the looking glass client directly on the pve host)


not really, and also that would have to be implemented inside qemu too, so there it would be easier to just install it inside the guest and use that instead of going through the host (+qemu)
Thank you I'll make open a feature request about looking glass.

I was reading that someone was able to hook looking glass into spice for using the USB redirection, and another thread here about looking glass, hence why I asked.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!