MiSTer.ini vsync_adjust core specific settings

Discussion about displays and related hardware including MiSTer filters and video settings.
User avatar
GamaBurst
Posts: 6
Joined: Wed Mar 29, 2023 5:18 pm
Location: Canada
Has thanked: 4 times
Contact:

MiSTer.ini vsync_adjust core specific settings

Unread post by GamaBurst »

Hello, here's a question about the MiSTer.ini adding core specific settings :

My Oled Television (Panasonic TC-65GZ1000) doesn't support odd framerate, so some of the cores are not displayed when I set vsync_adjust to 2 or 1.

To correct this, someone as suggest me to enter de min & max refresh, but despite several hours of research, I have not found these specifications. They are not in the pdf instruction manual of my television, nor on the manufacturer's site, nor on review sites. Also, my TV seems to support some framerate setting around 50hz for PAL and around 60hz for NTSC. The TV doesnt seem to support refresh rates between 54hz and 56hz so it is impossible to enter a minimum value and a maximum value. I would have to enter a minimum and maximum value around 50 for PAL mode and a minimum and maximum value around 60 for NTSC mode, but that's not my question! lol

So to solve this I decided to configure individually these not displayed cores in the MiSTER.ini For the most part it worked perfectly and solve the problem, but here's the list of the cores i can't see with these settings :

Yet I think I have written the name of each core correctly... It's as if those individual tags don't work. Because I also tested them with other configurations, but it seems that the MiSTer does not recognize these specific core tags.

; Arcade cores
[breakout]
vsync_adjust=0

[burgertime]
vsync_adjust=0

[moonpatrol]
vsync_adjust=0

[tropicalangel]
vsync_adjust=0

[iremm72]
vsync_adjust=0

[tnkiii]
vsync_adjust=0

[prehisle]
vsync_adjust=0

; Computer cores
[sharpmz]
vsync_adjust=0

Flandango
Core Developer
Posts: 404
Joined: Wed May 26, 2021 9:35 pm
Has thanked: 46 times
Been thanked: 343 times

Re: MiSTer.ini vsync_adjust core specific settings

Unread post by Flandango »

The names, as you specified look correct and I am assuming that you put all these entries at the bottom of the INI file....
While I don't have your tv/monitor, i did test it out to see what video resolutions I will get if I tried 1080p, use vsync_adjust=1 as the default value and vsync_adjust=0 for breakout and it worked (as in it took the refresh rate down from 63.4 to 60hz and down to 50hz when I used pal settings (video_mode=9).

If you don't mind, can you post your full INI so it can help troubleshoot a little better? I am by no means an expert, but sometimes little things can pop out.

12characters
Posts: 113
Joined: Wed Jun 03, 2020 5:39 pm
Has thanked: 8 times
Been thanked: 30 times

Re: MiSTer.ini vsync_adjust core specific settings

Unread post by 12characters »

Try

Code: Select all

; Arcade cores
[A.BREAKOUT]
vsync_adjust=0

[A.BTIME]
vsync_adjust=0

[A.MOONPT]
vsync_adjust=0

[A.TropicalAngel]
vsync_adjust=0

[M72]
vsync_adjust=0

[SNK_TripleZ80]
vsync_adjust=0

[prehisle1930]
vsync_adjust=0

What is my method? Check CONF_STR in the SV file, e.g. Arcade-Breakout.sv. Though it does not help with Sharp MZ.

Note that some cores like M72 let you set the frame rate in the core menu. You need of course temporarily use vsync_adjust=0 to access the core menu.

Flandango
Core Developer
Posts: 404
Joined: Wed May 26, 2021 9:35 pm
Has thanked: 46 times
Been thanked: 343 times

Re: MiSTer.ini vsync_adjust core specific settings

Unread post by Flandango »

The CONF_STR method works for almost all (Sharp MZ excluded) computer/console/non-arcade cores.
Main/Mister seems to use the RBF field in the MRA.
Sharp MZ is hardcoded in Main and is known as sharpmz.

If you have the ability to connect your Mister to a PC via the "UART" port (USB port next to the Ethernet port....it should come up as a COM port in windows) and use a terminal program such as PuTTY to connect via serial to Mister and watch the console dump all the information as you load up and run the core.
You will get great information, especially if you want to know if your settings have taken place....for example here is Sharp MX as it loaded on my Mister:

Code: Select all

Loaded config:
--------------
  YPBPR=0
  COMPOSITE_SYNC=0
  FORCED_SCANDOUBLER=0
  VGA_SCALER=0
  VGA_SOG=0
  KEYRAH_MODE=0x18D80002
  RESET_COMBO=0
  KEY_MENU_AS_RGUI=0
  VIDEO_MODE=8
  VIDEO_INFO=10
  VSYNC_ADJUST=0
  HDMI_AUDIO_96K=0
  DVI_MODE=0
  HDMI_LIMITED=0
  KBD_NOMOUSE=0
  MOUSE_THROTTLE=1
  BOOTSCREEN=1
  VSCALE_MODE=1
  VSCALE_BORDER=0
  RBF_HIDE_DATECODE=0
  MENU_PAL=0
  BOOTCORE_TIMEOUT=10
  FONT=font/myfont.pf
  FB_SIZE=0
  FB_TERMINAL=1
  OSD_TIMEOUT=30
  DIRECT_VIDEO=0
  OSD_ROTATE=0
  GAMEPAD_DEFAULTS=0
  RECENTS=0
  CONTROLLER_INFO=10
  REFRESH_MIN=0.000000
  REFRESH_MAX=0.000000
  JAMMA_VID=0x04D8
  JAMMA_PID=0xF3AD
  SNIPER_MODE=0
  BROWSE_EXPAND=1
  LOGO=1
  NO_MERGE_VID=0x045E
  NO_MERGE_PID=0x02A1
  SPINNER_VID=0x32BE
  SPINNER_PID=0x1521
  SPINNER_AXIS=0
  SPINNER_THROTTLE=0
  SHMASK_MODE_DEFAULT=0
  LOG_FILE_ENTRY=0
  BT_AUTO_DISCONNECT=0
  BT_RESET_BEFORE_PAIR=0
  RUMBLE=1
  WHEEL_FORCE=50
  WHEEL_RANGE=0
  HDMI_GAME_MODE=1
  VRR_MODE=0
  VRR_MIN_FRAMERATE=0
  VRR_MAX_FRAMERATE=0
  VRR_VESA_FRAMERATE=0
  VIDEO_OFF=0
  DISABLE_AUTOFIRE=0
  VIDEO_BRIGHTNESS=50
  VIDEO_CONTRAST=50
  VIDEO_SATURATION=100
  VIDEO_HUE=0
  VIDEO_GAIN_OFFSET=1,0,1,0,1,0
  HDR=0
  HDR_MAX_NITS=1000
  HDR_AVG_NITS=250
  NTSC_MODE=0

