Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not work on X299 Motherboard #116

Open
BJY1991 opened this issue Jul 26, 2017 · 61 comments
Open

Not work on X299 Motherboard #116

BJY1991 opened this issue Jul 26, 2017 · 61 comments

Comments

@BJY1991
Copy link

BJY1991 commented Jul 26, 2017

Not work on X299 Motherboard need new kext patch with AppleHDAController

@toleda
Copy link
Owner

toleda commented Jul 26, 2017

Expected. Attach IOReg and acpi tables.

@BJY1991
Copy link
Author

BJY1991 commented Jul 27, 2017

here it is
ACPI.zip

X299.ioreg.zip

@BJY1991
Copy link
Author

BJY1991 commented Jul 27, 2017

use voodooHDA i find out CAVS is HDEF

@toleda
Copy link
Owner

toleda commented Jul 27, 2017

Install attached ssdt, reply with new IOReg.
ssdt_hdef-1-x299-cavs.zip

@BJY1991
Copy link
Author

BJY1991 commented Jul 28, 2017

SSSDT has one mistake PCI0 should be PC00
Here is IOReg after apply cloverALC
System can find output but no sound come out
X299 HDEF_cloverALC Applyed.ioreg.zip

@BJY1991
Copy link
Author

BJY1991 commented Jul 28, 2017

I have tryed use clover kexts patch AppleHDAController 70a2 to f0a2 also not work

@toleda
Copy link
Owner

toleda commented Jul 28, 2017

70a2 is not correct. See https://github.com/toleda/audio_CloverALC/blob/master/config-audio_cloverALC-x299.plist.zip:

AppleHDAController (remove for 10.13, KP likely)
Controller patch: config-audio_cloverALC-x299.plist/KernelAndKextPatches/KextsToPatch/Item 0

ACPI: CAVS > HDEF (One or the other, try both separately)

  1. DSDT patch: config-audio_cloverALC-x299.plist/ACPI/DSDT/Patches/Item 0
  2. SSDT-HDEF-CAVS-1: https://github.com/toleda/audio_ALCInjection/blob/master/ssdt_hdef/ssdt_hdef-1-x299-cavs.zip

Reply with new IOReg and edited config.plist

@BJY1991
Copy link
Author

BJY1991 commented Jul 29, 2017

It Works !!! and I use SSDT inject Audio ID
config.plist.zip
X299 Audio Works.zip

@KGP
Copy link

KGP commented Aug 21, 2017

@toleda your KextToPatch entry and aml above do not work for me on the ASUS Prime X299 Deluxe under 10.12.6.... Which Audio ID should I inject? What to do in case of 10.13? Is the KextToPatch entry different for 10.13? By the way I use VoodooHDA.kext-2.9.0d10.zip... I hope, that's the correct version, right?

@toleda
Copy link
Owner

toleda commented Aug 21, 2017

See README/Problem Reporting, attach requested files.
Only Audio ID: 1 applies to your system.
10.13: supported. No patch differences.
I don't use Voodoo, no idea.

@KGP
Copy link

KGP commented Aug 21, 2017

Ahhh now I understand! Of course this thread is about cloverALC! May I ask you 2 more questions. Which cloverALC distribution should I take in my particular case for the ASUS Prime X299 Deluxe? What about HDMI/DP support for Nvidia and AMD?

@toleda
Copy link
Owner

toleda commented Aug 21, 2017

10.12 and 10.13:
ALC1220: https://github.com/toleda/audio_CloverALC/blob/master/audio_cloverALC-130.command.zip
X299: manually add: https://github.com/toleda/audio_CloverALC/blob/master/config-audio_cloverALC-x299.plist.zip

HDMI audio repo: https://github.com/toleda/audio_CloverHDMI
HDMI audio: https://github.com/toleda/audio_CloverHDMI/blob/master/audio_cloverHDMI-130.command.zip

Note: 1. Pascal: DP audio works, HDMI audio does not; use DP2HDMI adapter
2. Polaris/Vega: DP/HDMI audio requires 10.13

@KGP
Copy link

KGP commented Aug 22, 2017

@BJY1991
Copy link
Author

