Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

18 minutes ago, arsradu said:

Yeah, looks like NVCAP Maker doesn't work anymore with Mojave. Did you try generating a new config with Clover Configurator and copy-paste the NVCAP from there onto your own config? I'm still looking for another way to get that NVCAP.

 

Wait, no, it does work.. I guess it just doesn't work with that ROM, for some reason. This is what it should look like.

 

.297603637_Screenshot2019-03-15at21_37_54.thumb.png.3fb4289914c287c68656b6960f01c00c.png

 

By the way, which manufacturer is your GTX 650? Mine is made by MSi.

 

Asus.

 

yeah, i tried NVCap Maker in Sierra and its still same, so, yeah, its related to my rom.

let me try darwindumper.

 

tnx,

Edited by ea dd
Link to comment
Share on other sites

8 minutes ago, ea dd said:

 

Asus.

 

yeah, i tried NVCap Maker in Sierra and its still same, so, yeah, its related to my rom.

let me try darwindumper.

 

tnx,

 

Ok... One more question: are you using two displays connected to that GTX 650? Could you, please, try unplugging one and leaving only the HDMI one for testing?

 

Also, can you connect the same HDMI cable to another monitor/TV?

Edited by arsradu
Link to comment
Share on other sites

17 minutes ago, Rodion2010 said:

about NVcapMaker....use command line with no GUI


nvcap c0000.bin
Copyright 2008 Arti Itra version 1.4
If you find this program useful you
may consider a PayPal donation to:
arti.macelite@gmail.com

0400000000000100020000000000000700000000

nvcap.zip

 

it was related to my rom file created by GPU-Z in windows. command line nvcap is same too, producing nothing.

So i tried Darwin Dumper to extract vbios rom file and NVCap Maker works ok with it and i have got nvcap string now.

 

 

 

36 minutes ago, arsradu said:

 

Ok... One more question: are you using two displays connected to that GTX 650? Could you, please, try unplugging one and leaving only the HDMI one for testing?

 

Also, can you connect the same HDMI cable to another monitor/TV?

 

yes. both displays are connected. so i should try with only TV. 

anyway, i managed to create nvcap string with NVCap Maker using vbios extracted from Darwin Dumper.

 

nvcap.png.561a2093ada60dd074a19f903b7c4cb8.png

 

put it into Graphics->NVCAP and rebooted. still no audio from TV.

 

now let me try TV alone connected. 

 

tnx,

Edited by ea dd
Link to comment
Share on other sites

2 minutes ago, ea dd said:

 

it was related to my rom file created by GPU-Z in windows. command line nvcap is same too, producing nothing.

So i tried Darwin Dumper to extract vbios rom file and NVCap Maker works ok with it and i have got nvcap string now.

 

 

yes. both displays are connected. so i should try with only TV. 

anyway, i managed to create nvcap string with NVCap Maker using vbios extracted from Darwin Dumper.

 

 

put it into Graphics->NVCAP and rebooted. still no audio from TV.

 

now let me try TV alone connected. 

 

tnx,

 

Glad you managed to get your nvcap. And yeah, usually command line or app...does the same thing. Actually, I think the app actually runs the same command in the background. So, if it works with one, it should work with the other, as well. And vice-versa. Anyway, that NVCAP will be useful later. Not sure it will make a different here for audio, but in my experience, it does help with port mapping, especially for multi-monitor setups.

 

But, I read somewhere that MacOS doesn't support multi-monitor for HDMI audio. So..that's why I suggested trying with only one display at a time. Plus, it reduces the points where this could fail. The less variables to this equation, the better. At least for now. We can add stuff later on, if needed.

Link to comment
Share on other sites

14 minutes ago, arsradu said:

 

Glad you managed to get your nvcap. And yeah, usually command line or app...does the same thing. Actually, I think the app actually runs the same command in the background. So, if it works with one, it should work with the other, as well. And vice-versa. Anyway, that NVCAP will be useful later. Not sure it will make a different here for audio, but in my experience, it does help with port mapping, especially for multi-monitor setups.

 

But, I read somewhere that MacOS doesn't support multi-monitor for HDMI audio. So..that's why I suggested trying with only one display at a time. Plus, it reduces the points where this could fail. The less variables to this equation, the better. At least for now. We can add stuff later on, if needed.

 

only TV setup does not work too. no HTDMI audio.

 

i tried 3-4 different config.plist including nvcap, your suggested ones, my old one etc...

 

tnx,

Link to comment
Share on other sites

18 hours ago, arsradu said:

 

Apparently I've got the same issue with the newer versions, as well. How was your experience so far? I'm going back one step now, to AppleALC 1.3.4 and Lilu 1.3.3. We'll see how that goes.

I'm on AppleALC 1.3.4 and Lilu 1.3.1, as they were issued in December. Now, which one is responsible, latest Lilu or AppleALC? Anyway, there's a bug somewhere...

Edited by brousseau6933
  • Like 1
Link to comment
Share on other sites

11 hours ago, ea dd said:

 

only TV setup does not work too. no HTDMI audio.

 

i tried 3-4 different config.plist including nvcap, your suggested ones, my old one etc...

 

tnx,

 

Yeah.. then I don't know. And without access to my GTX 650 I can't really test anything on my own.

 

However, I stumbled upon this kext online. Give it a try. Maybe it works for you.

 

HDMIAudio.kext_.zip

Link to comment
Share on other sites

3 hours ago, arsradu said:

 

Yeah.. then I don't know. And without access to my GTX 650 I can't really test anything on my own.

 

However, I stumbled upon this kext online. Give it a try. Maybe it works for you.

 

HDMIAudio.kext_.zip

 

thank you.

 

does it mean it will conflict with WhatEverGreen.kext?

anyway, i'll try it alongside with or without WEG.

 

tnx,

Link to comment
Share on other sites

4 minutes ago, ea dd said:

 

thank you.

 

does it mean it will conflict with WhatEverGreen.kext?

anyway, i'll try it alongside with or without WEG.

 

tnx,

 

I don't know... but WEG doesn't seem to help so far. So...as you said, you could try both scenarios. I personally never tried it, since, with my GTX 650 I didn't really need HDMI Audio (I still don't), and with the RX 580, apparently I have it by default, so I don't need the HDMIAudio.kext anyway. So...yeah, you'll just have to try and see for yourself.

Link to comment
Share on other sites

34 minutes ago, arsradu said:

 

I don't know... but WEG doesn't seem to help so far. So...as you said, you could try both scenarios. I personally never tried it, since, with my GTX 650 I didn't really need HDMI Audio (I still don't), and with the RX 580, apparently I have it by default, so I don't need the HDMIAudio.kext anyway. So...yeah, you'll just have to try and see for yourself.

 

tried both WEG and HDMIAudio kext, tried only HDMIAudio kext, no success.

HDMIAudio kext have not get loaded.

 

but just noticed that in IORegistry Explorer, GFX0 is gone when i remove WEG, so i guess WEG's job is doing that change "whatever thing" to GFX0 like you did in clover config.plist.

 

io.png.4b4b762a84d90172dfa63d3d4da3bdb2.png

 

GFX0 thing is cosmetic, i suspect, because my graphic card is working just as well as before removing WEG.

 

tnx,

  

Link to comment
Share on other sites

On 11/18/2018 at 4:43 AM, Andres ZeroCross said:

 

Use this config.plist,, remove your old config.plist and replace with this ones and reboot. Post the result and your IROEG Output too

config.plist

Hi I also have the Dell G7 with ALC256 however for some reason I tried that config and leaves me not even with ext audio. My main issue right now with clean AppleALC and CodecCommander both to /L/E/ is that built in mic doesn’t work and when headphones are plugged I get audio and no distortion noise however headphones mic doesn’t work either.

i also wonder why when I plug headphones I can’t seem to find internal speakers as output device so I can switch output device without having to disconnect headphones.

Here is my debug

 

 

Edit: I am using the ALC256 ssdt and just noticed that if I place CodecCommander in /S/L/E/ internal mic works fine but headphones are not even recognized.

debug_13640.zip

Edited by Darkrai1012
Link to comment
Share on other sites

On 3/16/2019 at 5:41 AM, brousseau6933 said:

I'm on AppleALC 1.3.4 and Lilu 1.3.1, as they were issued in December. Now, which one is responsible, latest Lilu or AppleALC? Anyway, there's a bug somewhere...

 

Well, if we have the same issue with an older Lilu (such as 1.3.3) and newest AppleALC (such as 1.3.5 or 1.3.6)...my guess is that it's probably a bug with AppleALC. Since we already tested newest Lilu and newest AppleALC and they have the same issue. If we don't, then it's probably Lilu. And so far, I did not encounter this issue with Lilu 1.3.3 and AppleALC 1.3.4.

Link to comment
Share on other sites

On 3/16/2019 at 11:56 AM, Darkrai1012 said:

Hi I also have the Dell G7 with ALC256 however for some reason I tried that config and leaves me not even with ext audio. My main issue right now with clean AppleALC and CodecCommander both to /L/E/ is that built in mic doesn’t work and when headphones are plugged I get audio and no distortion noise however headphones mic doesn’t work either.

i also wonder why when I plug headphones I can’t seem to find internal speakers as output device so I can switch output device without having to disconnect headphones.

Here is my debug

 

 

Edit: I am using the ALC256 ssdt and just noticed that if I place CodecCommander in /S/L/E/ internal mic works fine but headphones are not even recognized.

debug_13640.zip

I also have the ALC256 on the Dell Inspiron 7567 and with talking with @insanelyDeepak, he mentioned the headset mic issue is related to proper COEF values are not being set when you plug in a headset. This is causing the Input device to stay on Internal Microphone. There is a workaround using Combojack with Verbstub.kext, but the issue I have is it is not very streamlined and I randomly will get static sound through the headphones, similar to the sound you hear when you don't use CodecCommander with SSDT-ALC256.aml.

 

