View Single Post
Old 25 April 2021, 15:07   #29
FrodeSolheim
FS-UAE Developer
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 40
Posts: 3,884
FS-UAE 4.0.26-master (available via auto-update) contains fix for audio filter

Quote:
Originally Posted by jbl007 View Post
Hm, oversleeping is always bad. Ask my employer!
Perhaps it depends on the kernel configuration, like preempt=idle/full/voluntary CONFIG_HZ_xxx and all the other fun stuff...
It probably depends on a lot of things - but it isn't really a bug, sleeping (unless you have real-time scheduling) does not guarantee anything. The sleep duration you specify is more like the "minimum" time you want to sleep.

Usually not a problem, but when you don't want to miss v-sync, sleeping 10 ms extra every now and then will cause occasional stuttering. With v-sync off, or g-sync/freesync, the problem (consequences) is not that big. Bug fans spinning loudly is annoying too, so it is reasonable to assume it will default to off - I'll probably end up with both a config option and a keyboard shortcut to toggle busy-waiting / sleep-wait mode.
FrodeSolheim is offline  
 
Page generated in 0.04575 seconds with 11 queries