Any idea on how to correct this?

Just got a MiSTer and need some help? Join the forum and post your questions here!
mist-rich
Posts: 65
Joined: Mon Sep 19, 2022 8:30 am
Has thanked: 102 times
Been thanked: 9 times

Any idea on how to correct this?

Unread post by mist-rich »

Hello,

I've been messing/tweaking/learning and having a lot of fun with the Mister and recently swapped SD cards.

If you could please see the attached - i'm getting a double screen on my CRT (HD monitor is fine) - I know it is not my monitor at fault as when I put the old SD card back in, all is ok again. I've had a good look over the .ini (admittedly only by the mister script) and I can't see anything different from one to the other. Is there a setting you can think of that would produce this double image in the menu OSD? (most cores are the same but PSX working fine)

Thank you

Attachments
PXL_20230628_110212252~2.jpg
PXL_20230628_110212252~2.jpg (305.71 KiB) Viewed 9557 times
Bas
Top Contributor
Posts: 623
Joined: Fri Jan 22, 2021 4:36 pm
Has thanked: 80 times
Been thanked: 324 times

Re: Any idea on how to correct this?

Unread post by Bas »

Did you run an actuall diff on the two ini files or only a visual inspection?

AmintaMister
Posts: 316
Joined: Thu Sep 16, 2021 10:54 pm
Has thanked: 841 times
Been thanked: 51 times

Re: Any idea on how to correct this?

Unread post by AmintaMister »

Scandoubler activated in OSD would produce this

mist-rich
Posts: 65
Joined: Mon Sep 19, 2022 8:30 am
Has thanked: 102 times
Been thanked: 9 times

Re: Any idea on how to correct this?

Unread post by mist-rich »

Bas wrote: Wed Jun 28, 2023 1:21 pm

Did you run an actuall diff on the two ini files or only a visual inspection?

Just using the scripts in menu on Mister and manually changing settings as not able to connect remotely at the moment.

AmintaMister wrote: Wed Jun 28, 2023 1:26 pm

Scandoubler activated in OSD would produce this

Yes :D That fixed it thank you, i missed that one from the working .ini somehow. :D :D :D

Getting it all setup and running nicely now and will continue to keep reading and learning.
Just need to find out why the CRT will not display the nice background display as on the HD now and also, when I go into the .ini in Scripts, the CRT reports I need to change FB_TERMINAL or VGA Scaler - I have played around with both but cannot get CRT to display SCRIPTS menu (this is something that has never worked on old card or new).

Attachments
PXL_20230628_144300007~2.jpg
PXL_20230628_144300007~2.jpg (515.94 KiB) Viewed 9461 times
PXL_20230628_144205021.jpg
PXL_20230628_144205021.jpg (404.98 KiB) Viewed 9461 times
PXL_20230628_144234938.jpg
PXL_20230628_144234938.jpg (379.91 KiB) Viewed 9461 times
User avatar
bazza_12
Top Contributor
Posts: 443
Joined: Sun May 24, 2020 7:49 pm
Location: Yorkshire, UK
Has thanked: 263 times
Been thanked: 121 times

Re: Any idea on how to correct this?

Unread post by bazza_12 »

add

[menu]
forced_scandoubler=1
direct_video=1
fb_terminal=1

to your mister.ini, that should get the background on the menu to show up on the crt..

The music is reversible but time is not. Turn back. Turn back
mist-rich
Posts: 65
Joined: Mon Sep 19, 2022 8:30 am
Has thanked: 102 times
Been thanked: 9 times

Re: Any idea on how to correct this?

Unread post by mist-rich »

:D Thank you will try tomorrow and will let you know :)

mist-rich
Posts: 65
Joined: Mon Sep 19, 2022 8:30 am
Has thanked: 102 times
Been thanked: 9 times

Re: Any idea on how to correct this?

Unread post by mist-rich »

Thank you , tried that and no luck so I changed 'forced_scandoubler=1' to 'forced_scandoubler=0' and now not only the backscreen appears on CRT but I can also see the menus too :D :D The attached pic does not do it justice because of the Hertz and camera but it really does look gorgeous. Thank you. That's the first time i've ever got that to work.

