Jump to content

El Capitan: Realtek ALC AppleHDA Audio


toleda
 Share

388 posts in this topic

Recommended Posts

I have audio woking but when I open a heavy program like Maya 3D, close it, or when using it I get audio cutted and it jumps or freezes every second.  I have used the computer for average things like browsing and watch movies for several days and audio works fine. But when I start to use Maya or Zbrush it starts to fail. Sometimes even starts to add lot of noise and slowing the speed of the audio.

​Trying to fix it I applied Toledas script http://www.insanelym...pplehda-audio/ Using the I.1) method and does not fix the issue. I don't even know how to describe the problem so I cannot find a fix properly in the forum.

​Hope someone can point me in the right direction because I am having this issue from the beginning of this hackintosh and it's very annoying being watching a video tutorial and have to wait several minutes to come back the audio to work properly.

​My system is:

Asus Rampage V Extreme USB3.1

​CPU i7-6900K 3.2Ghz

​64GB RAM at 2133Mhz

​Audio Realtek 1150

​Thank you very much.

​Have a nice day.

Link to comment
Share on other sites

Yes I think so, I have Intel Power Gadget and Frecuency changes in the CPU.

​How can I be sure or how can I check if I have CPU power management working? Should I disable it?

​Thank you for your help and sorry for my late answer, I have been out.

Link to comment
Share on other sites

Hey, this worked fine, but I'd like to report a problem with audio_cloverALC-120.command.zip.
 
If you choose to inject in Clover, the script tries to inject in config.plist->Devices:Audio:Inject. In my case, the "Inject" key didn't exist, thus the script failed in that part. The script should make sure all the keys exist (and create them if they don't) before it tries to put values in them.

Link to comment
Share on other sites

The installation script is stalling when I run it — both versions 110 and 120.  

 

I was using VoodooHDA, but the sound quality wasn't great, so I'm trying to switch to this method.  I fully removed VoodooHDA and HDAEnabler.  I coped the vanilla AppleHDA.kext from another machine.  I'm using Clover to rename ALZA to HDEF, and SSDT to inject layout-id 1.  When I run the script, it stalls like this for several minutes and never finishes.

File: audio_cloverALC-120.command_v1.0b0
Release Mode
EFI partition is mounted
Boot/Arguments = kext-dev-mode=1 found
Confirm Realtek ALC1150 (y/n): y
Clover Audio ID Injection (y/n): y
Use Audio ID: 1 (y/n): y

Download ALC1150 files ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 23555  100 23555    0     0  29532      0 --:--:-- --:--:-- --:--:-- 29517
Edit config.plist/Devices/Audio/Inject/1
Edit config.plist/SystemParameters/InjectKexts/YES
Download kext patches
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1418  100  1418    0     0   5328      0 --:--:-- --:--:-- --:--:--  5330
Link to comment
Share on other sites

