Not the usual thing to be on this forum, but hey you guys are a knowledgeable bunch and this has got me stumped.
I have an Unraid server that hosts movies (mainly 4k remuxes) on x4 HGST HUH721212ALE600 drives using a Plex server primarily. It is wired directly to the Orbi router that has wireless backhaul to the other 2 satellites.
I also have my main client as an Nvidia Shield TV Pro that is wired into one of the Orbi satellites.
So the issue is that when I am streaming one of the higher quality 4k remuxes (~80Mbps for 4k hdr + ~5Mbps for lossless audio) I am constantly running into buffering issues even though I am not doing any transcoding. I have tried the Plex app for Android, I have also recently played around with Kodi and it’s various add ons for Plex (Plex for Kodi, Composite, and PlexKodiConnect) and the issue always seems to be present. I even tried directly mounting the samba mount from unraid onto Kodi and it even buffers then.
While streaming, the Unraid server shows as uploading ~90Mb/s with spikes up to 120Mb/s. I have installed the docker container for an open source self hosted speed test on the Unraid server and have run a test from my Nvidia Shield and it yields less than 3ms of ping, 0.3 jitter, around 600Mb/s download and around 350Mb/s upload. I also installed a disk benchmark utility than scan the speeds at the various fill levels of the drive, and when the drives are empty they have a read speed of about 300MB/s and when nearly full they go down to about 120MB/s.
I have no clue how any of this adds up to me having buffering issues, the drives should be able to read plenty fast and the network should be plenty fast to transmit the data.
So I thought it has to be a software issue on the shield tv side (potentially to do with buffer sizes) so I messed around with the advanced settings of Kodi (installing the OpenWizard add on) and used their high end device network preset which makes the readfactor 15, buffermode 1, and the memory size to 3GB iirc and the same issue is present, it is arguably worse now…
Does anyone have any experience in this realm or have any other ideas on ways to troubleshoot? I am simply at a loss since it seems the shield tv is just refusing to ask for more bandwidth when it definitely can. All of the hardware tests to my eyes says this should not be a problem.
I had this. I think you’re looking at hardware when you should look at your plex configuration. That’s where my problem was. I can pull my settings in a couple of hours and post them here. Maybe you’ll find something there.
Sorry about that, I have been out of town this weekend, but I plan to head home tonight and take a gander at my settings. Unfortunately, if my memory serves me correctly, most of the settings you guys described I already had (mostly because I had to deal with plex during an internet outage), but we will see. I plan on trying to stream using another device connected to the same Orbi as the shield tv. I am also going to download VLC on the shield and see if that helps. And then finally I am going to put one of these files on a usb drive and see if I can just locally play it via the shield.
What client software do most of you use? Just the default Plex app?
I assume leaving LAN Networks blank is fine since I only have one subnet (192.168.1.X). Everything else that you suggested was already in place.
Mine was already disabled.
I am playing the video file in question right now on VLC over WiFi on my desktop, so far, no issues…
These are the stats after 5 minutes. 6 frames lost does not look like anything to worry about. Unraid server reporting outbound of up to 20MB/s which I never saw using the shield tv.
I guess I made progress? It just seems so inconsistent. I read online that the Logger buffer size in the shield’s developer settings being set to 16MB (max) would help especially with 4k hevc hdr remuxes. It seems to be working? I will have to test more to find out.
It is just really confusing, because you have threads like this were there are tons of people saying my exact situation should not be happening:
I am going to try this tomorrow and see how it goes, apparently there is a new option inside the Plex app that needs to be turned off. I am skeptical however since I would think that Kodi would not have any issues then…
If this does not help, I think I might just factory reset and only install Kodi and try direct streaming from samba, back to the very basics, then move up from there, it seems that the Plex client as of late has a been an absolute crapshoot (at least according to Reddit), so if I could get Kodi working with pkc I would be happy.
@Cjkeenan I noted from your screenshot you have relay enabled try unchecking that, change your preferred network from any to your LAN one and set the IP for your NVIDIA Shield Pro. I had what you described before if I didn’t do that.
Also the only other issue I have experienced before was with dolby vision files as my NVIDIA Shield TV Pro wouldn’t always play them and lead to buffering issues. In the end I excluded those types from Sonarr and Radarr and problem solved. Below are my settings for both platforms.
It would be worth trying it without a container. Plex might be one of those services that doesn’t like fences. If it works outside of the container, then it might be worth tweaking the container networking settings. Wowza a ton of challenges when this is inside a container.
If none of the above sorts it out, maybe it could be worth trying running plex server on your desktop machine? Just to see if you don’t have the same problem when streaming from there. At least that may help narrowing down where the problem is.