Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-4963

Renesas RCar GPU Crash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • None
    • master
    • flutter, Graphics
    • None

      Running 3D impeller on RCar M3 I experience a GPU crash:

      [ 1558.963070] PVR_K:  523: ------------[ PVR DBG: START (High) ]------------                                                                                                                 
      [ 1558.970072] PVR_K:  523: OS kernel info: Linux 5.10.41-yocto-standard #1 SMP PREEMPT Wed Aug 2 18:13:20 UTC 2023 aarch64                                                                   
      [ 1558.981024] PVR_K:  523: DDK info: Rogue_DDK_Linux rogueddk 1.15@6052913 (release) r8a7796_linux                                                                                           
      [ 1558.989883] PVR_K:  523: Time now: 1558989855us                                                                                                                                            
      [ 1558.994523] PVR_K:  523: Services State: OK                                                                                                                                                
      [ 1558.998767] PVR_K:  523: Server Errors: 0                                                                                                                                                  
      [ 1559.002830] PVR_K:  523: Connections Device ID:0(128) P581-V581-T581-agl-compositor, P1156-V1156-T1156-flutter-auto                                                                        
      [ 1559.013309] PVR_K:  523: ------[ Driver Info ]------                                                                                                                                       
      [ 1559.018372] PVR_K:  523: Comparison of UM/KM components: MATCHING                                                                                                                          
      [ 1559.024506] PVR_K:  523: KM Arch: 64 Bit                                                                                                                                                   
      [ 1559.028484] PVR_K:  523: UM Connected Clients: 64 Bit                                                                                                                                      
      [ 1559.033619] PVR_K:  523: UM info: 1.15 @  6052913 (release) build options: 0x80000810                                                                                                      
      [ 1559.041501] PVR_K:  523: KM info: 1.15 @  6052913 (release) build options: 0x00000810                                                                                                      
      [ 1559.049396] PVR_K:  523: Window system: nullws_drm                                                                                                                                         
      [ 1559.054280] PVR_K:  523: ------[ RGX Device ID:0 Start ]------                                                                                                                             
      [ 1559.060171] PVR_K:  523: ------[ RGX Info ]------                                                                                                                                          
      [ 1559.064976] PVR_K:  523: Device Node (Info): 00000000f24392ac (00000000e3116c92)                                                                                                           
      [ 1559.072384] PVR_K:  523: RGX BVNC: 4.45.2.58 (rogue)                                                                                                                                       
      [ 1559.077372] PVR_K:  523: RGX Device State: Active                                                                                                                                          
      [ 1559.082105] PVR_K:  523: RGX Power State: ON                                                                                                                                               
      [ 1559.086383] PVR_K:  523: FW info: 1.15 @  6052913 (release) build options: 0x80000810                                                                                                      
      [ 1559.094219] PVR_K:  523: BIF0 - OK                                                                                                                                                         
      [ 1559.097643] PVR_K:  523: BIF1 - OK                                                                                                                                                         
      [ 1559.101052] PVR_K:  523: TEXAS_BIF - OK                                                                                                                                                    
      [ 1559.104891] PVR_K:  523: RGX Virtualisation firmware connection state: UP (Fw=active; OS=active)                                                                                           
      [ 1559.113693] PVR_K:  523: RGX FW State: OK (HWRState 0x00000001: HWR OK;)                                                                                                                   
      [ 1559.120400] PVR_K:  523: RGX FW Power State: RGXFWIF_POW_ON (APM disabled: 0 ok, 0 denied, 0 non-idle, 0 retry, 0 other, 0 total. Latency: 100 ms)                                         
      [ 1559.133550] PVR_K:  523: RGX DVFS: 0 frequency changes. Current frequency: 599.997 MHz (sampled at 1551351741194 ns). FW frequency: 600.000 MHz.                                           
      [ 1559.146519] PVR_K:  523: RGX FW OS 0 - State: active; Freelists: Ok; Priority: 0; MTS on;                                                                                                  
      [ 1559.154712] Unable to handle kernel paging request at virtual address ffff800012c4d02c                                                                                                     
      [ 1559.162641] Mem abort info:                                                                                                                                                                
      [ 1559.165444]   ESR = 0x96000021                                                                                                                                                             
      [ 1559.168503]   EC = 0x25: DABT (current EL), IL = 32 bits                                                                                                                                   
      [ 1559.173816]   SET = 0, FnV = 0                                                                                                                                                             
      [ 1559.176872]   EA = 0, S1PTW = 0                                                                                                                                                            
      [ 1559.180019] Data abort info:                                                                                                                                                               
      [ 1559.182901]   ISV = 0, ISS = 0x00000021                                                                                                                                                    
      [ 1559.186737]   CM = 0, WnR = 0                                                                                                                                                              
      [ 1559.189709] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000049c2a000                                                                                                                   
      [ 1559.196416] [ffff800012c4d02c] pgd=000000063ffff003, p4d=000000063ffff003, pud=000000063fffe003, pmd=00000006014ed003, pte=0068000609101713                                                
      [ 1559.208961] Internal error: Oops: 96000021 [#1] PREEMPT SMP                                                                                                                                
      [ 1559.214530] Modules linked in: 8021q garp mrp stp llc can_raw can iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c iptable_mangle iptable_filter bluetooth cfg802116
      [ 1559.248745] CPU: 0 PID: 523 Comm: pvr_device_wdg Tainted: G           O      5.10.41-yocto-standard #1                                                                                     
      [ 1559.258043] Hardware name: Renesas M3ULCB board based on r8a77960 (DT)                                                                                                                     
      [ 1559.264567] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO BTYPE=--)                                                                                                                           
      [ 1559.270651] pc : RGXDumpRGXDebugSummary+0x324/0xf60 [pvrsrvkm]                                                                                                                             
      [ 1559.276560] lr : RGXDumpRGXDebugSummary+0x3ec/0xf60 [pvrsrvkm]                                                                                                                             
      [ 1559.282386] sp : ffff800023b93790                                                                                                                                                          
      [ 1559.285694] x29: ffff800023b93920 x28: 0000000000000001                                                                                                                                    
      [ 1559.291002] x27: ffff800009335098 x26: ffff800009315838                                                                                                                                    
      [ 1559.296310] x25: ffff800009334da0 x24: 0000000000000000                                                                                                                                    
      [ 1559.301618] x23: 0000000000000000 x22: ffff800012c4d000                                                                                                                                    
      [ 1559.306925] x21: 0000000000000000 x20: ffff0005c92c1000                                                                                                                                    
      [ 1559.312232] x19: 0000000000000000 x18: ffffffffffffffff                                                                                                                                    
      [ 1559.317539] x17: 00000000000012cc x16: 00000000000012c0                                                                                                                                    
      [ 1559.322846] x15: ffff8000a3b93377 x14: 3020534f20574620                                                                                                                                    
      [ 1559.328153] x13: ffff80001217bbe8 x12: 0000000000000540                                                                                                                                    
      [ 1559.333460] x11: 0000000000000001 x10: ffff80001217bbe8                                                                                                                                    
      [ 1559.338768] x9 : ffff80001217bbe8 x8 : 00000000ffffefff                                                                                                                                    
      [ 1559.344075] x7 : ffff8000121d3be8 x6 : ffff8000121d3be8                                                                                                                                    
      [ 1559.349382] x5 : 0000000000000000 x4 : ffff0005ffb2d930                                                                                                                                    
      [ 1559.354689] x3 : 0000000000000000 x2 : 000000000000500a                                                                                                                                    
      [ 1559.359996] x1 : 0000000000000001 x0 : ffff800012c4d004                                                                                                                                    
      [ 1559.365304] Call trace:                                                                                                                                                                    
      [ 1559.367793]  RGXDumpRGXDebugSummary+0x324/0xf60 [pvrsrvkm]                                                                                                                                 
      [ 1559.373328]  RGXDebugRequestProcess+0x698/0x1260 [pvrsrvkm]                                                                                                                                
      [ 1559.378937]  RGXDebugRequestNotify+0x38/0x4c [pvrsrvkm]                                                                                                                                    
      [ 1559.384198]  PVRSRVDebugRequest+0x28c/0x620 [pvrsrvkm]                                                                                                                                     
      [ 1559.389372]  DevicesWatchdogThread_ForEachVaCb+0xf0/0x150 [pvrsrvkm]                                                                                                                       
      [ 1559.395762]  List_PVRSRV_DEVICE_NODE_ForEach_va+0x78/0xbc [pvrsrvkm]                                                                                                                       
      [ 1559.402151]  DevicesWatchdogThread+0x148/0x220 [pvrsrvkm]                                                                                                                                  
      [ 1559.407586]  OSThreadRun+0x24/0x60 [pvrsrvkm]                                                                                                                                              
      [ 1559.411943]  kthread+0x158/0x160                                                                                                                                                           
      [ 1559.415171]  ret_from_fork+0x10/0x30                                                                                                                                                       
      [ 1559.418745] Code: 8b3c4ac0 2a1c03e1 f9400682 5280002b (f9401409)                                                                                                                           
      [ 1559.424835] ---[ end trace b5469c680eeec59d ]---                          

      scottm Do we have a contact that can shed some light on this?  Also are there any additional tools to gather more data?  Working with TI they offered some additional things to set, as well as a few of their tools to assist in log gathering.

       

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            beeplus1029 Brendan Newton
            jwinarske Joel Winarske
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: