Can anyone point me in the right direction here? I have a pretty beefy PC I use as a server and HTPC. 24 2.5ghz cores, 64gb ram, kind of a crappy video card, debian 11. I just migrated all my stuff over and stress tested it supporting 8 different transcribed streams simultaneously (mix of in/out of local). That worked great.

BUT, the video playback is choppy (as in frame skipping) and out of sync when I’m running the HTPC program. Oddly using the web client on the same machine avoids that issue.

Any thoughts? I’m wondering if it might be that it’s an older TV it’s plugged into and there’s some issue there. Thing is, like I said, the webclient its worlds better. Webclient seems to have some issues but I’m pretty sure that’s just due to the TV.

Any pointers are helpful! I’m OK at this stuff but very much learning.

  • Faceman🇦🇺
    link
    fedilink
    English
    51 year ago

    perhaps whatever hardware you have (more info?) isn’t supported for hardware decoding in the Plex HTPC app on your particular flavour of linux and choice of kernel. The webclient is likely forcing a transcode to a supported format in the browser, while the HTPC app might not be and cant decode the video properly, even through it is telling the server app that it can.

    • @batmaniamOP
      link
      English
      4
      edit-2
      1 year ago

      Update: I adjusted the settings in the HTPC client to force a lower quality (the TV that’s hooked up to is only 720p anyway). Smooth as butter. I think it was definitely what you were saying and forcing a conversion was a good workaround.

      To anyone else who’s reading this and me see a related issue in the future: I also have an issue on this box where I can’t get my display to output at the actual resolution of the TV. The system insists on outputting 1080p, and when I manually adjust the display settings it goes black.

      It works fine for some reason though. I mention for future folks because I suspect (based on the above input) the HTPC client may be taking cues from the system setting, which is wrong.

      In any event, the HTPC might still think it’s outputting to a 1080p display but with the forced conversion it’s operating just fine. THANK YOU.

      edit: I wanted to add I had done this from the menu available while watching a video, and it didn’t work. I had to do it at the main settings with no playback going.

      • Faceman🇦🇺
        link
        fedilink
        English
        41 year ago

        re. the resolution thing, there are settings in the app for setting the TV to match the resolution and or refresh rate of the video content, which is intended to give the best possible image, however an older TV or one with an unusual resolution (1366x768 for example was common on budget flatscreens for a while and scaled poorly) can have trouble with the auto switching settings.

        The other thing that is possible here is trying to direct play a 1080p video, even if hardware decoding is working is forcing the system to then downscale to 720p to drive the display, so the scaling can be a bottleneck unless it can be done in hardware, which might not be working, or is too much for the system to handle. that could be why forcing a transcode to 720p is more stable as it gets that step out of the way before it is even decoded. of course the best solution would be to not have to do it at all.

        you might be better with the scaling settings turned off so the app doesn’t try to change them from your system settings, but if you do that you can run into problems with 24p content not being paced properly on a 60hz TV for example, so play with them.

        • @batmaniamOP
          link
          English
          21 year ago

          Fantastically helpful and really helping my learn the system. Thanks a ton!

    • @batmaniamOP
      link
      English
      11 year ago

      This would definitely make a ton of sense! I don’t know how to validate but that’s exactly what it seems like.

      Im running a dell precision 5810 with an nvs 310 for graphics and 64gb of ram. Using plasma as a DE if that trips anything up.

      • Faceman🇦🇺
        link
        fedilink
        English
        21 year ago

        that GPU is likely causing issues, no NVDEC or NVENC in a plex box makes it useless, so it’s having to brute force decode and encode everything, which it probably isn’t powerful enough to do while also being the server. That GPU has only basic h264 decoding at up to 1080p, no H265 or 10bit or 4k or anything like that, and might not even be supported by Plex HTPC or you need to try different driver versions as it might just be an Nvidia+linux thing cause the drivers are a bit of a mess.

        Look into something slightly more modern like a p600 or newer. Or redo the server with an intel desktop cpu (even just an i3) which will have an igpu capable of pretty much everything up to and including 4k HDR.

        • @batmaniamOP
          link
          English
          11 year ago

          That makes sense. I’ve been looking at upgrading the card on my usual desktop (current card is a GeForce GTX1060 3GB). If I can find a deal on something non-nvidia I’ll get something directly for the plex box though.

          I had banked on all of that RAM and processor headroom being able to have it function well as a server despite the graphics card (and it did a good job encoding and sending OUT streams), but I’m still learning what does what in this whole chain. Thanks for all your help!

  • @marmarama
    link
    English
    31 year ago

    Very hard to guess what’s going on here without some logs. It could be a lack of enabled hardware decode acceleration, or an unaccelerated on-the-fly transcode using so much CPU that it’s causing the decode to be choppy, or it could be a driver issue with the encoder, or decoder, or some other configuration issue with the media server or client.

    Have a look at the logs and see if you can see anything suspicious. If you can’t, then upload some log files somewhere and ask for help again.

    Details of how to get the logs from Plex media server are here:

    https://support.plex.tv/articles/200250417-plex-media-server-log-files/

    Also, when you say you have a crappy graphics card, what is it exactly?

    • @batmaniamOP
      link
      English
      11 year ago

      Thanks, I’ll run the logs but it looks like there’s also so great leads below. I know it’s a wide net but I’m at least getting pointed in the right direction!

      And the card is an Nvidia nvs 310

  • @reddig33
    link
    English
    21 year ago

    If you log into the server — does it give any feedback on transcoding? Like is one playback method transcoding differently from the other?

    Have you tried toggling direct play and other settings on the client?

    • @batmaniamOP
      link
      English
      21 year ago

      they were indeed both direct playback, but it’s resolved(ish)! Take a look below.