-
-
Notifications
You must be signed in to change notification settings - Fork 859
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Put the FB back to the Info.plist, fix order of X6000
Fixes #289
- Loading branch information
1 parent
0a0eaa9
commit ebfcc39
Showing
3 changed files
with
181 additions
and
187 deletions.
There are no files selected for viewing
171 changes: 0 additions & 171 deletions
171
NootedRed/Firmware/com.apple.kext.AMDRadeonX6000Framebuffer.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
ebfcc39
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you confirm this panic ? it happens when trying to wake from sleep (artifacts.zip tested version from this commit) - note that this only happens after a long time of entering sleep mode. on short time sleep mode no issues.
ebfcc39
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has nothing to do with the new logic, I've seen a similar one even before this new technique. Sleep is defacto broken for 99% of machines and if it works it's usually by luck. #284 is related to this issue, and I am working on a new method for firmware injection.
ebfcc39
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
allright i did a long sleep test (check sleep time)
2024-08-**13 17:09**:51.228122+0100 localhost kernel[0]: (AMDRadeonX5000HWLibs) AMD TTL COS: smu_event_notify began 2024-08-13 17:09:51.228126+0100 localhost kernel[0]: (AMDRadeonX5000HWLibs) AMD TTL COS: smu_event_notify ended 2024-08-13 **17:44**:08.774337+0100 localhost kernel[0]: (AMDRadeonX6000Framebuffer) [7:0:0][GPUCAP] refresh() --- Family: 142, Device: 0x15d8, revNo: 1, pciRevNo: c9, emuRevNo: 66. 2024-08-13 17:44:08.774342+0100 localhost kernel[0]: (AMDRadeonX6000Framebuffer) [7:0:0][GPUCAP] refresh() --- Mem Size: FB: 2048 MB, Aper: 256 MB, Reg Aper: 512 KB. 2024-08-13 17:44:08.774345+0100 localhost kernel[0]: (AMDRadeonX6000Framebuffer) [7:0:0][GPUCAP] refresh() --- Mem Config: Width: 128, Type: DDR4. 2024-08-13 17:44:08.774347+0100 localhost kernel[0]: (AMDRadeonX6000Framebuffer) [7:0:0][GPUCAP] refresh() --- FB Base: 0xf400000000, Top: 0xf47fffffff, Offset: 0x1af000000. 2024-08-13 17:44:08.774351+0100 localhost kernel[0]: (AMDRadeonX6000Framebuffer) [7:0:0][GPUCAP] refresh() --- Branding - family: "Radeon"; device: "Vega 8"; model: "AMD Radeon Vega 8". 2024-08-13 17:44:08.774361+0100 localhost kernel[0]: (AMDRadeonX5000) [7:0:0] [Accel] --- Before TTL:powerUp() - BootLoader Version=0xffffffff, POST Code=0xffffffff, Ready=0xffffffff 2024-08-13 17:44:08.774365+0100 localhost kernel[0]: (AMDRadeonX5000) [7:0:0] [Accel] >>> Calling TTL::powerUp() 2024-08-13 17:44:08.794367+0100 localhost kernel[0]: (AMDRadeonX5000HWLibs) AMD TTL COS: [7:0:0]: Write PCI Config offset 0x60 size 2 data 0x2930 2024-08-13 17:44:08.794470+0100 localhost kernel[0]: (AMDRadeonX5000HWLibs) AMD TTL COS: [7:0:1]: Write PCI Config offset 0x60 size 2 data 0x20 2024-08-13 17:44:08.794490+0100 localhost kernel[0]: (AMDRadeonX5000HWLibs) AMD TTL COS: [7:0:0]: Write PCI Config offset 0x60 size 2 data 0x100 2024-08-13 17:44:08.794588+0100 localhost kernel[0]: (AMDRadeonX5000HWLibs) AMD TTL COS: [7:0:1]: Write PCI Config offset 0x60 size 2 data 0x100 2024-08-13 17:44:08.794604+0100 localhost kernel[0]: (AMDRadeonX5000HWLibs) AMD TTL COS: smu_event_notify began 2024-08-13 17:44:08.797827+0100 localhost kernel[0]: (AMDRadeonX5000HWLibs) AMD TTL COS: smu_event_notify ended 2024-08-13 17:44:08.798560+0100 localhost kernel[0]: (AMDRadeonX5000HWLibs) AMD TTL AMDLOG: [7:0:0] PSP: event_id=0x100211 event_info:type=2 hw_id=0 event_specific_tag=0x0 pData=0x0 data_size=0 psp_hardware_initialization finished loading PSP FWs 2024-08-13 17:44:08.830156+0100 localhost kernel[0]: (AMDRadeonX5000HWLibs) AMD TTL AMDLOG: [7:0:0] PSP: event_id=0x180209 event_info:type=2 hw_id=0 event_specific_tag=0x0 pData=0x0 data_size=0 psp_hdcp_resume finished 2024-08-13 17:44:08.889800+0100 localhost kernel[0]: (AMDRadeonX5000HWLibs) AMD TTL AMDLOG: [7:0:0] PSP: event_id=0x100601 event_info:type=2 hw_id=0 event_specific_tag=0x0 pData=0x0 data_size=0 psp_power_up_event finished non PSP FW loading 2024-08-13 17:44:08.916402+0100 localhost kernel[0]: (AMDRadeonX5000) [7:0:0] [Accel] <<< TTL::powerUp() Completed successfully. 2024-08-13 17:44:08.916409+0100 localhost kernel[0]: (AMDRadeonX5000) [7:0:0] [Accel] >>> Calling ::powerUpCAIL() 2024-08-13 17:44:08.918197+0100 localhost kernel[0]: (AMDRadeonX5000) [7:0:0] [Accel] <<< ::powerUpCAIL() Completed successfully. 2024-08-13 17:44:08.918579+0100 localhost kernel[0]: (AMDRadeonX6000Framebuffer) [7:0:0] [PPLIB] initializePowerTuneParameters() !!! HW TDP Limit is 0, use a default value. 2024-08-13 17:44:08.925110+0100 localhost kernel[0]: (AMDRadeonX5000) [7:0:0]: Controller is enabled, finish initialization 2024-08-13 17:44:08.984669+0100 localhost kernel[0]: (AMDRadeonX5000) [7:0:0]: AMD ERROR! VRR FAILED TIMESTAMPS : Last frame: 1479697033916, Transaction complete 1479713699666, Next Frame: 0 2024-08-13 17:44:08.984903+0100 localhost kernel[0]: (AMDRadeonX5000) [7:0:0]: AMD ERROR! VRR FAILED TIMESTAMPS : Last frame: 1479697305876, Transaction complete 1479713971626, Next Frame: 0 2024-08-13 17:44:08.985024+0100 localhost kernel[0]: (AMDRadeonX5000) [7:0:0]: AMD ERROR! VRR FAILED TIMESTAMPS : Last frame: 1479697527361, Transaction complete 1479714193111, Next Frame: 0 2024-08-13 17:44:12.886751+0100 localhost kernel[0]: (AMDRadeonX6000Framebuffer) [7:0:0] [CUR:0] saveCursorPosition() !!! Cursor Image has not been set. 2024-08-13 17:44:12.891689+0100 localhost kernel[0]: (AMDRadeonX6000Framebuffer) [7:0:0] [CUR:0] saveCursorPosition() !!! Cursor Image has not been set. 2024-08-13 17:44:13.657843+0100 localhost kernel[0]: (AMDRadeonX5000) [7:0:0]: AMD ERROR! VRR FAILED TIMESTAMPS : Last frame: 1483829669200, Transaction complete 1483845638692, Next Frame: 0
this is the expected behaviour of returning from a long sleep cycle (35 minutes) - all good.
now maybe just luck but the only thing i changed on github nred.cpp source is:
this->iGPU->enablePCIPowerManagement(kPCIPMCSPowerStateD0);//PCI Power Management is disabled. this->iGPU->setMemoryEnable(true); this->iGPU->setBusMasterEnable(true);
and the usual panic avoid for opengl in X5000.cpp (check code in insanly)