Re: [PATCH v5 0/6] Deliver vGPU display refresh event to userspace
Date: Thu Sep 05 2019 - 03:49:03 EST
> Option 2: QEMU provides the emulated display refresh event to the
> vgpus provided by vendor driver. For vgpus, the display refresh event
> can be considered as the vblank event which is leveraged by guest
> window manager to do the plane update or mode-setting.
> People are asking if option 2 could be a better choice.
Certainly worth trying, maybe it even makes sense to implement both and
let qemu pick one, possibly even switch them at runtime.
qemu can change the refresh rate. vnc and sdl use that to reduce the
refresh rate in case nobody is looking (no vnc client connected, sdl
window minimized). It surely makes sense to make that visible to the
guest so it can throttle display updates too. I'm not sure vblank is
the way to go though, guests might run into vblank irq timeouts in case
the refresh rate is very low ...