ChefKissInc / NootedRed

The AMD Vega iGPU support patch kext. No commercial use.
https://chefkissinc.github.io/applehax/nootedred/
Other
1.7k stars 868 forks source link

macos 15 vm won't activate after being in inactive state for a while #318

Closed Molay closed 2 weeks ago

Molay commented 2 weeks ago

macOS Version

Sequoia

What is your CPU's model?

AMD Ryzen 7 5700G with Radeon Graphics

Please describe the behaviour in detail.

I installed Proxmox VE 8.2 on an HP EliteDesk 805 G8 Desktop Mini PC (AMD Ryzen 7 5700G with Radeon Graphics, 64GB DDR4-3200 memory).

I passed the AMD Ryzen 7 5700G's integrated graphics to the VM via PCIe passthrough, and everything worked fine on Windows 11 and macOS 14 VMs after disabling hibernation, although HP's conservative BIOS policy only allows 512MB of VRAM.

I'm used to running VMs 24/7 and accessing them headlessly via Remote Desktop. Only one VM that needs the integrated graphics is running at a time.

Recently I found that after using a newer version (since October 2024) of NootedRed kext, macOS 15 VMs cannot be activated after being in inactive state and remaining for a while (remote desktop cannot be connected, screen is black, keyboard and mouse are unresponsive). For example, the macOS 15 VM went into inactive state after I went to bed at night, and I woke up in the morning to find that the macOS 15 VM could no longer be activated. Checking the gpuRestart log, I found panic information.

This problem was found in both macOS 15.0 and macOS 15.1 VMs, but not in macOS 14 VM using the same kext.

What should've happened instead?

The macOS 15 VMs should be able to be activated normally after entering an inactive state, even after a long time.

If applicable, attach the .gpuRestart, .panic, etc file related to this issue.

Sun Nov  3 04:14:49 2024

Event:               GPU Reset
Date/Time:           Sun Nov  3 04:14:49 2024
Application:         mediaanalysisd
Path:                /System/Library/PrivateFrameworks/MediaAnalysis.framework/Versions/A/mediaanalysisd
Tailspin:            /Library/Logs/DiagnosticReports/gpuRestart2024-11-03-041449.tailspin
GPUSubmission Trace ID: 0
OS Version:          Mac OS X Version 15.1 (Build 24B83)
Graphics Hardware:   AMD Radeon Graphics
Signature:           1

Report Data:

GPU Log Version: 2

Restart Channel: 9 computeUQ6

---THE STATE OF THE DRIVER---

AMDRadeonX5000_AMDVega10GraphicsAccelerator state: ENABLED
 PCIe Device: [9:1:0], DID=0x1638, RID=0xc8, SSID=0x8881
 TotalVideoRAMBytes: 0x0000000020000000 (536870912)
Uptime 3:19:05.590082

[00] Channel: GFX (HW [00]); Priority 2; last reset at 3:18:51.540758
  CompletedTS = 0x0000ce67, SubmittedTS = 0x0000ce67

[03] Channel: computeUQ0 (HW [03]); Priority 2; last reset at 3:18:51.540758
  CompletedTS = 0x00006b8a, SubmittedTS = 0x00006b8a

[04] Channel: computeUQ1 (HW [04]); Priority 2; last reset at 3:18:51.540758
  CompletedTS = 0x0000e4d4, SubmittedTS = 0x0000e4d4

[05] Channel: computeUQ2 (HW [05]); Priority 2; last reset at 3:18:51.540758
  CompletedTS = 0x0000c463, SubmittedTS = 0x0000c464
  ScheduledTS = 0x0000c464, enqueued at 3:18:57.678342
   Wait for Channel 13, TS 0xb725
   Wait for Channel 9, TS 0xcf54

[06] Channel: computeUQ3 (HW [06]); Priority 2; last reset at 3:18:51.540758
  CompletedTS = 0x0001e17d, SubmittedTS = 0x0001e17d

[07] Channel: computeUQ4 (HW [07]); Priority 2; last reset at 3:18:51.540758
  CompletedTS = 0x00008472, SubmittedTS = 0x00008472

[08] Channel: computeUQ5 (HW [08]); Priority 2; last reset at 3:18:51.540758
  CompletedTS = 0x0000c8dc, SubmittedTS = 0x0000c8dc

