Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,872
    • Issues 2,872
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 899
    • Merge requests 899
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mesa
  • mesamesa
  • Issues
  • #5502

Closed
Open
Created Oct 14, 2021 by Omar Emara@OmarEmaraDev

[R600] Corruption and hangs after dispatching an OpenGL compute shader

System information

  • OS: Arch Linux
  • GPU: AMD HD5450 (Evergreen Cedar)
  • Kernel version: 5.14.8
  • Mesa version: 21.2.3 and main
  • Xserver version: X.Org X Server 1.20.13
  • Desktop manager and compositor: dwm

Describe the issue

I have a small OpenGL application that does the following:

  1. Load an RGBA image into a buffer.
  2. Dispatch a compute shader that multiplies the pixel values by 2 and write the result into another buffer.
  3. Copies the result from the buffer into a texture.
  4. Draw that texture.

The application works correctly with LIBGL_ALWAYS_SOFTWARE and on another system with an RX590 (ReadonSI). On my system, however, it either draws a corrupted image and further corrupts drawing of other running applications like Chromium or causes the Linux kernel to crash which requires a reboot. This also happens with NIR and the latest mesa built from the main branch today.

Logs

Relevant dmesg output when a hang happens:

Dmesg:
[  153.093383] radeon 0000:0a:00.0: ring 0 stalled for more than 10027msec
[  153.093395] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002f0 last fence id 0x00000000000002f9 on ring 0)
[  153.333843] radeon 0000:0a:00.0: Saved 274 dwords of commands on ring 0.
[  153.333860] radeon 0000:0a:00.0: GPU softreset: 0x00000019
[  153.333863] radeon 0000:0a:00.0:   GRBM_STATUS               = 0xA2703CA0
[  153.333865] radeon 0000:0a:00.0:   GRBM_STATUS_SE0           = 0x1C000007
[  153.333866] radeon 0000:0a:00.0:   GRBM_STATUS_SE1           = 0x00000007
[  153.333868] radeon 0000:0a:00.0:   SRBM_STATUS               = 0x200000C0
[  153.333871] radeon 0000:0a:00.0:   SRBM_STATUS2              = 0x00000000
[  153.333873] radeon 0000:0a:00.0:   R_008674_CP_STALLED_STAT1 = 0x01000000
[  153.333874] radeon 0000:0a:00.0:   R_008678_CP_STALLED_STAT2 = 0x00011000
[  153.333876] radeon 0000:0a:00.0:   R_00867C_CP_BUSY_STAT     = 0x00068406
[  153.333877] radeon 0000:0a:00.0:   R_008680_CP_STAT          = 0x80878647
[  153.333879] radeon 0000:0a:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
[  153.336534] radeon 0000:0a:00.0: GRBM_SOFT_RESET=0x00007F6B
[  153.336588] radeon 0000:0a:00.0: SRBM_SOFT_RESET=0x00000100
[  153.337750] radeon 0000:0a:00.0:   GRBM_STATUS               = 0x00003828
[  153.337752] radeon 0000:0a:00.0:   GRBM_STATUS_SE0           = 0x00000007
[  153.337753] radeon 0000:0a:00.0:   GRBM_STATUS_SE1           = 0x00000007
[  153.337755] radeon 0000:0a:00.0:   SRBM_STATUS               = 0x200000C0
[  153.337756] radeon 0000:0a:00.0:   SRBM_STATUS2              = 0x00000000
[  153.337757] radeon 0000:0a:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
[  153.337759] radeon 0000:0a:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
[  153.337760] radeon 0000:0a:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
[  153.337762] radeon 0000:0a:00.0:   R_008680_CP_STAT          = 0x00000000
[  153.337763] radeon 0000:0a:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
[  153.337777] radeon 0000:0a:00.0: GPU reset succeeded, trying to resume
[  153.356303] [drm] PCIE gen 2 link speeds already enabled
[  153.360095] [drm] PCIE GART of 1024M enabled (table at 0x000000000014C000).
[  153.360182] radeon 0000:0a:00.0: WB enabled
[  153.360183] radeon 0000:0a:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00
[  153.360185] radeon 0000:0a:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c
[  153.360386] radeon 0000:0a:00.0: fence driver on ring 5 use gpu addr 0x000000000005c418
[  153.360436] debugfs: File 'radeon_ring_gfx' in directory '0' already present!
[  153.360441] debugfs: File 'radeon_ring_dma1' in directory '0' already present!
[  153.376488] [drm] ring test on 0 succeeded in 1 usecs
[  153.376495] [drm] ring test on 3 succeeded in 2 usecs
[  153.376496] debugfs: File 'radeon_ring_uvd' in directory '0' already present!
[  153.553667] [drm] ring test on 5 succeeded in 1 usecs
[  153.553672] [drm] UVD initialized successfully.
[  154.693376] [drm:r600_ib_test [radeon]] *ERROR* radeon: fence wait timed out.
[  154.693413] [drm:radeon_ib_ring_tests [radeon]] *ERROR* radeon: failed testing IB on GFX ring (-110).
[  154.923525] radeon 0000:0a:00.0: GPU softreset: 0x00000019
[  154.923528] radeon 0000:0a:00.0:   GRBM_STATUS               = 0xA0633CA0
[  154.923530] radeon 0000:0a:00.0:   GRBM_STATUS_SE0           = 0x18000007
[  154.923531] radeon 0000:0a:00.0:   GRBM_STATUS_SE1           = 0x00000007
[  154.923533] radeon 0000:0a:00.0:   SRBM_STATUS               = 0x200000C0
[  154.923534] radeon 0000:0a:00.0:   SRBM_STATUS2              = 0x00000000
[  154.923536] radeon 0000:0a:00.0:   R_008674_CP_STALLED_STAT1 = 0x01000000
[  154.923537] radeon 0000:0a:00.0:   R_008678_CP_STALLED_STAT2 = 0x00011000
[  154.923539] radeon 0000:0a:00.0:   R_00867C_CP_BUSY_STAT     = 0x00070402
[  154.923540] radeon 0000:0a:00.0:   R_008680_CP_STAT          = 0x80870243
[  154.923542] radeon 0000:0a:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
[  154.927626] radeon 0000:0a:00.0: GRBM_SOFT_RESET=0x00007F6B
[  154.927680] radeon 0000:0a:00.0: SRBM_SOFT_RESET=0x00000100
[  154.928836] radeon 0000:0a:00.0:   GRBM_STATUS               = 0x00003828
[  154.928838] radeon 0000:0a:00.0:   GRBM_STATUS_SE0           = 0x00000007
[  154.928839] radeon 0000:0a:00.0:   GRBM_STATUS_SE1           = 0x00000007
[  154.928841] radeon 0000:0a:00.0:   SRBM_STATUS               = 0x200000C0
[  154.928842] radeon 0000:0a:00.0:   SRBM_STATUS2              = 0x00000000
[  154.928844] radeon 0000:0a:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
[  154.928845] radeon 0000:0a:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
[  154.928846] radeon 0000:0a:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
[  154.928848] radeon 0000:0a:00.0:   R_008680_CP_STAT          = 0x00000000
[  154.928849] radeon 0000:0a:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
[  154.928863] radeon 0000:0a:00.0: GPU reset succeeded, trying to resume
[  154.947365] [drm] PCIE gen 2 link speeds already enabled
[  154.951156] [drm] PCIE GART of 1024M enabled (table at 0x000000000014C000).
[  154.951242] radeon 0000:0a:00.0: WB enabled
[  154.951243] radeon 0000:0a:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00
[  154.951245] radeon 0000:0a:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c
[  154.951445] radeon 0000:0a:00.0: fence driver on ring 5 use gpu addr 0x000000000005c418
[  154.951494] debugfs: File 'radeon_ring_gfx' in directory '0' already present!
[  154.951497] debugfs: File 'radeon_ring_dma1' in directory '0' already present!
[  154.967543] [drm] ring test on 0 succeeded in 1 usecs
[  154.967549] [drm] ring test on 3 succeeded in 2 usecs
[  154.967551] debugfs: File 'radeon_ring_uvd' in directory '0' already present!
[  155.144722] [drm] ring test on 5 succeeded in 1 usecs
[  155.144727] [drm] UVD initialized successfully.
[  155.269040] [drm] ib test on ring 0 succeeded in 0 usecs
[  155.269091] [drm] ib test on ring 3 succeeded in 0 usecs
[  156.426714] [drm] ib test on ring 5 succeeded
[  156.446875] ------------[ cut here ]------------
[  156.446877] WARNING: CPU: 1 PID: 655 at drivers/gpu/drm/ttm/ttm_bo.c:409 ttm_bo_release+0x2d1/0x300 [ttm]
[  156.446886] Modules linked in: cfg80211 8021q garp mrp stp llc joydev intel_rapl_msr intel_rapl_common mousedev edac_mce_amd kvm_amd snd_hda_codec_realtek usbhid radeon eeepc_wmi snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi asus_wmi sparse_keymap rfkill video wmi_bmof mxm_wmi kvm drm_ttm_helper snd_hda_intel ttm snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec irqbypass nls_iso8859_1 crct10dif_pclmul crc32_pclmul vfat snd_hda_core ghash_clmulni_intel fat drm_kms_helper snd_hwdep cec aesni_intel snd_pcm igb agpgart ccp snd_timer syscopyarea crypto_simd cryptd sysfillrect snd sp5100_tco i2c_algo_bit sysimgblt rapl fb_sys_fops pcspkr k10temp soundcore i2c_piix4 rng_core dca wmi mac_hid gpio_amdpt gpio_generic pinctrl_amd acpi_cpufreq drm fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 xhci_pci crc32c_intel xhci_pci_renesas
[  156.446936] CPU: 1 PID: 655 Comm: openGLIma:rcs0 Not tainted 5.14.8-arch1-1 #1 72b691689b70bfbb45bec8353a1f598ad6e355d8
[  156.446939] Hardware name: System manufacturer System Product Name/PRIME X370-PRO, BIOS 5220 09/12/2019
[  156.446941] RIP: 0010:ttm_bo_release+0x2d1/0x300 [ttm]
[  156.446947] Code: 8d b6 b8 fe ff ff e8 0e c6 d9 ff 49 8b 76 08 48 89 ef e8 b2 24 00 00 49 8b 7e 98 e9 70 fd ff ff e8 24 2b 8b e2 e9 aa fd ff ff <0f> 0b e9 50 fd ff ff e8 23 29 8b e2 e9 f8 fe ff ff be 03 00 00 00
[  156.446949] RSP: 0018:ffffb8b901f1fdf0 EFLAGS: 00010202
[  156.446951] RAX: 0000000000000001 RBX: ffffb8b901f1fe38 RCX: 0000000000000000
[  156.446953] RDX: 0000000000000002 RSI: ffff957088121b58 RDI: ffff95708d36d9d8
[  156.446954] RBP: ffff95708cd406f0 R08: ffff95708d36d9d8 R09: 0000000000000064
[  156.446956] R10: 0000000000000010 R11: ffff9570811c5210 R12: ffff95708eda8058
[  156.446957] R13: ffff95708d36d878 R14: ffff95708d36d9d8 R15: 0000000000000000
[  156.446959] FS:  00007f830190e640(0000) GS:ffff957196a40000(0000) knlGS:0000000000000000
[  156.446961] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  156.446962] CR2: 000055b027638518 CR3: 00000001139e6000 CR4: 00000000003506e0
[  156.446964] Call Trace:
[  156.446967]  radeon_bo_unref+0x1a/0x30 [radeon ca9e927eaa81bd2f9d3de600f2cfbfba91a2d8b5]
[  156.446998]  radeon_gem_object_free+0x30/0x50 [radeon ca9e927eaa81bd2f9d3de600f2cfbfba91a2d8b5]
[  156.447031]  drm_gem_dmabuf_release+0x36/0x50 [drm 86640a753a2e3aa02ea5330d9f929fae10fa63eb]
[  156.447060]  dma_buf_release+0x3a/0x80
[  156.447065]  __dentry_kill+0x101/0x180
[  156.447069]  __fput+0xdb/0x230
[  156.447072]  task_work_run+0x5c/0x90
[  156.447076]  exit_to_user_mode_prepare+0x168/0x170
[  156.447079]  syscall_exit_to_user_mode+0x23/0x40
[  156.447083]  do_syscall_64+0x69/0x80
[  156.447086]  ? syscall_exit_to_user_mode+0x23/0x40
[  156.447088]  ? do_syscall_64+0x69/0x80
[  156.447090]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[  156.447093] RIP: 0033:0x7f830c11459b
[  156.447095] Code: ff ff ff 85 c0 79 9b 49 c7 c4 ff ff ff ff 5b 5d 4c 89 e0 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a5 a8 0c 00 f7 d8 64 89 01 48
[  156.447097] RSP: 002b:00007f830190dbb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[  156.447099] RAX: 0000000000000000 RBX: 00007f830190dc08 RCX: 00007f830c11459b
[  156.447101] RDX: 00007f830190dc08 RSI: 0000000040086409 RDI: 0000000000000009
[  156.447102] RBP: 0000000040086409 R08: 0000000000000000 R09: 00000000ffffffff
[  156.447103] R10: 0000000000000000 R11: 0000000000000246 R12: 000055d75f3540b8
[  156.447104] R13: 0000000000000009 R14: 000055d75f354210 R15: 0000000000000000
[  156.447106] ---[ end trace 634206d920733d4b ]---
[  166.426653] radeon 0000:0a:00.0: ring 0 stalled for more than 10000msec
[  166.426664] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  166.933315] radeon 0000:0a:00.0: ring 0 stalled for more than 10507msec
[  166.933322] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  167.439981] radeon 0000:0a:00.0: ring 0 stalled for more than 11014msec
[  167.439987] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  167.946646] radeon 0000:0a:00.0: ring 0 stalled for more than 11520msec
[  167.946653] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  168.453309] radeon 0000:0a:00.0: ring 0 stalled for more than 12027msec
[  168.453315] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  168.959972] radeon 0000:0a:00.0: ring 0 stalled for more than 12534msec
[  168.959978] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  169.466637] radeon 0000:0a:00.0: ring 0 stalled for more than 13040msec
[  169.466642] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  169.973301] radeon 0000:0a:00.0: ring 0 stalled for more than 13547msec
[  169.973307] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  170.479970] radeon 0000:0a:00.0: ring 0 stalled for more than 14054msec
[  170.479976] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  170.986634] radeon 0000:0a:00.0: ring 0 stalled for more than 14560msec
[  170.986640] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  171.493303] radeon 0000:0a:00.0: ring 0 stalled for more than 15067msec
[  171.493307] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  171.999962] radeon 0000:0a:00.0: ring 0 stalled for more than 15574msec
[  171.999965] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  172.506628] radeon 0000:0a:00.0: ring 0 stalled for more than 16080msec
[  172.506631] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  173.013290] radeon 0000:0a:00.0: ring 0 stalled for more than 16587msec
[  173.013293] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  173.519956] radeon 0000:0a:00.0: ring 0 stalled for more than 17094msec
[  173.519958] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  174.026621] radeon 0000:0a:00.0: ring 0 stalled for more than 17600msec
[  174.026624] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  174.533285] radeon 0000:0a:00.0: ring 0 stalled for more than 18107msec
[  174.533288] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  175.039951] radeon 0000:0a:00.0: ring 0 stalled for more than 18614msec
[  175.039954] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  175.546620] radeon 0000:0a:00.0: ring 0 stalled for more than 19120msec
[  175.546627] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  176.053283] radeon 0000:0a:00.0: ring 0 stalled for more than 19627msec
[  176.053288] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  176.559965] radeon 0000:0a:00.0: ring 0 stalled for more than 20134msec
[  176.559970] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  177.066618] radeon 0000:0a:00.0: ring 0 stalled for more than 20640msec
[  177.066626] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  177.573281] radeon 0000:0a:00.0: ring 0 stalled for more than 21147msec
[  177.573286] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  178.079946] radeon 0000:0a:00.0: ring 0 stalled for more than 21654msec
[  178.079950] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  178.586610] radeon 0000:0a:00.0: ring 0 stalled for more than 22160msec
[  178.586615] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  179.093276] radeon 0000:0a:00.0: ring 0 stalled for more than 22667msec
[  179.093281] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  179.599941] radeon 0000:0a:00.0: ring 0 stalled for more than 23174msec
[  179.599945] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  180.106606] radeon 0000:0a:00.0: ring 0 stalled for more than 23680msec
[  180.106610] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  180.613271] radeon 0000:0a:00.0: ring 0 stalled for more than 24187msec
[  180.613275] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  181.119940] radeon 0000:0a:00.0: ring 0 stalled for more than 24694msec
[  181.119944] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  181.626601] radeon 0000:0a:00.0: ring 0 stalled for more than 25200msec
[  181.626605] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  182.133266] radeon 0000:0a:00.0: ring 0 stalled for more than 25707msec
[  182.133270] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  182.639931] radeon 0000:0a:00.0: ring 0 stalled for more than 26214msec
[  182.639935] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  183.146596] radeon 0000:0a:00.0: ring 0 stalled for more than 26720msec
[  183.146600] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  183.653262] radeon 0000:0a:00.0: ring 0 stalled for more than 27227msec
[  183.653266] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  184.159927] radeon 0000:0a:00.0: ring 0 stalled for more than 27734msec
[  184.159931] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  184.666593] radeon 0000:0a:00.0: ring 0 stalled for more than 28240msec
[  184.666597] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  185.173257] radeon 0000:0a:00.0: ring 0 stalled for more than 28747msec
[  185.173261] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  185.679922] radeon 0000:0a:00.0: ring 0 stalled for more than 29254msec
[  185.679926] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  186.186588] radeon 0000:0a:00.0: ring 0 stalled for more than 29760msec
[  186.186593] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  186.693253] radeon 0000:0a:00.0: ring 0 stalled for more than 30267msec
[  186.693257] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  187.199922] radeon 0000:0a:00.0: ring 0 stalled for more than 30774msec
[  187.199930] radeon 0000:0a:00.0: GPU lockup (current fence id 0x00000000000002ff last fence id 0x0000000000000309 on ring 0)
[  187.678627] radeon 0000:0a:00.0: Saved 311 dwords of commands on ring 0.
[  187.678643] radeon 0000:0a:00.0: GPU softreset: 0x00000019
[  187.678646] radeon 0000:0a:00.0:   GRBM_STATUS               = 0xA0633CA0
[  187.678647] radeon 0000:0a:00.0:   GRBM_STATUS_SE0           = 0x18000007
[  187.678649] radeon 0000:0a:00.0:   GRBM_STATUS_SE1           = 0x00000007
[  187.678651] radeon 0000:0a:00.0:   SRBM_STATUS               = 0x200000C0
[  187.678653] radeon 0000:0a:00.0:   SRBM_STATUS2              = 0x00000000
[  187.678655] radeon 0000:0a:00.0:   R_008674_CP_STALLED_STAT1 = 0x01000000
[  187.678657] radeon 0000:0a:00.0:   R_008678_CP_STALLED_STAT2 = 0x00011000
[  187.678658] radeon 0000:0a:00.0:   R_00867C_CP_BUSY_STAT     = 0x00070402
[  187.678660] radeon 0000:0a:00.0:   R_008680_CP_STAT          = 0x80870243
[  187.678662] radeon 0000:0a:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
[  187.684920] radeon 0000:0a:00.0: GRBM_SOFT_RESET=0x00007F6B
[  187.684974] radeon 0000:0a:00.0: SRBM_SOFT_RESET=0x00000100
[  187.686130] radeon 0000:0a:00.0:   GRBM_STATUS               = 0x00003828
[  187.686132] radeon 0000:0a:00.0:   GRBM_STATUS_SE0           = 0x00000007
[  187.686133] radeon 0000:0a:00.0:   GRBM_STATUS_SE1           = 0x00000007
[  187.686135] radeon 0000:0a:00.0:   SRBM_STATUS               = 0x200000C0
[  187.686136] radeon 0000:0a:00.0:   SRBM_STATUS2              = 0x00000000
[  187.686138] radeon 0000:0a:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
[  187.686139] radeon 0000:0a:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
[  187.686140] radeon 0000:0a:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
[  187.686142] radeon 0000:0a:00.0:   R_008680_CP_STAT          = 0x00000000
[  187.686143] radeon 0000:0a:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
[  187.686157] radeon 0000:0a:00.0: GPU reset succeeded, trying to resume
[  187.704680] [drm] PCIE gen 2 link speeds already enabled
[  187.708488] [drm] PCIE GART of 1024M enabled (table at 0x000000000014C000).
[  187.708575] radeon 0000:0a:00.0: WB enabled
[  187.708577] radeon 0000:0a:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00
[  187.708579] radeon 0000:0a:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c
[  187.708779] radeon 0000:0a:00.0: fence driver on ring 5 use gpu addr 0x000000000005c418
[  187.708829] debugfs: File 'radeon_ring_gfx' in directory '0' already present!
[  187.708833] debugfs: File 'radeon_ring_dma1' in directory '0' already present!
[  187.724880] [drm] ring test on 0 succeeded in 1 usecs
[  187.724886] [drm] ring test on 3 succeeded in 2 usecs
[  187.724888] debugfs: File 'radeon_ring_uvd' in directory '0' already present!
[  187.902059] [drm] ring test on 5 succeeded in 1 usecs
[  187.902065] [drm] UVD initialized successfully.
[  189.039906] [drm:r600_ib_test [radeon]] *ERROR* radeon: fence wait timed out.
[  189.039980] [drm:radeon_ib_ring_tests [radeon]] *ERROR* radeon: failed testing IB on GFX ring (-110).

Traces

Api Trace to replicate:

openGLImageViewer.trace

Screenshots

Expected output when running with LIBGL_ALWAYS_SOFTWARE:

Expected

Actual output, though it varies across runs:

Actual

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking