diff options
| author | Vivek Kasireddy <vivek.kasireddy@intel.com> | 2025-06-16 21:32:28 -0700 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2025-07-15 10:22:33 +0400 |
| commit | 50d135e3779f276eba93c63dff49a940b85e23a5 (patch) | |
| tree | be4dea9d9e8b97923759eb055d81b114117b8113 /ui/console-gl.c | |
| parent | bd46161dd1bef1da9402fa10aa6e8f38b4dfe1d3 (diff) | |
| download | focaccia-qemu-50d135e3779f276eba93c63dff49a940b85e23a5.tar.gz focaccia-qemu-50d135e3779f276eba93c63dff49a940b85e23a5.zip | |
ui/spice: Add an option to submit gl_draw requests at fixed rate
In the specific case where the display layer (virtio-gpu) is using dmabuf, and if remote clients are enabled (-spice gl=on,port=xxxx), it makes sense to limit the maximum (streaming) rate (refresh rate) to a fixed value using the GUI refresh timer. Otherwise, the updates or gl_draw requests would be sent as soon as the Guest submits a new frame which is not optimal as it would lead to increased network traffic and wastage of GPU cycles if the frames get dropped. Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Marc-André Lureau <marcandre.lureau@redhat.com> Cc: Dmitry Osipenko <dmitry.osipenko@collabora.com> Cc: Frediano Ziglio <freddy77@gmail.com> Cc: Dongwon Kim <dongwon.kim@intel.com> Cc: Michael Scherle <michael.scherle@rz.uni-freiburg.de> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com> Message-Id: <20250617043546.1022779-5-vivek.kasireddy@intel.com>
Diffstat (limited to 'ui/console-gl.c')
0 files changed, 0 insertions, 0 deletions