Plex video playback starts stuttering on NVIDIA Shield Pro but not on Roku - Revisit

Hi Chris, i had have 3 or 4 Movies, but I dont know what the bug do. After whatever it was, the Audio is async. With press one time on RW or FFW i can fix the async. But if I jump back with RW and come in front of the problematic point, it becomes async again.
If I use the Plex Player v9.2.8, the Problem was gone. But I dont want use, its so old.
It can be a problem by Exoplayer, because the Exoplayer was changed in 9.2.9.
At this time, i dont know the timestamp and I dont want to watch the movie again, i saw it so many times in the past and it doesn’t help anyone anyway, so the timestamp doesn’t matter.

The last 20 films I watched were all ok.
I have a Samsung QLED GQ75Q60RGTXZG and a Pioneer AV Receiver VSX-LX303.

Chris, your problem come back?

I’ve been away for a few days and was back last night. So I haven’t tested a bunch but last night all was good.

I think I have gotten to the bottom of my " frame skip " issue
Some may in part been fixed by the 9.1.2 hotfix

A more notable part is a setting on my LG TV that was not working as I thought,
I’ve detailed the issue here incase anyone cares ;

https://www.reddit.com/r/hometheater/s/ulfjuNvKag

In short , the framerate matching feature was causing a conflict with the 24hz real cinema mode on the TV ,

I’d like to thank everyone who tried to help
I do owe Plex and the Nvidia shield an apology , at least for me , my issue was not with them.

NERD ALERT ! :joy:

Folks, I was just informed the Nerd Stats overlay display –

Will be available in v10.21 (tomorrow’s beta)

There were a few minor coding changes required.

Please let me know how this works out.

4 Likes

Did this get released? I can’t see it yet , I assume a.delay ?

1 Like

it isn’t in the 10.21 beta ?

You enable the Nerd stats

then, while playing, ā€˜cursor down’ on the shield’s center wheel to pop it up.
It will display for a bit with the lower playback bar then disappear again until you call for it.

I’m not seeing that beta release yet ? As far as I can see it’s still 10.20.14

The latest on I see on the beta release page is Plex for Android 10.20.0.1280-beta

It’s available!! I’ll do some tests , thanks

1 Like

So some tests I’ve conducted recently on the beta build

I played the same mkv file 3 times on the new Plex beta app, Then 3 times on Kodi ( Plex plugin )
Players have the same settings , passthrough enabled , direct play for both. No transcoding happened.

It’s a 1h 45m , 4k movie HEVC , bitrate average- 22mbps ( yes this test took a while lol)

Plex app beta
1st run showed - 9 dropped frames
2nd run showed - 5 dropped frames
3rd run showed - 7 dropped frames

Visible skips in the video each time an event happened, not at the same place either , quite random.

Kodi Plex plugin - ( dropped & skipped frames )
1st run showed - 1 skipped frames / 0 dropped
2nd run showed - 0 skipped frames / 0 dropped
3rd run showed - 0 skipped frames / 0 dropped

The 1 skipped frame run is likely when bringing up the stats overlay or when the movie started as I noticed no hiccup when watching

Seems quite conclusive to me there is some difference here, for whatever reason Plex app seemingly will just drop frames.

I’m kinda stumped as to why , but with these new nerd stats ,it’s pretty clear it is dropping frames for me on the shield.

I’m going to disable passthrough and run one more time via the Plex beta app to see if it’s related to that setting

3 Likes

And there we have it

The final test results are in , Plex beta app, passthrough disabled ,
0 dropped frames throughout

Seems it is a passthrough issue, I think I also discovered why Kodi doesn’t have as much of an issue as well , if interested check this out

https://forum.kodi.tv/showthread.php?tid=371292&page=34

Kodi uses this maxpassthroughoffsyncduration , basically if the sync gets too far out it’ll auto correct itself. Causing a skip or drop
It is known in that forum that the Nvidia shield is quite inconsistent with it’s sync, sometimes shifting 80ms , it does auto correct itself though, the problem is sometimes the player will auto correct that and skip a frame.

With that setting you can delay the player doing that correction , I’ve tested that and it does work, the skips are almost all gone , at the expanse of sync going away slightly.

ā€œHere especially Shield shortcomings of the audio driver implementation which caused fluctuating delay due to large software period size in their Audio-Hal resulted in skip issues in the renderer.ā€

Takeaway ? If you must use passthrough I’d go for Kodi and use this setting at this time , it’s quite possible it’s different for each device the shield is plugged into as well. Some may never encounter it

I’m glad someone was able to show that passthrough was the issue. We speculated this in an old thread when this issue started, but the devs at the time said they couldn’t reproduce (which makes sense since it’s an extremely variable issue).

I hope they can do something with this information and fix this issue.

Folks,

I have 10.22.0 alpha / beta

What do I need to do to reproduce ?

Shield → Onky TX-RZ AVR → LG C1 OLED

I have 2019 Shield Pro → Samsung HW-Q70T Soundbar → Sony Bravia X950G.

I have refresh rate matching ON.

Any show/movie that requires passthrough audio (DD, TrueHD, DTS-HD MA) had this issue for me, but it’s inconsistent and is more noticable for longer videos. As chris0101 pointed out, they only had 9 drops for a 1h 45m movie.

I recommend testing with a standard 4k 23.976fps movie. I’ve seen the drops with both h264 and h265 video at all resolutions though.

Guess it’s Couch Potato night!

This is my test video. Is it good enough?

Screenshot from 2024-09-05 22-22-46

Screenshot from 2024-09-05 22-22-03

Start → Finish — Not a single dropped frame (wired connection).

Tomorrow will test over wifi.

Are there any significant changes in that beta ,?

Thanks for testing ! Any chance you could test this for me

Going straight to the lg c1 with hdmi passthrough enabled ? Can you also try if you have it , a 4k file no HDR. Just trying to get your setup as close to my test as possible

The only other difference is my server is remote , its connected via 500mbps and never buffers so it’s not a bandwidth thing . Although maybe more cpu intensive ?

I’m leaning towards it’s an issue with how some passthrough devices drift out of sync, that’s why not everyone’s seeing it as there’s so many different setups , it could be solved if I had a different TV for example.
I may bring my shield to my parents over the weekend and test with their amp and see

Remote? And you’re challenging dropped frames ?

Let’s make a fair test of the underlying connection.

You can’t do this on the Syno very easily so use another machine

Run the mtr to the IP of your server for 2 hours (length of the movie)

Let me know the results.
Also report the number of hops between you and your server.

I don’t see how that could make a meaningful difference ,

again I use Kodi on Nvidia shield from the exact same server , no such drops , the cache stays 99% full, it is not a bandwidth issue.

I can see Plex pulls 280 Mbps on a 300mbps connection the buffer fills and it plays instantly, there is no situation where it’s waiting for the connection.

With the sheer amount of people having this issue , also the same issue on Kodi , pretty sure it’s passthrough timings causing an issue.

It’s only the Nvidia shield that has this issue for me, my TV direct plays without issue btw

Then I ask you this:

How does passthrough from my Shield → Onkyo TX-RZ receiver → LG C1 OLED not get impacted ?

My test TV and my server are about 2 meters from each other. Total amount of cabling involved – less than 5 meters end-to-end

If your assertion is true, I should also be impacted, right?

I use PMS but you speak of Kodi. Not the same thing here.
Perhaps your problem is with Kodi itself?
ā€œPlex for Kodiā€ is a GUI add-on to base Kodi. It has no impact on the core server.