Jump to content

OpenCore General Discussion


dgsga
8,759 posts in this topic

Recommended Posts

On 2/19/2023 at 10:54 PM, Stefanalmare said:

Ventura beta 13.3 killed "enable-backlight-registers-fix" on DeviceProperties (same -igfxblr on Boot argument).
My Dell Vostro 5490 (i5-10210u) after update, is acting like without this Whatevergreen proprieties. Very dim light screen on boot and after some time backlight restore to normal.
Anybody else? Solutions?

 

Ventura 13.3 RC fix it.

Edited by Stefanalmare
  • Like 2
  • Thanks 1
Link to comment
Share on other sites

  • 2 weeks later...

Seems like the OC ExternalDiskIcons quirk/AppleAHCIPort patch no longer works in 13.3 on my system.  Despite booting with latest OC 0.9.1 that includes @PMheart's commit edb0419, my internal SATA HDD appeared as orange external drives in 13.3 vs OK in 13.2.1...

 

Spoiler

2081480759_13.3SATAExternalPhysicalDisk.thumb.png.2b14c65bfe98a7d0a4ef2b9d949aa2c6.png

 

890178258_13.2.1SATAInternalPhysicalDisk.thumb.png.f79bb97b685016e326863659391c2bc9.png

 

Relevant patches successfully applied according to boot log ...

 

Spoiler
127:794 00:102 OC: Kernel patcher result 4 for kernel (Disable Library Validation Enforcement) - Success
127:896 00:101 OC: Kernel patcher skips kernel (SurPlus v1 - PART 1 of 2 - Patch read_erandom (inlined in _early_random)) patch at 5 due to version 200400 <= 220400 <= 210100
127:998 00:102 OC: Kernel patcher skips kernel (SurPlus v1 - PART 2 of 2 - Patch register_and_init_prng) patch at 6 due to version 200400 <= 220400 <= 210100
128:131 00:132 OCAK: 64-bit Reroute kern.hv_vmm_present patch (1) replace count - 1
128:233 00:101 OC: Kernel patcher result 7 for kernel (Reroute kern.hv_vmm_present patch (1)) - Success
128:334 00:101 OC: Kernel patcher skips kernel (Reroute kern.hv_vmm_present patch (2) Legacy) patch at 8 due to version 200400 <= 220400 <= 219999
128:453 00:119 OCAK: 64-bit Reroute kern.hv_vmm_present patch (2) Ventura replace count - 1
128:553 00:100 OC: Kernel patcher result 9 for kernel (Reroute kern.hv_vmm_present patch (2) Ventura) - Success
129:268 00:714 OCAK: Failed to pk find com.apple.driver.AppleIntelCPUPowerManagement - Not Found
129:380 00:111 OCAK: [OK] Skipping AppleCpuPmCfgLock patch on kernel version 220400
129:480 00:100 OCAK: Patching invalid size E000 with 2ED8000 for com.apple.driver.AppleAHCIPort
129:580 00:099 OCAK: 64-bit IOAHCIPort replace count - 1
129:681 00:101 OCAK: [OK] Patch success com.apple.driver.AppleAHCIPort
129:787 00:105 OCAK: Patching invalid size 17000 with 18A4000 for com.apple.iokit.IOAHCIBlockStorage
129:887 00:100 OCAK: 64-bit IOAHCIBlockStorage trim 13.3+ part 1 replace count - 1
129:988 00:101 OCAK: [OK] Patch success 13.3+ com.apple.iokit.IOAHCIBlockStorage part 1
130:090 00:101 OCAK: 64-bit IOAHCIBlockStorage trim 13.3+ part 2 replace count - 1
130:191 00:101 OCAK: [OK] Patch success 13.3+ com.apple.iokit.IOAHCIBlockStorage part 2
130:294 00:103 OCAK: Patching invalid size 2FFE with 2812000 for com.apple.driver.AppleSMBIOS
130:394 00:099 OCAK: 64-bit CustomSmbiosGuid replace count - 1
130:991 00:596 OCAK: [OK] SMBIOS Patch success
131:102 00:111 OCAK: Patching invalid size 77FF1 with 2F6F000 for com.apple.driver.AppleACPIPlatform
131:204 00:101 OCAK: 64-bit CustomSmbiosGuid replace count - 1
131:303 00:099 OCAK: [OK] SMBIOS Patch success
131:406 00:103 OCAK: Patching invalid size 5FF4 with 284E000 for com.apple.driver.AppleRTC
131:509 00:102 OC: Prelinked patcher result 0 for com.apple.driver.AppleRTC (Disable RTC wake scheduling) - Success
131:610 00:100 OC: Prelinked patcher result 1 for com.apple.driver.AppleRTC (Disable RTC checksum update on poweroff) - Success
131:790 00:180 OCAK: 64-bit ALPM IO Error AppleAHCIPort replace count - 1
131:891 00:101 OC: Prelinked patcher result 2 for com.apple.driver.AppleAHCIPort (ALPM IO Error AppleAHCIPort) - Success
132:000 00:108 OCAK: Patching invalid size 190000 with E38000 for com.apple.filesystems.apfs
132:101 00:101 OC: Prelinked patcher result 3 for com.apple.filesystems.apfs (Force FileVault on Broken Seal) - Success
132:204 00:102 OCAK: Patching invalid size 33FFA with 28EE000 for com.apple.driver.AppleMobileFileIntegrity
132:803 00:598 OCAK: 64-bit Disable _csr_check() in _vnode_check_signature replace count - 1
132:915 00:112 OC: Prelinked patcher result 10 for com.apple.driver.AppleMobileFileIntegrity (Disable _csr_check() in _vnode_check_signature) - Success
133:080 00:164 OCAK: Local relocs 689 on FFFFFF80042CD000

 

 

