SPRADI3 June   2024 AM625 , AM62P , AM67 , AM67A , AM68 , AM68A , AM69 , AM69A , DRA829J , DRA829J-Q1 , DRA829V , DRA829V-Q1 , TDA4AEN-Q1 , TDA4AH-Q1 , TDA4AL-Q1 , TDA4AP-Q1 , TDA4VE-Q1 , TDA4VEN-Q1 , TDA4VH-Q1 , TDA4VL-Q1 , TDA4VM , TDA4VM-Q1 , TDA4VP-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Common Issues with Graphics Applications
    1. 2.1 System or Application Freeze
      1. 2.1.1 Typical Kernel Panic Logs
    2. 2.2 Screen Tearing
    3. 2.3 Artifacts or Corruption in the Screen
    4. 2.4 Blank Screen
    5. 2.5 Low Frame Rate
    6. 2.6 GPU Driver Logs and Hardware Recoveries
      1. 2.6.1 Typical GPU HWR Logs
  6. 3Support Flow for Graphics Issues
    1. 3.1 Submit Preliminary Description
    2. 3.2 Determine if the Issue Reproduces on TI EVM
    3. 3.3 Provide Follow-Up Testing and Logs
  7. 4Tools for GPU Driver Debug
    1. 4.1 Driver Status in Linux® DebugFS
    2. 4.2 Driver AppHints
    3. 4.3 PVR Log Dump Collection
    4. 4.4 Adding Log Groups to Firmware Traces
    5. 4.5 Disabling the Driver After Hardware Recovery
    6. 4.6 Disable Autoloading of the GPU Driver
  8. 5Integrating Patched GPU Drivers
    1. 5.1 UM Libraries Installation
    2. 5.2 KM Libraries Installation
    3. 5.3 Post-Installation Steps
  9. 6Summary

Typical GPU HWR Logs

[  275.343261] PVR_K:  228: ------------[ PVR DBG: START (High) ]------------
[  275.350212] PVR_K:  228: OS kernel info: Linux 6.1.46-g5892b80d6b #1 SMP PREEMPT Wed Apr  3 19:34:28 UTC 2024 aarch64
[  275.360827] PVR_K:  228: DDK info: Rogue_DDK_Linux_WS rogueddk 23.2@6460340 (release) j721s2_linux
[  275.369798] PVR_K:  228: Time now: 275369792us
[  275.374260] PVR_K:  228: Services State: OK
[  275.378483] PVR_K:  228: Server Errors: 0
[  275.382800] PVR_K:  228: Connections Device ID:0(128) P1128-V1-T1153-VayaDriveConsol
[  275.390613] PVR_K:  228: ------[ Driver Info ]------
[  275.395699] PVR_K:  228: Comparison of UM/KM components: MATCHING
[  275.405345] PVR_K:  228: KM Arch: 64 Bit
[  275.410821] PVR_K:  228: Driver Mode: Native
[  275.415527] PVR_K:  228: UM Connected Clients: 64 Bit
[  275.420814] PVR_K:  228: UM info: 23.2 @  6460340 (release) build options: 0x80000810
[  275.428899] PVR_K:  228: KM info: 23.2 @  6460340 (release) build options: 0x00000810
[  275.437396] PVR_K:  228: Window system: wayland
[  275.442353] PVR_K:  228: ------[ Server Thread Summary ]------
...
[  275.481396] PVR_K:  228: ------[ RGX Device ID:0 Start ]------
[  275.487504] PVR_K:  228: ------[ RGX Info ]------
...
[  275.789271] PVR_K:  228: ------[ RGX registers ]------
...
[  276.648689] PVR_K:  228: ---- [ RISC-V internal state ] ----
...
[  276.759651] PVR_K:  228: ------[ RGX FW Trace Info ]------
...
[  276.777139] PVR_K:  228: ------[ Full CCB Status ]------
...
[  276.868040] PVR_K:  228: ------[ AppHint Settings ]------
...
[  276.940907] PVR_K:  228: ------[ Active Sync Checkpoints ]------
...
[  277.035347] PVR_K:  228: ------------[ PVR DBG: END ]------------
[  277.043511] ------------[ cut here ]------------
...
[  277.303180] ---[ end trace 0000000000000000 ]---