e-senturk / G531GD-GT-GU-Hackintosh

OsX build for G531-GT
22 stars 8 forks source link

How to tune/control the maximum volume of AppleALC (Codec - ALC294) to avoid blow up/noise/popping/destroy the speaker ? #13

Closed trankimlonghai closed 3 years ago

trankimlonghai commented 3 years ago

Days ago I took my G531GU to Asus service center in my area to have my speaker repaired. I don't know if this happens randomly or because AppleALC with layout id=13 boosted my speaker too much.

If I'm not wrong, some users (Windows users) also have problem with speaker because driver Sonic Studio 3 in Windows causes the issue, so they have to bring their laptop to service center to replace a new speaker.

You also have this problem, don't you ?

I have just reinstalled entire Hackintosh and Windows since this afternoon (because my laptop is repaired/replace with new speaker)

e-senturk commented 3 years ago

Pop noise is not a hardware bug actually its happening because of windows drivers. Reason is very clear our device has weird hdmi configuration and realtek sound powermanagement and intel sound power management is conficting. Its way worse in linux. For fixing this issue you need to fully shutdown pc and start again. In my laptop it only happening after sleep. It can be fixed with windows registery like time fix but I am still trying to find best solution. I am currently testing one and it seems working I ll share that solution when I become certain about the fix.

e-senturk commented 3 years ago

But I am not certain it is the same issue in my case it happens after sleep and it happens if I wait for few second without playing anything. It happens at the start of the audio with one pop sound.

e-senturk commented 3 years ago

If it happens without full shutdown it can be seen in other oses as well

trankimlonghai commented 3 years ago

Ah... maybe you get me wrong or I described not easy to understand. I mean somehow drivers in Windows let the speaker active beyond its limit then cause the speaker to blow/cracked sound. And yes recently I've just have my treble/bass (don't know extracly) part(s) of the speaker destroyed, so I wonder if because AppleALC kext with layout-id 13 is not tuned perfectly and has the limitation of maximum volume about 80 - 100%, not let the speaker works beyond that level. Sorry I don't know how to give detail about these clearly.

But I have to admit these Rog Strix gaming models of Asus kind of... bad, if I had knew this sooner I would have chosen DELL...

trankimlonghai commented 3 years ago

Ah anyway can you help me convert to hex layout id = 28 ? I find this layout id=28 is used for G531GD, I want to test it :''D

e-senturk commented 3 years ago

https://www.rapidtables.com/convert/number/decimal-to-hex.html

e-senturk commented 3 years ago

Asus made our HDMI port directly connected with Nvidia GPU like desktops. We can't use HDMI without Nvidia drivers in any os(int windows or linux) but our device has enabled intel HDMI audio. Its really weird choice made by Asus. Sound issue mostly happening because of that. You can't manually change max level or min level on applealc. If you are realy into it you can try VoodooHDA but its less usable than AppleALC

trankimlonghai commented 3 years ago

Asus made our HDMI port directly connected with Nvidia GPU like desktops. We can't use HDMI without Nvidia drivers in any os(int windows or linux) but our device has enabled intel HDMI audio. Its really weird choice made by Asus. Sound issue mostly happening because of that. You can't manually change max level or min level on applealc. If you are realy into it you can try VoodooHDA but its less usable than AppleALC

Ah I see... nope I will not use VoodooHDA :D but as you mentioned, change max level or min in AppleALC kext, you mean ? if so, so I have to open in info plist inside package contents of the kext, I guess right? I just want to make a safety level for speaker to work without being blowed up beyond its limitation.

e-senturk commented 3 years ago

I mean "You can't change". Apple alc is not a full kext it just tricks apple's sound drivers to activate our sound

trankimlonghai commented 3 years ago

I mean "You can't change"

Sorry I misread that, so I think I have to be careful not to tune up my volume to maximum 😢😢😢 I will close the issue, thanks!