[openMSX] Nvidia video high cpu - 'threaded optimization'

Page 2/2
1 |

By ren

Paladin (670)

ren's picture

03-08-2017, 23:42

Will do a recording ASAP.

Regarding the original issue: am I correct to believe openMSX doesn't have/do any vertical sync handling?

By Louthrax

Paragon (1518)

Louthrax's picture

03-08-2017, 23:59

ren wrote:

Will do a recording ASAP.

Regarding the original issue: am I correct to believe openMSX doesn't have/do any vertical sync handling?

Not sure, but IIRC NVidia drivers had an option to force that (even for applications not doing VSync explicitely). So you can have extra CPU usage due to VSync wait (but the wait loop code will be in the driver, not in the application).

By Grauw

Enlighted (5838)

Grauw's picture

04-08-2017, 00:42

Since the PC refresh rate is 60 Hz (or more) while MSX at 60 Hz is actually a bit less than that, it wouldn’t be possible without slowing down the emulation speed, and openMSX strives to do “perfect” emulation without hacksies. Although that fraction of a percent would fall within normal clock crystal variations seen in real hardware, but then there’s 50 Hz to take into account as well.

It should work the other way around though, with adaptive sync (FreeSync or G-Sync). But I think that’s a GPU driver feature, shouldn’t require explicit support from the application. It is the better way I think.

Page 2/2
1 |
My MSX profile