<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 17/05/2020 21:21, Monkey Pet wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CADXZuRxfh6e_xHzi+6SQG3mG0Gn7LhM8O_RUBO3TbraoYLB-MQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">On Sun, May 17, 2020 at 8:34 AM Mike Bibbings
          <<a href="mailto:mike.bibbings@gmail.com"
            moz-do-not-send="true">mike.bibbings@gmail.com</a>>
          wrote:<br>
        </div>
        <div class="gmail_quote">
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">On 17/05/2020 13:31, Tim
            Draper wrote:<br>
            > i give up... spent 2-3 days on getting my new rpi4
            (2gb, with 256mb GPU ram assignment) to playback HD content
            smoothly and just can't. playback profile is setup to use
            V4L2 codecs, and I've upped core count to 4. Tried none,
            software, oGL and driver deinterlacers and disabled
            deblocking to try and improve things but non of them really
            fix the issue, just make it worse depending on system load.<br>
          </blockquote>
          <div><br>
          </div>
          <div>1. Disable the Desktop Environment</div>
          <div>2. Overclock it just a bit</div>
          <div><br>
          </div>
          <div>I listed a few other things I tried in <a
              href="https://forum.mythtv.org/viewtopic.php?f=46&t=3791"
              moz-do-not-send="true">https://forum.mythtv.org/viewtopic.php?f=46&t=3791</a> also
            the link has a bit more details. Also see <a
              href="https://www.mythtv.org/wiki/Raspberry_Pi"
              moz-do-not-send="true">https://www.mythtv.org/wiki/Raspberry_Pi</a>.</div>
          <div><br>
          </div>
          <div>Good luck, i am happy with mine, but I basically use it
            for HDHomerun MPEG2 OTA recording playback.</div>
          <div><br>
          </div>
          <div>The two above did it for me. Mostly it was the desktop
            environment.  Then a slight overclock, now things are
            smooth.</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
            > rpi4 not overheating (around 72c during playback and
            running the full 1.5ghz)<br>
            ><br>
            > seems like i could be dealing with multiple issues too.<br>
            > first, any playback of HD content feels like it's
            dropping frames. also seems to jump every few seconds.
            almost like a rpi3 does with HD content with 'ondemand'
            governor.<br>
            ><br>
            > second is HD deinterlacer. LiveTV seems to correctly
            detect HD content as interlaced (correct; UK is 1080i
            broadcast). Recorded program gets detected as progressive.
            I'm having to change this manually every playback to
            interlaced.<br>
            ><br>
            > Third, very intermittent screen blanking where hdmi
            video&audio both cut out but resume again after 2-3
            seconds. doesnt seem to be related to anything specific and
            seems completely random. I'll be placing an order later for
            a new HDMI cable to see if that helps but not sure this
            would have an effect on the above..<br>
            ><br>
            > thanks for any help on this - its driving me insane !!<br>
            > _______________________________________________<br>
            <br>
            I am assuming that you are trying to get mythtv-light  31
            working from <br>
            <a href="https://www.mythtv.org/wiki/MythTV_Light"
              rel="noreferrer" target="_blank" moz-do-not-send="true">https://www.mythtv.org/wiki/MythTV_Light</a>
            on current Raspbian Buster.<br>
            <br>
            Pi 4 must be in console mode (not Desktop)<br>
            <br>
            In /boot/config.txt make sure screen resolution is correctly
            set and no <br>
            higher than 1920x1080 with either 50Hz or 60Hz refresh
            (depends on your <br>
            broadcast standard.<br>
            <br>
            For example in UK hmdi_group=1 hdmi_mode=31 gives
            1920x1080@50Hz<br>
            <br>
            There maybe further complications depending on your TVs
            maximum <br>
            resolution, which requires an eglfs json override file,
            otherwise qt <br>
            (part of mythfrontend) will use data from EDID which is
            likely to cause <br>
            incorrect resolution/fresh during playback or LiveTV. I have
            a 4K TV and <br>
            playback tries to use a much higher resolution and the wrong
            refresh <br>
            frequency (30Hz with Pi4 in default settings). I also have
            an HD TV and <br>
            this uses 60Hz instead of 50Hz.<br>
            <br>
            I have a script run_mythfrontend.sh which launches
            mythfrontend and sets <br>
            up the required override based on hdmi_group and hdmi_mode
            settings in <br>
            /boot/config.txt.<br>
            <br>
            The script is available from my github repository at <br>
            <a href="https://github.com/MikeB2013/pi-utils"
              rel="noreferrer" target="_blank" moz-do-not-send="true">https://github.com/MikeB2013/pi-utils</a><br>
            <br>
            <br>
            Mike<br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
            _______________________________________________<br>
            mythtv-users mailing list<br>
            <a href="mailto:mythtv-users@mythtv.org" target="_blank"
              moz-do-not-send="true">mythtv-users@mythtv.org</a><br>
            <a
              href="http://lists.mythtv.org/mailman/listinfo/mythtv-users"
              rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
            <a href="http://wiki.mythtv.org/Mailing_List_etiquette"
              rel="noreferrer" target="_blank" moz-do-not-send="true">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
            MythTV Forums: <a href="https://forum.mythtv.org"
              rel="noreferrer" target="_blank" moz-do-not-send="true">https://forum.mythtv.org</a><br>
          </blockquote>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://lists.mythtv.org/mailman/listinfo/mythtv-users">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a>
<a class="moz-txt-link-freetext" href="http://wiki.mythtv.org/Mailing_List_etiquette">http://wiki.mythtv.org/Mailing_List_etiquette</a>
MythTV Forums: <a class="moz-txt-link-freetext" href="https://forum.mythtv.org">https://forum.mythtv.org</a>
</pre>
    </blockquote>
    <p>Similarly I have tried many settings to get Pi 4 Jitter free
      playback. I suspect its the UK HD broadcact standard (1280i 25Hz)
      that's screwing this up. I have not seen any bad reports from US
      users. Kodi/Mythbackend is better but still not perfect showing a
      little jitter.</p>
    <p>When using Mike's script (thanks for the build script) to run in
      console mode things get worse, the screen flickers and the
      graphics flash. I have not had a chance to chase the issue down.</p>
    <p>Conclusion use Kodi.</p>
    <p>Pi makes a great backend though.<br>
    </p>
  </body>
</html>