thefiredragon / MacOS-XPS-9500-4K-OpenCore

macOS Big Sur on Dell XPS 9500 year 2020
32 stars 5 forks source link

Headphone Jack fix #10

Open raffaele222 opened 3 years ago

raffaele222 commented 3 years ago

I've just finished installing your EFI, and after changing a few things to get it running on a non-4K XPS 15 I got it almost fully working. One of the only things left to fix is the headphones jack not working (giving corrupt sound.) It gave me the same issue on Catalina and I thought updating os would fix the problem, but it's still present.

Do you also have the same issue or did you manage to find a fix for it?

P.S: I tried using ComboJack but apparently the original version is not compatible with big sur and the modified ones just don't seem to do much

thefiredragon commented 3 years ago

there's a pull request https://github.com/acidanthera/AppleALC/pull/647

Perhaps this will work :) but at moment I don't have this build

raffaele222 commented 3 years ago

Good stuff, hopefully the update goes out soon

Newfiejudd commented 3 years ago

I've just finished installing your EFI, and after changing a few things to get it running on a non-4K XPS 15 I got it almost fully working. One of the only things left to fix is the headphones jack not working (giving corrupt sound.) It gave me the same issue on Catalina and I thought updating os would fix the problem, but it's still present.

Do you also have the same issue or did you manage to find a fix for it?

P.S: I tried using ComboJack but apparently the original version is not compatible with big sur and the modified ones just don't seem to do much

What alterations did you have to make for a non 4k version? Headphone jacks can also be linked to wrong layout ID. On my Razer Blade 15 Advanced I need to utilize layout ID 29 vs 22, 22 would give me massive distortion on my headphone jack. You can verify utilized layout ID's from this site and add the boot args to your Config.plist. Add boot arg. alcid=2? based upon the layout ID supported by the sound card.

https://github.com/acidanthera/AppleALC/wiki/Supported-codecs

raffaele222 commented 3 years ago

I tried adding alcid=23 (for the ALC289) to the boot-args both in this build and the Catalina one but it doesn't work for either unfortunately. I think it's just a matter of waiting for an update to come for AppleALC.

To get it working on a non 4k-panel I swapped the WhateverGreen kext with the one in zachs78 build and used these boot-args: keepsyms=1 agdpmod=vit9696 -igfxmlr -igfxonln=1 -igfxfw=2 -wegnoegpu. Some of these might be useless or redundant, but it boots fine. It also boots without agdpmod=vit9696 but usb c to hdmi/dp won't work unless you add it. I also updated OpenCore, but it should still work without having to update.

Newfiejudd commented 3 years ago

Awesome. Thanks for the Info the XPS arrives next week. So I have the EFI and SSD ready. Hopefully all goes smoothly. 

Cheers

On January 26, 2021 at 5:04 PM, raffaele222 notifications@github.com wrote:

I tried adding alcid=23 (for the ALC289) to the boot-args both in this build and the Catalina one but it doesn't work for either unfortunately. I think it's just a matter of waiting for an update to come for AppleALC.

To get it working on a non 4k-panel I swapped the WhateverGreen kext with the one in zachs78 build and used these boot-args: keepsyms=1 agdpmod=vit9696 -igfxmlr -igfxonln=1 -igfxfw=2 -wegnoegpu. Some of these might be useless or redundant, but it boots fine. It also boots without agdpmod=vit9696 but usb c to hdmi/dp won't work unless you add it. I also updated OpenCore, but it should still work without having to update.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

thefiredragon commented 3 years ago

You said never whatevergreen version don't Work? You should Take Take a look to my boot args with latest whatevergreen. Also try with my patches with and without 4k Pixel clock patches. Newest should work for uhd 630 , iris g7 i had in mind to Run into same issue, before i tried to get running yoga slim 7

Newfiejudd commented 3 years ago

I had my Razer Blade 15 working perfectly. Sleep included. It was a great hack. So hopefully I can get etc XPS 15 9500 doing the same.

raffaele222 commented 3 years ago

I swapped the whatevergreen kext because there was a difference in size, and I thought it was modified. The thing is I changed a bunch of things at once before trying to boot, so it might not even have been necessary

raffaele222 commented 3 years ago

Anyone tried the new AppleALC? I updated it and Lilu and while there's no background noise anymore, the sound is still muffled through the headphone jack. Tried layout id 99, 23 and 11 and none of them seemed to make a difference

raffaele222 commented 3 years ago

Also alcdelay=1000 in the boot-args seems to help remove the background noise with headphones

thefiredragon commented 3 years ago

@raffaele222 thank you