[09] Channel: computeUQ6 (HW [09]); Priority 2; last reset at 3:18:51.540758
  CompletedTS = 0x0000cf53, SubmittedTS = 0x0000cf54
  Sent to HW: TS = 0x0000cf54 (HW TS = 0x0000cfa0, WPTR = 0x480) at 3:18:57.670201; count = 1
  FirstPendingCB: PID = 4229, Name = mediaanalysisd; SubmitContext = Metal, PASID = 2, doorbell = 0x10, attached
  ---Shader Info---
    Hash: 431a16d09feb9409d0080cc0373bcf2 [VTMTSComputeFunction]
      GPUAddress = 0x00000004007c0000, Size = 0x00000060, ContentValidation = PASS
      Execution point 0x0
      Buffer range 0x0 .. 0x5f:
      *c0027602  0000020c  04030c0d  00000000  c0027602  00000212  002c0207  000009dd 
       c0067602  00000215  000003ff  ffffffff  ffffffff  00011400  ffffffff  ffffffff 
       c0004600  00000407  c0055800  08c40000  ffffff00  000000ff  00000000  00000000 
       0000000a  c0004600  0000001a  c0004600  00000018  c00e7602  00000240  013c0000 
       00000004  013c0080  00000004  013c0070  00000004  013c0160  00000004  030c1600 
       00000004  013c0140  00000004  00000004  00000000  c0067600  00000204  00000000 
       00000000  00000000  00000040  00000010  00000001  c0027600  00000212  002c0207 
       000009dd  c0031500  00000003  0000000b  00000001  00000041  c0004600  00000407 
       c0055800  08400000  ffffff00  000000ff  00000000  00000000  0000000a  c0081000 
       c0004602  00000407  c0055800  28c40000  ffffff00  000000ff  00000000  00000000 
       0000000a  c00d1000  0000000a  c00b1000  ffffffff  ffffffff  00001200  ffffffff 
       ffffffff  c00e7602  00000242  013c11f0  00000004  013c11e0  00000004  013c1010 

[10] Channel: computeUQ7 (HW [10]); Priority 2; last reset at 3:18:51.540758
  CompletedTS = 0x0000009f, SubmittedTS = 0x0000009f

[11] Channel: SDMA0 (HW [11]); Priority 2; last reset at 1:27:15.810147
  CompletedTS = 0x00079347, SubmittedTS = 0x00079347

[12] Channel: VMPT (HW [11]); Priority 0;
  CompletedTS = 0x003de859, SubmittedTS = 0x003de859

[13] Channel: GFX (HW [00]); Priority 2; last reset at 3:18:51.540758
  CompletedTS = 0x0000b724, SubmittedTS = 0x0000b725
  ScheduledTS = 0x0000b725, enqueued at 3:18:57.678304
   Wait for Channel 9, TS 0xcf54

[14] Channel: SDMA0 (HW [11]); Priority 2;
  CompletedTS = 0x00041270, SubmittedTS = 0x00041270

[15] Channel: GFX (HW [00]); Priority 2; last reset at 3:18:51.540758
  CompletedTS = 0x00015d7f, SubmittedTS = 0x00015d7f

[16] Channel: SDMA0 (HW [11]); Priority 2; last reset at 1:15:47.216398
  CompletedTS = 0x00041108, SubmittedTS = 0x00041108

[17] Channel: GFX (HW [00]); Priority 2; last reset at 3:18:51.540758
  CompletedTS = 0x000085fe, SubmittedTS = 0x000085fe

[18] Channel: SDMA0 (HW [11]); Priority 2; last reset at 2:56:51.445489
  CompletedTS = 0x0002e113, SubmittedTS = 0x0002e113

[19] Channel: GFX (HW [00]); Priority 2; last reset at 3:18:51.540758
  CompletedTS = 0x0002a7cc, SubmittedTS = 0x0002a7cc

[20] Channel: SDMA0 (HW [11]); Priority 2;
  CompletedTS = 0x0005a378, SubmittedTS = 0x0005a378

[21] Channel: GFX (HW [00]); Priority 2; last reset at 3:18:51.540758
  CompletedTS = 0x0000b8f7, SubmittedTS = 0x0000b8f7

[22] Channel: SDMA0 (HW [11]); Priority 2; last reset at 1:15:55.060598
  CompletedTS = 0x00043b65, SubmittedTS = 0x00043b65

[23] Channel: GFX (HW [00]); Priority 1; last reset at 3:18:51.540758
  CompletedTS = 0x00056e70, SubmittedTS = 0x00056e70

[24] Channel: SDMA0 (HW [11]); Priority 1;
  CompletedTS = 0x000a5892, SubmittedTS = 0x000a5892

[25] Channel: GFX (HW [00]); Priority 3; last reset at 3:18:51.540758
  CompletedTS = 0x00007aa9, SubmittedTS = 0x00007aa9

[26] Channel: SDMA0 (HW [11]); Priority 3;
  CompletedTS = 0x0001c488, SubmittedTS = 0x0001c488

Pipe 0: Active, submitted = 115525, performed = 115540

Pipe 1: Not active, submitted = 0, performed = 0

Pipe 2: Not active, submitted = 0, performed = 0

---THE STATE OF THE GPU---
GPU is connected to PCIe bus and Register access is correct.
 timeSinceLastPowerUp = 3:18:54.693808

