Skip to contentSkip to conversation

GTK: default display refresh rate at 60Hz

Qemu-devel Chen Zhang 1 participant 1 message Nov 9, 2018

lore
Share & tools
lore

Chen Zhang

author
#0 lore raw

Hi,

It’s observed that GTK display performs poorly compared with native environment. The display refresh timer fires at a interval of GUI_REFRESH_INTERVAL_DEFAULT milliseconds which is defined as 30 in include/ui/console.h. This throttles refresh rate to 33Hz.

Changing its value to 16 (i.e. 60Hz) seems reasonable and may actually improve performance.

Best regards