Instead of changing the value, I think there should be a function that determines the ideal "GUI_REFRESH_INTERVAL_DEFAULT" value, with the option to override it. That way, monitor greater than 60 Hz can also benefit.
-- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1802915 Title: GTK display refresh rate is throttled Status in QEMU: New Bug description: Guest OS running with GL enabled GTK display shows a reduced refresh rate, e.g. moving cursor around with iGVT-g DMA Buf. Apparently, a default refresh interval GUI_REFRESH_INTERVAL_DEFAULT (30ms) is defined in include/ui/console.h, throttling the display refresh rate at 33Hz. To correct this throttle issue, a shorter interval (16 or 17 milliseconds) should be applied to display change listener or the default value should be modified. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1802915/+subscriptions