Page 1 of 1

Updating When Connected To CRT

Posted: Fri Mar 18, 2022 11:37 pm
by zetastrike

What ini settings should I use if I want to run the update script when my mister is only connected to a 480i CRT and I want to see what it's doing. I've tried changing the fb terminal line between 1 and 0 and one of them (I can never remember which one) makes some text available in the OSD window but not the entirety of what it would show on a flat panel.

I mainly want to know that it is running the script otherwise all I see is a blank screen and hope it's actually doing it. I'd rather not disconnect it from the monitor and bring it to the other room with my TV each time I update if possible.


Re: Updating When Connected To CRT

Posted: Sat Mar 19, 2022 12:34 am
by thorr
zetastrike wrote: Fri Mar 18, 2022 11:37 pm What ini settings should I use
Try adding this to your MiSTer.ini (This is from one of my posts. I am not sure if it is my latest settings, but it might work for you)

[Menu]
direct_video=0
vga_scaler=1
vsync_adjust=1
vscale_mode=1
video_mode=640,65,60,108,224,16,0,26,13919

Re: Updating When Connected To CRT

Posted: Sat Mar 19, 2022 1:00 am
by dmckean
If find it easiest just to SSH into my MiSTer and run the update script that way.

Re: Updating When Connected To CRT

Posted: Sat Mar 19, 2022 4:44 am
by Wave
Here's what I had in my notes re: getting CRT via analog i/o board component to behave the same as HDMI in terms of wallpaper and showing script output:
here's how to get wallpaper on CRT:

[menu]
vga_scaler=1
fb_terminal=1
video_mode=320,8,32,24,240,4,3,16,6048

also, gotta set fb_size=1 (default is 0, auto) to make wallpaper not dither badly on CRT for some reason
It's possible not everything there is required, or that you'll prefer thorr's or another modeline for your particular screen.

Re: Updating When Connected To CRT

Posted: Sat Mar 19, 2022 12:44 pm
by zetastrike
Wave wrote: Sat Mar 19, 2022 4:44 am Here's what I had in my notes re: getting CRT via analog i/o board component to behave the same as HDMI in terms of wallpaper and showing script output:
here's how to get wallpaper on CRT:

[menu]
vga_scaler=1
fb_terminal=1
video_mode=320,8,32,24,240,4,3,16,6048

also, gotta set fb_size=1 (default is 0, auto) to make wallpaper not dither badly on CRT for some reason
It's possible not everything there is required, or that you'll prefer thorr's or another modeline for your particular screen.
Thanks! My CRT is standard def. Setting VGA scaler to 1 will still allow it to sync? I've never touched that setting. I either use the I/O board with a scart cable connected to a PVM or with a component cable connected to the same PVM or a regular TV set.

Re: Updating When Connected To CRT

Posted: Sat Mar 19, 2022 4:05 pm
by FoxbatStargazer
That's a 320x240/60hz modeline so it probably should sync, yes.

Re: Updating When Connected To CRT

Posted: Sun Mar 20, 2022 6:53 am
by thorr
I checked my ini file, and they were slightly different than the above:
[Menu]
direct_video=0
vga_scaler=1
vsync_adjust=1
vscale_mode=1
video_mode=640,47,56,113,224,16,0,28,13764 ; Best 7-30-2021 - No Shimmering, No Border

In my [MiSTer] section at the top, I have:
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

I am using a 4:3 aspect ratio wallpaper and have no issues with how it looks.

Re: Updating When Connected To CRT

Posted: Tue Dec 20, 2022 5:26 pm
by pbsk8
dmckean wrote: Sat Mar 19, 2022 1:00 am

If find it easiest just to SSH into my MiSTer and run the update script that way.

interesting, what do I have to enable in mister menu osd so I can use putty to access it and run update all script and see the black screen as we see when using a lcd monitor?


Re: Updating When Connected To CRT

Posted: Tue Dec 20, 2022 5:47 pm
by thorr
pbsk8 wrote: Tue Dec 20, 2022 5:26 pm
dmckean wrote: Sat Mar 19, 2022 1:00 am

If find it easiest just to SSH into my MiSTer and run the update script that way.

interesting, what do I have to enable in mister menu osd so I can use putty to access it and run update all script and see the black screen as we see when using a lcd monitor?

I don't think you need to enable anything. I think ssh is enabled by default (I could be wrong). Also, you don't need putty. You can use Powershell to ssh. type ssh root@mister or root@(ip address of your mister).


Re: Updating When Connected To CRT

Posted: Tue Dec 20, 2022 10:44 pm
by pbsk8
thorr wrote: Tue Dec 20, 2022 5:47 pm
pbsk8 wrote: Tue Dec 20, 2022 5:26 pm
dmckean wrote: Sat Mar 19, 2022 1:00 am

If find it easiest just to SSH into my MiSTer and run the update script that way.

interesting, what do I have to enable in mister menu osd so I can use putty to access it and run update all script and see the black screen as we see when using a lcd monitor?

I don't think you need to enable anything. I think ssh is enabled by default (I could be wrong). Also, you don't need putty. You can use Powershell to ssh. type ssh root@mister or root@(ip address of your mister).

I accessed and typed

cd /media/fat/Scripts; ./update_all.sh

but then only "launching update all" appears on powershell screen and nothing else

then Internet connection failed, please try again later.

shouldn't I supposed to be seeing everything ongoing like the mister was connected to the lcd screen? Not a problem with internet since it connected and asked for root password.


Re: Updating When Connected To CRT

Posted: Tue Dec 20, 2022 10:54 pm
by thorr

I never tried updating that way and don't have a way to test at the moment. Can you ping 8.8.8.8? This will test if the internet is reachable from the mister. Did you try running the script again later? Maybe the site was down that the script connects to.


Re: Updating When Connected To CRT

Posted: Tue Dec 20, 2022 10:59 pm
by pbsk8
thorr wrote: Tue Dec 20, 2022 10:54 pm

I never tried updating that way and don't have a way to test at the moment. Can you ping 8.8.8.8? This will test if the internet is reachable from the mister. Did you try running the script again later? Maybe the site was down that the script connects to.

thanks, it worked in powershell.

The odd thing happening since last week is I always have now to run rtc.sh first (I dont even have rtc board) for update_all to work. Otherwise I always get stuck on screen with "launching update all" and that's it.

SSH is very handy because my crt will be a little far from my monitor tv now after I do some changes in my room for a LG C1 when it arrives.


Re: Updating When Connected To CRT

Posted: Tue Dec 20, 2022 11:27 pm
by jca

It could be because the rtc.sh contains

Code: Select all

NTP_SERVER="0.pool.ntp.org"

if ! ping -4 -q -w1 -c1 ${NTP_SERVER} &>/dev/null
then
	echo "No Internet connection"
	exit 1
fi

echo "Syncing date and time with"
echo "$NTP_SERVER"
if ntpdate -s -b -u $NTP_SERVER

:D


Re: Updating When Connected To CRT

Posted: Wed Dec 21, 2022 4:20 pm
by pbsk8
jca wrote: Tue Dec 20, 2022 11:27 pm

It could be because the rtc.sh contains

Code: Select all

NTP_SERVER="0.pool.ntp.org"

if ! ping -4 -q -w1 -c1 ${NTP_SERVER} &>/dev/null
then
	echo "No Internet connection"
	exit 1
fi

echo "Syncing date and time with"
echo "$NTP_SERVER"
if ntpdate -s -b -u $NTP_SERVER

:D

what is odd because since I bought the mister, almost 2 years ago, I never had any problem with date. update all always ran normally.

now everytime I have to run rtc.sh first and the update all script later.

I dont want to buy the rtc board now just to fix this, I hope there is a solution.


Re: Updating When Connected To CRT

Posted: Wed Dec 21, 2022 6:33 pm
by jca

Is your internet connection wired or are you using a USB dongle?


Re: Updating When Connected To CRT

Posted: Thu Dec 22, 2022 3:31 am
by Lancelot
pbsk8 wrote: Wed Dec 21, 2022 4:20 pm
jca wrote: Tue Dec 20, 2022 11:27 pm

It could be because the rtc.sh contains

Code: Select all

NTP_SERVER="0.pool.ntp.org"

if ! ping -4 -q -w1 -c1 ${NTP_SERVER} &>/dev/null
then
	echo "No Internet connection"
	exit 1
fi

echo "Syncing date and time with"
echo "$NTP_SERVER"
if ntpdate -s -b -u $NTP_SERVER

:D

what is odd because since I bought the mister, almost 2 years ago, I never had any problem with date. update all always ran normally.

now everytime I have to run rtc.sh first and the update all script later.

I dont want to buy the rtc board now just to fix this, I hope there is a solution.

Exact same problem here with time and date. And friend has it too. :(


Re: Updating When Connected To CRT

Posted: Thu Dec 22, 2022 1:14 pm
by jca

Are you using wired internet or USB dongle?


Re: Updating When Connected To CRT

Posted: Thu Dec 22, 2022 1:49 pm
by pbsk8
jca wrote: Thu Dec 22, 2022 1:14 pm

Are you using wired internet or USB dongle?

since I bought the mister I used dongle wifi. Since it stopped working, while i wait for the new one to arrive, I am using wired.


Re: Updating When Connected To CRT

Posted: Thu Dec 22, 2022 3:15 pm
by jca

There have been problems with USB Wireless and many threads about it but it also seems that there are problems with NTP and updates.
See this thread, may be it can help:
viewtopic.php?t=3812


Re: Updating When Connected To CRT

Posted: Thu Dec 22, 2022 11:20 pm
by Malor

Make sure you don't have both the USB WiFi and the Ethernet port active at the same time, even if the WiFi is busted. Having more than one network interface can cause all kinds of grief. Physically unplugging the card and rebooting may fix your NTP problem.


Re: Updating When Connected To CRT

Posted: Sun Oct 20, 2024 9:33 am
by lloydsmart

Sorry to necro an old thread but I have a related question. Do these video settings affect in-core games at all? I want to set some of these so I can get backgrounds on my CRT, use the terminal etc. but that involves enabling vga_scaler. What I don't want is for games to run through the scaler - I like that they just output directly in 240p.

Am I worrying about nothing? Ideally I want this to only apply to the menu and nothing else.


Re: Updating When Connected To CRT

Posted: Tue Oct 22, 2024 5:39 pm
by telengard
dmckean wrote: Sat Mar 19, 2022 1:00 am

If find it easiest just to SSH into my MiSTer and run the update script that way.

This is the way. I had issues running interactively on my CRT. Over ssh works perfectly.


Re: Updating When Connected To CRT

Posted: Tue Oct 22, 2024 6:12 pm
by akeley
lloydsmart wrote: Sun Oct 20, 2024 9:33 am

Sorry to necro an old thread but I have a related question. Do these video settings affect in-core games at all? I want to set some of these so I can get backgrounds on my CRT, use the terminal etc. but that involves enabling vga_scaler. What I don't want is for games to run through the scaler - I like that they just output directly in 240p.

Am I worrying about nothing? Ideally I want this to only apply to the menu and nothing else.

That's what the [menu] tag does - means the changes will apply only to the menu. If you change the values under the [mister] tag, then it'll be universal.