Updating When Connected To CRT

For topics which do not fit in other specific forums.
zetastrike
Posts: 9
Joined: Mon May 25, 2020 8:48 pm
Has thanked: 2 times

Updating When Connected To CRT

Unread post 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.

thorr
Top Contributor
Posts: 1158
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 572 times
Been thanked: 262 times

Re: Updating When Connected To CRT

Unread post 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
dmckean
Posts: 307
Joined: Sat Jan 16, 2021 7:03 am
Has thanked: 388 times
Been thanked: 95 times

Re: Updating When Connected To CRT

Unread post by dmckean »

If find it easiest just to SSH into my MiSTer and run the update script that way.
User avatar
Wave
Posts: 130
Joined: Tue Jan 04, 2022 6:57 pm
Has thanked: 89 times
Been thanked: 40 times

Re: Updating When Connected To CRT

Unread post 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.
she/her
zetastrike
Posts: 9
Joined: Mon May 25, 2020 8:48 pm
Has thanked: 2 times

Re: Updating When Connected To CRT

Unread post 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.
FoxbatStargazer
Top Contributor
Posts: 996
Joined: Thu Dec 10, 2020 5:44 pm
Has thanked: 310 times
Been thanked: 228 times

Re: Updating When Connected To CRT

Unread post by FoxbatStargazer »

That's a 320x240/60hz modeline so it probably should sync, yes.
thorr
Top Contributor
Posts: 1158
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 572 times
Been thanked: 262 times

Re: Updating When Connected To CRT

Unread post 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.
pbsk8
Posts: 260
Joined: Mon Dec 28, 2020 4:23 pm
Has thanked: 67 times
Been thanked: 32 times

Re: Updating When Connected To CRT

Unread post 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?

thorr
Top Contributor
Posts: 1158
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 572 times
Been thanked: 262 times

Re: Updating When Connected To CRT

Unread post 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).

pbsk8
Posts: 260
Joined: Mon Dec 28, 2020 4:23 pm
Has thanked: 67 times
Been thanked: 32 times

Re: Updating When Connected To CRT

Unread post 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.

thorr
Top Contributor
Posts: 1158
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 572 times
Been thanked: 262 times

Re: Updating When Connected To CRT

Unread post 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.

pbsk8
Posts: 260
Joined: Mon Dec 28, 2020 4:23 pm
Has thanked: 67 times
Been thanked: 32 times

Re: Updating When Connected To CRT

Unread post 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.

jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Re: Updating When Connected To CRT

Unread post 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

pbsk8
Posts: 260
Joined: Mon Dec 28, 2020 4:23 pm
Has thanked: 67 times
Been thanked: 32 times

Re: Updating When Connected To CRT

Unread post 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.

jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Re: Updating When Connected To CRT

Unread post by jca »

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

Lancelot
Posts: 29
Joined: Mon May 25, 2020 4:56 am
Location: Campinas
Has thanked: 1 time
Contact:

Re: Updating When Connected To CRT

Unread post 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. :(

jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Re: Updating When Connected To CRT

Unread post by jca »

Are you using wired internet or USB dongle?

pbsk8
Posts: 260
Joined: Mon Dec 28, 2020 4:23 pm
Has thanked: 67 times
Been thanked: 32 times

Re: Updating When Connected To CRT

Unread post 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.

jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Re: Updating When Connected To CRT

Unread post 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

Malor
Top Contributor
Posts: 860
Joined: Wed Feb 09, 2022 11:50 pm
Has thanked: 64 times
Been thanked: 194 times

Re: Updating When Connected To CRT

Unread post 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.

Post Reply