However, applying these setting gives a pink hue to the HD display :D (if I remove those lines and it goes back to normal but then CRT issues, Hmmm. Getting closer though :D)

Attachments
PXL_20230629_130457135.jpg
PXL_20230629_130457135.jpg (325.91 KiB) Viewed 9155 times
PXL_20230629_130341841.jpg
PXL_20230629_130341841.jpg (444.95 KiB) Viewed 9155 times
User avatar
bazza_12
Top Contributor
Posts: 443
Joined: Sun May 24, 2020 7:49 pm
Location: Yorkshire, UK
Has thanked: 263 times
Been thanked: 121 times

Re: Any idea on how to correct this?

Unread post by bazza_12 »

no probs. as for the pink screen i'm not sure what the problem is there
all i can suggest is have an alternate mister.ini for the hdmi screen and put up with not having the backgrounds on the crt.. :lol:

The music is reversible but time is not. Turn back. Turn back
mist-rich
Posts: 65
Joined: Mon Sep 19, 2022 8:30 am
Has thanked: 102 times
Been thanked: 9 times

Re: Any idea on how to correct this?

Unread post by mist-rich »

:D I'll keep fiddling and will update as soon as I, hopefully, solve.

thorr
Top Contributor
Posts: 1311
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 634 times
Been thanked: 308 times

Re: Any idea on how to correct this?

Unread post by thorr »

Try playing with this setting with rgb and ypbpr:
vga_mode=rgb ; supported modes: rgb, ypbpr, svideo, cvbs. rgb is default.

mist-rich
Posts: 65
Joined: Mon Sep 19, 2022 8:30 am
Has thanked: 102 times
Been thanked: 9 times

Re: Any idea on how to correct this?

Unread post by mist-rich »

Thank you, the only issue now is that pink hue on HD monitor - the CRT is working beautifully in menus and cores.
The HD monitor is also working perfectly in cores, it's jut that pink hue that would be nice to fix.

The issue is this line:

[menu]
direct_video=1

If I delete that, HD screen is perfect but then crt is not showing scripts menus or background image which I don't really want to give up on just yet :) I need that line. It must be conflicting with any setting, I will keep tweaking :)

thorr
Top Contributor
Posts: 1311
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 634 times
Been thanked: 308 times

Re: Any idea on how to correct this?

Unread post by thorr »

Did you try the setting I suggested, but put it under [menu]? Putting anything under [menu] only affects the menu, so while it may solve the issue for the menu, you may still have the problem everywhere else. If you want the setting globally, you need to put it in the top section somewhere. I am not sure if the setting I mentioned applies to direct video or not. It's not clear from the description.

mist-rich
Posts: 65
Joined: Mon Sep 19, 2022 8:30 am
Has thanked: 102 times
Been thanked: 9 times

Re: Any idea on how to correct this?

Unread post by mist-rich »

Tweaking now but still a bit stuck. Would it be ok if I post up my .ini for you to look over please?

thorr
Top Contributor
Posts: 1311
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 634 times
Been thanked: 308 times

Re: Any idea on how to correct this?

Unread post by thorr »

mist-rich wrote: Fri Jun 30, 2023 7:45 pm

Tweaking now but still a bit stuck. Would it be ok if I post up my .ini for you to look over please?

Sure!

mist-rich
Posts: 65
Joined: Mon Sep 19, 2022 8:30 am
Has thanked: 102 times
Been thanked: 9 times

Re: Any idea on how to correct this?

Unread post by mist-rich »

thorr wrote: Fri Jun 30, 2023 11:37 pm

Sure!

Thank you :)

Code: Select all

[MiSTer]
hdmi_game_mode=1
vga_sog=1
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=1                ; 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=1       ; 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=1             ; 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=1         ; 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. 0 - never timeout.
                       ; 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.

; 10-30 timeout before autoboot, comment for autoboot without timeout.
bootcore_timeout=10

; 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

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

; 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[,hsyncp,vsyncp]
;   video_mode=1280,110,40,220,720,5,5,20,74250,0,0
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

; Same as above but can add multiple devices (one entry per VIDPID). Format is VIDPID in hex number
;no_merge_vidpid=0x12345678
;no_merge_vidpid=0x11112222

; 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=

