Jump to content
1504 posts in this topic

Recommended Posts

Hi devs,

i do believe i have a new bug not very common. Please help me fix this. I see only one similar bug in Intel NUC Platform fixed with enable legacy mode in BIOS. My system is Fujitsu G558, i3-9100 with UHD630 0x3e91 device-id, UEFI only BIOS with no options. I have tried everything. Hackintool patches, all presets, all BIOS settings possible from GRUB setup_var method. I have above 4G mapping enabled, CFG lock disabled, 64MB DVMT prealloc and Max for IGPU. Please help me debug this kernel dump.

 

Thank you!

 

Logs here:

  • panic(cpu 3 caller 0xffffff7f82e69e47): "[IGFB][PANIC] " "Power well hardware state update failed\n"@/Library/Caches/com.apple.xbs/Sources/GPUDriversIntel/GPUDriversIntel-14.4.24/IONDRV/CFL/AppleIntelFramebuffer/AppleIntelController.cpp:6733
Backtrace (CPU 3), Frame : Return Address
0xffffff83a85239f0 : 0xffffff800033bb2b mach_kernel : _handle_debugger_trap + 0x47b
0xffffff83a8523a40 : 0xffffff80004734d5 mach_kernel : _kdp_i386_trap + 0x155
0xffffff83a8523a80 : 0xffffff8000464f4e mach_kernel : _kernel_trap + 0x4ee
0xffffff83a8523ad0 : 0xffffff80002e2a40 mach_kernel : _return_from_trap + 0xe0
0xffffff83a8523af0 : 0xffffff800033b217 mach_kernel : _DebuggerTrapWithState + 0x17
0xffffff83a8523bf0 : 0xffffff800033b5fb mach_kernel : _panic_trap_to_debugger + 0x21b
0xffffff83a8523c40 : 0xffffff8000ad2aa9 mach_kernel : _panic + 0x61
0xffffff83a8523cb0 : 0xffffff7f82e69e47 com.apple.driver.AppleIntelCFLGraphicsFramebuffer : __ZN31AppleIntelFramebufferController17setPowerWellStateEP21AppleIntelFramebufferb.cold.1
0xffffff83a8523cc0 : 0xffffff7f82e1c94e com.apple.driver.AppleIntelCFLGraphicsFramebuffer : __ZN31AppleIntelFramebufferController19hwSetPowerWellStateEbj + 0x140
0xffffff83a8523cf0 : 0xffffff7f82e0f6f1 com.apple.driver.AppleIntelCFLGraphicsFramebuffer : __ZN31AppleIntelFramebufferController11setBootPipeEP21AppleIntelDisplayPath + 0x855
0xffffff83a8523d50 : 0xffffff7f82e0b62c com.apple.driver.AppleIntelCFLGraphicsFramebuffer : __ZN31AppleIntelFramebufferController5startEP9IOService + 0x12a6
0xffffff83a8523de0 : 0xffffff8000a1b216 mach_kernel : __ZN9IOService14startCandidateEPS_ + 0xf6
0xffffff83a8523e40 : 0xffffff8000a1adc1 mach_kernel : __ZN9IOService15probeCandidatesEP12OSOrderedSet + 0xb21
0xffffff83a8523ef0 : 0xffffff8000a1a10e mach_kernel : __ZN9IOService14doServiceMatchEj + 0x2ce
0xffffff83a8523f50 : 0xffffff8000a1c8ad mach_kernel : __ZN15_IOConfigThread4mainEPvi + 0x15d
0xffffff83a8523fa0 : 0xffffff80002e213e mach_kernel : _call_continuation + 0x2e
      Kernel Extensions in backtrace:
         com.apple.driver.AppleIntelCFLGraphicsFramebuffer(14.0.4)[A30AC04F-FB51-328A-8942-A2BE0CEB5C3D]@0xffffff7f82ddd000->0xffffff7f8303afff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[ADD485B5-3EF8-37C4-B3C5-F86326E497A4]@0xffffff7f80ef8000
            dependency: com.apple.iokit.IOACPIFamily(1.4)[3D78401B-5D2D-33BC-9E41-DD2164EA874D]@0xffffff7f80ee6000
            dependency: com.apple.iokit.IOAcceleratorFamily2(438.3.1)[66992525-3204-3CB0-8F03-4B70031B1CF2]@0xffffff7f82d10000
            dependency: com.apple.iokit.IOReportFamily(47)[988360A2-2E10-3014-A119-BE81BC045A10]@0xffffff7f80e28000
            dependency: com.apple.AppleGraphicsDeviceControl(4.7.2)[2F63196D-03C6-3E49-BE5D-574F4AADED1A]@0xffffff7f82dd3000
            dependency: com.apple.iokit.IOGraphicsFamily(569.4)[1F9B5D88-52DB-3A16-8373-4F608A3CB2D8]@0xffffff7f82adf000
 