BJY1991 commented Aug 22, 2017

today i update 10.13 dp7 and it not work again

@toleda
Copy link
Owner

toleda commented Aug 22, 2017

@KGP, x299-cavs is required.

@toleda
Copy link
Owner

toleda commented Aug 22, 2017

@BJY1991
See README/Problem Reporting, attach requested files.

@KGP
Copy link

KGP commented Aug 22, 2017

@toleda, successful installation of cloverALC with audio ID 1 and following your instructions! However, still no Audio under 10.13 DP7... Any solution?

@KGP
Copy link

KGP commented Aug 22, 2017

@toleda, same story under 10.12.6.. Successful installation with few errors but no audio! I attach the 10.13 DP7 and 10.12.6 cloverALC logs...

CloverALC-10.13-DP7-install-log.rtf.zip

cloverALC-10.12.6-install-log.rtf.zip

@toleda
Copy link
Owner

toleda commented Aug 22, 2017

Attach IORegs and config.plists for both.

@KGP
Copy link

KGP commented Aug 22, 2017

@toleda , Another update!!

Analogue output and DP output via the Radeon RX 560 HDMI and LG Ultrawide on the ASUS Prime X299 Deluxe works with audio_cloverALC-120_v1.0f1.command under 10.12.6 and config-audio_cloverALC-x299.plist entries without aml-file... Installation with Audio ID 2, confirm 200 series board (yes), allow beta driver installation (yes)... however the sound is a bit distorted and interrupted from time to time..

if I use the aml file in addition, I permanently get repeating black screen and sound interruiptions...

Will go back now to your proposed approach and send you the IOReg and config.plist for 10.12.6 first. I am not with 10.13 DP7 yet... step by step

sound

@KGP
Copy link

KGP commented Aug 22, 2017

@toleda, Ok.. here the requested files the definitely not working audio approach you suggested above...

Note we are speaking about 10.12

ASUS-Prime-X299-Deluxe.ioreg.zip

IORegistryExplorer.app.zip

config.plist.zip

please note that I erroneously uploaded before my complete config plist with all my confidentials... I just changed the uploaded file.... please do not distribute the former version of this file... Thanks!

@KGP
Copy link

KGP commented Aug 22, 2017

@toleda please note that I erroneously uploaded before above my complete config.plist with all my confidentials... I just changed the uploaded file.... please do not distribute the former version of this file... Thanks!

@KGP
Copy link

KGP commented Aug 22, 2017

@toleda and here are the IOReg and config.plist for 10.13 DP7 after implementing your not working proposal...

config.plist.zip

ASUS-Prime-X299-Deluxe-10.13-DP7.ioreg.zip

@toleda
Copy link
Owner

toleda commented Aug 22, 2017

Both IORegs are corrupt. Replace with https://github.com/toleda/audio_ALCInjection/blob/master/IORegistryExplorer_v2.1.zip
What .ami gave you the boot problem?

@KGP
Copy link

KGP commented Aug 22, 2017

@toleda ami? your aml is causing problems during boot... why should my IORegs be corrupt? Above, I attached the correct IOREG.APP to properly read the files... You did not see? I use IORegistryExplorer 3.0.2 (14)... once more attached below!

IORegistryExplorer.app.zip

@toleda
Copy link
Owner

toleda commented Aug 22, 2017

.aml (.ami typo): "I use the aml file in addition, I permanently get repeating black screen and sound interruptions... " What .aml? Attach.

I cannot open your IORegs; Xcode opens the file as a property list, IOReg says corrupt. Without IORegs, no idea what is wrong. Suggestion, use older version IOReg linked. OK?

@KGP
Copy link

KGP commented Aug 22, 2017

this aml https://github.com/toleda/audio_ALCInjection/blob/master/ssdt_hdef/ssdt_hdef-1-x299-cavs.zip is causing problems in combination with audio_cloverALC-120_v1.0f1.command when using audio output via display board... There are no problems during boot ....

o.k. give me 30 min... I'll redo everything for your proposed audio setup solution with IOReg 2.1

@toleda
Copy link
Owner

toleda commented Aug 22, 2017

2 CAVS fixes:

  1. config.plist/ACPI/DSDT/Patches/Item 0 (Rename CAVS to HDEF)
  2. SSDT-HDEF-CAVS-1.aml

Both modify the native dsdt; Install one or the other, not both.
For Intel HDMI audio, use ssdt. The clover patch disables Intel HDMI audio.

@KGP
Copy link

KGP commented Aug 22, 2017

Should I now choose 1.) config.plist/ACPI/DSDT/Patches/Item 0 (Rename CAVS to HDEF) or 2.) https://github.com/toleda/audio_ALCInjection/blob/master/ssdt_hdef/ssdt_hdef-1-x299-cavs.zip

I will skip 2.) then, ok?

Can you read this IOREG file now for 10.12.6?

Asus-Prime-X299-Deluxe-10.12.6- IOREG-2.1.ioreg.zip

config-10.12.6.plist.zip

And I can use cloverALC for DP? Where can I find a working SSDT for Intel HDMI audio?

@toleda
Copy link
Owner

toleda commented Aug 22, 2017

Yes.
Yes.
Remove HDAEnabler2.kext, deprecated long ago.
Reply with new files.

@toleda
Copy link
Owner

toleda commented Aug 22, 2017

Ignored "Remove HDAEnabler2.kext..." above
Remove kext, restart, reply with new files.

@KGP
Copy link

KGP commented Aug 22, 2017

@toleda, I have HDAEnabler1.kext and HDAEnabler2.kext in /S/L/E/

Remove both?

@toleda
Copy link
Owner

toleda commented Aug 22, 2017

one is a big problem, 2 is a disaster; remove all.

@KGP
Copy link

KGP commented Aug 22, 2017

ok now without ssdt-def-1-x299-cavs.aml and without HDAEnabler1.kext and HDAEnabler2.kext

I did not reinstall cloverALC

config-10.1.2.6.plist.zip

Asus-X299-10.12.6.ioreg.zip

@toleda
Copy link
Owner

toleda commented Aug 22, 2017

IOReg shows another enabler, find and remove all. Restart, rely with new files.

@KGP
Copy link

KGP commented Aug 22, 2017

Which one? I just have the ApplePlatformEnabler.kext left in /S/L/E... The best would be a clean install of the entire system... but I would loose all my installed codes and data... :-( tremendous work to redo everything...

When I look to IOReg I see once more the ApplePlatformEnabler, but also an IOPlatfromEnabler and an AGPMEnabler... Can I simply remove all the three?

Appart from the ApplePlatformEnabler, I do not find them on my system... so what to do?

@KGP
Copy link

KGP commented Aug 23, 2017

@toleda,

O.K. everything under control...

1.) I noticed that after removing HDAEnabler1.kext and HDAEnabler2.kext, DP-Audio is already working.. I can select in system preferences/audio my Monitor as output source.. However there are still no entries for analogue audio! Same status by the way under 10.13 DP7! DP Audio perfectly fine! Excellent Quality! No issues at all with DP audio...

2.) AGPMEnabler, IOPlatfromEnabler and ApplePlatformEnabler are loaded by the ssdt.aml of Pike Alpha, which is absolutely mandatory for running XCPM.. I am afraid I can't live without these enablers! And nobody else using native XCPM on X299 will be able to do! We have to find a solution to live with these enablers!

However, for now I removed the ssdt.aml for /EFI/Clover/ACPI/patched (so I am running my rig without XCPM) and all Enablers are gone in the IOREG...

Please see the attached files.

ASUS-X299-10.12.6.ioreg.zip

config-10.12.6.plist.zip

However, there is still no analogue output!

By the way, I performed in addition a clean install of macOS Sierra, just to be at the save side... however, same status and issues...

Next step?

dp-audio

@toleda
Copy link
Owner

toleda commented Aug 23, 2017

The audio enabler us gone. The 3 other enablers are native Apple, have nothing to do with audio and should never be removed; reinstall.. The reinstall of Sierra removed 1220 codec specific audio files. Run cloverALC to restore 1220 audio. Restart and reply with new files.

@KGP
Copy link

KGP commented Aug 23, 2017

@toleda , but of course I reinstalled audio_CloverALC-130_v0.1.command after the clean installation!

What do you mean by Run cloverALC to restore 1220 audio??

By the way, the IOREG is clean of Enablers despite the 3 apple native Enablers also on my regular system on both 10.12.6 and 10.13 DP7... The cloverALC status is totally the same on all systems like in case of the clean install... DP Audio.. nothing else...

Once more attached the cloverALC install log for 10.13 DP7... which is basically the same for 10.12.6 and 10.12.6 clean install ...

cloverALC-installlog-10.13-DP7.rtf.zip

A short but detailed summary of how I exactly perform the cloverALC Installation on the ASUS Prime X299 Deluxe you can find under the AUDIO section of my detailed Skylake-X/X299 macOS High Sierra 10.13 Desktop Guide: https://www.tonymacx86.com/threads/skylake-x-x299-the-ultimate-customac-pro-live-the-future-now-on-macos-10-13-high-sierra.229353/ I am just writing up...

Although in reality the only difference is that I install cloverALC already with the DSDT patch entry included in the config.plist... I hope that makes no difference...

@toleda
Copy link
Owner

toleda commented Aug 23, 2017

Of course., https://www.tonymacx86.com/threads/multibeast-audio-failure-solved.220942/

See https://github.com/toleda/audio_CloverALC /README/F. Problem Reporting, attach all request files.

@KGP
Copy link

KGP commented Aug 23, 2017

@toleda, so basically to execute the https://github.com/toleda/audio_ALCInjection/blob/master/audio_codecdetect.command.zip ??

Thats's all? Also after the removal of cloverALC?

@toleda
Copy link
Owner

toleda commented Aug 23, 2017

codecdetect is 1 of 10+ specific requests. Attach all requested files.

@KGP
Copy link

KGP commented Aug 23, 2017

@toleda, so...

A.) Installation, 3.) not successfully verified

B.) Terminal

I did not apply this part... I have to do it in addition? I guess it is just optional to A.), right?

C.) Requirements:

1.) 10.13 is not part of the requirements

2a.)Bootflag: -v -npci=0x2000 ; kext-dev-mode=1 should be obsolete with actual clover version
2b.) Booter Config 0x28
2c.) SIP set to 0x67
2d.) DSDT patch only Rename CAVS to HDEF

3.) Native AppleHDA , ok

4.) Audio Codec see comment on Tools

5.) Audio fixes i. and ii.... do you refer to https://github.com/toleda/audio_CloverALC/blob/master/config-audio_cloverALC-x299.plist.zip

Do I need the cloverALC patched AppleHDA also in /EFI/Clover/kexts/ ?

Tools, 4.)

https://github.com/toleda/audio_ALCInjection/blob/master/audio_codecdetect.command.zip does not work under 10.13, see below...

[iSPOR-S-X299:~] kgp% /Users/kgp/Desktop/audio_codecdetect_v2.2.command ; exit;
File: audio_codecdetect.command_v2.2
OS X Version: 10.13 is not supported
No system files were changed
To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...
logout

Did I miss something else?

@KGP
Copy link

KGP commented Aug 23, 2017

@toleda,

I'm slightly going mad....

I tried it now with and without the patched AppleHDA.kext in /EFI/Clover/kexts/10.12/

but when I execute the audio_codecdetect_v2.2.command subsequently to the cloverALC installation, I get the following error message on 10.12.6:


File: audio_codecdetect.command_v2.2
HDMI audio codec(s)
AMD: 0x1002aa01
Onboard audio codec
Realtek: 0x10ec1168
Name: Realtek ALC1220
Audio ID: Not supported
Current Audio ID: 1 (valid: 1, 2, or 3)
FIX, try:
1. https://github.com/toleda/audio_ALCInjection/tree/master/ssdt_hdef/
ssdt_hdef-1-with_ioreg/hdef.zip (or -2 or -3, select View Raw)
2. CLOVER/config.plist/Devices/Audio/Inject/1 (or 2 or 3)
No system files were changed
To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]


