I know this is such a rookie question... i just can't find an answer anywhere.

Discussion about displays and related hardware including MiSTer filters and video settings.
Murderface1982
Posts: 48
Joined: Wed Aug 26, 2020 5:47 pm
Been thanked: 2 times

I know this is such a rookie question... i just can't find an answer anywhere.

Unread post by Murderface1982 »

I have a VGA to RGB cable... Trying to get my mister working on my Sony PVM, i edited the INI file to do composite turned off SOG but i am getting nothing on my pvm. The Black cable is what i should have plugged into "Sync" right? Anyone wanna walk me through this? I think i am missing something basic.

And on another note, i am getting lots of lag through my TV via HDMI... that's primarily why i am using my PVM right now. Any way to decrease lag? It's actually reaaaaaallly bad and i didn't think it would be. Maybe it's just the arcade cores???
Murderface1982
Posts: 48
Joined: Wed Aug 26, 2020 5:47 pm
Been thanked: 2 times

Re: I know this is such a rookie question... i just can't find an answer anywhere.

Unread post by Murderface1982 »

So now I have a picture, but near the upper 3/4 theres a long horizontal distortion almost like the picture is rolling into itself. The PVM itself is fine, I tested it with original hardware via RGB everything's fine. Any ideas?
Murderface1982
Posts: 48
Joined: Wed Aug 26, 2020 5:47 pm
Been thanked: 2 times

Re: I know this is such a rookie question... i just can't find an answer anywhere.

Unread post by Murderface1982 »

and now im getting nothing again. No Sync. so weird.
User avatar
jlancaster86
Posts: 147
Joined: Sat Jun 27, 2020 1:33 pm
Has thanked: 129 times
Been thanked: 35 times

Re: I know this is such a rookie question... i just can't find an answer anywhere.

Unread post by jlancaster86 »

There are likely two sync cables (one for H-Sync, and one for V-Sync). You want the H-Sync one, but the colour coding varies in my experience. Try either cable and see if there's a difference.

As for your HDMI lag problem, it could be various things. Try posting a copy of the mister.ini you're using to start with.
Murderface1982
Posts: 48
Joined: Wed Aug 26, 2020 5:47 pm
Been thanked: 2 times

Re: I know this is such a rookie question... i just can't find an answer anywhere.

Unread post by Murderface1982 »

[MiSTer]
key_menu_as_rgui=0 ; set to 1 to make the MENU key map to RGUI in Minimig (e.g. for Right Amiga)
forced_scandoubler=0 ; set to 1 to run scandoubler on VGA output always (depends on core).
ypbpr=0 ; set to 1 for YPbPr on VGA output.
composite_sync=1 ; set to 1 for composite sync on HSync signal of VGA output.
vga_scaler=0 ; set to 1 to connect VGA to scaler output.
hdmi_audio_96k=0 ; set to 1 for 96khz/16bit HDMI audio (48khz/16bit otherwise)
keyrah_mode=0x18d80002 ; VIDPID of keyrah for special code translation (0x23418037 for Arduino Micro)
vscale_mode=0 ; 0 - scale to fit the screen height.
; 1 - use integer scale only.
; 2 - use 0.5 steps of scale.
; 3 - use 0.25 steps of scale.
vscale_border=0 ; set vertical border for TVs cutting the upper/bottom parts of screen (1-399)
;bootscreen=0 ; uncomment to disable boot screen of some cores like Minimig.
;mouse_throttle=10 ; 1-100 mouse speed divider. Useful for very sensitive mice
rbf_hide_datecode=0 ; 1 - hides datecodes from rbf file names. Press F2 for quick temporary toggle
menu_pal=0 ; 1 - PAL mode for menu core
hdmi_limited=0 ; 1 - use limited (16..235) color range over HDMI
; 2 - use limited (16..255) color range over HDMI, for VGA converters.
direct_video=0 ; 1 - enable core video timing over HDMI, use only with VGA converters.
fb_size=0 ; 0 - automatic, 1 - full size, 2 - 1/2 of resolution, 4 - 1/4 of resolution.
fb_terminal=1 ; 1 - enabled (default), 0 - disabled
osd_timeout=30 ; 5-3600 timeout (in seconds) for OSD to disappear in Menu core. 30 seconds if not set.
; Background picture will get darker after double timeout
osd_rotate=0 ; Display OSD menu rotated, 0 - no rotation, 1 - rotate right (+90°), 2 - rotate left (-90°)

; 1 - enables the recent file loaded/mounted.
; WARNING: This option will enable write to SD card on every load/mount which may wear the SD card after many writes to the same place
; There is also higher chance to corrupt the File System if MiSTer will be reset or powered off while writing.
recents=0