[00] HWChannel: GFX, Priority 2, last reset 3:18:51.540719
  Last preemption after TS=0xc8544 at 3:11:27.928692 completed at 3:11:27.928744
  CompletedTS = 0x000cb4d3, SubmittedTS = 0x000cb4d3; last TS at 3:18:57.687826

[01] HWChannel: KIQ, Priority 2
  CompletedTS = 0x000003db, SubmittedTS = 0x000003db

[02] HWChannel: HIQ, Priority 2
  CompletedTS = 0x000026ef, SubmittedTS = 0x000026f0
  Ring: ENABLED
    GPUAddress = 0x000000ffbfe00000, Size = 0x4000, ReadPos = 0x00000240, WritePos = 0x00000240

[03] HWChannel: computeUQ0, Priority 3, last reset 3:18:51.540720 not attached

[04] HWChannel: computeUQ1, Priority 2, last reset 3:18:51.540720
  CompletedTS = 0x0000e523, SubmittedTS = 0x0000e523; last TS at 3:18:51.808208

[05] HWChannel: computeUQ2, Priority 2, last reset 3:18:51.540720
  CompletedTS = 0x0000c4b0, SubmittedTS = 0x0000c4b0; last TS at 3:18:52.106827

[06] HWChannel: computeUQ3, Priority 2, last reset 3:18:51.540720
  CompletedTS = 0x0001e1d4, SubmittedTS = 0x0001e1d4; last TS at 3:18:51.819167

[07] HWChannel: computeUQ4, Priority 2, last reset 3:18:51.540720
  CompletedTS = 0x000084b1, SubmittedTS = 0x000084b1; last TS at 3:18:51.564978

[08] HWChannel: computeUQ5, Priority 2, last reset 3:18:51.540721
  CompletedTS = 0x0000c95d, SubmittedTS = 0x0000c95d; last TS at 3:18:57.688324

[09] HWChannel: computeUQ6, Priority 2, last reset 3:18:51.540721
  CompletedTS = 0x0000cf9f, SubmittedTS = 0x0000cfa0; last TS at 3:18:51.799350
  PendingTS = 0xcfa0, sent at 3:18:57.670201, AccelChannel: 9, TS = 0xcf54
    GPUAddress = 0x00000004039d0000, Size = 0x4000, ReadPos = 0x00000400, WritePos = 0x00000480
    Command Ring Snapshot:
    0x0300 : c0044000  00010509  00000000  00000000  07400550  00000004  ffff1000  ffff1000 
    0x0308 : ffff1000  ffff1000  ffff1000  c0055800  68c40000  ffffffff  000000ff  00000000 
    0x0310 : 00000000  00000010  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    0x0318 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  c0023f00  007c0000  00000004 
    0x0320 : 00804000  c0023f00  03290000  00000004  00801cc0  ffff1000  ffff1000  ffff1000 
    0x0328 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  c0064900  00000528  60000000 
    0x0330 : 07400558  00000004  00000000  00000000  00000000  c0064900  00038514  23000000 
    0x0338 : 07400000  00000004  0000cf9e  00000000  00000000  c0064900  00038514  01000000 
    0x0340 : 00000000  00000000  00000000  00000000  00000000  ffff1000  ffff1000  ffff1000 
    0x0348 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    0x0350 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    0x0358 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    0x0360 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    0x0368 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    0x0370 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    0x0378 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    --- Frame Boundary ---
    0x0380 : c0044000  00010509  00000000  00000000  07400560  00000004  ffff1000  ffff1000 
    0x0388 : ffff1000  ffff1000  ffff1000  c0055800  68c40000  ffffffff  000000ff  00000000 
    0x0390 : 00000000  00000010  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    0x0398 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  c0023f00  007c0000  00000004 
    0x03a0 : 00803ff0  c0023f00  03290000  00000004  00804000  c0023f00  00fe0000  00000004 
    0x03a8 : 00803fe0  c0023f00  01210000  00000004  008009e0  c0064900  00000528  60000000 
    0x03b0 : 07400568  00000004  00000000  00000000  00000000  c0064900  00038514  23000000 
    0x03b8 : 07400000  00000004  0000cf9f  00000000  00000000  c0064900  00038514  01000000 
    0x03c0 : 00000000  00000000  00000000  00000000  00000000  ffff1000  ffff1000  ffff1000 
    0x03c8 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    0x03d0 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    0x03d8 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    0x03e0 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    0x03e8 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    0x03f0 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    0x03f8 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    --- Frame Boundary ---
    0x0400 :>c0044000< 00010509  00000000  00000000  07400570  00000004  ffff1000  ffff1000 
    0x0408 : ffff1000  ffff1000  ffff1000  c0055800  68c40000  ffffffff  000000ff  00000000 
    0x0410 : 00000000  00000010  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    0x0418 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  c0023f00  007c0000  00000004 
    0x0420 : 00800060  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    0x0428 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  c0064900  00000528  60000000 
    0x0430 : 07400578  00000004  00000000  00000000  00000000  c0064900  00038514  23000000 
    0x0438 : 07400000  00000004  0000cfa0  00000000  00000000  c0064900  00038514  01000000 
    0x0440 : 00000000  00000000  00000000  00000000  00000000  ffff1000  ffff1000  ffff1000 
    0x0448 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    0x0450 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    0x0458 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    0x0460 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    0x0468 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    0x0470 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 
    0x0478 : ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000  ffff1000 

[10] HWChannel: computeUQ7, Priority 1, last reset 3:18:51.540721
  CompletedTS = 0x0000009f, SubmittedTS = 0x0000009f; last TS at 3:11:28.045955

[11] HWChannel: SDMA0, Priority 2
  Last preemption after TS=0x667be0 at 3:18:57.677832 completed at 3:18:57.677861
  CompletedTS = 0x00667c22, SubmittedTS = 0x00667c22; last TS at 3:19:03.460865

UQ Manager state: Running TRUE, Updated FALSE; Active RUN_LIST: [1] 0xadce0659ae1 size 79 procCount 1
      c00ea100 14000002 bb70b000 00000000 00000000 00001018 04000000 00000000 
      00000000 00000000 00000000 00000000 00000000 01800000 00000000 00000000 
      c00ea600 00000000 0000003b 00000000 023fffff 00000000 00400000 00000000 
      00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
      c005a200 20000010 00000080 bfe8a000 000000ff 07400010 00000004 c005a200 
      20000010 00000058 bfe80000 000000ff 0a400010 00000004 c005a200 20000010 
      00000060 bfe82000 000000ff 03a00010 00000004 c005a200 20000010 00000068 
      bfe84000 000000ff 08200010 00000004 c005a200 20000010 00000070 bfe86000 
      000000ff 07000010 00000004 c005a200 20000010 00000078 bfe88000 000000ff 
      06600010 00000004 c003a500 c0fa0000 000000ff 0190004f 00000000 
Proc 4229 mediaanalysisd, pasid 2, VMPD 0xf41b70b000, queuCount 6

Graphic and Compute(GC):
  Graphic Ring: GPUAddress = 0x000000ffbfd40000, Size = 0x00020000, ReadPtr = 0x00002980 (0x00002980), WritePtr = 0x00002980 (0x0000000000002980)
    IB: GPUAddress = 0x0000000400592200, ConsumedSize = 0x00000070, RemainSize=0x00000000
    PFP Last Processed Commands: 
          0xc0008b00
          0xffff1000
          0xffff1000
          0xffff1000
          0xffff1000
          0xffff1000
          0xffff1000
          0xffff1000
    ME Last Processed Commands: 
          0xc0004200
          0xc0008b00
          0xc0064900
          0xc0001700
          0xc0055800
          0xc0000c00
          0xc0004600
          0xc0031502
  GC Pipeline Status:
    Command Processor(CP): CPFetchers= BUSY CPGraphics= IDLE CPCompute= BUSY
      PreFetchParser(PFP): ACTIVE
      MicroEngineGraphic(ME): ACTIVE
      MicroEngineCompute0(MEC0): ACTIVE
      MicroEngineCompute1(MEC1): ACTIVE
    Graphic Engine Setup: IDLE
    Unified Shader Processor and Input: BUSY
    Texture Pipe: IDLE
    Render Backend: IDLE
    GRBM Status: 0xa0403028
    GRBM Status 2: 0x30000008
    GRBM Status SE0: 0x08000006
SDMA0: IDLE,  MicroEngine: ACTIVE,  LastCmd: 0x00000000
  Q0: ACTIVE, ReadPtr = 0x00036e00 (0x00000000d0cdb800), WritePtr = 0x00036e00 (0x00000000d0cdb800)
    IB: ENABLED, GPUAddress = 0x000000ffc0343d20, ConsumedSize = 0x000000f8, RemainSize=0x00000000

-- PSP Information --

tOS Status             = 0x0ea3260e
tOS Version            = 0x00110084 (0.11.0.84)
BootLoader Version     = 0x00000000
Sec. Policy Version    = 0x0b100022
BootLoader Ready       = 0xffffffff
BootLoader POST Code   = 0xffffffff
FW Validation Info     = 0xffffffff
----------------------------------------------
Write Ptr              = 0x000000f0
Read Ptr               = 0x000000f0
----------------------------------------------
tOS: Program Counter   = 0x00000000
tOS: Thread Info       = 0x00000000 (threadID 0x0, CPU mode 0x0, ProcessID 0x0, ProcessType 0x0, AbortType 0x0)
tOS: Exception Address = 0x00000000
tOS: DFSR              = 0x00000000
tOS: DFAR              = 0x00000000
tOS: Panic code        = 0x00000000
tOS: TA UUID           = 0x00aebaeb

GPIO pins:  PCC 1  GTHR 1  VRHot 1

---EVENT LOGS (v1.00)---

--Accelerator Group--
Sleep/Wake Event Log:
8070667061, >>>, AccelStart, []
8206545789, <<<, AccelStart, [00000001]
10896703432, >>>, PowerUpHW, []
10904109250, <<<, PowerUpHW, [00000001]
10941465803, ---, ControllerEnabled, []

AccelTask Event Log:
11868106683370, ---, TaskDestruction, [00001099 00000000 00000000 00000000]
11884790390655, ---, TaskCreation, [00001099 00000000 00000000 00000000]
11884790948712, ---, FreeAllGpuMappings, [00001099 00000000 00000000 00000000]
11884790954202, ---, TaskDestruction, [00001099 00000000 00000000 00000000]
11901089771758, ---, TaskCreation, [00001099 00000000 00000000 00000000]
11901090366032, ---, FreeAllGpuMappings, [00001099 00000000 00000000 00000000]
11901090372565, ---, TaskDestruction, [00001099 00000000 00000000 00000000]
11910497287802, ---, TaskCreation, [00001099 00000000 00000000 00000000]
11910497785075, ---, FreeAllGpuMappings, [00001099 00000000 00000000 00000000]
11910497790034, ---, TaskDestruction, [00001099 00000000 00000000 00000000]
11920586240680, ---, TaskCreation, [00001099 00000000 00000000 00000000]
11920586787285, ---, FreeAllGpuMappings, [00001099 00000000 00000000 00000000]
11920586792916, ---, TaskDestruction, [00001099 00000000 00000000 00000000]
11923766460588, ---, TaskCreation, [00001099 00000000 00000000 00000000]
11923766824180, ---, FreeAllGpuMappings, [00001099 00000000 00000000 00000000]
11923766829180, ---, TaskDestruction, [00001099 00000000 00000000 00000000]

--Hardware Group--
TTL Event Log:
8152684225, >>>, PSPEvent, [0000000b 00100605 00000000]
8152684886, <<<, PSPEvent, [0000000b 00100605 00000000]
8152686128, <<<, PSPEvent, [0000000b 00100602 00000000]
8152686218, >>>, PSPEvent, [0000000b 00100602 00000000]
8152686269, >>>, PSPEvent, [0000000b 00100605 00000000]
8152691168, <<<, PSPEvent, [0000000b 00100605 00000000]
8156369425, <<<, PSPEvent, [0000000b 00100602 00000000]
8156370397, >>>, PSPEvent, [0000000b 00100602 00000000]
8156370477, >>>, PSPEvent, [0000000b 00100605 00000000]
8156554312, <<<, PSPEvent, [0000000b 00100605 00000000]
8171986321, <<<, PSPEvent, [0000000b 00100602 00000000]
8171987133, >>>, PSPEvent, [0000000b 00100602 00000000]
8171987183, >>>, PSPEvent, [0000000b 00100605 00000000]
8172030334, <<<, PSPEvent, [0000000b 00100605 00000000]
8178913502, <<<, PSPEvent, [0000000b 00100602 00000000]
8178914403, <<<, PSPEvent, [0000000b 00100201 00000000]
8178919643, <<<, HWInit, [00000002 800c0209 00000006]
8178920966, >>>, HWInit, [00000002 800c0209 00000007]
8178951863, ---, GCEvent, [00000006 c0100201 00000000]
8178977261, ---, PowerUp, [00000006 801c0201 00000000]
8178979215, <<<, HWInit, [00000002 800c0209 00000007]
8178980467, >>>, HWInit, [00000002 800c0209 00000002]
8178996718, <<<, HWInit, [00000002 800c0209 00000002]
8178997750, >>>, HWInit, [00000002 800c0209 00000009]
8179818028, <<<, HWInit, [00000002 800c0209 00000009]
8179819190, >>>, HWInit, [00000002 800c0209 0000000a]
8179821314, <<<, HWInit, [00000002 800c0209 0000000a]
8179822226, >>>, HWInit, [00000002 800c0209 0000000f]
8179823538, <<<, HWInit, [00000002 800c0209 0000000f]
8186332955, <<<, PSPEvent, [0000000b 00180209 00000000]
8192440378, <<<, PSPEvent, [0000000b 0018020e 00000000]
8199491250, <<<, PSPEvent, [0000000b 0018020f 00000000]

--Display Pipe Group--
Display Pipe 0 Event Log:
11513631906836, ---, TransactionPerformed, [0001c326 00000001]
11513665161488, ---, TransactionPerformed, [0001c327 00000001]
11513698546734, ---, TransactionPerformed, [0001c328 00000001]
11513749153485, ---, TransactionPerformed, [0001c329 00000001]
11514248676251, ---, TransactionPerformed, [0001c32a 00000001]
11514265253588, ---, TransactionPerformed, [0001c32b 00000001]
11514281450281, ---, TransactionPerformed, [0001c32c 00000001]
11514315192226, ---, TransactionPerformed, [0001c32d 00000001]
11514348736200, ---, TransactionPerformed, [0001c32e 00000001]
11514398532992, ---, TransactionPerformed, [0001c32f 00000001]
11514632513807, ---, TransactionPerformed, [0001c330 00000001]
11514665179504, ---, TransactionPerformed, [0001c331 00000001]
11514698350629, ---, TransactionPerformed, [0001c332 00000001]
11514748751494, ---, TransactionPerformed, [0001c333 00000001]
11515249092034, ---, TransactionPerformed, [0001c334 00000001]
11515265719635, ---, TransactionPerformed, [0001c335 00000001]
11515281563386, ---, TransactionPerformed, [0001c336 00000001]
11515315200174, ---, TransactionPerformed, [0001c337 00000001]
11515348616839, ---, TransactionPerformed, [0001c338 00000001]
11515399072406, ---, TransactionPerformed, [0001c339 00000001]
11515631863791, ---, TransactionPerformed, [0001c33a 00000001]
11515665111880, ---, TransactionPerformed, [0001c33b 00000001]
11515715186243, ---, TransactionPerformed, [0001c33c 00000001]
11515748407040, ---, TransactionPerformed, [0001c33d 00000001]
11516248831237, ---, TransactionPerformed, [0001c33e 00000001]
11516265508972, ---, TransactionPerformed, [0001c33f 00000001]
11516281498707, ---, TransactionPerformed, [0001c340 00000001]
11516315156545, ---, TransactionPerformed, [0001c341 00000001]
11516365097597, ---, TransactionPerformed, [0001c342 00000001]
11516380458904, ---, TransactionPerformed, [0001c343 00000801]
11516397034728, ---, TransactionPerformed, [0001c344 00000801]
11516452593796, ---, TransactionPerformed, [0001c345 00000801]

--Scheduling Group--
Context Event Log:
11931931223604, ---, Preempt, [0000000b 006679ae 00000000]
11931931265764, ---, PreemptionCompleted, [0000000b 006679ae 00000000]
11931940997784, ---, Preempt, [0000000b 006679bd 00000000]
11931941000869, ---, PreemptionCompleted, [0000000b 006679bb 00000000]
11931960577280, ---, Preempt, [0000000b 006679db 00000000]
11931960625591, ---, PreemptionCompleted, [0000000b 006679da 00000000]
11931983353171, ---, Preempt, [0000000b 006679fa 00000000]
11931983384961, ---, PreemptionCompleted, [0000000b 006679f9 00000000]
11931993607861, ---, Preempt, [0000000b 00667a09 00000000]
11931993649089, ---, PreemptionCompleted, [0000000b 00667a08 00000000]
11932003532473, ---, Preempt, [0000000b 00667a18 00000000]
11932003574111, ---, PreemptionCompleted, [0000000b 00667a17 00000000]
11932013551291, ---, Preempt, [0000000b 00667a27 00000000]
11932013590434, ---, PreemptionCompleted, [0000000b 00667a26 00000000]
11932035336844, ---, Preempt, [0000000b 00667a45 00000000]
11932035382510, ---, PreemptionCompleted, [0000000b 00667a45 00000000]
11932046661671, ---, Preempt, [0000000b 00667a54 00000000]
11932046683853, ---, PreemptionCompleted, [0000000b 00667a53 00000000]
11932074787114, ---, Preempt, [0000000b 00667a81 00000000]
11932074836827, ---, PreemptionCompleted, [0000000b 00667a80 00000000]
11937666069307, ---, Preempt, [0000000b 00667ade 00000000]
11937666113510, ---, PreemptionCompleted, [0000000b 00667add 00000000]
11937677525611, ---, Preempt, [0000000b 00667bd4 00000000]
11937677563953, ---, PreemptionCompleted, [0000000b 00667bd2 00000000]
11937677605420, ---, Preempt, [0000000b 00667bd8 00000000]
11937677612213, ---, PreemptionCompleted, [0000000b 00667bd4 00000000]
11937677660193, ---, Preempt, [0000000b 00667bdb 00000000]
11937677680541, ---, PreemptionCompleted, [0000000b 00667bd8 00000000]
11937677749100, ---, Preempt, [0000000b 00667bdd 00000000]
11937677767094, ---, PreemptionCompleted, [0000000b 00667bdb 00000000]
11937677832296, ---, Preempt, [0000000b 00667be0 00000000]
11937677863314, ---, PreemptionCompleted, [0000000b 00667bdf 00000000]

UQManager Event Log:
10500876301458, ---, UQ Remove, [00000005 00000015 00000007 00000002 00000002]
10500876313691, ---, UQ Remove, [00000003 00000018 0000000a 00000001 00000001]
10500882261024, ---, UQ Add, [00000002 0000000b 00000005 00020001 00000002]
10500884353608, ---, UQ Add, [00000002 0000000c 00000008 00030001 00000003]
10500894047847, ---, UQ Add, [00000002 0000000d 00000006 00040001 00000004]
10500917141173, ---, UQ Add, [00000002 0000000e 00000007 00050001 00000005]
10502744424259, ---, UQ Add, [00000002 0000000f 00000004 00060001 00000006]
10502874453207, ---, UQ Add, [00000001 00000011 00000009 00010002 00000007]
10518965801754, ---, UQ Add, [00000001 00000012 00000008 00020002 00000008]
10550584440471, ---, UQ Add, [00000001 00000013 00000007 00030002 00000009]
10550659247483, ---, UQ Add, [00000001 00000014 00000004 00040002 0000000a]
10587942853101, ---, UQ Add, [00000001 00000015 00000005 00050002 0000000b]
10669723055030, ---, UQ Add, [00000001 00000016 00000006 00060002 0000000c]
11488034914620, ---, UQ Add, [00000003 00000017 0000000a 00010003 0000000d]
11649213957329, ---, UQ Add, [00000004 00000018 00000008 00010004 0000000e]
11649243485442, ---, UQ Remove, [00000004 00000018 00000008 00000003 0000000d]

HWS Event Log:
11943773838339, >>>, RunList, [e0659ae1 00000adc 00020001 00000001]
11943773840293, <<<, RunList, [00000002 00000000 00000000 00000000]
11943773979424, <<<, HWS, [73e4aa9c 00000adb 00010000 00000001]
11943773979734, >>>, HWS, [e0659ae1 00000adc 00010001 00000001]
11943877756303, <<<, HWS, [e0659ae1 00000adc 00010001 00000001]
11943877757224, >>>, HWS, [e0659ae1 00000adc 00010001 00000001]
11943980186005, <<<, HWS, [e0659ae1 00000adc 00010001 00000001]
11943980187237, >>>, HWS, [e0659ae1 00000adc 00010001 00000001]
11944082418909, <<<, HWS, [e0659ae1 00000adc 00010001 00000001]
11944082420422, >>>, HWS, [e0659ae1 00000adc 00010001 00000001]
11944184676609, <<<, HWS, [e0659ae1 00000adc 00010001 00000001]
11944184677911, >>>, HWS, [e0659ae1 00000adc 00010001 00000001]
11944286586827, <<<, HWS, [e0659ae1 00000adc 00010001 00000001]
11944286587378, >>>, HWS, [e0659ae1 00000adc 00010001 00000001]
11944388820162, <<<, HWS, [e0659ae1 00000adc 00010001 00000001]
11944388821063, >>>, HWS, [e0659ae1 00000adc 00010001 00000001]

FB Triage - Pipe 0:
HUBBUB:
wm_set_index,data_urgent,pte_meta_urgent,sr_enter,sr_exit,dram_clk_chanage
0,7.187,0.000,31.583,15.666,18.916
1,5.583,0.000,31.583,15.333,17.291
2,5.583,0.000,31.583,15.333,17.291
3,5.583,0.000,31.583,15.333,17.291

HUBP:
instance,format,addr_hi,addr_lo,width,height,rotation,mirror,sw_mode,dcc_en,blank_en,ttu_dis,underflow,min_ttu_vblank,qos_low_wm,qos_high_wm
0,0,0,0,0,0,0,0,0,0,0,0,0,0.000,0.000,0.000
1,0,0,0,0,0,0,0,0,0,0,0,0,0.000,0.000,0.000
2,0,0,0,0,0,0,0,0,0,0,0,0,0.000,0.000,0.000
3,0,0,0,0,0,0,0,0,0,0,0,0,0.000,0.000,0.000

TTU:
instance,qos_ll_wm,qos_lh_wm,mn_ttu_vb,qos_l_flp,rc_rd_p_l,rc_rd_l,rc_rd_p_c,rc_rd_c,rc_rd_c0,rc_rd_pc0,rc_rd_c1,rc_rd_pc1,qos_lf_l,qos_rds_l,qos_lf_c,qos_rds_c,qos_lf_c0,qos_rds_c0,qos_lf_c1,qos_rds_c1
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

CM:
instance,igam_format,igam_mode,dgam_mode,rgam_mode,gamut_mode,c11_c12,c13_c14,c21_c22,c23_c24,c31_c32,c33_c34

MPCC:
instance,opp,dpp,mpccbot,mode,alpha_mode,premult,overlap_only,idle

OTG:
instance,v_bs,v_be,v_ss,v_se,vpol,vmax,vmin,vmax_sel,vmin_sel,h_bs,h_be,h_ss,h_se,hpol,htot,vtot,underflow,pixelclk[khz]
0,1121,41,0,5,0,1124,1124,1,1,2112,192,0,44,0,2199,1124,0,148500

CLKS:
dcfclk,dcfclk_deep_sleep,dispclk,dppclk,fclk,socclk
400000,10209,150734,100000,400000,400000

RQ:
instance,drq_exp_m,prq_exp_m,mrq_exp_m,crq_exp_m,plane1_ba,luma_chunk_s,luma_min_chu_s,luma_meta_ch_s,luma_min_m_c_s,luma_dpte_gr_s,luma_mpte_gr_s,luma_swath_hei,luma_pte_row_h,chroma_chunk_s,chroma_min_chu_s,chroma_meta_ch_s,chroma_min_m_c_s,chroma_dpte_gr_s,chroma_mpte_gr_s,chroma_swath_hei,chroma_pte_row_h
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

DLG:
instance,rc_hbe,dlg_vbe,min_d_y_n,rc_per_ht,rc_x_a_s,dst_y_a_s,dst_y_pf,dst_y_vvb,dst_y_rvb,dst_y_vfl,dst_y_rfl,rf_pix_fq,vratio_pf,vrat_pf_c,rc_pg_vbl,rc_pg_vbc,rc_mc_vbl,rc_mc_vbc,rc_pg_fll,rc_pg_flc,rc_mc_fll,rc_mc_flc,pr_nom_l,pr_nom_c,rc_pg_nl,rc_pg_nc,mr_nom_l,mr_nom_c,rc_mc_nl,rc_mc_nc,rc_ld_pl,rc_ld_pc,rc_ld_l,rc_ld_c,cha_cur0,ofst_cur1,cha_cur1,vr_af_vc0,ddrq_limt,x_rt_dlay,x_rp_dlay,x_rr_sfl
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

CLK REGS:
clk_type,clk_value,deepsleep_cntl,deepsleep_allow,bypass
dcfclk,847,0,1,0x0 DFS
dprefclk,598,N/A,N/A,0x4 600 FCH
dispclk,199,N/A,N/A,0x4 600 FCH
SPLIT
reg_name,value,clk_type
CLK1_CLK3_CURRENT_CNT,8470,dcfclk
CLK1_CLK3_DS_CNTL,4,dcf_deep_sleep_divider
CLK1_CLK3_ALLOW_DS,1,dcf_deep_sleep_allow
CLK1_CLK2_CURRENT_CNT,5984,dprefclk
CLK1_CLK0_CURRENT_CNT,1995,dispclk
CLK1_CLK1_CURRENT_CNT,998,dppclk
CLK1_CLK3_BYPASS_CNTL,0,dcfclk_bypass
CLK1_CLK2_BYPASS_CNTL,4,dprefclk_bypass
CLK1_CLK0_BYPASS_CNTL,196612,dispclk_bypass
CLK1_CLK1_BYPASS_CNTL,262147,dppclk_bypass

#FB 3 SMU 1  HDCP 1 VER 0 FLG 0 LVL 0  STAT 28f WSAA 4 PWR 1 MODE 8000300d HA 1920 VA 1080 VB 45 HS 2880 VS 1800 PCLK 148500 VRR 0 NS 1 0  1 0 LTxT 429139841812 LTx 75 LTErr 0 OTx 0 LVB 429096700791 LVU 429095808307 Lck 0 TTx 0 CTx 0 LVB 429096771042 LVU 429095878558ATI PPLIB -- Renoir_SendMsgToSmc -- Trace -- SendMsg Msg = 7, Resp = 1
ATI PPLIB -- Renoir_SendMsgToSmc -- Trace -- SendMsg Msg = 8, Resp = 1
ATI PPLIB -- Renoir_SendMsgToSmc -- Trace -- SendMsg Msg = 7, Resp = 1
ATI PPLIB -- Renoir_SendMsgToSmc -- Trace -- SendMsg Msg = 8, Resp = 1
ATI PPLIB -- Renoir_SendMsgToSmc -- Trace -- SendMsg Msg = 7, Resp = 1
ATI PPLIB -- Renoir_SendMsgToSmc -- Trace -- SendMsg Msg = 8, Resp = 1
ATI PPLIB -- Renoir_SendMsgToSmc -- Trace -- SendMsg Msg = 7, Resp = 1
ATI PPLIB -- Renoir_SendMsgToSmc -- Trace -- SendMsg Msg = 8, Resp = 1
ATI PPLIB -- Renoir_SendMsgToSmc -- Trace -- SendMsg Msg = 7, Resp = 1
ATI PPLIB -- Renoir_SendMsgToSmc -- Trace -- SendMsg Msg = 8, Resp = 1

FB Triage - Pipe 1:

FB Triage - Pipe 2:
VisualEhrmanntraut commented 2 weeks ago

duplicate of #235