Contribute
Register

[solved] No audio after reboot from Windows (AppleHDA w/ALC 668)

Joined
Nov 25, 2010
Messages
41
Motherboard
Asus G771JM-DH71-CA
CPU
i7-4710HQ
Graphics
GTX 860M - HD4600
Hey,

Hoping someone might be able to shed light on one final issue that is causing me a bit of grief in my Hackingtosh install.

Some info first: Running 10.11.3 on an Asus G771JM, almost everything working beautifully on this system, just got HDMI Audio enabled today (after some serious head scratching) and now just looking to fix this final piece of the puzzle. Have a Realtek ALC668 soundcard in this machine, that is running natively via AppleHDA thanks to AppleHDA Patcher (http://www.insanelymac.com/forum/files/file/496-applehda-patcher/)

The only issue I experience is when booting into OSX from Windows; If I cold boot directly into OSX I have no issues, however, if I cold boot into Windows 10 first, then restart the computer and boot into OSX, my internal laptop speakers will not have any audio output. However, if I plug in headphones or external speakers into the headphone jack, I will have audio. Only when the headphone is unplugged (and sound prefs is using "internal speakers"), I have no audio.

And again, only happens when rebooting from Windows.

I did find this which seems to shed some light on the issue and provides a possible resolution: https://www.******.com/r/hackintosh/comments/397wl1/guide_realtek_alc_8xx_1150_with_native_applehda/
(scroll down to "Audio doesn't work after rebooting from Windows" section).

So I believe I need to make use of CodecCommander with some custom commands to get it to enable properly after rebooting into osx from windows, but the examples provided are for a Realtek ALC 8xx & 1150 and not the ALC 668.

Going to try my best to figure out how to make this work, but I have no idea how to use CodecCommand or hda-verb, so if anyone out there has some helpful tips or suggestions, I'm all ears.

Thanks!
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
186,691
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hey,

Hoping someone might be able to shed light on one final issue that is causing me a bit of grief in my Hackingtosh install.

Some info first: Running 10.11.3 on an Asus G771JM, almost everything working beautifully on this system, just got HDMI Audio enabled today (after some serious head scratching) and now just looking to fix this final piece of the puzzle. Have a Realtek ALC668 soundcard in this machine, that is running natively via AppleHDA thanks to AppleHDA Patcher (http://www.insanelymac.com/forum/files/file/496-applehda-patcher/)

The only issue I experience is when booting into OSX from Windows; If I cold boot directly into OSX I have no issues, however, if I cold boot into Windows 10 first, then restart the computer and boot into OSX, my internal laptop speakers will not have any audio output. However, if I plug in headphones or external speakers into the headphone jack, I will have audio. Only when the headphone is unplugged (and sound prefs is using "internal speakers"), I have no audio.

And again, only happens when rebooting from Windows.

I did find this which seems to shed some light on the issue and provides a possible resolution: https://www.******.com/r/hackintosh/comments/397wl1/guide_realtek_alc_8xx_1150_with_native_applehda/
(scroll down to "Audio doesn't work after rebooting from Windows" section).

So I believe I need to make use of CodecCommander with some custom commands to get it to enable properly after rebooting into osx from windows, but the examples provided are for a Realtek ALC 8xx & 1150 and not the ALC 668.

Going to try my best to figure out how to make this work, but I have no idea how to use CodecCommand or hda-verb, so if anyone out there has some helpful tips or suggestions, I'm all ears.

Thanks!

Try config.plist/Devices/Audio/ResetHDA=true

For CodecCommander and hda-verb, study the scripts (*.sh) in the CodecCommander repo. You will need to also read the Intel HDA spec.
 
Joined
Nov 25, 2010
Messages
41
Motherboard
Asus G771JM-DH71-CA
CPU
i7-4710HQ
Graphics
GTX 860M - HD4600
Already had config.plist/Devices/Audio/ResetHDA=true; Didn't resolve issue.

But managed to find a fix!
http://www.tonymacx86.com/el-capita...lc668-no-sound-after-reboot-windows-10-a.html

Using CodecCommander and the following custom command:

Code:
<dict>
       <key>Command</key>
       <data>
       AgUABw==
       </data>
       <key>Comment</key>
       <string>0x20 SET_COEF_INDEX 0x07</string>
       <key>On Init</key>
       <true/>
       <key>On Sleep</key>
       <true/>
       <key>On Wake</key>
       <true/>
</dict>
<dict>
       <key>Command</key>
       <data>
       AgQPgA==
       </data>
       <key>Comment</key>
       <string>0x20 SET_PROC_COEF 0x0F80</string>
       <key>On Init</key>
       <true/>
       <key>On Sleep</key>
       <false/>
       <key>On Wake</key>
       <true/>
</dict>
 
Last edited:

RehabMan

Moderator
Joined
May 3, 2012
Messages
186,691
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Already had config.plist/Devices/Audio/ResetHDA=true; Didn't resolve issue.

But managed to find a fix!
http://www.tonymacx86.com/el-capita...lc668-no-sound-after-reboot-windows-10-a.html

Using CodecCommander and the following custom command:

Code:
<dict>
       <key>Command</key>
       <data>
       AgUABw==
       </data>
       <key>Comment</key>
       <string>0x20 SET_COEF_INDEX 0x07</string>
       <key>On Init</key>
       <true/>
       <key>On Sleep</key>
       <true/>
       <key>On Wake</key>
       <true/>
</dict>
<dict>
       <key>Command</key>
       <data>
       AgQPgA==
       </data>
       <key>Comment</key>
       <string>0x20 SET_PROC_COEF 0x0F80</string>
       <key>On Init</key>
       <true/>
       <key>On Sleep</key>
       <false/>
       <key>On Wake</key>
       <true/>
</dict>

Note: SSDT-ALC668.dsl added to the CodecCommander project...

https://github.com/RehabMan/EAPD-Codec-Commander/commit/2f03e9d51a70c68642cec020d3afe54bd2a6385e
 
Joined
May 15, 2011
Messages
26
Motherboard
Alienware 17 R1
CPU
Intel Core i7 4940MX
Graphics
nVidia GTX 1070 8GB
Mac
  1. MacBook Pro
Mobile Phone
  1. Android

RehabMan

Moderator
Joined
May 3, 2012
Messages
186,691
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
My Alienware 17 still having this issue when booting from restart on Windows, I have tried with Codec Commander but it does not work (I have installed on Clover/Kext/Other/...
Is there any way to solve it?
Note: My Audio is: ALC668

No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the tool mentioned in the FAQ, that way it is less likely you'll omit something.
 
Joined
May 15, 2011
Messages
26
Motherboard
Alienware 17 R1
CPU
Intel Core i7 4940MX
Graphics
nVidia GTX 1070 8GB
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
You weee right!

I found the way to fix it by reading.

Note: I add in the HDEF the ALC668 fix and it works!!!
 
Joined
Jan 22, 2020
Messages
106
Motherboard
AORUS Z390 Master
CPU
i9-9900K
Graphics
RX 6900 XT
Classic Mac
  1. Power Mac
Mobile Phone
  1. iOS
I have the same problem with the ALC 1220 VB on the AORUS Z390 Master.

This does not work, where is the error?

Screen Shot 2021-04-11 at 01.01.30.png
 
Last edited:
Joined
Mar 3, 2021
Messages
44
Motherboard
Z390 AORUS Master
CPU
i9-9900k
Graphics
RX 580
Same issue Aorus Z390 Master ALC 1220-VB.
 
Top