White static when launching scripts

For topics which do not fit in other specific forums.
Spazmoid
Posts: 10
Joined: Tue Nov 28, 2023 12:30 am
Has thanked: 6 times
Been thanked: 1 time

White static when launching scripts

Unread post by Spazmoid »

Hi all,

I’m trying to figure out why my mister has suddenly started to show the white noise / static screen when launching a script like update-all or mister-ini. The result is I can no longer access the menus and have to guess the steps to change settings on an ini or go in via ftp/sd card and manually change with notepad etc

Anyone had this issues before, know how to resolve?

I’ve made no changes to monitor settings etc simply just run an update all and this has happened after - everything works fine from a gaming perspective, mister friendly menu/gui

Flandango
Core Developer
Posts: 459
Joined: Wed May 26, 2021 9:35 pm
Has thanked: 59 times
Been thanked: 383 times

Re: White static when launching scripts

Unread post by Flandango »

Check your MiSTer.ini file for this setting:

Code: Select all

fb_terminal=1

If it's set to 0, then you won't get a terminal.

Spazmoid
Posts: 10
Joined: Tue Nov 28, 2023 12:30 am
Has thanked: 6 times
Been thanked: 1 time

Re: White static when launching scripts

Unread post by Spazmoid »

Flandango wrote: Sun Feb 25, 2024 12:38 am

Check your MiSTer.ini file for this setting:

Code: Select all

fb_terminal=1

If it's set to 0, then you won't get a terminal.

Interestingly, it was in there but still no joy, this is my mister.ini

[MiSTer]
fb_terminal=1
disable_autofire=0
vga_sog=0
osd_timeout=0
hdmi_game_mode=1
vrr_mode=0
browse_expand=1
hdmi_limited=0
direct_video=0
font=font/myfont.pf
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=0 ; 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=3 ; 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-99)
;bootscreen=0 ; uncomment to disable boot screen of some cores like Minimig.
mouse_throttle=1 ; 1-100 mouse speed divisor. Useful for very sensitive mouses
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

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

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

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

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

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

[AtariST]
vsync_adjust=0
[Minimig]
vsync_adjust=0
[C64]
vsync_adjust=0

Flandango
Core Developer
Posts: 459
Joined: Wed May 26, 2021 9:35 pm
Has thanked: 59 times
Been thanked: 383 times

Re: White static when launching scripts

Unread post by Flandango »

What happens when you press F9?
If you get to the terminal then try these steps:

  • Login of course (U: root P: 1)

  • cd /media/fat/Scripts

  • ./update_all.sh

It should kick off the update_all script and give you access to the menu. This just verifies that the actual script works and not just simply failing early.
If it doesn't work, type the following two commands and post the results:

  • ls -l update_all.sh

  • file update_all.sh

As an fyi...the ini you posted, while outdated (new features have been added since but are optional), it works just fine (at least on my setup).

Spazmoid
Posts: 10
Joined: Tue Nov 28, 2023 12:30 am
Has thanked: 6 times
Been thanked: 1 time

Re: White static when launching scripts

Unread post by Spazmoid »

Thanks, actually solved now, i went for the nuclear option by copying the files from another mister i have, and then pasted the mister.ini back in over the top for the screen setup i am using, and now everything works, must have had a corruption somewhere in the filesystem/terminal.

But thank you for the commands above and the heads up on the mister.ini, I'll look to update mine on both at some point, where is the latest mister.ini?, is there a template somewhere?

Flandango
Core Developer
Posts: 459
Joined: Wed May 26, 2021 9:35 pm
Has thanked: 59 times
Been thanked: 383 times

Re: White static when launching scripts

Unread post by Flandango »

Glad to hear you got it working.
A good place to find the latest INI file is on the Main_MiSTer github...here is a direct link to the file on the repo.

Spazmoid
Posts: 10
Joined: Tue Nov 28, 2023 12:30 am
Has thanked: 6 times
Been thanked: 1 time

Re: White static when launching scripts

Unread post by Spazmoid »

Thanks Flandango, magic, appreciate the help

Take care for now

Post Reply