BSD process name corresponding to current thread: kernel_task

Boot args: -v keepsyms=1 debug=0x100

  • 2 weeks later...

Hello everybody¡¡¡

 

I'm surfing trying to find the way to change the backlight levels on my Hack laptop using latest weg versions ... I got it working until 1.3.2 version by modification of weg config.plist (AppelIntelpanel....) but I don't know how to do it since 1.3.3 because AppleIntelpanelA is not longer present in weg config.plist.

 

Could someone please show me the way? My laptop is Lenovo G50-80 i5-5200u - Catalina 10.5.3

 

Thanks a lot in advance¡¡¡

Edited by DocXavier
  • 3 weeks later...
32 minutes ago, enlaid said:

Is it possible to disable HDR support in macOS 10.15.4 using WEG? After update colors and contrast on LG 27UL650-W are terrible, no option in macOS to disable HDR mode when is connected to RX580 via DP 1.4.

Disable HDR in System preferences - Displays.

In System preferences HDR is disabled. In Clover I see that HDR is enabled in top right corner on monitor and I can't disable it. I tried resetting NVRAM but no results. When monitor is plugged via HDMI 2.0 colors are correct but macOS scaling is worse than via DP1.4. In 10.15.3 everything was fine, I'm sure that issue is related to HDR10 support for external monitors/TV in 10.15.4 update.

Edited by enlaid

Hi, I cannot compile the Whatevergreen master version, updated as of today, with Lilu master, updated as of today.

XCode: 11.4 (11E146)

Mac Os: 10.15.4 (19E266)

 

Error:

ResourceConverter: Invalid usage
Program ended with exit code: 1

 

Let me know if you need more info.

 

The same happens with AppleALC, same error.

 

It seems related to this new XCode or mac os 10.15.4, reverting changes back to my last successful compilation doesn't fix the issue.

 

UPDATE: reverting back to XCode 11.3.1, will update if it will fix

UPDATE2: definetly a problem of the new XCode 11.4, DO NOT update, 11.3.1 works ok

UPDATE3: you can use also the new Xcode 11.4, but you must download swift package 5.1.3 (swift-5.1-DEVELOPMENT-SNAPSHOT-2020-01-28-a-osx.pkg)

1-Install the swift package

2-Open Xcode --> Top menu --> Xcode --> Toolchains --> Swift 5.1 Snapshot 2020-01-28 (a)

3- Open terminal and run

export TOOLCHAINS=swift

 

Edited by ghost8282
On 2/1/2020 at 12:19 AM, WizeMan said:

Soooo

 

CPU: Intel Core i9-9900K

GPU: Vega 56

 

iMac19,1 SMBIOS with iGPU set as headless

macOS Catalina 10.15.2

WEG 1.3.6

 

Since a lot of people are complaining about Netflix working but Amazon Prime Video Crashing but as far as I've seen no one is uploading crash reports so here is one:

 

This is the WebKit crash when trying to watch an Amazon Prime Video:
com.apple.WebKit.WebContent_2020-01-31-181054-1_iMac.crash

 

I get the same problem... iMac19,2 SMBIOS with iGPU set as headless, macOS 10.15.4, WEG 1.3.7 with boot-arg: shikigva=80

GPU: RX 5700

Netflix on Safari working but Amazon Prime Video crashing

 

 

Screen Shot 2020-04-01 at 9.09.52 AM.png

Hi,

 

I'm trying to get HDMI out working without success.

 

I tried all the framebuffers from the intel FAQ for mobile Coffee Lake processors.

I followed this guide for framebuffer patching without success.

I tried MacBookPro15,2 and finally got it working (with patched framebuffer), the problem is with this SMBios the system is laggy, I think because it does not support 9th gen processors.

Then tried MacBookPro15,1 with support 9th gen processors. Lags are gone but no more HDMI.

 

Working framebuffer patch: framebuffer-con2-alldata <02020A00 00080000 87010000>

MacBookPro16,1 SMBios

i7-9750H Coffe lake refresh with UHD-630

HDMI 1.4

Opencore 5.6

Catalina 10.15.3

DVMT Pre-Allocated: 64MB

DVMT Total: MAX

 

 

config.plist

Edited by mika33

I'm trying to get KVMGT (Intel GVT-g) virtualization to work on a laptop with Kabylake graphics.

 

Unfortunately, macOS never works. By default, it tries to load the firmware and fails with a panic after 60 retries or so. If I pass -disablegfxfirmware, it panics with this:

