mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-09-06 15:28:38 +00:00
[c-host] decrease LGMP polling interval to a sane value and comment
This commit is contained in:
2
LGMP
2
LGMP
Submodule LGMP updated: 1a27ea9406...2ba8fd3391
@@ -94,7 +94,14 @@ static int lgmpThread(void * opaque)
|
|||||||
DEBUG_ERROR("lgmpHostProcess Failed: %s", lgmpStatusString(status));
|
DEBUG_ERROR("lgmpHostProcess Failed: %s", lgmpStatusString(status));
|
||||||
break;
|
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;
|
app.running = false;
|
||||||
|
Reference in New Issue
Block a user