dosbox-pure icon indicating copy to clipboard operation
dosbox-pure copied to clipboard

Don't save Performance Options, after 0.23 update, in game - Stellar 7 (1990). And warms phone in Warcraft 2.

Open UrusMax opened this issue 3 years ago • 7 comments

Fix please.

UrusMax avatar Jan 08 '22 18:01 UrusMax

Incorrect operation in Performance Options. After core reboot, the parameters do not work correctly, the necessary parameters are displayed, but the core works as with the default parameters. The error occurred in update 0.23.

UrusMax avatar Jan 09 '22 13:01 UrusMax

Thanks for the report! The changes in 0.23 went a bit overboard, hopefully things are better now. Please reconfirm with the just released version 0.24, thanks.

schellingb avatar Jan 09 '22 15:01 schellingb

Thanks! With update 0.24, the core is working correctly. Heats up much weaker in the game Warcraft 2. In other games, I did not notice heating. I can't figure out what this is related to, the needs of the game or the optimization of the core. I use the honor 30 pro+ smartphone.

UrusMax avatar Jan 10 '22 14:01 UrusMax

Good to hear that this is better again.

By default this core runs on automated performance scaling. Because many old DOS games would often run unplayable fast if running them with a fast CPU, DOSBox will limit the speed of the emulated CPU. But more "modern" DOS games like DOOM and also Warcraft 2 will not affect the game speed by the CPU speed so for these games DOSBox will emulate a CPU as fast as possible. On a phone, this "running as fast as possible" can easily cause the device to heat up.

If you're curious, set the core's emulation option Show Performance Statistics to Detailed, and look at the number "Cycles" shown in the overlay. Use the RetroArch Interface setting "Menu Scale Factor" if you can't see it because the overlay is too wide.

You can then use the performance option to limit the speed (set a fixed "Cycles" number).

Maybe it would make sense to have another option "Use maximum XX% power" when running on automated performance scaling to limit the "run as fast as possible" to avoid heating up mobile devices.

schellingb avatar Jan 10 '22 15:01 schellingb

I added a new option Limit CPU Usage under the Performance section. If anyone encounters their device heating up this can be used to limit the overall hardware requirement of the DOS emulation.

schellingb avatar Jan 11 '22 16:01 schellingb

Hey @schellingb, added this new "Limit CPU Usage" option to my readme. :-) https://github.com/schellingb/dosbox-pure/issues/50

mrmatteastwood avatar Jan 11 '22 18:01 mrmatteastwood

Thanks! An excellent option, with 50% CPU usage, the game works better than when the same number of cycles is reached by manually adjusting the processor type in the System Options, there are no interruptions of sound or image, heating is weak (within normal limits). The image is smooth, there is no freezing. True, there was no time for more detailed testing with different games, but since Warcraft 2 works, in my case, the most demanding of all, the result from the appearance of a new option is impressive. There is no doubt that other games will work perfectly.

UrusMax avatar Jan 13 '22 22:01 UrusMax