; lastcore - Autoboot the last loaded core (corename autosaved in CONFIG/lastcore.dat) first found on the SD/USB
; lastexactcore - Autoboot the last loaded exact core (corename_yyyymmdd.rbf autosaved in CONFIG/lastcore.dat) first found on the SD/USB
; corename - Autoboot first corename_*.rbf found on the SD/USB
; corename_yyyymmdd.rbf - Autoboot first corename_yyyymmdd.rbf found on the SD/USB
;bootcore=lastcore ; uncomment to autoboot a core, as the last loaded core.
bootcore_timeout=10 ; 10-30 timeout before autoboot, comment for autoboot without timeout.

; Option to load the custom font. Format is plain bitmap 8x8.
; Supported sizes of font:
; 768 bytes - chars 32-127 (only alpha + numeric)
; 1024 bytes - chars 0-127
; 1136 bytes - chars 0-141
; up to 2048 - only chars 0-141 will be used.
; if first 32 chars are empty (for sizes 1024 bytes and more) then they are skipped.
font=font/myfont.pf

; USER button emulation by keybaord. Usually it's reset button.
; 0 - lctrl+lalt+ralt (lctrl+lgui+rgui on keyrah)
; 1 - lctrl+lgui+rgui
; 2 - lctrl+lalt+del
; 3 - same as 0 (lctrl+lalt+ralt on keyrah)
reset_combo=0

dvi_mode=0 ; set to 1 for DVI mode. Audio won't be transmitted through HDMI in DVI mode.

; 0 - 1280x720@60
; 1 - 1024x768@60
; 2 - 720x480@60
; 3 - 720x576@50
; 4 - 1280x1024@60
; 5 - 800x600@60
; 6 - 640x480@60
; 7 - 1280x720@50
; 8 - 1920x1080@60
; 9 - 1920x1080@50
;10 - 1366x768@60
;11 - 1024x600@60
;12 - 1920x1440@60
;13 - 2048x1536@60
;
; custom mode: hact,hfp,hs,hbp,vact,vfp,vs,vbp,Fpix_in_KHz
; video_mode=1280,110,40,220,720,5,5,20,74250
video_mode=0

; set to 1-10 (seconds) to display video info on startup/change
video_info=0

; Set to 1 for automatic HDMI VSync rate adjust to match original VSync.
; Set to 2 for low latency mode (single buffer).
; This option makes video butter smooth like on original emulated system.
; Adjusting is done by changing pixel clock. Not every display supports variable pixel clock.
; For proper adjusting and to reduce possible out of range pixel clock, use 60Hz HDMI video
; modes as a base even for 50Hz systems.
vsync_adjust=0

; If you monitor doesn't support either very low (NTSC monitors may not support PAL) or
; very high (PAL monitors may not support NTSC) then you can set refresh_min and/or refresh_max
; parameters, so vsync_adjust won't be applied for refreshes outside specified.
; These parameters are valid only when vsync_adjust is non-zero.
refresh_min=0
refresh_max=0

; These parameters have the same format as video_mode.
; You need to supply both PAL and NTSC modes if you want vsync_adjust to switch between
; predefined modes as a base. This will reduce the range of pixel clock.
;video_mode_ntsc=0
;video_mode_pal=7

; 1-10 (seconds) to display controller's button map upon first time key press
; 0 - disable
controller_info=6

; JammaSD/J-PAC/I-PAC keys to joysticks translation
; You have to provide correct VID and PID of your input device
; Examples: Legacy J-PAC with Mini-USB or USB capable I-PAC with PS/2 connectors VID=0xD209/PID=0x0301
; USB Capable J-PAC with only PS/2 connectors VID=0x04B4/PID=0x0101
; JammaSD: VID=0x04D8/PID=0xF3AD
jamma_vid=0x04D8
jamma_pid=0xF3AD

; Disable merging input devices. Use if only player 1 works.
; Leave no_merge_pid empty to apply this to all devices with the same VID.
;no_merge_vid=0x045E
;no_merge_pid=0x028E

; Speeds in sniper/non-sniper modes of mouse emulation by joystick
; 0 - (default) - faster move in non-sniper mode, slower move in sniper mode.
; 1 - movement speeds are swapped.
sniper_mode=0

; Uncomment following option if you don't want to see a second line for long file names in listing.
;browse_expand=0

; 0 - disable MiSTer logo in Menu core
logo=1

; Custom shared folder for core supporting this feature (currently minimig and ao486 only)
; Can be relative to core's home dir or absolute path.
; Path must exist before core start to use it, or it will fail.
; Make sure USB device is mounted before use shared folder on USB!
shared_folder=
User avatar
jlancaster86
Posts: 147
Joined: Sat Jun 27, 2020 1:33 pm
Has thanked: 129 times
Been thanked: 35 times

