Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Realtek Audio not regestering headphones #78

Open
wolfieboy09 opened this issue Jun 25, 2024 · 26 comments
Open

Realtek Audio not regestering headphones #78

wolfieboy09 opened this issue Jun 25, 2024 · 26 comments
Assignees
Labels
bug Something isn't working

Comments

@wolfieboy09
Copy link

Describe the bug
Before using, headphones that plug in the register, after running this, and restarting, it's not seeing my headphones.

To Reproduce
Steps to reproduce the behavior:
No idea

Expected behavior
For my headphones to register

Screenshots
The software has this from before
image

@wolfieboy09
Copy link
Author

image
Reinstalled it and now its not even a thing

@wolfieboy09
Copy link
Author

reinstalling from acer website now

@wolfieboy09
Copy link
Author

UPDATE: I reinstalled from Acer's website, and its working!! It can register headphones and drivers are working!

@Raphire Raphire self-assigned this Jun 25, 2024
@Raphire
Copy link
Owner

Raphire commented Jun 25, 2024

Heya,

Thanks for reporting this issue & keeping us updated with your solution.

This is quite strange and I can't from the top of my head think of anything that might cause this. I'll see if I can find some time tomorrow to look into this issue further. Glad you managed to solve it though 🙃

@Raphire Raphire added the bug Something isn't working label Jun 25, 2024
@wolfieboy09
Copy link
Author

I ran Win11Debloat with its default options, and one of the options (the one where a menu of checkmarks opens up I think) there might be a thing in there that has the registering part, and got uninstalled, causing RealTek not to find the headphones and see that they are plugged in. After some time (more then 5 mins of going around the internet), I downloaded the drivers fresh from Acer's website for my model I have, installed it, let it do its thing, and then it was working again.

@Raphire
Copy link
Owner

Raphire commented Jun 28, 2024

@wolfieboy09 Thanks for the additional info.

I do see that Dolby is included in the list of apps that are removed. Do the acer audio drivers include Dolby?

@johnvo0918
Copy link

johnvo0918 commented Jul 2, 2024

Suffering the same problem here but on a Lenovo Legion Slim 7 15ACH6. reinstalled realtek from lenovo's website, doesn't work.
As soon as I switch to my laptop speakers (realtek) the entire system freezes up and starts to go crazy. After awhile there will be no audio devices to select. Video playback with audio will become choppy and audio will not play.
Update:
You need to uninstall Realtek Audio driver, then uninstall any devices labeled under Realtek i.e Speakers, Microphone, Headphones in the Device Manager list.
Then restart your laptop, when you boot up you won't get devices under realtek anymore, Install your manufacturer's Realtek driver. This will let you start using devices under realtek again. Restart laptop 1 more time. Now you should be able to use realtek without your laptop freezing stuttering while playing anything with audio. (SHOULD because it was still stuttering for me so i had to do the entire process again. will be monitoring.)

Raphire added a commit that referenced this issue Jul 2, 2024
@Raphire
Copy link
Owner

Raphire commented Jul 2, 2024

@johnvo0918

Heya,

Sorry you ran into these issues. I'm glad you managed to fix it after some extensive troubleshooting. Thanks for reporting back with how you managed to get your audio setup working again.

I have preemptively removed Dolby from the apps that this script removes, it's the only thing that - logically - could/should have anything to do with audio related issues.

@wolfieboy09 @johnvo0918 Could you check for me if you have any dolby apps installed now that you have fixed/reinstalled your audio driver packages?

Raphire added a commit that referenced this issue Jul 2, 2024
Additionally:
* Added extra check to Get.ps1 to prevent error if user cancels UAC prompt 
* Removed Dolby from appslist (#78)
@johnvo0918
Copy link

I did reinstall the Dolby app after and have not run the script since. After monitoring realtek has gone haywire again and crashed itself. Trying to look into what is actually causing this.

@Raphire
Copy link
Owner

Raphire commented Jul 21, 2024

@johnvo0918 were you able to fix/identify the issue?

@johnvo0918
Copy link

Nope, thankfully it has been behaving, bad for troubleshooting, great for me 😭

@Raphire
Copy link
Owner

Raphire commented Jul 26, 2024

Nope, thankfully it has been behaving, bad for troubleshooting, great for me 😭

Thanks for getting back. I'm glad the issue seems to be fixed on your end :)

@Raphire
Copy link
Owner

Raphire commented Jul 29, 2024

Closing issue as the issue is fixed for both reporters & no new reports have been made since removing Dolby from appslist.

Feel free to open a new issue if this issue occurs in the future.

@Raphire Raphire closed this as completed Jul 29, 2024
@johnvo0918
Copy link

Hey, back again. Today my laptop booted with no audio devices. I notice that recently my laptop has been stuck in a boot loop ever since running the script. It takes several restarts for it to boot into Windows again. And restarting does not guarantee that audio devices return, only once every few restarts.

@johnvo0918
Copy link

What was the Dolby app that your script removes? The only dolby app I was able to find is Dolby Access https://apps.microsoft.com/detail/9n0866fs04w8
Im trying to do everything that won't make me do a Windows reinstall, I got too much on my C-drive.

@johnvo0918
Copy link

New troubleshooting step because this problem persisted so well that my parsec stopped getting audio from my other PC.

Safe mode -> Device Manager -> Uninstall Realtek

This is to prevent Windows to reinstall realtek immediately as soon as you uninstall realtek, windows does this during normal boot for some stupid reason.
After doing this, my audio is working okay now. Parsec started giving me audio from the host again. Will be monitoring closely.

@Raphire
Copy link
Owner

Raphire commented Aug 5, 2024

What was the Dolby app that your script removes? The only dolby app I was able to find is Dolby Access https://apps.microsoft.com/detail/9n0866fs04w8 Im trying to do everything that won't make me do a Windows reinstall, I got too much on my C-drive.

Dolby Access seems to be the only listed dolby app now, but there's also Dolby Vision and possibly more. The script would've removed all MS Store apps from dolby.

I'm still unsure why removing these apps would cause these driver issues though, as from my experience they're optional apps that can be uninstalled by the user normally without any impact.

I hope that uninstalling the drivers via safe mode has done the trick. Please do report back if you have any updates.

@johnvo0918
Copy link

yeah i went thru the code personally and cannot find anything in there that mentions Audio or anything related to audio drivers. Still scratching my head rn.

@johnvo0918
Copy link

johnvo0918 commented Aug 6, 2024

Back again. It happened again. The audio device just freezes up and crashes. But it came back really fast this time.
The only event viewer thing I can find is this.

image

Before this event it's all warning about how a few services cannot connect with the internet (I can see a few of these on my main PC where i also ran this script but with no audio problems)
image

got a few more via custom view:
image
image
image
this is the first time i was able to catch something in event viewer.
will be monitoring even closer.

@johnvo0918
Copy link

Look what I found. It happened again and I got the same error in event viewer.
image

@Raphire
Copy link
Owner

Raphire commented Aug 15, 2024

Thanks for the update.

The svchost process contains many system processes, it's hard to pinpoint what exactly is causing it.

For reference, you can see all services that run inside the svchost process with this command: Tasklist /SVC

I found some troubleshooting info here: https://techcommunity.microsoft.com/t5/ask-the-performance-team/getting-started-with-svchost-exe-troubleshooting/ba-p/372644

I think it might help to look at method 1 described in the article above to isolate certain processes (such as AudioSrv) to see if that service is the culprit, or that maybe something completely different is causing it.

Additionally if the errorlog of the svchost crash includes a process ID (PID) check if this corresponds with any of the PID's you see when you run the command Tasklist /SVC

@Raphire Raphire reopened this Aug 15, 2024
@johnvo0918
Copy link

okay I mightve found something. The audio device crashing has something to do with the tweaks to the task bar because audio will work fine until I try to change my volume via the task bar. it starts to freeze the task bar, settings is no longer accessible BUT so far pressing on troubleshoot sound problems via right click makes windows reboot the audio services, which then bring audio devices back. No idea why this is happening, still monitoring closely.

@johnvo0918
Copy link

johnvo0918 commented Aug 16, 2024

new error https://i.imgur.com/gR5f16Y.png
I do have oculus installed on this laptop Imma go ahead and disable it to see if I can repeat it.
But I have found a consistent way to force the laptop to crash my audio. literally just spam the volume slider LOL
.
Update: uninstalling it did nothing. i went ahead and fully uninstalled everything audio related. still not fixed.

@johnvo0918
Copy link

tried to run microsoft's recommended troubleshooter:
https://i.imgur.com/FxkFE0A.png

@Raphire
Copy link
Owner

Raphire commented Aug 19, 2024

tried to run microsoft's recommended troubleshooter: https://i.imgur.com/FxkFE0A.png

I think this may be related to the Get Help app not being installed. Microsoft integrated many of the troubleshooters into this app. You can reinstall it here: https://apps.microsoft.com/detail/9pkdzbmv1h3t

@johnvo0918
Copy link

it's been awhile later. I'm still suffering from the issue I have no idea what is causing it. I'm this close to just completely reinstall windows. I can't get the app without the microsoft store btw 💀
thank god i don't daily drive the laptop anymore but this is a problem i will be closely monitoring until i can't take it anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants