Contribute
Register

An iDiot's Guide To Lilu and its Plug-ins

Joined
Dec 3, 2018
Messages
121
Motherboard
ASUS H370-I Gaming ITX
CPU
i5-8600K
Graphics
RX 580 + UHD630
Mac
MacBook Pro
Mobile Phone
iOS
With my setup I decided to enable my IGPU so I setup a headless mode But I noticed I've lost my audio.

IGPU = disabled
Audio IGPUoff.png

IGPU = enabled.

Audio IGPUon.png

What do I need to do next? TIA
 
Joined
Dec 3, 2018
Messages
121
Motherboard
ASUS H370-I Gaming ITX
CPU
i5-8600K
Graphics
RX 580 + UHD630
Mac
MacBook Pro
Mobile Phone
iOS
Thats how its setup and works fully when igpu is disabled in the bios. As soon as i enable it, I lose all sound.

It also seems that other users with this board using IGPU only have no sound too. Could be a conflict somewhere?

Update:

Started from scratch and followed the guide more closely.

Removed my HDAS to HDEF as its already listed But with it and my IGPU disabled I have full audio. Followed the rest of the guide and it looks like an issue with HPET. Cant find any settings in my bios and even after patching my DSDT, still no joy.

Ive attached my debug report, if someone would be so kind to tell me what's going on exactly.
 

Attachments

Last edited:

jaymonkey

Moderator
Joined
Aug 27, 2011
Messages
3,769
Motherboard
ASRock-Z97 EX6
CPU
i7-4790K OC @ 4.8GHz
Graphics
Vega 64LC + HD4600
Mac
MacBook Air, MacBook Pro
Mobile Phone
Android, iOS
Removed my HDAS to HDEF as its already listed But with it and my IGPU disabled I have full audio. Followed the rest of the guide and it looks like an issue with HPET. Cant find any settings in my bios and even after patching my DSDT, still no joy.
@djashjones,

ioreg shows that AppleALC is loading / initialising.

Are you sure that layout 7 is correct for your Codec ?
Try setting "layout" as Device Property using Method 2 in AppleALC section of the guide.

Cheers
Jay
 
Joined
Dec 3, 2018
Messages
121
Motherboard
ASUS H370-I Gaming ITX
CPU
i5-8600K
Graphics
RX 580 + UHD630
Mac
MacBook Pro
Mobile Phone
iOS
I tried all the layouts ages ago and 7 was the best. Also read elsewhere that 7 is for the S1220A codec.

Just restore a time machine back as I've lost audio even with my IGPU disabled now, so god knows what's going on?

So now, I've enabled my IGPU (I would like a headless config anyway). Even thou in IOReg I have a HDEF, "alc-layout-id" is not visible unless I add "HDAS to HDEF" in patches.

Using Method 2
Screenshot 2019-01-15 at 14.03.45.png

Then

Code:
kextstat | grep 'Lilu\|AppleALC\|AppleHDA'
I get

Code:
17    3 0xffffff7f810ed000 0x22000    0x22000    as.vit9696.Lilu (1.3.1) 2BA44B2C-289E-39B7-A92B-C28291D5FC26 <8 6 5 3 2 1>
18    0 0xffffff7f8110f000 0xdf000    0xdf000    as.vit9696.AppleALC (1.3.3) B60FCBAF-6BC2-36EF-A1E6-D5BE2863C35B <17 13 8 6 5 3 2 1>
Patched my DSDT
Code:
17    3 0xffffff7f810ed000 0x22000    0x22000    as.vit9696.Lilu (1.3.1) 2BA44B2C-289E-39B7-A92B-C28291D5FC26 <8 6 5 3 2 1>
18    0 0xffffff7f8110f000 0xdf000    0xdf000    as.vit9696.AppleALC (1.3.3) B60FCBAF-6BC2-36EF-A1E6-D5BE2863C35B <17 13 8 6 5 3 2 1>
121    0 0xffffff7f831d2000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (282.10) 70256EC9-AF38-31BD-A3C5-9C0E30B64AA3 <120 100 42 13 8 7 6 5 3 1>
Still no sound (apart from my monitor)
Screenshot 2019-01-15 at 14.20.10.png
 
Last edited:
Joined
Dec 3, 2018
Messages
121
Motherboard
ASUS H370-I Gaming ITX
CPU
i5-8600K
Graphics
RX 580 + UHD630
Mac
MacBook Pro
Mobile Phone
iOS
As a last ditched attempt last night. I updated AppleALC and Lilu to the latest versions and Voila, it's all working now.

AppleALC V.1.3.4
Lilu V1.3.1

Code:
   17    3 0xffffff7f810ed000 0x22000    0x22000    as.vit9696.Lilu (1.3.1) 2BA44B2C-289E-39B7-A92B-C28291D5FC26 <8 6 5 3 2 1>
18    0 0xffffff7f8110f000 0xea000    0xea000    as.vit9696.AppleALC (1.3.4) 5A1678E9-EEB8-3646-9244-5B589288D960 <17 13 8 6 5 3 2 1>
121    1 0xffffff7f831dd000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (282.10) 70256EC9-AF38-31BD-A3C5-9C0E30B64AA3 <120 89 86 13 8 7 6 5 3 1>
153    0 0xffffff7f85c3e000 0xb7000    0xb7000    com.apple.driver.AppleHDA (282.10) B2208DA8-8CD9-36D8-BD59-C6D9A5379585 <152 121 120 107 89 86 7 6 5 3 1>
155    0 0xffffff7f85cf5000 0x2000     0x2000     com.apple.driver.AppleHDAHardwareConfigDriver (282.10) C4F674A0-5828-3D97-82BF-A81C8B8BDDBA <5 3>
Thanks very much for your help. I can report this success on my build for others.

Although it seems that headless mode is working for me as I have hardware accerlation but in the frambuffer info its showing blank for the model(s) and imac 18.2 is the closest for my config. Does it matter that its blank?
 
Last edited:

jaymonkey

Moderator
Joined
Aug 27, 2011
Messages
3,769
Motherboard
ASRock-Z97 EX6
CPU
i7-4790K OC @ 4.8GHz
Graphics
Vega 64LC + HD4600
Mac
MacBook Air, MacBook Pro
Mobile Phone
Android, iOS
As a last ditched attempt last night. I updated AppleALC and Lilu to the latest versions and Voila, it's all working now.
y build for others.

Although it seems that headless mode is working for me as I have hardware accerlation but in the frambuffer info its showing blank for the model(s) and imac 18.2 is the closest for my config. Does it matter that its blank?

@djashjones,

Yes version 1.3.0 of Lilu had a few issues and I think its taken a while for the plug-in's to catch up with version 1.3.1

Happy to read that all is working now.

It's not a problem that FB-Patcher (soon to be called Hackintool) does not show a Model type for some PlatformID's .. if you take a look at post #2 of this thread and find the headless PlatformID your using it will most likely show the same as FB-Patcher uses the same database.

Cheers
Jay
 
Last edited:

jaymonkey

Moderator
Joined
Aug 27, 2011
Messages
3,769
Motherboard
ASRock-Z97 EX6
CPU
i7-4790K OC @ 4.8GHz
Graphics
Vega 64LC + HD4600
Mac
MacBook Air, MacBook Pro
Mobile Phone
Android, iOS
I have a HDEF, "alc-layout-id" is not visible unless I add "HDAS to HDEF" in patches.

As a last ditched attempt last night. I updated AppleALC and Lilu to the latest versions and Voila, it's all working now.

@djashjones,

Is it still necessary for you to use the "HDAS to HDEF" patch in Clover ?

Just curious ...

Cheers
Jay
 
Joined
Dec 3, 2018
Messages
121
Motherboard
ASUS H370-I Gaming ITX
CPU
i5-8600K
Graphics
RX 580 + UHD630
Mac
MacBook Pro
Mobile Phone
iOS
Yes although I had HDEF listed "alc-layout-id" was not present until I used "HDAS to HDEF"
 

jaymonkey

Moderator
Joined
Aug 27, 2011
Messages
3,769
Motherboard
ASRock-Z97 EX6
CPU
i7-4790K OC @ 4.8GHz
Graphics
Vega 64LC + HD4600
Mac
MacBook Air, MacBook Pro
Mobile Phone
Android, iOS
Yes although I had HDEF listed "alc-layout-id" was not present until I used "HDAS to HDEF"

@djashjones,

Thanks for confirming this .. i suspected that some systems may still need the Clover ACPI rename even though Lilu/AppleALC has the code to do it itself ... its probably related the HDMI audio on the IGPU.

I'll update the notes in the guide accordingly.

Cheers
Jay
 
Joined
Dec 3, 2018
Messages
121
Motherboard
ASUS H370-I Gaming ITX
CPU
i5-8600K
Graphics
RX 580 + UHD630
Mac
MacBook Pro
Mobile Phone
iOS
Funny as I tried to confirm this last might. I disabled the rename, cold reboot and the alc-layout-id was still here. I could of swore blind this was not the case. I wonder if its because Ive updated AppleALC & Lilu? I know i was using 1.3.3 for the appleALC and for lilu whatever version a week before christmas. I could try to roll back if you wish?
 
Top