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