[IGPU] Retrigger RENDER domain wake! Value read = 0x0, expecting 0x8, Retrigger count: 601
[IGPU] [IGPU] SafeForceWake failed on RENDER domain wake! Value read = 0x0, expecting 0x8
panic(cpu 3 caller 0xffffff7f9201da65): "[IGPU] ERROR: SafeForceWake acknowledgement never received on RENDER domain, fFlags.systemInSleep: 0, fFlags.enabled: 1\n"@skl/IntelAccelerator.cpp:7706
Backtrace (CPU 3), Frame : Return Address
0xffffff83a5c03a10 : 0xffffff800d7215cd mach_kernel : _handle_debugger_trap + 0x49d
0xffffff83a5c03a60 : 0xffffff800d85a3c5 mach_kernel : _kdp_i386_trap + 0x155
0xffffff83a5c03aa0 : 0xffffff800d84bf7e mach_kernel : _kernel_trap + 0x4ee
0xffffff83a5c03af0 : 0xffffff800d6c7a40 mach_kernel : _return_from_trap + 0xe0
0xffffff83a5c03b10 : 0xffffff800d720c97 mach_kernel : _DebuggerTrapWithState + 0x17
0xffffff83a5c03c10 : 0xffffff800d721087 mach_kernel : _panic_trap_to_debugger + 0x227
0xffffff83a5c03c60 : 0xffffff800dec2c7c mach_kernel : _panic + 0x54
0xffffff83a5c03cd0 : 0xffffff7f9201da65 com.apple.driver.AppleIntelKBLGraphics : __ZN11IGHashTableIyP13PerThreadInfo12IGHashTraitsIyE25IGIOMallocAllocatorPolicyED1Ev.cold.1
0xffffff83a5c03d00 : 0xffffff7f91fa6635 com.apple.driver.AppleIntelKBLGraphics : __ZN16IntelAccelerator26SafeForceWakeMultithreadedEbjj + 0x311
0xffffff83a5c03d50 : 0xffffff7f91fa66fd com.apple.driver.AppleIntelKBLGraphics : __ZN16IntelAccelerator19SafeForceWakeSecureEbj10IGHwCsType + 0x65
0xffffff83a5c03d70 : 0xffffff7f91fb31b8 com.apple.driver.AppleIntelKBLGraphics : __ZN26IGHardwareCommandStreamer514submitExecListEj + 0x242
0xffffff83a5c03df0 : 0xffffff7f91fb43a3 com.apple.driver.AppleIntelKBLGraphics : __ZN26IGHardwareCommandStreamer524prepareExecListAndSubmitEjjPKj + 0xa7
0xffffff83a5c03e40 : 0xffffff7f91fb3d7e com.apple.driver.AppleIntelKBLGraphics : __ZN26IGHardwareCommandStreamer515dequeueExecListEj + 0xc6
0xffffff83a5c03e80 : 0xffffff7f91fb3a92 com.apple.driver.AppleIntelKBLGraphics : __ZN26IGHardwareCommandStreamer513schedDispatchEj + 0xfc
0xffffff83a5c03ea0 : 0xffffff7f91fb268a com.apple.driver.AppleIntelKBLGraphics : __ZN26IGHardwareCommandStreamer536handleSoftwareContextSwitchInterruptEP22IOInterruptEventSourcei + 0xc8
0xffffff83a5c03ee0 : 0xffffff800de2eb6d mach_kernel : __ZN22IOInterruptEventSource12checkForWorkEv + 0x17d
0xffffff83a5c03f30 : 0xffffff800de2d43e mach_kernel : __ZN10IOWorkLoop15runEventSourcesEv + 0x11e
0xffffff83a5c03f70 : 0xffffff800de2ca36 mach_kernel : __ZN10IOWorkLoop10threadMainEv + 0x36
0xffffff83a5c03fa0 : 0xffffff800d6c713e mach_kernel : _call_continuation + 0x2e
      Kernel Extensions in backtrace:
         com.apple.driver.AppleIntelKBLGraphics(14.0.5)[902E45A7-CCAF-33D6-9462-99BF0CA58E68]@0xffffff7f91f92000->0xffffff7f920c1fff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[1B1F3BBB-9212-3CF9-94F8-8FEF0D3ACEC4]@0xffffff7f8e131000
            dependency: com.apple.iokit.IOSurface(269.11)[E71EAC82-A838-3430-B5D1-2CB347E6CF59]@0xffffff7f8fb51000
            dependency: com.apple.iokit.IOGraphicsFamily(575.1)[D47CA481-C5E5-3F03-9B04-6634DF5F3121]@0xffffff7f8eaed000
            dependency: com.apple.iokit.IOAcceleratorFamily2(438.4.5)[33DA860E-90A6-3224-A944-93FA125B054E]@0xffffff7f8fb83000

BSD process name corresponding to current thread: kernel_task
Boot args: darkwake=0 debug=0x100 keepsyms=1 serial serialbaud=115200 -lilubeta -wegbeta -liludbg -wegdbg -v -disablegfxfirmware 

Mac OS version:
19E266