Re: I know this is such a rookie question... i just can't find an answer anywhere.

Unread post by jlancaster86 »

Try using:

Code: Select all

vsync_adjust = 1
I'd also suggest trying 1080p output to see if lag improves:

Code: Select all

video_mode = 8
rgn
Posts: 17
Joined: Tue Aug 25, 2020 12:46 pm
Has thanked: 1 time
Been thanked: 4 times

Re: I know this is such a rookie question... i just can't find an answer anywhere.

Unread post by rgn »

Set your TV to "game mode". Most modern TVs support this feature
FoxbatStargazer
Top Contributor
Posts: 995
Joined: Thu Dec 10, 2020 5:44 pm
Has thanked: 309 times
Been thanked: 228 times

Re: I know this is such a rookie question... i just can't find an answer anywhere.

Unread post by FoxbatStargazer »

vsync_adjust=2 (i.e. no framebuffer) is where you want to be to minimize HDMI lag, if your display can tolerate it. You would still need a damn good flat panel to approach CRT speeds though.

Also be sure you're running the 1ms USB polling script, usually that improves controller lag.
Murderface1982
Posts: 48
Joined: Wed Aug 26, 2020 5:47 pm
Been thanked: 2 times

Re: I know this is such a rookie question... i just can't find an answer anywhere.

Unread post by Murderface1982 »

I appreciate the help. Lag on the flat screen seems to have improved quite a bit, defintely tolerable now, huge thanks. I still.have the issue of running this thing to the PVM though... Neither sync cable works the right way. Any ideas? It seems combing through the forums as well as the internet in general that analog is a bitch for some reason.
User avatar
jrronimo
Posts: 79
Joined: Sat Jul 04, 2020 6:03 pm
Has thanked: 33 times
Been thanked: 11 times

Re: I know this is such a rookie question... i just can't find an answer anywhere.

Unread post by jrronimo »

Are you using an IO Board or are you using an HDMI to VGA DAC?

But yeah, unfortunately analog signals are a pain with MiSTer. :(
User avatar
Overkill
Posts: 3
Joined: Sun May 24, 2020 10:56 pm
Has thanked: 3 times

Re: I know this is such a rookie question... i just can't find an answer anywhere.

Unread post by Overkill »

Which Sony PVM model do you have?
They say he died ten years ago
But the list of victims seems to grow.
Murderface1982
Posts: 48
Joined: Wed Aug 26, 2020 5:47 pm
Been thanked: 2 times

Re: I know this is such a rookie question... i just can't find an answer anywhere.

Unread post by Murderface1982 »

So I have an IO board, and it's a pvm 1350. I have another 20nmu in storage that I'm probably going to pull out and try if I can't figure this out soon.
User avatar
Overkill
Posts: 3
Joined: Sun May 24, 2020 10:56 pm
Has thanked: 3 times

Re: I know this is such a rookie question... i just can't find an answer anywhere.

Unread post by Overkill »

Ok, I've never used that model, but I take a look on the Google images and I can see the "Sync" is not set on OSD for that PVM. So with that INI file you are using, you need to make sure the buttons on the PVM: "LINE/RGB", and "EXT SYNC" are both ON (Light up).

But keep in mind that you can also use the MiSTer in SOG mode, and "YPbPr" (Component). It's very versatile.

Check if you are doing it that way, and give feedback.
They say he died ten years ago
But the list of victims seems to grow.
Murderface1982
Posts: 48
Joined: Wed Aug 26, 2020 5:47 pm
Been thanked: 2 times

Re: I know this is such a rookie question... i just can't find an answer anywhere.

Unread post by Murderface1982 »

still not much. I changed the ini to ybpr and then ran it in SOG mode... im getting a green screen, still the rolling image at the 3/4ths of the way up the screen. about to break out the 20 inch i think, this is driving me nuts
Murderface1982
Posts: 48
Joined: Wed Aug 26, 2020 5:47 pm
Been thanked: 2 times

Re: I know this is such a rookie question... i just can't find an answer anywhere.

Unread post by Murderface1982 »

Does mister run composite easier? I think i'd be happy with that at this point...
Tgh87
Posts: 1
Joined: Sun Jan 10, 2021 5:19 am

Re: I know this is such a rookie question... i just can't find an answer anywhere.

Unread post by Tgh87 »

Hi there, I have it setup to component through the io board, every thing seems to work but I get a pink hue on my crt through component, how to I fix this? I've got ybpr to 1 in the ini file and the sog switch on
Post Reply