diff options
| author | Volker RĂ¼melin <vr_qemu@t-online.de> | 2020-12-13 17:57:24 +0100 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-01-15 11:22:42 +0100 |
| commit | 3c4b8f8310ad9fae3c0b36f1e871e2f9b5973550 (patch) | |
| tree | 7cc8ad3110f7678fa89a2a45bef6a90590ae2d5a /scripts/qemu-gdb.py | |
| parent | 0431e369b0bafb17085c8635d8f719f4e01cc4b7 (diff) | |
| download | focaccia-qemu-3c4b8f8310ad9fae3c0b36f1e871e2f9b5973550.tar.gz focaccia-qemu-3c4b8f8310ad9fae3c0b36f1e871e2f9b5973550.zip | |
ui/gtk: limit virtual console max update interval
Limit the virtual console maximum update interval to GUI_REFRESH_INTERVAL_DEFAULT. This papers over a integer overflow bug in gtk3 on Windows where the reported monitor refresh frequency can be much smaller than the real refresh frequency. The gtk bug report can be found here: https://gitlab.gnome.org/GNOME/gtk/-/issues/3394 On my Windows 10 system gtk reports a monitor refresh rate of 1.511Hz instead of 60.031Hz and slows down the screen update rate in qemu to a crawl. Provided you are affected by the gtk bug on Windows, these are the steps to reproduce the issue: Start qemu with -display gtk and activate all qemu virtual consoles and notice the reduced qemu refresh rate. Activating all virtual consoles is necessary, because gui_update() in ui/console.c uses the minimum of all display change listeners update interval and not yet activated virtual consoles report the default update interval (30ms). Signed-off-by: Volker RĂ¼melin <vr_qemu@t-online.de> Message-Id: <20201213165724.13418-3-vr_qemu@t-online.de> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'scripts/qemu-gdb.py')
0 files changed, 0 insertions, 0 deletions