[prev in list] [next in list] [prev in thread] [next in thread]
List: mythtv-users
Subject: Re: [mythtv-users] intermittent error starting mythfrontend on Raspberry PI OS 64 bit
From: Jim Abernathy <jfabernathy () gmail ! com>
Date: 2021-12-14 19:47:47
Message-ID: c8a31bec-b492-7096-a03e-f40cc418e157 () gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On 12/14/21 1:37 PM, Jim Abernathy wrote:
>
>
> On 12/14/21 11:57 AM, James Abernathy wrote:
>>
>> I have tried to simplify the key part of the command from this:
>>
>> QT_QPA_EGLFS_ALWAYS_SET_MODE="1" QT_QPA_PLATFORM=eglfs
>> QT_QPA_EGLFS_DEBUG=1 QT_LOGGING_RULES=qt.qpa.*=true
>> QT_QPA_EGLFS_KMS_CONFIG=/home/pi/pi_mythfrontend.json mythfrontend
>> $ARGUMENTS
>>
>> to this:
>>
>> QT_QPA_EGLFS_ALWAYS_SET_MODE="1" QT_QPA_PLATFORM=eglfs
>> QT_QPA_EGLFS_DEBUG=1 QT_LOGGING_RULES=qt.qpa.*=true mythfrontend
>> $ARGUMENTS
>>
>> It runs, but the CONFIG is defaulting to my UHD 4K parameters so the
>> FPS jitter goes from +/-0.03 to +/- 1.29. and the picture is no
>> longer smooth. With the config it's supposed to make it 1080P. When
>> it works it's great.
>>
>> Jim A
>>
>
> If I switch the RPI4 over to a 1080p FHD TV and just run:
>
> QT_QPA_EGLFS_ALWAYS_SET_MODE="1" QT_QPA_PLATFORM=eglfs mythfrontend
>
> It works fine with very good FPS jitter. So the culprit seems to be
> something is the way the QT_QPA_EGLFS_KMS_CONFIG=...json part of the
> command is working to cause the error.
>
> Jim A
>
Here's what I found. The script that worked in Buster created a .json
file that was used in the command and that file liked like this:
{
"device": "/dev/dri/card1",
"outputs": [
{ "name": "HDMI1", "mode": "1920x1080@60" }
]
}
Something changed in Bullseye that makes me have to change it to:
{
"device": "/dev/dri/card1",
"outputs": [
{ "name": "HDMI1", "mode": "1920x1080" }
]
}
Leaving off the @60 makes it work on a 4K UHD TV in 1080P mode. Checking
the TV mode using the TV remote shows 1080p 60Hz.
Jim A
[Attachment #5 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 12/14/21 1:37 PM, Jim Abernathy
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:9679a3e3-2956-12d3-827c-a910f34e412d@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p><br>
</p>
<div class="moz-cite-prefix">On 12/14/21 11:57 AM, James Abernathy
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANFv2E=MnCngtN51bZfuQM3jY+=U+m-rDPaGssJNwOHD_5VOEg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<div dir="ltr">
<div class="gmail_quote">
<div><br>
</div>
<div> I have tried to simplify the key part of the command
from this:</div>
<div><br>
</div>
<div>QT_QPA_EGLFS_ALWAYS_SET_MODE="1" QT_QPA_PLATFORM=eglfs
QT_QPA_EGLFS_DEBUG=1 QT_LOGGING_RULES=qt.qpa.*=true
QT_QPA_EGLFS_KMS_CONFIG=/home/pi/pi_mythfrontend.json
mythfrontend $ARGUMENTS<br>
</div>
<div><br>
</div>
<div>to this:</div>
<div><br>
</div>
<div>QT_QPA_EGLFS_ALWAYS_SET_MODE="1" QT_QPA_PLATFORM=eglfs
QT_QPA_EGLFS_DEBUG=1 QT_LOGGING_RULES=qt.qpa.*=true
mythfrontend $ARGUMENTS<br>
</div>
<div><br>
</div>
<div>It runs, but the CONFIG is defaulting to my UHD 4K
parameters so the FPS jitter goes from +/-0.03 to +/-
1.29. and the picture is no longer smooth. With the config
it's supposed to make it 1080P. When it works it's great.</div>
<div><br>
</div>
<div>Jim A<br>
</div>
<div><br>
</div>
</div>
</div>
</blockquote>
<p><br>
</p>
<p>If I switch the RPI4 over to a 1080p FHD TV and just run:</p>
<p>QT_QPA_EGLFS_ALWAYS_SET_MODE="1" QT_QPA_PLATFORM=eglfs
mythfrontend</p>
<p>It works fine with very good FPS jitter. So the culprit seems
to be something is the way the QT_QPA_EGLFS_KMS_CONFIG=...json
part of the command is working to cause the error.</p>
<p>Jim A</p>
</blockquote>
<p><br>
</p>
<p>Here's what I found. The script that worked in Buster created a
.json file that was used in the command and that file liked like
this:</p>
<p>{<br>
"device": "/dev/dri/card1",<br>
"outputs": [<br>
{ "name": "HDMI1", "mode": "1920x1080@60" }<br>
]<br>
}<br>
</p>
<p>Something changed in Bullseye that makes me have to change it to:</p>
<p>{<br>
"device": "/dev/dri/card1",<br>
"outputs": [<br>
{ "name": "HDMI1", "mode": "1920x1080" }<br>
]<br>
}<br>
</p>
<p>Leaving off the @60 makes it work on a 4K UHD TV in 1080P mode.
Checking the TV mode using the TV remote shows 1080p 60Hz.</p>
<p>Jim A</p>
<p><br>
</p>
</body>
</html>
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic