[Solved] mythfrontend runs on wrong TV

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
efball
Newcomer
Posts: 13
Joined: Sun Jul 31, 2016 12:56 am
United States of America

[Solved] mythfrontend runs on wrong TV

Post by efball »

I have a dual monitor setup with two TVs. Everything was working great, then my receiver died. I have everything except mythtv working again. The video card has one HDMI output and one DVI output which gets converted to HDMI. I had to swap the cables to get sound working (I can only get sound working over DVI, not HDMI). Now mythtv always starts on the wrong TV. I have an nvidia card and driver. The desired TV is set as primary in nvidia-settings. I tried using "mythfrontend -display :1" , -display DVI-D-0, with and without quotes, but it always "Abort (core dumped)". Xinerama is off.

mythfrontend -display :0 will open the frontend on the wrong TV. If I disconnect the HDMI from the wrong TV then mythtv starts up on the correct TV. Display: Screen 'HDMI-0' not found, defaulting to primary screen (DVI-D-0).

There has to be a better way than unplugging the HDMI cable every time I start mythtv.
efball
Newcomer
Posts: 13
Joined: Sun Jul 31, 2016 12:56 am
United States of America

Re: mythfrontend runs on wrong TV

Post by efball »

When I plugged the HDMI cable back into the wrong TV mythfrontend crashed again.
blm-ubunet
Senior
Posts: 265
Joined: Sun Jun 15, 2014 1:08 am
Cambodia

Re: mythfrontend runs on wrong TV

Post by blm-ubunet »

I think your syntax is wrong..
Years back I used this in script to start mythtv on the second screen.
I was running each screen as separate Xscreens.

#determine num X screens
number=$(xdpyinfo | grep 'number of screens' | cut -c '22-')
if [ $number = 2 ]; then
ARGS="-display :0.1"
else
ARGS="-display :0.0"
fi

The audio problem could be related problem in selecting the right audio codec in Nvidia card..
At least Nvidia have documentation that is second to none & things typically work exactly as stated.
Have you read up the HDA Azalia etc audio document from NVidia?
Dai_Trying
Junior
Posts: 51
Joined: Tue May 24, 2022 10:18 am
Great Britain

Re: mythfrontend runs on wrong TV

Post by Dai_Trying »

I may have misunterstood the problem, if so my apologies.
Can you just set which screen you want to use from Setup -> Appearance -> Theme/Screen Settings -> Display on screen
I use this when I have multiple screens attached and want my frontend on a particular screen.
efball
Newcomer
Posts: 13
Joined: Sun Jul 31, 2016 12:56 am
United States of America

Re: mythfrontend runs on wrong TV

Post by efball »

Setup -> Appearance -> Theme/Screen Settings -> Display on screen

That fixed it. Thank you, I had looked around, but hadn't found it.
User avatar
Steve Goodey
Moderator
Posts: 219
Joined: Fri Feb 07, 2014 6:30 pm
Location: Colchester, England
Great Britain

Re: mythfrontend runs on wrong TV

Post by Steve Goodey »

If you're happy with the fix could you possibly added [Solved] to the subject line in the first post?

Ta.
Don't forget the Wiki.
Dai_Trying
Junior
Posts: 51
Joined: Tue May 24, 2022 10:18 am
Great Britain

Re: mythfrontend runs on wrong TV

Post by Dai_Trying »

I'm glad it worked and I hadn't misunderstood the problem :)
Post Reply