although my Audio ID is 1.. See attached config-10.12.6.plist.. I also attach once more the the corresponding IOREG. The link in 1.) is broken and 2.) is done anyway...

and under 10.13 the error message ofaudio_codecdetect_v2.2.command is simply the following:


File: audio_codecdetect.command_v2.2
OS X Version: 10.13 is not supported
No system files were changed
To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...
logout


So how to restore 10.12 or 10.13 audio then? Sorry for all this spamming... but it is really not easy to follow our guidelines and to get that thing working...

config-10-12-6.plist.zip

ASUS-X299-10.12.6.ioreg.zip

@toleda
Copy link
Owner

toleda commented Aug 23, 2017

Missing (same boot as files above; if not, attach new config and ioreg);
Terminal/Shell/File/Export Text As. . ./audio_cloverALC-130...command?
S/L/E/AppleHDA.kext?
clover boot log?
EFI/CLOVER/ACPI/Patched/ssdt.aml (all ssdts)?

"with and without the patched AppleHDA.kext in /EFI/Clover/kexts/10.12/"
What does that mean?

@KGP
Copy link

KGP commented Aug 23, 2017

I mean once the AppleHDA.kext is patched, do I have to also copy the patched AppleHDA.kext in /S/L/E/ to /EFI/Clover/kexts/ or not? I think I read it at some place in your guides but I do not find this comment again currently. Please clarify...

I will support you asap with the requested information...

One question:

clover boot log with: bdmesg > log.txt ?

@toleda
Copy link
Owner

toleda commented Aug 23, 2017

AppleHDA.kext works in S/L/E only. Remove all copies wherever they are. Restart.

Clover boot log:

  1. bdmesg, yes
  2. config.plist/Boot/Debug/YES, file in EFI/CLOVER/misc
  3. DPCIManager/Misc/Boot log

@KGP
Copy link

KGP commented Aug 23, 2017

@toleda,

o.k., here you go ....

I took one boot log before and one after the installation of cloverALC

clover-debug-before-installation.log.zip

clover-debug after-installation.log.zip

Find also attached the config.plist and IOREG after installation...

config-10.12.16.plist.zip

ASUS-X299-10.12.6.ioreg.zip

Else I attach you also the hopefully patched AppleHDA.kext

Patched-AppleHDA.kext.zip

the audio_cloverALC-130...command.txt log

audio_cloverALC-130...command.txt.zip

the audio-codecdetect_v2.2.command.txt log

audio-codecdetect_v2.2.command.txt.zip

as well as the nvme_patch.aml, which is the only aml at present.... All this information taken with the clean install 10.12.6. system, where for testing I do not use at present the ssdt.aml at all.

I anyway also attach the latter aml just for the sake of completeness... And especially because I will have to use it anyway... no options

ssdt.aml.zip

further conflicting kexts could be Lilu.kext and Whatevergreen.kext, which I need for the graphics card....

I hope thats all the information you need...

I am quite destroyed already :-) working like crazy on that problem for more than 2 days...

@toleda
Copy link
Owner

toleda commented Aug 23, 2017

3 native enabler kexts still missing.
There a 7 xcpm kernel patches not showing in config.plist, where are they?
How are you enabling HDMI audio on the RX 560?

There is an error in the cloverALC log:
Print: Entry, ":KernelAndKextPatches:KextsToPatch:2 dict", Does Not Exist

Run cloverALC, export the Terminal output and restart
Reply with output, config.plist and ioreg.

@KGP
Copy link

KGP commented Aug 23, 2017

@toleda,

I attach now the complete config.plist I use for booting... I deleted before 2 KextToPatch entries and 7 KernelToPatcch entries before uploading because of privacy reasons.

config-10.12.6.plist.zip

I am an idiot! I just detected that I still had the realtekALC.kext in /EFI/clover/kexts/10.12 on my test drive... I did not realise when setting up the EFI for the drive. My bad! Anyway its removal did not change anything on the results...

I now also implemented again the ssdt.aml in /EFI/clover/ACPI/patched/ for booting

Please find below the new boot.log

debug.log.zip

The error in the clover log is still there

audio_cloverALC-130_v0.1.command.txt.zip

