Screen Setup Wizards cause FE to freeze

For discussion of topics specific to MythTV on Raspberry Pi devices
Post Reply
mtbdrew
Senior
Posts: 107
Joined: Tue Jul 22, 2014 1:10 pm
United States of America

Screen Setup Wizards cause FE to freeze

Post by mtbdrew »

Raspberry Pi3 running Raspberry Pi OS Lite, Have installed Mythtv-light v31 using these steps:

sudo raspi-config
sudo apt update
sudo apt -y full-upgrade
sudo reboot
sudo apt install git
git clone https://github.com/MikeB2013/pi-utils.git
sudo apt-get install --no-install-recommends xserver-xorg
cd pi-utils
./pi-setup_mythtv_31.sh
reboot and it will start up in mythfrontend

After reboot Mythtv FE runs automatically but does not completely fill TV screen (1" black border all the way around). If I attempt to run the Screen Setup Wizards the FE locks up requiring login via SSH run HTOP and kill "mythscreenwizard --verbose general --logpath /tmp --loglevel info--quiet" to regain FE functions.
User avatar
pgbennett
Developer
Posts: 504
Joined: Mon Apr 27, 2015 5:41 pm
United States of America

Re: Screen Setup Wizards cause FE to freeze

Post by pgbennett »

The black border is probably from the raspberry pi overscan settings. Edit the /boot/config.txt and set or uncomment disable_overscan=1
and comment out lines overscan_left, overscan_right, overscan_top and overscan_bottom.

If this does not completely solve it you can comment the disable_overscan and try different values for the four overscan settings. I think this is a better method than trying to use the screen wizard.
mtbdrew
Senior
Posts: 107
Joined: Tue Jul 22, 2014 1:10 pm
United States of America

Re: Screen Setup Wizards cause FE to freeze

Post by mtbdrew »

Thanks that fixed the issue.
mtbdrew
Senior
Posts: 107
Joined: Tue Jul 22, 2014 1:10 pm
United States of America

Re: Screen Setup Wizards cause FE to freeze

Post by mtbdrew »

git clone https://github.com/MikeB2013/pi-utils.git

This link is no longer working, anyone know a working version for the desk-topless install of mythv-light/.
User avatar
jfabernathy
Senior
Posts: 577
Joined: Wed Feb 18, 2015 2:37 pm
Location: Raleigh, NC
United States of America

Re: Screen Setup Wizards cause FE to freeze

Post by jfabernathy »

mtbdrew wrote:
Sat May 15, 2021 12:02 am
git clone https://github.com/MikeB2013/pi-utils.git

This link is no longer working, anyone know a working version for the desk-topless install of mythv-light/.
Some of the scripts do work but not all. I recently built a v31 mythtv-light system combo FE/BE and had to make some changes to the instructions I use.

https://mythtv-rp4.blogspot.com/2020/11 ... rpi-4.html

I did have to modify run_mythfrontend.sh as well. I just stripped out a lot of the testing logic since I was using only a RPI4. That fixed it.
mtbdrew
Senior
Posts: 107
Joined: Tue Jul 22, 2014 1:10 pm
United States of America

Re: Screen Setup Wizards cause FE to freeze

Post by mtbdrew »

Link gives a Deceptive site ahead warning and is blocked:

Deceptive site ahead

Firefox blocked this page because it may trick you into doing something dangerous like installing software or revealing personal information like passwords or credit cards.

Advisory provided by Google Safe Browsing.
User avatar
jfabernathy
Senior
Posts: 577
Joined: Wed Feb 18, 2015 2:37 pm
Location: Raleigh, NC
United States of America

Re: Screen Setup Wizards cause FE to freeze

Post by jfabernathy »

mtbdrew wrote:
Sat May 15, 2021 12:37 am
Link gives a Deceptive site ahead warning and is blocked:

Deceptive site ahead

Firefox blocked this page because it may trick you into doing something dangerous like installing software or revealing personal information like passwords or credit cards.

Advisory provided by Google Safe Browsing.
I noticed that too. I'm not sure what Google is doing. All this page is is a Blogger page with text and links to other pages. Not sure how to tell Chrome it's okay? You can ignore the warning if your want or figure out how to fix on your own.
User avatar
jfabernathy
Senior
Posts: 577
Joined: Wed Feb 18, 2015 2:37 pm
Location: Raleigh, NC
United States of America

Re: Screen Setup Wizards cause FE to freeze

Post by jfabernathy »

I found out this was a Google problem noticed and fixed about 7 hours ago.
User avatar
jfabernathy
Senior
Posts: 577
Joined: Wed Feb 18, 2015 2:37 pm
Location: Raleigh, NC
United States of America

Re: Screen Setup Wizards cause FE to freeze

Post by jfabernathy »

what is comes down to is installing mythtv-light the new way per the wiki from orangedoc and then I only used pi-mythbackend-helper.sh from pi-utils. I ran 'run_mythsetup.sh as is, but I used my own run_mythfrontend.sh

Code: Select all

#!/bin/bash

# script to run mythfrontend from version 31 on Raspberry Pi under Raspian Buster using EGLFS
# can be added to .bashrc to allow autostart of mythfrontend on boot

# Last Modified 24 July 2020

# Author Mike Bibbings

#check for any arguments on command line, if so use for mythfrontend command, so we can use different parameters
#e.g. run_mythfrontend.sh --logpath /home/pi --loglevel debug
# if no arguments set --logpath /tmp
if [ -z "$*" ] ; then
	ARGUMENTS="--logpath /tmp -O PowerOffTVOnExit=0"
else
	ARGUMENTS="$*"
fi

# set perfomance mode, not sure if needed for Pi4, do it anyway
echo performance | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor


RESOLUTION="1920x1080@60"

echo "Setting screen to $RESOLUTION"


#for QT debug add to command line QT_QPA_EGLFS_DEBUG=1 QT_LOGGING_RULES=qt.qpa.*=true
QT_QPA_EGLFS_ALWAYS_SET_MODE="1" QT_QPA_PLATFORM=eglfs mythfrontend $ARGUMENTS
# fixup keyboard after exit from mythfrontend, bug in QT causes segment fault which kills keyboard input
kbd_mode -u
# restore cursor
setterm  --cursor on

exit 0
Post Reply