libretro-mirrors / beetle-saturn-libretro

Standalone port of Mednafen Saturn to the libretro API.
GNU General Public License v2.0
62 stars 43 forks source link

100% utilization of one CPU core, even when paused #188

Closed Sanaki closed 3 years ago

Sanaki commented 3 years ago

When running on Linux, utilization cannot drop below 25% (of four cores) when running, but seems distributed across cores. When pausing retroarch, one CPU core is locked at full utilization. It won't rotate to another CPU core in this state either, which could cause damage on some systems if the user leaves the game paused for an extended period of time. So far as I can tell, no other core exhibits this behavior. The core also gets very poor performance (65-70 fps fast forwarding) despite my system being more than sufficient, which points to this being the potential cause. Others on discord didn't report this behavior on Windows, so I'm guessing it's Linux-specific. @sonninnos has now verified this on Windows as well.

Retroarch 1.9.1 libretro/retroarch@502ecb2d64 Beetle Saturn 47b30b4fc4bdac805261218d942bcadee5479d5f Linux Mint 19.3 x86_64, kernel 5.4.0-67-generic CPU: i5-7300HQ

jdgleaver commented 3 years ago

This fixes the CPU utilisation issue: #191

But sadly the overall performance is about the same as before...