@insanelyDeepak did mention he will take a look at getting COEF working, but he is very busy right now and I can definitely imagine how much work this would be.

 

Hope that explains a little about the issue.

Edited by Andrw0380
Link to comment
Share on other sites

On 3/11/2019 at 11:30 PM, Andres ZeroCross said:

codec_dump.sh.zip

Can your run this script with and without codec commander??? And export each output here.

Hey buddy, I used your latest applealc and layout-id 22. As a result, the output of the headset is invalid. When the headset is inserted, the external amplifier still has sound. There's only noise in the headphones. My machine is also xps13 9370, alc299.

Link to comment
Share on other sites

I had everything working under High Sierra (even the mic on my headphones), however since Mojave my headphone jack is not recognised at all, my mahine is HP Probook 440 g5 and the layout id I'm using is 3, the codec is CX8200. I was unable the run the command from the 1st post as the file is no longer available (it gives me 404). I see that the AppleALC is getting regular updates for specific models and codecs, so I figured I ask you for help. 

codec_dump.txt

Edited by jonny33
Link to comment
Share on other sites

On 3/23/2019 at 10:36 AM, nqseo said:

Hey buddy, I used your latest applealc and layout-id 22. As a result, the output of the headset is invalid. When the headset is inserted, the external amplifier still has sound. There's only noise in the headphones. My machine is also xps13 9370, alc299.

Upload your codec_dump.txt

Link to comment
Share on other sites

Hello everyone,

 

First of all, I started hackintoshing my Lenovo C530 Desktop about a month ago, so I'm not so experienced in this, if you want something you'll have to be more explicit about what do I have to do to provide it.

I have almost everything working now (except bluetooth and partially audio)

I heard about AppleALC and decided to give it a try (used VoodooHDA but the audio quality seems a little poor)

I have a special Audio Codec, Realtek ALC233, but the Vendor says something else: Vendor Id: 0x10ec0235 (ALC235 or ALC233?)

And from what I've found about these codecs is that they are made for mobile platforms (Laptops which have only 2 ports - one in one out), and my Desktop has 3 ports: one in back panel (think it's combo, and headphone and microphone in the front panel)

 

After installing AppleALC and trying all the layouts made for ALC233, only the 2 front jacks are working, the rear jack is not working at all (Installed Lilu, AppleALC, CodecCommander)

I want to mention that if I insert/remove a jack in the rear panel with headphones connected, the sound from the front panel is more amplified and the volume become significantly louder (I believe it's something to do with CodecCommander?)

 

Attached you can find my config.plist for debugging reasons and the codec_dump.txt from Ubuntu

Does someone have the time to explain me step by step what to do to enable the rear jack panel, please?

 

I have looked at the Info.plist from AppleALC.kext and found my current using layout at array no. 42, but I don't know what to insert there, hoping someone will help me here

I also see people screenshooting the IORegEx at HDEF entry, so attached you can find a screenshot of that too, but I don't know how to read things there

 

Thank you so much,

Andrei

 

config.plist

Screen Shot 2019-03-24 at 20.39.32.png

codec_dump_ubuntu.txt

Edited by arcanandrei
Uploaded wrong codec_dump
Link to comment
Share on other sites

On 3/1/2019 at 1:02 AM, DoZe said:

Hi :0)

 

This is my dump with latest Clover (4893).

 

Well, when i dump via Ubuntu , i have a CX8200 codec. But this is the first time i obtain "Unknown".

 

I can confirm in Zbook15uG4, The chip IS CX7700.

 

PS : Winrar is the latest (5.71)

 

Hope this can help.

 

Regards, Ray.

 

 

15uG4HDACodecDumpClover4893.rar

15uG4Doze.ioreg

 

Link to comment
Share on other sites

HP EliteDesk 800 G1 Mini with Realtek 221.

 

Everytime i try to use AppleALC i got:

kextd stall[0], (60s): 'IOHDACodecFunction'

 

It's booting the system for 10 minutes, and yet still not working (even when it boots after those 10 minutes, i can't see any audio device).

 

Latest Lilu, latest AppleALC, Injected with 11 and 15 (found two sources on which to use):

- Added ALC221 layout-id 15 for HP ELITE DESK 800 G1 by MacPeet (https://github.com/acidanthera/AppleALC/releases/tag/1.3.5)

- Realtek ALC221 layout 11 (https://github.com/acidanthera/AppleALC/wiki/Supported-codecs)

 

I can get HDMI/DP audio work easily, because i use supported HD4600, but i don't want that. I got my PC plugged directly into stereo amplifier using JACK->RCA connection, i don't care about HDMI sound.

 

Is this even AppleALC problem? It occurs only when i put the kext in L/E. Without AppleALC system is booting in literally 20s (without audio obviously, but everything else is working).

 

System is pretty much new and fresh.

 

Latest Clover

Latest Lilu

Latest WhateverGreen

Latest AppleALC with Injection on 11 and 15 layouts 

 

 

IMG_20190324_222500.jpg

Edited by sthEn
Link to comment
Share on other sites

×
×
  • Create New...