Is it correct the I implement the Name: AppleHDAController Find: 3d70a1 Replace: 3df0a2 10.12.6+x299-ALC-Onboard-Audio patch after the AppleHDA.kext patching of cloverALC? I experienced that during the cloverALC, the latter KextToPatch entry is eliminated anyway when implemented before the patching procedure. I hope that this onset is correct, and the error in the cloverALC log its not due to a wrong application of the latter KextToPatch entry

Below the IOREG file

ASUS-X299-10-12-6.ioreg.zip

and the audio_codecdetect_v2.2.command.txt log, which did of course not change at all..

Well, conflicting kexts in /EFI/clover/kexts/10.12/ could still be

Whatevergreen.kext attached below (for graphics cards)

WhateverGreen.kext.zip

or the Lilu.kext also attached below

Lilu.kext.zip

which is required for the Whatevergreen.kext

I currently face strong graphics distortions on the DP. Permanent change from screen and black screen ....

@toleda
Copy link
Owner

toleda commented Aug 24, 2017

realtekALC.kext is required; works in /12.6, /other, /L/E or /S/L/E
script error is informational, not fatal; resulting config.plist is correct
Luli and Whatever... have no effect on audio
Do not know what is preventing audio devices; to uninstall, see https://github.com/toleda/audio_ALC_guides/blob/master/Realtek%20ALC%20AppleHDA.pdf /Uninstall Realtek ALC AppleHDA/1. cloverALC
Suggest AppleALC.kext, https://www.tonymacx86.com/threads/audio-realtek-alc-applehda-guide.143757/ III. Additional AppleHDA Realtek Methods/1. vit9696/AppleALC.

@KGP
Copy link

KGP commented Aug 24, 2017

@toleda,

cloverALC uninstall link you provided is broken:

https://github.com/toleda/audio_ALC_guides/blob/master/Realtek%20ALC%20AppleHDA.pdf/Uninstall

Can you please check and reply with the proper link?

Thanks!

@toleda
Copy link
Owner

toleda commented Aug 24, 2017

Apologies, link fixed.

@KGP
Copy link

KGP commented Aug 25, 2017

@toleda

above uninstall link still not working .... Can you send me the appropriate link please ?

Anyway I guess I have to remove:

EFI/CLOVER/kexts/10.12/realtekALC.kext
config.plist/KernelAndKextPatches/KextsToPatch/AppleHDA (4x)
S/L/E/AppleHDA.kext, install native/AppleHDA.kext

That's all I guess, right?

@toleda
Copy link
Owner

toleda commented Aug 25, 2017

Link: https://github.com/toleda/audio_ALC_guides/blob/master/Realtek%20ALC%20AppleHDA.pdf

Also, remove:
config.plist/KernelAndKextPatches/KextsToPatch/AppleHDAController

@xxrobdogxx
Copy link

Has there been any updates on the 1120A for the Asus X299 boards? Using CAVS to HDEF and your X299 patch enables HDEF under IOReg however still no audio devices showing up in MacOS

@toleda
Copy link
Owner

toleda commented Oct 9, 2017

See README/Problem Reporting. Attach requested files.

@xxrobdogxx
Copy link

Here is the ioreg
X299 iMac.zip
ACPI tables here too
origin.zip

@toleda
Copy link
Owner

toleda commented Oct 9, 2017

impossible to help with the information provided
all files are requested because the problem shows in one of the files.
attach config.plist, boot log and the other requested files

@Abhay-Channe-zz
Copy link

Abhay-Channe-zz commented Jun 8, 2018

So I am done with Win10, HighSierra & Ubuntu on my Asus Rampage VI Extreme (X299) with i7-7800x. After following @KGP 's guide, the booting was not working. I tried following the instructions to the 'T' but failed. Next, I did was, used 10.13 installation guide from tonymacx86, but copied the EFI folder from KGP's instructions. And Voila!!!
Now I have two remaining issues -
1 - Audio not working yet. I tried the instruction for ALC from KGP's guide. no result. Any guidance would be appreciated.
2 - WiFi does now work, and from KGP's work, it seems it require additional h/w adapter. Do we see the software implementation of its fix in near future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants