Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Audio problems on AMD after waking from sleep #634

Open
InfiniteImp opened this issue Apr 7, 2020 · 6 comments
Open

Audio problems on AMD after waking from sleep #634

InfiniteImp opened this issue Apr 7, 2020 · 6 comments

Comments

@InfiniteImp
Copy link

I have an issue about Vlc.DotNet.

Generic information

  • **Vlc.DotNet version : 3.1.0.0
  • **Vlc.DotNet project used : WinForms
  • **libvlc version : 3.08.1 via Package Manager
  • **.net version : 4.7.2
  • **Project language : VB.net
  • **Project build architecture : AnyCPU
  • **Operating system : Windows 10 x64 1909

Summary

This issue exists on a new Intel NUC machine I'm working with. Everything works fine with my older NUC. The issue is that once the AMD machine wakes from sleep, audio stops working after 14 seconds of playback. I am testing on two Intel NUC machines. One is completely Intel (integrated video) the other has an integrated AMD 540 video card. The AMD one has the issue. No problems with playback until after the machine wakes up from sleep. It will play all videos fine, but audio only plays for about 14 seconds, then cuts out.. plays again for a second, cuts out, etc. Do you have any idea how I can trace the cause of this down or what workaround I can add to the AMD machine to get around this? Tried switching audio tracks, same issue. A reboot solves it.

Tested and VLC does actually do the same thing, but other video sources (tested with YouTube) do not.

@jeremyVignelles
Copy link
Collaborator

Is the Video card the only difference between the two machines? Do they have the same Audio card?

To try to debug this, you can add -vv and see if there is any issue there.

If your issue also happens on VLC, I'm afraid I can't do anything for you on this project.

@InfiniteImp
Copy link
Author

Where do I add the -vv? When testing in VLC or is there a place for it in Vlc.DotNet?

@jeremyVignelles
Copy link
Collaborator

-vv is a command line argument you can give to vlc.exe and pass to VlcMediaPlayerOptions in Vlc.DotNet.

It does the same thing as changing the verbosity level of the Messages window in VLC : it gives you verbose logs.

@InfiniteImp
Copy link
Author

Ok, thanks. The log didn't reveal any errors or indications of audio issues so it has to be related to the AMD driver. The audio card is not the same - it also uses AMD drivers. Looks like I'm out of luck.

@jeremyVignelles
Copy link
Collaborator

jeremyVignelles commented Apr 8, 2020

Please send the log files from both computers. You can also use -vvv for an extra level of verbosity, but not sure it changes anything though.

EDIT: Can you also check if the prerelease of the VLC 4 application has the same issue?

@InfiniteImp
Copy link
Author

I decided to just disable sleep. I tested the machine and it uses like 12W while idle which I can totally live with overnight. I'm convinced it relates to AMD's drivers and I just don't want to spend time debugging their stuff. Thanks for the help.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants