50 hz refresh rate in Mac OS X Yosemite

Page 1/2
| 2

By diedel

Resident (37)

diedel's picture

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 or register to post comments

By Manuel

Ascended (13421)

Manuel's picture

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.)

By diedel

Resident (37)

diedel's picture

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".

By Manuel

Ascended (13421)

Manuel's picture

11-06-2015, 00:18

And the speed percentage is just 100%?

By diedel

Resident (37)

diedel's picture

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/

By Manuel

Ascended (13421)

Manuel's picture

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.

By diedel

Resident (37)

diedel's picture

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?

By Manuel

Ascended (13421)

Manuel's picture

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.

By diedel

Resident (37)

diedel's picture

12-06-2015, 22:56

Ok, I understand.

Thanks Manuel!

By Manuel

Ascended (13421)

Manuel's picture

12-06-2015, 23:28

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

By diedel

Resident (37)

diedel's picture

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.

Page 1/2
| 2
My MSX profile