50 hz refresh rate in Mac OS X Yosemite

Página 1/2
| 2

Por diedel

Resident (51)

Imagen del diedel

07-06-2015, 20:14

Hi,
I'm using openMSX in Mac OS X Yosemite in a Mac Mini and I cannot set a 50 hz refresh rate to emulate a PAL MSX.
To achieve that in Windows 7 what I do is to switch the Windows desktop refresh rate to 50 hz and afterwards I run openmsx.
Unfortunately this same procedure doesn't seems to work in Mac OS X, whenever I run openMSX it switches to 60hz regardless of the current desktop resolution.
Any ideas?

Login sesión o register para postear comentarios

Por Manuel

Ascended (19678)

Imagen del Manuel

07-06-2015, 22:01

Are you running in full screen? Are you running with full-throttle (set throttle off)?
Does openMSX really say it's running at 60Hz? Which speed (percentage) does it say it's running? (For both: try toggle_info_panel in the console.)

Por diedel

Resident (51)

Imagen del diedel

08-06-2015, 23:45

Well, I didn't explained correctly.
When I say "whenever I run openMSX it switches to 60hz regardless of the current desktop resolution", I mean the PC refresh rate, not the MSX FPS. Ah, and this happens only in full screen mode.
About the emulated MSX refresh rate, according to toggle_info_panel, it says 50 FPS for CBIOS MSX2+ (Localization: EU/INT). And throttle is "true".

Por Manuel

Ascended (19678)

Imagen del Manuel

11-06-2015, 00:18

And the speed percentage is just 100%?

Por diedel

Resident (51)

Imagen del diedel

11-06-2015, 23:29

Yes, 100 %. But I think the problem is not the emulation of the MSX machine.

If I set Windows to 1920x1080x50 Hz the openMSX emulator in full screen should respect at least the refresh frequency of 50 Hz, as the other emulators do, e.g. Retroarch, FS-UAE, etc.

Maybe some other MAC OS X user can try it. To switch refresh rate before run openMSX I use this application:
http://www.pyehouse.com/cscreen/

Por Manuel

Ascended (19678)

Imagen del Manuel

12-06-2015, 00:44

Anyway, openMSX is not switching to 60Hz. openMSX is running at about 50 fps for the PAL machine as it should.

Currently openMSX does not attempt to sync with the vertical refresh rate of the monitor.

Por diedel

Resident (51)

Imagen del diedel

12-06-2015, 12:26

Yes, it does, at least in Mac OS X full screen. That's I'm reporting....
Maybe I should open a ticket in the openMSX project?

Por Manuel

Ascended (19678)

Imagen del Manuel

12-06-2015, 22:11

Let me put it differently: there is no code in openMSX that attempts to sync with vertical refresh. So, it's probably something SDL is doing. This is something we can't fix without modifying SDL. In the long run, we'll upgrade to SDL2 and later to another framework, which will hopefully fix this. But don't count on it soon.

Por diedel

Resident (51)

Imagen del diedel

12-06-2015, 22:56

Ok, I understand.

Thanks Manuel!

Por Manuel

Ascended (19678)

Imagen del Manuel

12-06-2015, 23:28

You're welcome, sorry that it's not easy to fix Sad

Por diedel

Resident (51)

Imagen del diedel

19-09-2016, 20:23

What about to add to the 'set fullscreen' command the option fullscreen_windowed? This option would generate a borderless window and fully maximized, hiding the desktop. By implementing this option the desktop current refresh rate, either 60 or 50hz, would be kept.

Best regards.

Página 1/2
| 2