The script should make sure all the keys exist (and create them if they don't) before it tries to put values in them.

It does.  

See Problem Reporting, Post #1; attach all requested files.

  When I run the script, it stalls like this for several minutes and never finishes.

See Problem Reporting, Post #1; attach all requested files

Link to comment
Share on other sites

The script stalls while downloading kext patches.

Attach IOReg

SSDT-HDEF-1 is not correct, remove

See Post #1, 

Unsupported/Non-working Realtek ALC AppleHDA.kext

2. X99/Intel High Definition Audio

Use either config.plist edit or ssdt.

Link to comment
Share on other sites

The SSDT that you told me to remove was injecting the layout-id 1.  Now I've deleted it, and I have config.plist injecting number 1, but it isn't working.  System Info shows ID 0.  Now the script won't run of course, because it says no codec detected.

I'm using the x99 patch for AppleHDAController, and the ALZA > HDEF patch.

toleda troubleshooting 2.zip

Link to comment
Share on other sites

As I said, it does not detect any audio codec, and therefore, the cloverALC script does nothing.  So all the attachments I sent in the last post are still relevant. Here is the kext.

 

I believe the problem is related to the SSDT.  I'm using the one you suggested, SSDT-HDEF-ALZA-1, which is attached in my last post.  And it's working to some extent — ioreg shows the device renamed from ALZA to HDEF.  But the layout-id is not being applied.

Hackintosh:~ elliott$ ioreg -rn HDEF
+-o HDEF@1B  <class IOPCIDevice, id 0x100000487, registered, matched, active, b$
    {
      "assigned-addresses" = <10d8008200000000000013cf0000000000400000>
      "IOInterruptSpecifiers" = (<1600000007000000>,<0400000000000100>)
      "class-code" = <00030400>
      "IODeviceMemory" = (({"address"=3474128896,"length"=16384}))
      "IOPowerManagement" = {"CapabilityFlags"=2,"CurrentPowerState"=2,"ChildPr$
      "subsystem-vendor-id" = <58140000>
      "built-in" = <00>
      "pci-aspm-default" = 0
      "acpi-device" = "IOACPIPlatformDevice is not serializable"
      "IOInterruptControllers" = ("io-apic-0","IOPCIMessagedInterruptController$
      "name" = <"pci8086,8d20">
      "vendor-id" = <86800000>
      "device-id" = <208d0000>
      "acpi-pmcap-offset" = 80
      "IOPCIResourced" = Yes
      "layout-id" = <00000000>
      "compatible" = <"pci1458,a182","pci8086,8d20","pciclass,040300","HDEF">
      "IOPCIExpressLinkCapabilities" = 0
      "acpi-path" = "IOACPIPlane:/_SB/PCI0@0/HDEF@1b0000"
      "subsystem-id" = <82a10000>
      "revision-id" = <05000000>
      "IOPCIExpressLinkStatus" = 0
      "IOPCIExpressCapabilities" = 145
      "pcidebug" = "0:27:0"
      "IOName" = "pci8086,8d20"
      "IOPCIPMCSState" = 0
      "reg" = <00d800000000000000000000000000000000000010d800020000000000000000$
    }

AppleHDA.kext.zip

Link to comment
Share on other sites

Last time I installed the native kext, I used this guide:

https://github.com/toleda/audio_ALC_guides/blob/master/Restore%20native%20AppleHDA%20%5BGuide%5D.pdf

 

Today I followed that guide again, exactly, and got the same 3.6MB file.  Also, my MacBook Pro running yosemite also has that file as 3.6MB.  I think maybe the difference between me and you is just 1024 vs 1000.

Link to comment
Share on other sites

With your SSDT-HDEF-ALZA-1.aml, the layout-id is always zero, so I made some changes.  Attached is my new SSDT-HDEF-ALZA-hack.aml, which does inject layout-id = 1, according to ioreg.  After that, I restored everything back to normal (native AppleHDA, delete realtekALC, remove clover audio patches.  I installed again using cloverALC 120 command.  Now I see the audio devices in System Preferences, but when I hear no sound.  When I try to play a song in iTunes, the playhead freezes at zero, and I see this in system.log:

 

9/15/16 10:18:40.000 PM kernel[0]: Sound assertion in AppleHDAController at line 6444
9/15/16 10:18:40.000 PM kernel[0]: Sound assertion in AppleHDAController at line 6130
9/15/16 10:18:40.000 PM kernel[0]: Sound assertion in AppleHDAEngine at line 10294
9/15/16 10:18:40.000 PM kernel[0]: Sound assertion in AppleHDAController at line 6576
9/15/16 10:18:40.000 PM kernel[0]: Sound assertion in AppleHDAEngine at line 1863
9/15/16 10:18:40.000 PM kernel[0]: Sound assertion in AppleHDAController at line 6649
9/15/16 10:18:40.000 PM kernel[0]: Sound assertion in IOHDAStream at line 384
By the way, my DSDT has been edited to rename H000 to GFX1, and the other SSDT is for power management.
 
Question: If the SSDT is already injecting layout-id, when why does your script set the Clover option to inject audio ID?  This seems redundant, and I'm not sure which one takes priority.

toleda help 5.zip

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...