I also noticed that the boot & shutdown processes were spammed with AHCI errors owing to the presence of my DVD-RW drive (described in this post and @J Lamp's post).  These went away if I disconnected the drive.  Hopefully someone smarter than me can devise an OC patch to prevent these AHCI error messages appearing in 13.3+.

Edited by fusion71au
Added screenshots
  • Like 3
Link to comment
Share on other sites

6 hours ago, fusion71au said:

Seems like the OC ExternalDiskIcons quirk/AppleAHCIPort patch no longer works in 13.3 on my system. 

 

6 hours ago, fusion71au said:

I also noticed that the boot & shutdown processes were spammed with AHCI errors owing to the presence of my DVD-RW drive (described in this post and @J Lamp's post). 

Sorry to know you're having some niggles on your system, I am not having any internal/External identity problem (Orange Icon) as all disks are identified correctly albeit our two systems are of different chipset.

The External disk on my system is connected via a USB adapter that I plug and unplug as needed. This holds all my bought programs plus a few handy bits and pieces.

But to test the DVD-RW glitch, I have a unit lying around so decided to hook it up and see if I could induce the glitches you described. No ACHI errors at boot up or shutdown and boot times are as normal approx 15 to 20 seconds.

I wish I could offer a clear explanation, unfortunately I am lost as to why this is happening on your rig hope you find a solution though. Good luck.

Spoiler

1180994037_Screenshot2023-04-05at07_06_35.thumb.png.67bf9f2b984cbb65a563a60f0ca6980d.png

 

  • Like 4
  • Thanks 1
Link to comment
Share on other sites

Orange disk icon appeared due to a bug in SATA controller firmware. It can't be corrected.

But we can patch the driver "External" -> "Internal" string inside  or just replace orange icon by metallic one.

  • Like 1
Link to comment
Share on other sites

@fusion71au Hi I've had think about your orange Icon (Internal/External Disk) glitch. It may be a bit far fetch and clutching at straws but did you at any time alter or made an entry into the Info.plist of the NVMe.kext?

The reason I came up with this assumption, I was trying to solve the 'Unknown Connection' in 'Disk Utility' for my M.2 drives and made a few alterations to the NVMe.kext Info.plist to correct it and got the result you described (see attached) with some of my disks reading as External which is wrong.

Spoiler

2138241072_Screenshot2023-04-06at00_41_36.png.9e656e2d84ee57e157ce1ae07147ebeb.png

 

Link to comment
Share on other sites

Thanks guys, for all your inputs.  

 

The orange disk icons issue is merely cosmetic and TBH I am not too fussed about it.  The main annoyance is the boot slowdown and AHCI error spamming due, I assume, to some incompatibility of my old DVD-RW drive with the new AHCI drivers in 13.3+.  This probably won't affect all DVD drives or SATA controllers, but I am hoping that maybe an OC patch can suppress error logging (funnily enough, I can still play movies in 13.3 on my DVD drive).

 

16 hours ago, Slice said:

Orange disk icon appeared due to a bug in SATA controller firmware. It can't be corrected.

But we can patch the driver "External" -> "Internal" string inside  or just replace orange icon by metallic one.

 

I have read that there is a bug in Gigabyte's BIOS for my ancient P55A motherboard that is the main cause of the orange icons.  Nevertheless, enabling the External Icons patch for AppleAHCIPort.kext in Clover or OC quirk worked (changing the "External" string to "Internal". string) in older macOS up to 13.2.1 but not 13.3 for my system.

 

The manual custom disk icon method still works (copy/pasting the Internal.icns file from IOStorageFamily.kext/Contents/Resources in Finder-->creates hidden ".VolumeIcon.icns" file on root of volume) - 

Spoiler

2144081919_CustomDiskIcons.thumb.png.e66c8a2d7a1692856cb9ad850f6026b7.png

 

 

9 hours ago, eSaF said:

@fusion71au Hi I've had think about your orange Icon (Internal/External Disk) glitch. It may be a bit far fetch and clutching at straws but did you at any time alter or made an entry into the Info.plist of the NVMe.kext?

The reason I came up with this assumption, I was trying to solve the 'Unknown Connection' in 'Disk Utility' for my M.2 drives and made a few alterations to the NVMe.kext Info.plist to correct it and got the result you described (see attached) with some of my disks reading as External which is wrong.

  Reveal hidden contents

2138241072_Screenshot2023-04-06at00_41_36.png.9e656e2d84ee57e157ce1ae07147ebeb.png

 

 

Besides root patching with OCLP 0.6.2 for non-metal AMD Terascale 2 graphics, I have not modified any kexts (including NVMe.kext) manually.

  • Like 4
Link to comment
Share on other sites

Hope this is the right place for this.

I am working on the "cosmetic" side on my Dell Latitude 3410, GUI & Boot Chime.

I cannot for the life of me get the boot chime to work.

I have the resources folder and the sounds in the audio folder.

I believe config is correct, just get no startup chime.

Archive.zip

Link to comment
Share on other sites

1 hour ago, SavageAUS said:

Hope this is the right place for this.

I am working on the "cosmetic" side on my Dell Latitude 3410, GUI & Boot Chime.

I cannot for the life of me get the boot chime to work.

I have the resources folder and the sounds in the audio folder.

I believe config is correct, just get no startup chime.

Archive.zip 916.16 kB · 1 download

Hi - I had a look at your config.plist and found a few errors (see attached including my working examples).

You need to find the correct Codec Value for your system and insert this into the config.plist (Dortania has an extensive list of Codec examples that you can try until you find the correct one for your system) again, see my examples attached. Good luck.

Spoiler

1358490186_Screenshot2023-04-06at16_30_00.png.37fbc6fd80a25ffc9bc5647bd371ff5b.png990328933_Screenshot2023-04-06at16_32_42.png.3dc3c8b845a8600ab045a69f0a5ecc94.png1688854701_Screenshot2023-04-06at16_35_44.png.9d53efcf9fc53e74cf8eddfa1416347c.png1484853001_Screenshot2023-04-06at16_36_40.png.2eb48a6a995f22f484c2d7c23ab335fa.png

 

  • Like 1
Link to comment
Share on other sites

3 hours ago, SavageAUS said:

Hope this is the right place for this.

I am working on the "cosmetic" side on my Dell Latitude 3410, GUI & Boot Chime.

I cannot for the life of me get the boot chime to work.

I have the resources folder and the sounds in the audio folder.

I believe config is correct, just get no startup chime.

Archive.zip 916.16 kB · 3 downloads

It might be helpful to look at your debug log. If OC finds your audio device, perhaps, this may help you to troubleshoot.

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

1 hour ago, eSaF said:

Hi - I had a look at your config.plist and found a few errors (see attached including my working examples).

You need to find the correct Codec Value for your system and insert this into the config.plist (Dortania has an extensive list of Codec examples that you can try until you find the correct one for your system) again, see my examples attached. Good luck.

  Hide contents

1358490186_Screenshot2023-04-06at16_30_00.png.37fbc6fd80a25ffc9bc5647bd371ff5b.png990328933_Screenshot2023-04-06at16_32_42.png.3dc3c8b845a8600ab045a69f0a5ecc94.png1688854701_Screenshot2023-04-06at16_35_44.png.9d53efcf9fc53e74cf8eddfa1416347c.png1484853001_Screenshot2023-04-06at16_36_40.png.2eb48a6a995f22f484c2d7c23ab335fa.png

 

you could also add your Layout-ID in your audio section and remove the boot argument :)

  • Thanks 1
Link to comment
Share on other sites

Yeah I followed the guide. I have boot chime working on my AMD hack and my other laptop the one in my signature but not this one.
The problem is the guide doesn’t match up to what is in OC anymore. It needs updating but I’ll continue to read and use OC debug.


Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

Just to add more information.

I have working native nvram.

gfutil output = 00:1f.3 8086:02c8 /PCI0@0/HDEF@1F,3 = PciRoot(0x0)/Pci(0x1F,0x3)

ioreg IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/HDEF@1F,3/AppleHDAController@1F,3/IOHDACodecDevice@1F,3,0

Config, debug log and ioreg attached.

Spoiler

image.png.a845d57d72871a233716dbe908cfb534.png

 

 

Archive.zip

Link to comment
Share on other sites

[mention=1083558]SavageAUS[/mention]
I’m pretty sure that the guide is not outdated. It was updated by myself a few months ago. No changes in that OpenCore section after that. 
 Audio chipset model of the motherboard?

ALC236 is what I have found mine to be.


Sent from my iPhone using Tapatalk
Link to comment
Share on other sites

12 minutes ago, SavageAUS said:

ALC236 is what I have found mine to be.

Now you just have to find the Lay-out ID relevant for that Codec. You'll be be presented with a potential list of numbers i.e 1,2,3,4,5,7,9,10,11 and probably upwards, unfortunately you'll have to try each one until your speakers are working and Headphones are also working and recognised when plugged in.

Good luck and keep us posted on progress.

 

PS - This is what I found: 

Realtek ALC236 0x100001, 0x100002, layout 3, 11, 12, 13, 14, 15, 16, 17, 18, 23, 36, 54, 55, 99 13 (10.9)
Edited by eSaF
  • Like 2
Link to comment
Share on other sites

Now you just have to find the Lay-out ID relevant for that Codec. You'll be be presented with a potential list of numbers i.e 1,2,3,4,5,7,9,10,11 and probably upwards, unfortunately you'll have to try each one until your speakers are working and Headphones are also working and recognised when plugged in.
Good luck and keep us posted on progress.
 
PS - This is what I found: 
Realtek ALC236 0x100001, 0x100002, layout 3, 11, 12, 13, 14, 15, 16, 17, 18, 23, 36, 54, 55, 99 13 (10.9)

With the layout I am using (15) and have audio working fine. No mic but that’s intel sst or something and will never work.
I have tested different layout ids and they all produce sound in the os but not the startup chime.


Sent from my iPhone using Tapatalk
  • Sad 1
Link to comment
Share on other sites

10 hours ago, SavageAUS said:

Just to add more information.

I have working native nvram.

gfutil output = 00:1f.3 8086:02c8 /PCI0@0/HDEF@1F,3 = PciRoot(0x0)/Pci(0x1F,0x3)

ioreg IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/HDEF@1F,3/AppleHDAController@1F,3/IOHDACodecDevice@1F,3,0

Config, debug log and ioreg attached.

 

In your log,

 

image.thumb.png.a643c756d8ad2dd7740badad73fad7c8.png

 

Try adding --force-device=PciRoot(0x0)/Pci(0x1f,0x3) in AudioDXE arguments

 

  • Like 4
Link to comment
Share on other sites

1 hour ago, Alpha22 said:

Question: wanted to ask to have SIP enabled but not completely is it possible

Absolutely. I do not have SIP completely enabled in order to run some software and I have never had any issues.

  • Like 3
Link to comment
Share on other sites

3 hours ago, SavageAUS said:


With the layout I am using (15) and have audio working fine. No mic but that’s intel sst or something and will never work.
I have tested different layout ids and they all produce sound in the os but not the startup chime.

Don't mix sound in macOS (AppleHDA.kext with several layouts) with startup chime produces by AudioDxe.efi working before the system starts.

  • Like 2
Link to comment
Share on other sites

×
×
  • Create New...