Jump to content
NotYetRated

Audio/Video Sync Issues in VM's

20 posts in this topic Last Reply

Recommended Posts

I am having issues with audio/video going out of sync when watching videos within any web browser, from any website. Netflix, hulu, youtube, chrome, firefox, edge...

 

Running 2 different Windows 10 VM's. Video cards are Radeon 7850 and a 6450. Passing through the card integrated audio and running via HDMI.

 

Never used to have an issue, really not sure what caused the issue to crop up. Anyone else experiencing it or can point me in some direction for a fix?

Share this post


Link to post

Same problem here, with Nvidia card.

 

- Only desyncs from websites/browsers (Using Chrome, haven't checked with other browsers), no problem using media players.

- Only happens on HDMI Audio passthrough (Does NOT happen when using 6-channel audio).

- Have tried both enabling/disabling hardware acceleration in Chrome.

 

NotYetRated: I've read some threads here talking about enabling MSI.

Some people have enabled MSI with success. I have had it enabled (and confirmed enabled) but it made the problem even worse, audio was suddenly stuttering like crazy. So currently living with having to refresh the page every once in a while when watching streams from Twitch or similar, and have had to resort to using my Chromecast a lot more xD.

 

Wiki: https://wiki.lime-technology.com/UnRAID_6/VM_Guest_Support#Enable_MSI_for_Interrupts_to_Fix_HDMI_Audio_Support

 

Others have talked about CPU pinning fixing the problem, I have yet to try that.

 

 

Edited by cyberdude

Share this post


Link to post

I had this same issue yesterday. Pretty sure didn't used to happen. It would play for probably 10-15 mins before it started to drift out of sync. I only tried in Chrome.

 

Nvidia 1050Ti.

Share this post


Link to post

I have pinned CPU cores for a while now, so doubt that will fix the issue. Just checked, and both of my VM's shows MSI as enabled. I have never tinkered with this to turn it on or off, so I assume its always been on, even when I was not having audio/video issues.

 

It is quite maddening! I too have been using chromecast for a lot of stuff now.

 

Also, I noticed I have this issue on my VMs using Plex Media Player, but not Plex Home Theater. Quite odd.... Still no luck identifying the issue or any solutions.

Share this post


Link to post

Update: Fresh VM's with Windows 10 did not fix the problem for me. Going to try a Windows 7 install tonight to see if that has any affect. No modifications within the Windows VM such as drivers, audio settings, etc worked. Replacing HDMI cables had no change. Running out of ideas!

Share this post


Link to post

I'm having the same issue on a rebuilt Win10 VM. I changed out the graphics card and ensured MSI+ and that had no impact. Really odd behavior. 

 

Definitely did not happen on any of my previous VMs. Hopefully someone can identify a potential solution.

 

Edited to add that I built 2 more VMs and it is happening on all of them.

Edited by bhinkle50

Share this post


Link to post

I have been struggling with this for almost a year now.. Msi doesn't solve the problem, more rams and cores doesn't either.. 

Share this post


Link to post

I'm using Bluetooth adapter passed thru to my VM and Bluetooth speakers. It works pretty well besides it being so unconventional. I'm gonna pick a cheap usb sound adapter tomorrow and try that with some normal speakers and see how that goes.

Share this post


Link to post

I believe that this is related to the DirectPlay. If I watch video with VLC or MPC, there is no fading out of sync. But with Plex using DirectPlay, it happens readily.

 

Dragging the slider to advance or back up the current watching position does not re-establish sync, but reloading the video and then advancing to the point near where you were watching works. A bit annoying for sure.

 

Not sure why it affects VMs but not bare metal Windows.

 

@gridrunner, any thoughts on this?

 

 

Share this post


Link to post

After installing a Windows 7 VM and letting Windows pick the audio/video drivers for my card, I have had a problem free experience for multiple hours across multiple different shows. On chrome, Internet Explorer, within Plex Media Player as well as Open Plex Home Theater. I have plex set to not transcode anything, all playing direct.

Share this post


Link to post

I'm having the same problem..

Any solutions to this issue?

maybe an external usb sound card?

Share this post


Link to post

Has anyone tried moving the emulator to a non-VM core? Was thinking that might be worth a try.

Share this post


Link to post
36 minutes ago, IpDo said:

I'm having the same problem..

Any solutions to this issue?

maybe an external usb sound card?

 

What VM OS? And what video card you passing through?

Share this post


Link to post
22 hours ago, IpDo said:

What to you mean by non-VM core?

 

See here.

 

 

Share this post


Link to post

Hi all, just a quick update on my status/progress/findings.

 

I was never able to correct the issue using AMD 6450 w/Windows 10. I was able to get it working perfectly using Windows 7 and the AMD 6450.

 

I replaced the AMD 6450 and dropped an Nvidia 1050 Ti into the original Win10 machine having issues, and all is well with that! I did have to extract the ROM from the NVIDIA card, but it was only about a 5 minute process performing it for my first time.

Share this post


Link to post
On 11/10/2017 at 9:39 AM, NotYetRated said:

Hi all, just a quick update on my status/progress/findings.

 

I was never able to correct the issue using AMD 6450 w/Windows 10. I was able to get it working perfectly using Windows 7 and the AMD 6450.

 

I replaced the AMD 6450 and dropped an Nvidia 1050 Ti into the original Win10 machine having issues, and all is well with that! I did have to extract the ROM from the NVIDIA card, but it was only about a 5 minute process performing it for my first time.

 

Another update, girlfriend accidentally took and installed windows updates and viola, the sync issues have reappeared. Im out of patience and ideas.

Share this post


Link to post

Bumping this to see if a solution was ever found. 

 

I installed a fresh Win10 VM off the newest ISO directly from Microsoft this week and am encountering this problem.  I'm running a GTX1080 card, using the hdmi audio on it, and keep getting the audio losing sync on Chrome streaming video.  The weird thing is the audio is moving ahead of the video, and a refresh of the stream seems to fix it.  Have all the MSI stuff enabled and double checked, along with the drivers.  

 

Thanks in advance for any help. 

Share this post


Link to post

Hi Guys, I think I found a solution that really works, it is, VoiceMeeter, is a free application that is intended to mix several audio inputs and have several audio outputs, works to streams (like twitch an so) but it can be used as a good solution for audio. Basically you will use this app to "FORCE" an DirectPlay Output all the time.

 

The app adds an Virtual Sound Device, you can choose that device as a default audio output, and then from the app handle which devices will output them.

I've been using it for a while and it remove the sync problems I have. In my case I'm using an AMD FX-8350 and the solution of emulators pins doesn't totally works as AMD cores doesn't seem to be the same ones after each reset, so core 1 can be core 7 in next restart, so I need to reconfigure it every time I restart unraid.

 

I'm using the "Banana" edition as is the most balanced for what I do and the devices I have.

 

Hope this helps

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.