@Mattias_Eriksson said:
I tried playback on my Nvidia Shield TV (Gen 1).
And I’ll be damnd, no issues what so ever.
Whoopdeedoo.
Let’s just hope they fix that in the next release.
Are you all using this in a projected environment? I too am tired of sync issues and fiddling with this every single time I want to watch a movie. It ruins the experience to continuously tweak the movie after it’s started just to have it work correctly (granted that’s not a drifting sync issue but a a/v sync issue nonetheless).
I have to confess that i have no idé what projected enviroment is, i guess you mean protected.
But mine is a simple home network with HP PS 1810 swithes, ethernet cables & a x-99, i7 6800K, 32GB
system running unRaid.
Plex run as a Docker and i have a Windows VM running.
I have aprox 10-15 user set up with outside access, the system can handle 5 simultaneous decodes.
Absolutely nothing fancy or hard to set up.
I had a similar problem a few months ago with the audio “drifting” apart from the video, which a pause/play would fix but it was still driving me nuts. I worked backward through all the things I’d changed recently, including different PMP versions, but the thing that fixed it was uninstalling the free “Avast” antivirus software I had recently installed. No idea why that affected Plex, but removing it fixed the problem for me.
@Mattias_Eriksson said:
I tried playback on my Nvidia Shield TV (Gen 1).
And I’ll be damnd, no issues what so ever.
Whoopdeedoo.
Let’s just hope they fix that in the next release.
Are you all using this in a projected environment? I too am tired of sync issues and fiddling with this every single time I want to watch a movie. It ruins the experience to continuously tweak the movie after it’s started just to have it work correctly (granted that’s not a drifting sync issue but a a/v sync issue nonetheless).
I have to confess that i have no idé what projected enviroment is, i guess you mean protected.
But mine is a simple home network with HP PS 1810 swithes, ethernet cables & a x-99, i7 6800K, 32GB
system running unRaid.
Plex run as a Docker and i have a Windows VM running.
I have aprox 10-15 user set up with outside access, the system can handle 5 simultaneous decodes.
Absolutely nothing fancy or hard to set up.
Thank you for the info. I actually meant projected as in projector. Sorry if that wasn’t clear. I’m not having an audio drift issue, just a sync issue that the timing varies with each file and really frustrating.
I encountered the same issue after upgrading PMP from 1.15 to the latest beta version, 2.8.0 on a Windows 10 system, which also hosts the Plex Media Server.
Despite still encountering issues after changing audio setting (sync, output format etc); the audio would play ahead of the video after a few minutes and the a/v value (accessed by pressing “I”) would report a non-zero value.
What I found resolved the issue was to the desktop, right-click the Desktop, and select Intel Graphics Setting and change the refresh rate within the “Intel HD Graphics Control Panel” from 59hz to 60hz.
It is still drifting, it takes about 10 min for it to be noticeable and gets progressively worse. Not sure what can be done to remedy it. My tv switches to 24 Hz when playing movies through plex. It’s a remote server, everything else is flawless besides the drifting audio.
If your PC works with openGL, try that setting first, and then select video - sync mode - dispay (drop / duplicate audio). If you can hear pops with that method you can amend the plexmediaplayer.conf file and change this line:
“sync_mode”: “display-adrop”,
to this
“sync_mode”: “display-vdrop”,
If your PC does not support OpenGL then you have to use Angle, and we can use some Angle files from an old version of PMP before they broke it.
I know this is an old topic but just thought I’d post what I had found in case anyone else stumbles on this thread looking for an answer. I was having this same problem (audio drifting out of sync from video). The longer it played the more it drifted. Pausing and restarting would re sync the audio and video but it would then start to drift out again becoming noticeable after 5-10 minutes.
Now for my setup:
I have my HTPC running as a VM on an UnRaid server with 3/4 cores of my i5 6400 dedicated to the windows 10 VM that plex is running on. This leaves the UnRaid OS with one core to be able to do all the functions it needs to do. So my VM set up looks like this
this leaves the UnRaid OS with (this is plenty btw for unraid).
i5 6400 1/4 cores
4 gb ram
Now for the fix to the problem!!!
The problem ended up being that even though the cores were assigned to the VM, UnRaid still had access to them and used them when it “needed” to. This adds a few milliseconds of latency on the video compared to the audio, causing it to drift because those milliseconds keep piling onto each other until the video is paused and the cpu has a chance to catch up.
What I had to do to fix it was Isolate the Cpu cores for the VM from the UnRaid OS. Basically meaning I’m telling the VM software “you are not allowed to use these cores at all.” In UnRaid this is a very simple setting with just a few clicks but other vm software will be different. Just look up how to do CPU Pinning and CPU isolation. Isolate or pin the CPU cores you are using for your VM. This should fix your audio drift if you are running plex from a VM.
P.S. This is what I found worked after a few months of trouble shooting. I didn’t see this answer anywhere so I wanted to post it to make it available for other people having the same issues. @vlang it’s possible the reason you were never able to recreate this issue is because it’s only an issue when plex is running on a VM