MBP UEFI WINDOWS SOUND FIXED!!!!


If anyone is still interested I have found the solution for audio on MBP 2011 Windows 10 UEFI installs - it has taken me 4 years to figure out. I was given the answer from a tutorial only adjacently related -here:

https://egpu.io/forums/pc-setup/fix-dsdt-override-to-correct-error-12/

essentially what we knew was that windows didn't 'see' the correct audio devices when booted in pure efi-

The part that was frustrating to me was that many users like myself have lots of UEFI installs on their 2011 MBP and those OS's have no problem 'seeing' the HD audio controller -

So what was windows doing different?

I had messed around with mm commands in a UEFI shell (The shell provided in the rEFIt package) to no avail*

I had tried to pass SETPCI commands from grub into Windows 10- no luck*

A quote from the link above got my brain spinning

"A Windows system's DSDT table root bridge definition (ACPI PNP0A08 or PNP0A03) is usually confined to a reserved 32-bit space (under 4GB) budgeted to be large enough to host the notebook's PCIe devices. A watermark TOLUD value is then set and locked in the system firmware. Windows OS honors the root bridge definition and will allocate PCIe devices within it. macOS ignores the root bridge constraints as too does Linux when booted with the 'pci=noCRS' parameter. Neither of those OS require a DSDT override and can allocate freely in the huge 64-bit PCIe address space"

So Windows 'honors' the root bridge and OSX and linux disregard it --hmmm interesting.

As someone who also deals in hackintoshes I am very aware of DSDT's and how editing them can help get OSX running on home brew PC hardware- I had played around with installing Clover (the UEFI bootloader almost synonymous with Hackintoshes) on USB thumb drives and putting the DSDT from my MBP 2011 in the /Clover/ACPI/Windows folder - still nothing-- I thought that pointing windows to a DSDT would be enough.......

A side note is that there are people who have 'bricked' their real Macs when using clover, I have never had that issue personally (a sub-link in the link above describes such a situation)*

If you follow the guide and make a modified DSDT (one that add 'qwords' to the dwords section) you can test it in two ways-

I used Maciasl to extract and edit my DSDT to add a 'Qword' section - I placed the DSDT in two locations /EFI/Clover/ACPI/Patched [not sure if that one matters] & /EFI/Clover/ACPI/Windows

holding ALT/option during bootup I selected "EFI Boot" from the USB clover and booted into Clover

for the exact Clover configuration send me a message

After booting into windows the sound card was immediately working (this was because I had installed the cirrus logic drivers from bootcamp 4) - the display audio driver in device manager had an exclamation point but I was able to install the display audio driver from intel's driver support for the i7 2470m CPU in this machine-

I also looked at device manager via 'by resources' and saw that a new entry 'Large memory with an address range appeared

And low and behold the address range for the 'large memory section' contained the range for the hd audio controller

I then wanted to see if the method described in the initial link posted above where you force that memory map into the registry and turn on 'test signing' worked --

it did, which allowed me to boot directly into windows without the help of clover --

*NOTE: when I tested the registry method I skipped the first few steps since I already had a modified DSDT- I did need to create the 'C:\dsdt folder and extract the windows binaries to that folder - but I did not use their acpi dump nor compiler (I check for errors and compiled my dsdt in Maciasl in OSX)

I would gladly go more in depth but I doubt there are many more who need this information- just glad to have figured it out without the BIOS emulation of bootcamp- going to test this method on other 'pre 2013' Macs with non complient UEFI bios'

MacBook Pro

Posted on Feb 3, 2019 11:57 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 4, 2020 5:11 PM

-Removed Comment-

305 replies

Jan 31, 2020 6:25 AM in response to Spirit_TY

I would still try KyuR_pt's troubleshooting steps which I will include in the Google doc going forward, if it still acts up I don't mind remote in to helping you with your issue using TeamViewer. I might be able to manually run Valor without running the whole script. I feel though KyUR_pt is right I remember running into a issue with Valor and then I thought it was windows and I wiped it reinstalled it name my user just "Andrew" not "Andrew Howe" now I understand why the issue couldn't be duplicated until now. Great Job! I wouldn't have figured that out because when I connect my Hotmail to my local account it creates "Andre" instead "Andrew Howe". Hmm interesting but let me know when you want me to remote in and help!

Jan 31, 2020 7:00 AM in response to Spirit_TY

How far did you initially get ? Were you able to do an EFI install at all ? Was is just sound not working ? I have my email (or at least did) somewhere in this forum -- I can edit your dsdt and guide you through the next steps -- it really is simpler then you think -- reach out to me on my email and I can help you--- or, like another client did, ship me your laptop and I will do it (though that will cost money) -- I think we can do it over email or video chat etc

Jan 31, 2020 8:19 AM in response to TGIK

Thank you everyone.


@KyuR_pt: I don't think this is the problem. I have since re-formatted 3 times and tried using only a single username. It is still the same result.


@xAndrewH1993x: Thank you for your offer to help. Please let me know your window of availability. I am in a timezone of GMT+1 but will make myself available anytime convenient for you. How can I reach you please? You can reach me via engrty.uj@gmail.com


@TGIK, thank you. I think my issue may be the DSDT since I use MBP Mid 2012. I'll also reach out to know how to edit my DSDT.



Jan 31, 2020 6:59 PM in response to TGIK

That is awesome bro, I would love to see what you have to share! I will support your future projects as long as I'm allowed too. I will continue to show support here about Valor and continue to aid your cause! Believe me though when I say this, I will not step on your toes. I also hope that Valor is not going to be swept under the rug as it took me a lot of unpaid volunteered time to help individuals. I would honestly like to work with you on your personal projects if you are down! Windows 7 UEFI is pretty cool since Microsoft never officially made a ISO of it, super impressed. I would like to learn about the HFS partitions for booting exotic OSs. Current setup of mine is reFind with Prime OS (Android x86 Project), Windows 10 build 1909, Linux Mint, and MacOS Catalina patched by dosdude1. Duel SSDs and no SuperDrive..... So I'm definitely down to learning more from ya! I hope that we can build off of each other's success here from helping people genuinely. What I would love to learn is how to integrate a network card into my machine without sacrificing my SATA ports and still keep Duel SSDs. I've been trying to find a SATA to USB or SATA to ePCI Adapters so I can stick a wireless carrier network card in. I found a way to get Unlimited Hotspot internet from Sprint... now just got to integrate it. Thank you for helping him as well and for the thought of shooting over the DSDT file!

Feb 2, 2020 9:31 AM in response to Spirit_TY

I have been working on that problem for quite a while with varied results (though none actually getting the thunderbolt bridge to be recognized) -- the strangest attempt was doing a BIOS install of windows and looking at how it mapped the memory (since thunderbolt works with CSM layer of bootcamp) and creating a DSDT based on those memory ranges; strangely, even without a qword entry, the sound worked but now there were different devices that windows could not allocate into memory -> The HD3000 graphics, a couple of system devices etc.....what I am attempting now is to study the lspci output from linux to see how it maps the devices into memory and perhaps create a dsdt to reflect that ---I am hoping someone in the linux community can teach me how to create a dsdt extrapolated from the ouptut of lspci --- in the hackintosh world we often create a SSDT (secondary system description table) to get thunderbolt working -- but I don't believe Windows can use a modified SSDT -- so maybe we can crack the nut - hoping to do so


Cheers,


Glad we got it all working for ya

Feb 4, 2020 6:03 AM in response to TGIK

Hey buddy some of this is going over my head again, you are clearly incredibly intelligent! Does this help at all? https://www.insanelymac.com/forum/topic/240435-dsdt-using-gfxutil-to-find-pci-locations/ I honestly don't know what I'm looking for to assist you. I hope some of this information from the forum can be some help like how you came across the other forum that gave you the idea of the sound fix.

Feb 4, 2020 3:01 PM in response to xAndrewH1993x

Humbly flattered sir --- I cannot code in the same way you can in terms of software -- so we all have our strengths --


I will have to post the output in multiple messages due to Apples stupid 5000 character limit;


mbp@mbp-MacBookPro:~$ lspci -v

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)

Subsystem: Apple Inc. 2nd Generation Core Processor Family DRAM Controller

Flags: bus master, fast devsel, latency 0

Capabilities: <access denied>


00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09) (prog-if 00 [Normal decode])

Flags: bus master, fast devsel, latency 0, IRQ 16

Bus: primary=00, secondary=01, subordinate=01, sec-latency=0

Memory behind bridge: a0800000-a08fffff

Capabilities: <access denied>

Kernel driver in use: pcieport

Kernel modules: shpchp


00:01.1 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09) (prog-if 00 [Normal decode])

Flags: bus master, fast devsel, latency 0, IRQ 16

Bus: primary=00, secondary=05, subordinate=9b, sec-latency=0

I/O behind bridge: 00003000-00003fff

Memory behind bridge: a0a00000-a4efffff.

Prefetchable memory behind bridge: 00000000a4f00000-00000000a8efffff

Capabilities: <access denied>

Kernel driver in use: pcieport

Kernel modules: shpchp













Feb 4, 2020 3:06 PM in response to TGIK

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])

Subsystem: Apple Inc. 2nd Generation Core Processor Family Integrated Graphics Controller

Flags: bus master, fast devsel, latency 0, IRQ 44

Memory at a0000000 (64-bit, non-prefetchable) [size=4M]

Memory at 90000000 (64-bit, prefetchable) [size=256M]

I/O ports at 2000 [size=64]

[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]

Capabilities: <access denied>

Kernel driver in use: i915

Kernel modules: i915


00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)

Subsystem: Intel Corporation Apple MacBookPro8,2 [Core i7, 15", 2011]

Flags: bus master, fast devsel, latency 0, IRQ 45

Memory at a0907100 (64-bit, non-prefetchable) [size=16]

Capabilities: <access denied>

Kernel driver in use: mei_me

Kernel modules: mei_me


00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Universal Host Controller #5 (rev 05) (prog-if 00 [UHCI])

Subsystem: Intel Corporation Apple MacBookPro8,2 [Core i7, 15", 2011]

Flags: bus master, medium devsel, latency 0, IRQ 21

I/O ports at 2120 [size=32]

Capabilities: <access denied>

Kernel driver in use: uhci_hcd


00:1a.7 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05) (prog-if 20 [EHCI])

Subsystem: Intel Corporation Server Board S1200BTS / Apple MacBook Pro 8,1/8,2

Flags: bus master, medium devsel, latency 0, IRQ 23

Memory at a0906c00 (32-bit, non-prefetchable) [size=1K]

Capabilities: <access denied>

Kernel driver in use: ehci-pci

Feb 4, 2020 3:13 PM in response to TGIK

00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05)

Subsystem: Intel Corporation Apple MacBookPro8,2 [Core i7, 15", 2011]

Flags: bus master, medium devsel, latency 0

Capabilities: <access denied>

Kernel driver in use: lpc_ich

Kernel modules: lpc_ich


00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05) (prog-if 01 [AHCI 1.0])

Subsystem: Intel Corporation Apple MacBookPro8,2 [Core i7, 15", 2011]

Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 43

I/O ports at 2148 [size=8]

I/O ports at 215c [size=4]

I/O ports at 2140 [size=8]

I/O ports at 2158 [size=4]

I/O ports at 2060 [size=32]

Memory at a0906000 (32-bit, non-prefetchable) [size=2K]

Capabilities: <access denied>

Kernel driver in use: ahci

Kernel modules: ahci


00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)

Subsystem: Intel Corporation Server Board S1200BTS / Apple MacBook Pro 8,1/8,2

Flags: medium devsel, IRQ 18

Memory at a0907000 (64-bit, non-prefetchable) [size=256]

I/O ports at efa0 [size=32]

Kernel driver in use: i801_smbus

Kernel modules: i2c_i801


02:00.0 Ethernet controller: Broadcom Limited NetXtreme BCM57765 Gigabit Ethernet PCIe (rev 10)

Subsystem: Broadcom Limited NetXtreme BCM57765 Gigabit Ethernet PCIe

Flags: bus master, fast devsel, latency 0, IRQ 16

Memory at a0400000 (64-bit, prefetchable) [size=64K]

Memory at a0410000 (64-bit, prefetchable) [size=64K]

Capabilities: <access denied>

Kernel driver in use: tg3

Kernel modules: tg3


Feb 4, 2020 3:18 PM in response to TGIK

02:00.1 SD Host controller: Broadcom Limited BCM57765/57785 SDXC/MMC Card Reader (rev 10) (prog-if 01)

Subsystem: Broadcom Limited BCM57765/57785 SDXC/MMC Card Reader

Flags: bus master, fast devsel, latency 0, IRQ 17

Memory at a0420000 (64-bit, prefetchable) [size=64K]

Capabilities: <access denied>

Kernel driver in use: sdhci-pci

Kernel modules: sdhci_pci


03:00.0 Network controller: Broadcom Limited BCM4331 802.11a/b/g/n (rev 02)

Subsystem: Apple Inc. AirPort Extreme

Flags: bus master, fast devsel, latency 0, IRQ 17

Memory at a0600000 (64-bit, non-prefetchable) [size=16K]

Capabilities: <access denied>

Kernel driver in use: wl

Kernel modules: bcma, wl


04:00.0 FireWire (IEEE 1394): LSI Corporation FW643 [TrueFire] PCIe 1394b Controller (rev 08) (prog-if 10 [OHCI])

Subsystem: LSI Corporation FW643 [TrueFire] PCIe 1394b Controller

Flags: bus master, fast devsel, latency 0, IRQ 42

Memory at a0500000 (64-bit, non-prefetchable) [size=4K]

Capabilities: <access denied>

Kernel driver in use: firewire_ohci

Kernel modules: firewire_ohci


Feb 4, 2020 3:22 PM in response to TGIK

05:00.0 PCI bridge: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010] (prog-if 00 [Normal decode])

Flags: bus master, fast devsel, latency 0, IRQ 24

Bus: primary=05, secondary=06, subordinate=6b, sec-latency=0

Memory behind bridge: a0a00000-a0efffff

Prefetchable memory behind bridge: 00000000a4f00000-00000000a5afffff

Capabilities: <access denied>

Kernel driver in use: pcieport

Kernel modules: shpchp


06:00.0 PCI bridge: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010] (prog-if 00 [Normal decode])

Flags: bus master, fast devsel, latency 0, IRQ 25

Bus: primary=06, secondary=07, subordinate=07, sec-latency=0

Memory behind bridge: a0c00000-a0cfffff

Capabilities: <access denied>

Kernel driver in use: pcieport

Kernel modules: shpchp


06:03.0 PCI bridge: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010] (prog-if 00 [Normal decode])

Physical Slot: 2

Flags: bus master, fast devsel, latency 0, IRQ 16

Bus: primary=06, secondary=08, subordinate=08, sec-latency=0

Memory behind bridge: a0b00000-a0bfffff

Prefetchable memory behind bridge: 00000000a4f00000-00000000a50fffff

Capabilities: <access denied>

Kernel driver in use: pcieport

Kernel modules: shpchp


06:04.0 PCI bridge: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010] (prog-if 00 [Normal decode])

Physical Slot: 3

Flags: bus master, fast devsel, latency 0, IRQ 17

Bus: primary=06, secondary=09, subordinate=39, sec-latency=0

Memory behind bridge: a0d00000-a0dfffff

Prefetchable memory behind bridge: 00000000a5100000-00000000a52fffff

Capabilities: <access denied>

Kernel driver in use: pcieport

Kernel modules: shpchp


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

MBP UEFI WINDOWS SOUND FIXED!!!!

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.