; Custom aspect ratio
;custom_aspect_ratio_1=16:10
;custom_aspect_ratio_2=1:1

; use specific (VID/PID) mouse X movement as a spinner and paddle. Use VID=0xFFFF/PID=0xFFFF to use all mice as spinners.
;spinner_vid=0x1BCF
;spinner_pid=0x0005

; spinner_throttle with base value 100 gives one spinner step per one tick. Higher value makes spinner slower.
; Lower than 100 makes spinner faster. Negative value gives opposite direction.
;spinner_throttle=-50

; 0 - X axis, 1 - Y axis.
;spinner_axis=1

; Default filters for video scaler. Paths must be relative to "Filters" folder without leading slash.
;vfilter_default=LCD Effects/LCD_Effect_07.txt
;vfilter_vertical_default=<some_file>
;vfilter_scanlines_default=<some_file>

; Default filters for audio. Paths must be relative to "Filters_audio" folder without leading slash.
;afilter_default=LPF2000_3tap.txt

; Defines internal joypad mapping from virtual SNES mapping in main to core mapping
; Set to 0 for name mapping (jn) (e.g. A button in SNES core = A button on controller regardless of position on pad)
; Set to 1 for positional mapping (jp) (e.g. A button in SNES core = East button on controller regardless of button name)
gamepad_defaults=0

; Write out file name under the cursor in browser for external integration
; External application or script may parse the info and do some additional actions and/or send info to 3rd party server.
; Warning: it may slowdown the system or add lag while browsing the files in OSD depending on external app/script.
log_file_entry=0

; Automatically disconnect (and shutdown) Bluetooth input device if not use specified amount of time.
; Some controllers have no automatic shutdown built in and will keep connection till battery dry out.
; 0 - don't disconnect automatically, otherwise it's amount of minutes.
bt_auto_disconnect=0

; Reset Bluetooth dongle before pair dialog.
; Some dongles may have problem to pair if not explicitly reset.
; Some dongles (mostly CSR) have problem to pair with BLE if not reset in advance.
; Consequence of reset: some input devices get shutdown after reset.
bt_reset_before_pair=0

;default Shadow Mask
;shmask_default=VGA.txt

;default shadow mask mode:
; 0 - none, 1 - 1x, 2 - 2x, 3 - 1x Rotated, 4 - 2x Rotated
;shmask_mode_default=1

; Wait for specific mount before start the core. 
; Attention: waiting is performing BEFORE core start, so no message will be displayed on screen!
; It's useful for debugging when core is loaded from USB blaster and games folder is on USB or Network drive.
; This option cannot be used when defmra in CONFSTR is used (i.e. if arcade rbf is loaded directly not through MRA).
; This option is ignored for Menu core.
;waitmount=/media/usb0

; Overrides for video mode
; When the core's video mode matches the parameters in the section header, any options in the section override options from MiSTer and core sections.
; Refresh rate in header is optional and, if present, must match exactly the output from video_info or the logs.  For example, if it says "60.0Hz", the header needs to be "@60.0" to match.
; When the core changes video mode, MiSTer will first look for a matching WIDTHxHEIGHT@VREFRESH section.
; If no match is found, it will fall back to a matching WIDTHxHEIGHT section with no refresh rate.
; If there is still no match, MiSTer/core options will be used without overrides.
; [video=640x400]
; ...
; [video=640x400@70.1]
; ...
[menu]
forced_scandoubler=0
direct_video=1
vga_mode=rgb

Using that it gives me exactly the display I posted above (CRT looking great with background images and script menus accessible, but HD monitor (connected by HDMI lead) has a strange pink overtone/odd colours). If I remove 'direct_video=1', HD monitor displaying perfectly, but CRT no background image and menus not accessible) :)

My HD monitor has a native res of 1920x1080. My CRT is a Sony Trinitron pvm-9041qm (only a 9") but it looks stunning when in-game and like to look at that more then the HD but to have both running correctly at same time would make me very happy :)

thorr
Top Contributor
Posts: 1311
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 634 times
Been thanked: 308 times

Re: Any idea on how to correct this?

Unread post by thorr »

Try setting ypbpr=0

It appears that your LCD can sync to 15kHz signals, which I think is needed in order to get both screens to show a background image. Notice that it doesn't fill the screen properly, so it may be struggling with syncing to it. Perhaps you can use the monitor's resize controls. It will be a low resolution image.

Otherwise, I think your best option is what you show in your second post with images above, with the HD screen looking great, and no background image on the CRT, but you can see the text.

mist-rich
Posts: 65
Joined: Mon Sep 19, 2022 8:30 am
Has thanked: 102 times
Been thanked: 9 times

Re: Any idea on how to correct this?

Unread post by mist-rich »

That fixed it :D :D :D A huge thanks thorr :D :D Can't quite capture the hertz on camera phone but it really looks beautiful in person :D Thank you

Attachments
PXL_20230702_095701347.jpg
PXL_20230702_095701347.jpg (380.98 KiB) Viewed 8575 times
PXL_20230702_095615961.jpg
PXL_20230702_095615961.jpg (402.27 KiB) Viewed 8575 times
User avatar
bazza_12
Top Contributor
Posts: 443
Joined: Sun May 24, 2020 7:49 pm
Location: Yorkshire, UK
Has thanked: 263 times
Been thanked: 121 times

Re: Any idea on how to correct this?

Unread post by bazza_12 »

i'm chuffed you've got it finally sorted.. the sony monitor looks ace!.. very nice set up..

The music is reversible but time is not. Turn back. Turn back
mist-rich
Posts: 65
Joined: Mon Sep 19, 2022 8:30 am
Has thanked: 102 times
Been thanked: 9 times

Re: Any idea on how to correct this?

Unread post by mist-rich »

:) :) :) :) :) Thanks for your help bazza, you put me on the right track and we got there in the end :)

thorr
Top Contributor
Posts: 1311
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 634 times
Been thanked: 308 times

Re: Any idea on how to correct this?

Unread post by thorr »

Awesome! Looks great! Enjoy!
You might be able to move the vga_mode=rgb line up to the top section and get rid of the Menu section since the rest are the same. I am afraid your CRT might not work right while running cores otherwise.

mist-rich
Posts: 65
Joined: Mon Sep 19, 2022 8:30 am
Has thanked: 102 times
Been thanked: 9 times

Re: Any idea on how to correct this?

Unread post by mist-rich »

thorr wrote: Sun Jul 02, 2023 2:14 pm

Awesome! Looks great! Enjoy!
You might be able to move the vga_mode=rgb line up to the top section and get rid of the Menu section since the rest are the same. I am afraid your CRT might not work right while running cores otherwise.

Thank you :D

Just moved it up and all still working nicely :) it also seems to be starting up into menus (and general menus back and forth) faster too, although that might be placebo.

So the only code I have in [menu] now is direct_video=1. If I do this globally HD screen not working in cores, so I turn it off in top menu and enable it in the [menu] (as CRT needs this). :) Very pleased :)

Edit: just been reading up in the ao486 section and seen your name pop up a lot there too thorr :D Nice work with the pixel perfection borderless setup you managed to achieve on your CRT with Monkey Island. Some of my favourite gaming moments are from the 486 era so really looking forward to hopefully getting the CRT running with that, at the moment it's HD screen only but I now realise I can make an [ao486] entry in the .ini and start putting some rules in :) I managed to get the MT-32 running for first time the other day with Secret Of Monkey Island and when the soundtrack kicked in it was an awesome feeling. My keyboard/mouse is bluetooth and allows multiple profiles so with a flick of a switch, I now get KBM use too. I love the the Mister :D

thorr
Top Contributor
Posts: 1311
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 634 times
Been thanked: 308 times

Re: Any idea on how to correct this?

Unread post by thorr »

Welcome to the world of the MiSTer! It is indeed very awesome and nostalgic and has tons to keep you busy and happy. If you don't have a MT-32 pi, you should consider one. It makes everything MIDI-wise run great. Good luck and have fun!

mist-rich
Posts: 65
Joined: Mon Sep 19, 2022 8:30 am
Has thanked: 102 times
Been thanked: 9 times

Re: Any idea on how to correct this?

Unread post by mist-rich »

Yep, got the MT-32 pi addon and it's my first experience of the Roland as could never afford one back in the day :) it was worth the wait :)

Post Reply