mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-05-19 13:01:23 +00:00
[c-host] decrease LGMP polling interval to a sane value and comment
This commit is contained in:
parent
fea0a98b9e
commit
9d7f773b9c
2
LGMP
2
LGMP
@ -1 +1 @@
|
||||
Subproject commit 1a27ea94067dbfd38734a030145eb93ae4d2a958
|
||||
Subproject commit 2ba8fd3391759ad95384d598ab26e39283cbb71a
|
@ -94,7 +94,14 @@ static int lgmpThread(void * opaque)
|
||||
DEBUG_ERROR("lgmpHostProcess Failed: %s", lgmpStatusString(status));
|
||||
break;
|
||||
}
|
||||
usleep(10000);
|
||||
|
||||
/*
|
||||
2ms should be good for up to 500FPS, do not lower this value as excessive
|
||||
polling of io memory at this time causes QEMU/KVM stalls due to an unknown
|
||||
fault.
|
||||
See: https://lists.gnu.org/archive/html/qemu-devel/2020-01/msg06331.html
|
||||
*/
|
||||
usleep(2000);
|
||||
}
|
||||
|
||||
app.running = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user