User avatar
GamaBurst
Posts: 6
Joined: Wed Mar 29, 2023 5:18 pm
Location: Canada
Has thanked: 4 times
Contact:

Re: MiSTer.ini vsync_adjust core specific settings

Unread post by GamaBurst »

@12characters Thank you! The tags that you give me work perfectly! This solve 99% of my problem! Now just the right Sharp MZ tag is missing.

@Flandango Thanks for the answer and help offer. ;)

About using putty, I am not in expert, but i already use it to SSH to my MiSTer with my PC but on the network. My Mister is connected to my home network using RJ45. I don't have any USB Type A to Type A cable here to connect to the UART.

I use the command : killall MiSTer; /media/fat/MiSTer
to watch the debug output when i plug or unplug a usb device to view my usb controller info.

What command are you using? Maybe it can work By SSH with Putty but by network?

Thanks a lot guys ! ;)

GamaBurst

User avatar
Retro-Nerd
Posts: 149
Joined: Fri Jul 08, 2022 2:47 am
Has thanked: 7 times
Been thanked: 42 times

Re: MiSTer.ini vsync_adjust core specific settings

Unread post by Retro-Nerd »

The Core info via "about" shows exactly this name:

SHARP MZ SERIES

User avatar
GamaBurst
Posts: 6
Joined: Wed Mar 29, 2023 5:18 pm
Location: Canada
Has thanked: 4 times
Contact:

Re: MiSTer.ini vsync_adjust core specific settings

Unread post by GamaBurst »

@Retro-Nerd Thank you ! I was skeptical, but it works!
@12charters & @Flandango Thanks guys! Now my MiSTer.ini File 100% work as i wanted!

Thank you all for your help and advices! ;)

Here's the code :

Code: Select all

[MiSTer]
video_mode=8
video_mode_pal=9
video_mode_ntsc=8
hdmi_audio_96k=1
vsync_adjust=2
rbf_hide_datecode=1
logo=0

; Cores whose refresh rate are not compatible with my Panasonic TC-65GZ1000 TV specifications
; Arcade cores
[A.BREAKOUT]
vsync_adjust=0

[jtsectnz]
vsync_adjust=0

[jtrumble]
vsync_adjust=0

[jttrojan]
vsync_adjust=0

[cave]
vsync_adjust=0

[jtninja]
vsync_adjust=0

[A.BTIME]
vsync_adjust=0

[jtmidres]
vsync_adjust=0

[jtcop]
vsync_adjust=0

[jtslyspy]
vsync_adjust=0

[jtkarnov]
vsync_adjust=0

[A.MOONPT]
vsync_adjust=0

[A.TropicalAngel]
vsync_adjust=0

[jtvigil]
vsync_adjust=0

[M72]
vsync_adjust=0

[chameleon]
vsync_adjust=0

[jtpang]
vsync_adjust=0

[SNK_TripleZ80]
vsync_adjust=0

[prehisle1930]
vsync_adjust=0

[jtdd]
vsync_adjust=0

[jtdd2]
vsync_adjust=0

[jtkunio]
vsync_adjust=0

[XSleenaCore]
vsync_adjust=0

; Computer cores
[alicemc10]
vsync_adjust=0

[oric]
vsync_adjust=0

[orao]
vsync_adjust=0

[SHARP MZ SERIES]
vsync_adjust=0

[tomytutor]
vsync_adjust=0

; Console cores
[arcadia]
vsync_adjust=0

[vc4000]
vsync_adjust=0

GamaBurst

Flandango
Core Developer
Posts: 404
Joined: Wed May 26, 2021 9:35 pm
Has thanked: 46 times
Been thanked: 343 times

Re: MiSTer.ini vsync_adjust core specific settings

Unread post by Flandango »

GamaBurst wrote: Wed Mar 29, 2023 10:04 pm

About using putty, I am not in expert, but i already use it to SSH to my MiSTer with my PC but on the network. My Mister is connected to my home network using RJ45. I don't have any USB Type A to Type A cable here to connect to the UART.

I use the command : killall MiSTer; /media/fat/MiSTer
to watch the debug output when i plug or unplug a usb device to view my usb controller info.

What command are you using? Maybe it can work By SSH with Putty but by network?

Thanks a lot guys ! ;)

Unfortunately you won't get that information through SSH or the network as it's only available on the Console output, which is via the UART connection.

Post Reply