The toddler loves having Kodi full of all their faves but I haven’t been able to iron out all the buffering I’m getting streaming from my mini-pc NFS mounted shares to the pi4 libreelec hooked up via Ethernet in the living room. Everything is wired, so I wouldn’t think that would be an issue but here I am about to put down a couple hundred dollars for a Synology router that looks like the monolith from 2001. Is this going to do the trick, you think? Is there another router recommended to keep a distributed little homelab (any 10tb spread between various usb hdd, raspberry pi’s and mini PCs all hosting a variety of containers and services) running smoothly? Budget I’m hoping to keep under 300 and lower the better but happy toddler and buttery smooth streaming over lan is the priority.

  • Scrath@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    49
    ·
    3 months ago

    I’m not sure about how this works in kodi but in jellyfin the client might request a different resolution which causes the server to try and reencode the provided file on the fly. In my case my server isn’t fast enough for this which leads to constant buffering

    • GravitySpoiled@lemmy.ml
      link
      fedilink
      English
      arrow-up
      15
      arrow-down
      3
      ·
      3 months ago

      Likely, This is it. It transcodes and hence it has to buffer because the server isn’t strong enough. Best is to use a gpu like intel a380 as described in jellyfin’s doc.

      • Gutless2615@ttrpg.networkOP
        link
        fedilink
        English
        arrow-up
        9
        ·
        3 months ago

        No no transcoding happening on kodi, it’s just playing it straight over the lan. That said I do have jellyfin set up on a machine that can handle transcoding for a number of clients. I gave considered switching to Kodi +Jellyfin and seeing if that’s better.

        • tofubl@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          13
          ·
          edit-2
          3 months ago

          Installing the Jellyfin add on into kodi takes a few minutes. Nothing much to consider, just try it and see if that changes anything.

          I have a similar setup (rpi with OSMC, media hosted on file server) and prefer using Jellyfin as the source for all clients, as it keeps track of watched status across everything. It’s not perfect, but better than without Jellyfin.

        • breadsmasher@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          arrow-down
          1
          ·
          3 months ago

          I havent used kodi in a long time, since swapping to jellyfin. I personally found kodi would always buffer sometimes, far more than it should ever need to. With jellyfin, same server, no buffer

      • Voroxpete@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 months ago

        There’s no backend server to do the transcoding in this case. Kodi can access raw NFS/SMB file shares the same as accessing local storage, so it’s just reading the file over the network, the same as if you were playing it in VLC on your PC.

  • ayyy@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    19
    ·
    3 months ago

    Are you by any chance using flat Ethernet cables? Those are not to spec and are vulnerable to radio noise. Friends don’t let friends buy and use flat Ethernet cables.

  • vext01@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    1
    ·
    3 months ago

    I gave up on kodi. Jellyfin works better, presumably because it transcodes better.

    • RBG@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 months ago

      Haven’t used Kodi but am running Jellyfin via the official docker image on a Raspberry Pi 4. Even there transcoding works reasonably well for one user at a time, admittedly didn’t try with several users at the same time so far.

      Just mentioning the docker image because I used to install it without docker directly via the repository and I never got transcoding to work on the same hardware.

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    3 months ago

    That is a complex setup. What’s wrong with Jellyfin?

    Also doing media streaming from a RPI is not going to work well. Go with a old minipc as they are cheaper anyway

    • Gutless2615@ttrpg.networkOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 months ago

      ? Not particularly. I have an intel mini pc hosting jellyfin and a few drives via nfs and samba in one room along with the rest of my homelab. In the living room I need to get that media to the tv so I’m using a pi4 running libreelec atm to connect to those shares.

  • Faceman🇦🇺@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    9
    ·
    3 months ago

    can you run something like iperf3 or openspeedtest between the server and client to prove its a network throughput issue?

    do you have a network switch you can add to avoid switching through your router (if it is indeed bad?)

    Have you ensured you arent unknowingly using wifi at either end?

  • Saff@lemmy.ml
    link
    fedilink
    English
    arrow-up
    6
    ·
    3 months ago

    Do you experience buffering if you watch on a pc / laptop on VLC via network? This will tell you if it’s network speed related or hardware power related. I would assume the pi is not quite powerful enough. I am using a device called a Vero 4k+ and it works wonderfully. But my network setup sounds similar to yours, I just have an smb share on my pc and I added it as a source in kodi.

    • Gutless2615@ttrpg.networkOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 months ago

      I don’t, super helpful. So I’m guessing this is a pi bottleneck. Just ordered the Vera V so we’ll see! Fingers crossed for happy toddler.

      • Saff@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 months ago

        Nice, should be a nice upgrade! Been debating getting the V for av1 support, but I’m also just holding off hoping Apple TV will support it soon.

        • Gutless2615@ttrpg.networkOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          3 months ago

          Otw but after replacing the flat Ethernet cable (no change), and while waiting for the vero I switched to connecting to jellyfin / jellycon via its local address instead of its external one (🤦‍♂️) and zero buffering silky smooth everything. I don’t understand why but holding my breath for now while I wait for the vero when I can retire this unit at least to the office tv where it doesn’t have the responsibility of always performing for the family.

      • General_Shenanigans@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        3 months ago

        My first thought was also that it’s a Pi bottleneck. I have a 4b, and I don’t think I would really trust it to handle some of the higher-quality streaming. Maybe just barely.

  • TORFdot0@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    3 months ago

    The Pi4 USB controller and network adapter share bandwidth. Do you have any devices on the USB port that could be causing collisions? I really can’t think of anything in that kind of scenario that would cause that sort of issue unless somehow you were using USB for video out…

  • Dremor@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    5
    ·
    edit-2
    3 months ago

    To me it looks like you don’t have enough power, either on the Pi4 side to decode, or the mini-pc to encode.

    • Gutless2615@ttrpg.networkOP
      link
      fedilink
      English
      arrow-up
      13
      arrow-down
      5
      ·
      3 months ago

      Appreciate the solicited technical advice, less so the unsolicited parenting advice, thanks! You’ll be shocked to hear that hyperbole exists, I’m sure. I’m just trying to watch the Aristocats with the kiddo without them wondering why the screen stops mid song, stranger.

    • RegalPotoo@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      7
      ·
      edit-2
      3 months ago

      There are very few things more obnoxious than an asshole with unsolicited parenting advice

  • oldfart@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 months ago

    I have a similar setup but my nfs server is not a mini pc.

    You could try diagnosing if it’s the network or if your mini pc is too busy (maybe out of disk i/o?).

    If that’s too hard, temporarly stop all other programs on the mini pc. Does it help?

    Does streaming something from the internet to kodi work without freezes? If it’s ok, then network is likely not the issue

    Last but not least, does playing the same video from an USB stick work smoothly? If not, maybe the quality is too high or the video is x265

  • s38b35M5@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    3 months ago

    Kodi on my 2015 Nvidia Shield doesn’t stutter for me playing back 30GB+ 4k files on a 1Gb network from an ancient (2012) AMD Athlon TrueNAS box. It could be network related, but you can test this from another machine (laptop, desktop, etc) or by using local playback on the pi. I have cheap network hardware, and have never needed better. All this is to say Kodi mounting NFS shouldn’t need much bandwidth or high end gear. Perhaps the issue is on the playback side. Good luck!

    Edit: and an

    • Gutless2615@ttrpg.networkOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 months ago

      Thanks! Super helpful data point. I don’t have the same buffering issues streaming the same video to my desktop over nfs, so I’m leaning towards it being a pi4 bottleneck. Just plopped down for a Vera V so fingers crossed that’s the issue.

  • Mountain_Mike_420@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    2
    ·
    3 months ago

    Before getting all crazy and changing the setup why don’t you try Wi-Fi. Yes Wi-Fi. Your cable might only be 100mbit and your WiFi may be faster.

    Wi-Fi 5 can theoretically transmit data at speeds of up to 3.5 Gbps. And obviously WiFi 6 and 7 are even faster.

  • NeoNachtwaechter@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    4
    ·
    3 months ago

    In my living room, buffering happens when the connection is only WiFi, but you are on ethernet already (which solves that for me).

    pi4 libreelec

    Have you considered getting one of these small Chinese “Android TV” boxes?