Normally, I pass through my AMD dGPU or eGPU, and they work just fine, but having an on-the-go options would be nice too.

 

 

I understand that this is very close to adding a new GPU support. My question is, what information can I provide to make it happen? Since I start the OS in QEMU, I have the advantage of being able to capture all the logs, or provide whatever other information can be available via the QEMU monitor.

 

Hi,

 

I would like to report some test I made after saw : "UHD 630: `avoidFirmwareLoading` fix doesn't work occasionally after waking up #748"

Machine test is Optiplex 3070 Micro with core i5 Coffee Lake 9500t, screen connected to HDMI. (OpenCore of course, build from GitHub)

 

Test 1 : igfxfw=2 and confirm that it is back to normal (i.e. equivalent to commenting the code out).
Test 2 : igfxfw=2 igfxpavp=1 and confirm that there are no random freezes when e.g. playing videos, possibly encrypted, but also others in Safari/QuickTime/etc.
Test 3 : igfxfw=2 igfxpavp=1 shikigva=128 and confirm that Apple TV works and iTunes encrypted trailers play.	
	

 

Test 1 : sleep / awake works fine -> after adding in _PTS sleep(0x364) at the first line.

Itunes to AppleTv AirPlay working, file test provide in FAQ playing sound and picture.

Itunes video no random freezes. Netflix not working in safari, works in edge.

 

Test 2 and Test 3: sleep / awake working fine -> after adding in _PTS sleep(0x364) at the first line

Itunes video random freezes, file test provide in FAQ playing sound and no picture.  Netflix not working in safari, works in edge.

 

At Boot
kernel: (IOPlatformPluginFamily) HE2N_Key Does Not Exist, use kSMCPStatesIGPU for Internal GPU
kernel: (AppleIntelKBLGraphics) [IGPU] Ring Size: 32 KB
kernel: (AppleIntelKBLGraphics) [IGPU] Graphics Scheduler Preemption Enabled!
kernel: (AppleIntelKBLGraphics) [IGPU] Setting preemptionDelayIntervalUS to 400 microseconds
kernel: (AppleIntelKBLGraphics) [IGPU] Setting preemptionTimerIntervalUS to 2000 microseconds
kernel: (AppleIntelKBLGraphics) [IGPU] Will NOT fallback to host-side scheduling if graphics firmware fails to load
kernel: (AppleIntelKBLGraphics) [IGPU] Scheduler Tail Coalescing Enabled.
kernel: (AppleIntelKBLGraphics) [IGPU] Scheduler Page Fault Handling Enabled.
kernel: (AppleIntelKBLGraphics) [IGPU] Scheduler Single Channel Index Disabled
kernel: (AppleIntelKBLGraphics) [IGPU] Scheduler Channel Wait For Complete Disabled
kernel: (AppleIntelKBLGraphics) [IGPU] Scheduler: Process CSB using HWS.
kernel: (AppleIntelKBLGraphics) [IGPU] Scheduler: PM notify enabled
kernel: (AppleIntelKBLGraphics) [IGPU] Selected Apple Firmware Scheduler
kernel: (AppleIntelKBLGraphics) [IGPU] Graphics Address: PPGTT, Separate Address Space
kernel: (AppleIntelKBLGraphics) [IGPU] MultiForceWake Enabled: Using 3D Driver
kernel: (AppleIntelKBLGraphics) [IGPU] Render Compression Enabled.
kernel: (AppleIntelKBLGraphics) [IGPU] Render Compression for IOSurface is Enabled.
kernel: (AppleIntelKBLGraphics) [IGPU] Begin Gfx firmware load process
kernel: (AppleIntelKBLGraphics) [IGPU]    ForceWake Multithread = 0x30002
kernel: (AppleIntelKBLGraphics) [IGPU]    CONFIG0 (0xD00)       = 0x80000000
kernel: (AppleIntelKBLGraphics) [IGPU]    GT_THREAD_STATUS      = 0x400b0000
kernel: (AppleIntelKBLGraphics) [IGPU]    Doing retry #0
kernel: (AppleIntelKBLGraphics) [IGPU] Graphics Firmware Version: 2.14.0.0
kernel: (AppleIntelKBLGraphics) [IGPU] Graphics accelerator is using scheduler: Apple Firmware
kernel: (AppleGraphicsDeviceControl) AGDCC: Unauthorized client 'PerfPowerService' (IOService:/AppleACPIPlatformExpert/PCI0/AppleACPIPCI/IGPU@2/AppleIntelFramebufferController/IntelFBClientControl)
 
After wake up
kernel: (AppleIntelKBLGraphics) [IGPU] Begin Gfx firmware load process
kernel: (AppleIntelKBLGraphics) [IGPU]    ForceWake Multithread = 0x30002
kernel: (AppleIntelKBLGraphics) [IGPU]    CONFIG0 (0xD00)       = 0x80000000
kernel: (AppleIntelKBLGraphics) [IGPU]    GT_THREAD_STATUS      = 0x400b0000
kernel: (AppleIntelKBLGraphics) [IGPU]    Doing retry #0
kernel: (AppleIntelKBLGraphics) [IGPU] Graphics Firmware Version: 2.14.0.0
kernel: (AppleIntelKBLGraphics) [IGPU] A message did not receive a response when firmware went to sleep!

 

sudo dmesg | grep  Wake
PMRD: SleepWake UUID queued: 04722D47-ECBB-495D-A6DB-8269046094D7
[IGPU] MultiForceWake Enabled: Using 3D Driver
[IGPU] MultiForceWake Enabled: Using 3D Driver
[IGPU]    ForceWake Multithread = 0x30002
[IGPU]    ForceWake Multithread = 0x30002
PMRD: SleepWake debug buffer size:0x28000 spindump offset:0x9c
PMRD: SleepWake UUID queued: 3A13DDFB-7C0A-4DFD-B187-657799DF984E
[IGFB][INFO   ] FB0 power state transition Wake to Doze
[IGFB][INFO   ] lastSleep=0, firstNonSleep=0, firstWake=0
[IGFB][INFO   ] lastSleep=1, firstNonSleep=0, firstWake=0
AppleACPIPlatformPower Wake reason: XHC1
AppleACPIPlatformPower Wake reason: XHC1
IOPlatformWakeAction -> AppleRTC
IOPlatformWakeAction -> AppleKeyStore
IOPlatformWakeAction -> AppleSMC
gIOLastWakeAbsTime: 1648273295413
PMRD: System Wake
[IGFB][INFO   ] FB0 power state transition Sleep to Wake
[IGFB][INFO   ] lastSleep=0, firstNonSleep=1, firstWake=1
[IGPU]    ForceWake Multithread = 0x30002
[IGPU]    ForceWake Multithread = 0x30002

 

Fred

 

Two configs file with or without dsdt, choose rename to config.plist -> to be place in OC-Tool

AmiSetupWriter to change DVMT & CFG Lock, address in Config var.txt

OC-tool.zip

Edited by FredWst

Updated the WhateverGreen kext to latest and I got the attached panic. Rolling back the kext made the system happy. Is this a bug in WhateverGreen?

 

Using OC 0.5.7, Skylake i5-6300U with Intel HD Graphics 520 Corresponding configuration in the config.plist is:

                        <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
                        <dict>
                                <key>AAPL,ig-platform-id</key>
                                <data>AAAWGQ==</data>
                                <key>device-id</key>
                                <data>FhkAAA==</data>
                                <key>enable-hdmi20</key>
                                <data>AQAAAA==</data>

                                <key>framebuffer-patch-enable</key>
                                <data>AQAAAA==</data>
                                <key>framebuffer-fbmem</key>
                                <data>AACQAA==</data>
                                <key>framebuffer-stolenmem</key>
                                <data>AAAwAQ==</data>
                                <key>framebuffer-unifiedmem</key>
                                <data>AAAAgA==</data>

                                <key>framebuffer-con2-enable</key>
                                <data>AQAAAA==</data>
                                <key>framebuffer-con2-type</key>
                                <data>AAgAAA==</data>
                                <key>framebuffer-con2-flags</key>
                                <data>hwEAAA==</data>
                                <key>framebuffer-con2-pipe</key>
                                <data>EgAAAA==</data>
                        </dict>

 

Panic Report:-

panic(cpu 1 caller 0xffffff7f9f15d6ff): assertmsg@/Library/Caches/com.apple.xbs/Sources/GPUDriversIntel/GPUDriversIntel-14.3.9/IONDRV/SKL/AppleIntelFramebuffer/AppleIntelController.cpp:27062
Backtrace (CPU 1), Frame : Return Address
0xffffff8209e3ba20 : 0xffffff801cd3bb1b mach_kernel : _handle_debugger_trap + 0x47b
0xffffff8209e3ba70 : 0xffffff801ce733e5 mach_kernel : _kdp_i386_trap + 0x155
0xffffff8209e3bab0 : 0xffffff801ce64e5e mach_kernel : _kernel_trap + 0x4ee
0xffffff8209e3bb00 : 0xffffff801cce2a40 mach_kernel : _return_from_trap + 0xe0
0xffffff8209e3bb20 : 0xffffff801cd3b207 mach_kernel : _DebuggerTrapWithState + 0x17
0xffffff8209e3bc20 : 0xffffff801cd3b5eb mach_kernel : _panic_trap_to_debugger + 0x21b
0xffffff8209e3bc70 : 0xffffff801d4d24f9 mach_kernel : _panic + 0x61
0xffffff8209e3bce0 : 0xffffff7f9f15d6ff com.apple.driver.AppleIntelSKLGraphicsFramebuffer : __ZN31AppleIntelFramebufferController11getWorkLoopEv.cold.1
0xffffff8209e3bcf0 : 0xffffff7f9f1097a2 com.apple.driver.AppleIntelSKLGraphicsFramebuffer : __ZN31AppleIntelFramebufferController20getUnifiedMemorySizeEv
0xffffff8209e3bd50 : 0xffffff7f9f106154 com.apple.driver.AppleIntelSKLGraphicsFramebuffer : __ZN31AppleIntelFramebufferController5startEP9IOService + 0xc9e
0xffffff8209e3bde0 : 0xffffff801d41ae46 mach_kernel : __ZN9IOService14startCandidateEPS_ + 0xf6
0xffffff8209e3be40 : 0xffffff801d41a9f1 mach_kernel : __ZN9IOService15probeCandidatesEP12OSOrderedSet + 0xb21
0xffffff8209e3bef0 : 0xffffff801d419d3e mach_kernel : __ZN9IOService14doServiceMatchEj + 0x2ce
0xffffff8209e3bf50 : 0xffffff801d41c4dd mach_kernel : __ZN15_IOConfigThread4mainEPvi + 0x15d
0xffffff8209e3bfa0 : 0xffffff801cce213e mach_kernel : _call_continuation + 0x2e
      Kernel Extensions in backtrace:
         com.apple.driver.AppleIntelSKLGraphicsFramebuffer(14.0.3)[2E5DC8F7-88F3-31EE-B2E9-0BBFCDC708FD]@0xffffff7f9f0dd000->0xffffff7f9f301fff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[1286D5E5-A6A1-3C44-A244-04C068903DB2]@0xffffff7f9d72f000
            dependency: com.apple.iokit.IOACPIFamily(1.4)[3467C105-9354-3BD2-85F3-E5AEF94BD275]@0xffffff7f9de35000
            dependency: com.apple.iokit.IOAcceleratorFamily2(438.2.8)[9176E894-E24A-36BA-AFDA-0DB11F3F512A]@0xffffff7f9f005000
            dependency: com.apple.iokit.IOReportFamily(47)[E3C37E96-3AFA-301F-B89C-719FB3D4DA53]@0xffffff7f9dac8000
            dependency: com.apple.AppleGraphicsDeviceControl(4.5.21)[EF326A60-9936-3267-A6E7-0044C7B4A952]@0xffffff7f9e3ff000
            dependency: com.apple.iokit.IOGraphicsFamily(569.3)[7B5CA52B-0BD1-34AB-BFC9-7D5C3A0DBE7C]@0xffffff7f9e0cc000

BSD process name corresponding to current thread: kernel_task
Boot args: keepsyms=1 alcid=28 

Mac OS version:
19C57

Kernel version:
Darwin Kernel Version 19.2.0: Sat Nov  9 03:47:04 PST 2019; root:xnu-6153.61.1~20/RELEASE_X86_64
Kernel UUID: C3E7E405-C692-356B-88D3-C30041FD1E72
Kernel slide:     0x000000001ca00000
Kernel text base: 0xffffff801cc00000
__HIB  text base: 0xffffff801cb00000
System model name: MacBookPro13,1 (Mac-473D31EABEB93F9B)
System shutdown begun: NO
Panic diags file available: YES (0x0)

System uptime in nanoseconds: 9011685703

 

Edited by nijhawank

I'm new to WhateverGreen and trying to debug a problem with an unusual configuration...

 

Background: GPU passthru for ESXi has been broken since Mojave, I am trying to see if a combination of OpenCore and WhateverGreen can fix this.

 

System : Dell server with E5-2600 V3 series processors, ESXi 6.7u3, unlocker 3.0,  AMD RX580 video card. As a baseline I configured passthru for a windows 10 client and it works perfectly...

 

Step 1: Configure a Catalina 10.15.4 guest with passthru: system information lists the "display" adapter as a GPU on PCIe, correctly shows vendorID and board ID. Does not detect attached monitor and no video output.

 

Step2: Install OpenCore, Lilu, and WhateverGreen. System boots to OpenCore boot picker, after timeout or hitting enter the system boots to Catalina. System information now shows "Radeon RX 580" GPU on PCIe, but again does not detect attached monitor and no video output. 

 

Step 3: enabled WhateverGreen debug output. See attached logs. Any help/pointers on what is going on wrong would be appreciated.

debug.thumb.JPG.b17a04897c083c6d51ff20837b5cad33.JPG

 

OpenCore.thumb.JPG.26595b90397605f42c3b55886282bd7a.JPG

Hi,

 

I'm getting black screen after 2nd boot during installation, I can get to the install screen, choose SSD, Apple Logo takes 8 mins, then the screen goes black for 5 mins and then the computer shutdown. When i start back up i belive it's going through the 2nd install part of the installation but i can't see anything.

 

I went through a similar thing with clover when i installed 10.13.6 ages ago, i think it was fixed with VegaGraphicsFixup.kext which isnt used anymore for OC.

I have tried (-v debug=0x100 slide=128 keepsyms=1 npci=0x2000 agdpmod=vit9696 alcid=1) and without agdpmod=vit9696 but still black screen, i'm using Display Port on my RX480. I've searched but can't find any solution! Whatevergreen and Lilu latest as well. 

working EFI without credits.zip

Edited by ekwipt

Following up to my previous post...

 

I've downloaded the WhateverGreen source and have started debugging... it appears that I have no frame buffer associated with the card at all!

 

Can anyone supply the debug output or IORegistry dump of a working RX580 installation so I can compare it to the ESXi environment?

 

Hi,

 

Been having a problem with lockup’s and freezing with my Sapphire Nitro+ 5700 XT requiring system reset in 15.4 but 15.2 completely stable. According to Crash Report logs in Console it’s the AMD 6000 driver. Tried two different boot loaders and two different installations, and same result. Have system setup as an iMac 17,1 Z270-WS with 6700K cpu. Using agdpmod=pikera and Shikivga=144 with WEG. So wonder if those WEG settings look right?
 

Thanks

Hi colleagues,

 

I have a hack that I rarely use, it is in my lab, I use it fro eagle cad, internet and apple music mostly. It is gb brix that has 8550 cpu and uhd display connected via dp. I cannot tell exactly when, but yesterday I found that dp sound is not working anymore. I didn't change anything for months, just upgraded kexts, clover and macos to the latest version. I surprisingly found I have no "devices" section in the clover's config but dp sound was working just fine, I knw this exactly because I used it every time. Wow, I just found that I made a ssdt for it:

    Scope (\_SB.PCI0.IGPU)
    {
        Method (_DSM, 4, Serialized)  // _DSM: Device-Specific Method
        {
            If (!Arg2)
            {
                Return (Buffer (One)
                {
                     0x03                                             // .
                })
            }

            Local0 = Package (0x08)
                {
                    "model",.
                    Buffer (0x0E)
                    {
                        "Intel UHD 620"
                    },.

                    "AAPL,ig-platform-id",.
                    Buffer (0x04)
                    {
                         0x00, 0x00, 0x16, 0x59                           // ...Y
                    },.

                    "device-id",.
                    Buffer (0x04)
                    {
                         0x16, 0x59, 0x00, 0x00                           // .Y..
                    },.

                    "hda-gfx",.
                    Buffer (0x0A)
                    {
                        "onboard-1"
                    }
                }
            DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
            Return (Local0)
        }


What could it be and what is the possible solution for that? Maybe some additional info required? 

Edited by viktr

@vit9696

 

Hi,

 

Was hoping you could help me find a solution to a problem I have had with my Sapphire Nitro 5700 XT and Catalina 15.2 - 15.5. I’m hoping there is a WEG command that would help. Maybe ‘-radvi’ or other property. The issue is that in 15.4 the GPU will cause a system lockup crash requiring reset or shutdown of the pc. I have traced the cause to the gpu via Console Crash Report stating an error with AmdRadeonX6000 Kext and Radeon framebuffer Assertion failed error has occurred as detailed below. The system is completely stable if I boot from IGfx instead. 15.5 beta is even worse causing a blinking desktop. 15.2 Almost perfect short of an annoying 2 inch black square hovering over cursor randomly. I have tried both Clover and Opencore. Currently with Clover I need WEG and agdpmod=pikera. Same system problem using Opencore though it doesn’t need WEG to avoid black screen. So going to study the WEG manual but it’s over my head.

 

Thanks
 

Heres the crash report:

Process:               WindowServer [218]
Path:                  /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer
Identifier:            WindowServer
Version:               600.00 (450.9)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
Responsible:           WindowServer [218]
User ID:               88

Date/Time:             2020-04-15 20:50:45.239 -0400
OS Version:            Mac OS X 10.15.4 (19E287)
Report Version:        12
Anonymous UUID:        A502CBCC-D7C5-4717-98B3-EB0DDB62F8A5


Time Awake Since Boot: 430 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
StartTime:1999-12-30 19:00:11
GPU:AMD
MetalDevice for accelerator(0x2f33): 0x7fe58050ca08 (MTLDevice: 0x13cbd5000)
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG0@1/IOPP/PEGP@0/IOPP/pci-bridge@10/IOPP/pci-bridge@0/IOPP/pci-bridge@0/IOPP/GFX0@0/AMDRadeonX6000_AmdRadeonControllerNavi10/ATY,RadeonFramebuffer@0
Assertion failed: (isReady - AMD
DisplayID: 0x745f98c4
    Surface Use Counts: 3(1) 4(1) 5(3) 
    FB RegID: 4294968605, On Glass SurfaceIDs: 4 3 5, Transactions: [ Active: SurfaceID: 4 ] [ Pending: SurfaceID: 3 ] [ Waiting: SurfaceID: 5 ], Notified IsActive SurfaceIDs: 4, 3, 4
    FB Driver Info: 0x1e00 0x0 0x20 0x2 0x3 0xa 0x3ff00000 0xffc00 0x3ff 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x52522d2d 0x52525252 0x52525252 0x47474747 0x47474747 0x42424747 0x42424242 0x42424242 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x780 0x438 0x0 0x0
    3D Driver Info: 0x1e00 0x0 0x20 0x2 0x3 0xa 0x3ff00000 0xffc00 0x3ff 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x52522d2d 0x52525252 0x52525252 0x47474747 0x47474747 0x42424747 0x42424242 0x42424242 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x780 0x438 0x0 0x0
), function CoreDisplay_NotReady, file /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreDisplay/CoreDisplay-186.5.25.1/CoreDisplay/Display/Display.cpp, line 2754.
 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib            0x000000011263933a __pthread_kill + 10
1   libsystem_pthread.dylib           0x000000011269ce60 pthread_kill + 430
2   libsystem_c.dylib                 0x0000000112442808 abort + 120
3   libsystem_c.dylib                 0x0000000112441ac6 __assert_rtn + 314
4   com.apple.CoreDisplay             0x00000001109be8c3 CoreDisplay::AssertTracer(char const*, char const*, int, unsigned long long, bool, char const*, char const*, ...) + 1368
5   com.apple.CoreDisplay             0x00000001109fb476 CoreDisplay_NotReady + 5421
6   com.apple.SkyLight                0x000000010f7d8e44 update_display_callback(void*, double) + 1739
7   com.apple.SkyLight                0x000000010f82802b run_timer_pass + 482
8   com.apple.SkyLight                0x000000010f828159 non_coalesced_timer_handler + 16
9   com.apple.SkyLight                0x000000010f85ad47 post_port_data + 255
10  com.apple.SkyLight                0x000000010f85a9af CGXRunOneServicesPass + 1706
11  com.apple.SkyLight                0x000000010f85b3b9 server_loop + 91
12  com.apple.SkyLight                0x000000010f85b357 SLXServer + 1461
13  WindowServer                      0x000000010f61c32e 0x10f61b000 + 4910
14  libdyld.dylib                     0x0000000112306cc9 start + 1

Hello everyone,

 

I have an issue that I do not know how to fix it and I did not find any info in threads/posts that can give me a clue on how to tackle it.

 

I have a laptop running Catalina with UHD 630 and a NVIDIA GPU that is disabled with the help of Whatevergreen property injection and all things work as expected if I use the laptop without any external monitors.

The issue I'm facing is when I attach a USB-C monitor to the laptop (I need to attach it before I start the laptop as the USB-C ports are enabled by WMI and not getting powered if no device is connected at boot). The system boots in mirror mode till the framebufer gets initialized and at this point the internal screen gets blank (the brightness function keys still work as the backlit of the screen is on) and I have the background image on the attached monitor. If I connect to the laptop with Remote Desktop the both screen are shown in "About This Mac" and also in "System Information" (see the attached image) so the system should work but that is not the case.

I discovered that if I close the lid and what for a couple of seconds the attached monitor flickers and the password input appears on it and after that I reopen the lid, after another 2 seconds I have the image on both monitors.

 

This issue presented was before upgrading the Whatevergreen 1.3.8 , after upgrading to 1.3.8 the internal screen was no longer detected and got switched off at framebuffer initialization so I had to play with the boot options and the following combination "igfxfw=2 igfxpavp=1 igfxonln=1" got me the same result as with 1.3.7 as in the issue is still there.

 

I also played with connector configuration but with no change.

 

I'm injecting the following properties into PciRoot(0x0)/Pci(0x2,0x0) for UHD 630 to work :

<key>AAPL,ig-platform-id</key>
<data>CQCbPg==</data>
<key>AAPL,slot-name</key>
<string>Internal@0,2,0</string>
<key>disable-external-gpu</key>
<data>AQAAAA==</data>
<key>enable-dpcd-max-link-rate-fix</key>
<data>AQAAAA==</data>
<key>enable-hdmi20</key>
<data>AQAAAA==</data>
<key>framebuffer-patch-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-unifiedmem</key>
<data>AAAAgA==</data>
<key>hda-gfx</key>
<string>onboard-1</string>
<key>model</key>
<string>Intel UHD Graphics 630</string>

 

Any hints or information that can help with this issue are welcome.

 

Thank you all in advance.

 

Screen Shot 2020-04-20 at 10.31.34 AM.png

×
×
  • Create New...