https://bugs.freedesktop.org/show_bug.cgi?id=104307
Bug ID: 104307 Summary: radeon ring 0 stalled for more than ... radeon ... GPU lockup ... Product: Mesa Version: 17.2 Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: narutocanada@gmail.com QA Contact: dri-devel@lists.freedesktop.org
Created attachment 136241 --> https://bugs.freedesktop.org/attachment.cgi?id=136241&action=edit apitrace trace --api gl ./a.out ; mv a.out.trace a.out.mesa-17.2.7.trace
# how to reproduce: # cd /build/mesa-13.0.6/; make install rm a.out t.ppm ; gcc gbm5.c -lgbm -lEGL -lGL -lGLU ; apitrace trace --api gl ./a.out ; display t.ppm mv a.out.trace a.out.mesa-13.0.6.trace # cd /build/mesa-17.2.7/; make install echo > /var/log/messages rm a.out t.ppm ; gcc gbm5.c -lgbm -lEGL -lGL -lGLU ; apitrace trace --api gl ./a.out ; display t.ppm mv a.out.trace a.out.mesa-17.2.7.trace # NOTE: nromally this shader runs for about 1 second (depends on GPU), # but would never reach 10 seconds lockup timer defined in drivers/gpu/drm/radeon/radeon_drv.c # something changed in Mesa perhaps ? # single source file at: https://github.com/narutocanada/smallpt-glsl
Dec 18 01:42:21 localhost kern.err kernel: [ 4272.087147] radeon 0000:00:01.0: ring 0 stalled for more than 10020msec Dec 18 01:42:21 localhost kern.warn kernel: [ 4272.089575] radeon 0000:00:01.0: GPU lockup (current fence id 0x0000000000000019 last fence id 0x000000000000001a on ring 0) Dec 18 01:42:22 localhost kern.err kernel: [ 4272.587921] radeon 0000:00:01.0: ring 0 stalled for more than 10521msec Dec 18 01:42:22 localhost kern.warn kernel: [ 4272.590350] radeon 0000:00:01.0: GPU lockup (current fence id 0x0000000000000019 last fence id 0x000000000000001a on ring 0)