Specifying work group counts well within the required limits may already result in GPU hangs and system lockups
Running the new piglit in piglit!848 as
bin/arb_compute_shader-workgroup-counts 4096 4096 1024 -auto
results in a GPU timeout on AMDGPU resulting in killing the X11 session.
glxinfo -B
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: AMD (0x1002)
Device: AMD Radeon RX 6700 XT (navi22, LLVM 16.0.6, DRM 3.52, 6.3.2-gentoo-x86_64) (0x73df)
Version: 23.2.0
Accelerated: yes
Video memory: 12288MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
VBO free memory - total: 11904 MB, largest block: 11904 MB
VBO free aux. memory - total: 32053 MB, largest block: 32053 MB
Texture free memory - total: 11904 MB, largest block: 11904 MB
Texture free aux. memory - total: 32053 MB, largest block: 32053 MB
Renderbuffer free memory - total: 11904 MB, largest block: 11904 MB
Renderbuffer free aux. memory - total: 32053 MB, largest block: 32053 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 12288 MB
Total available memory: 44377 MB
Currently available dedicated video memory: 11904 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 6700 XT (navi22, LLVM 16.0.6, DRM 3.52, 6.3.2-gentoo-x86_64)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.2.0-rc3
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.2.0-rc3
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.2.0-rc3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
In Intel the limit is a bit higher, but it triggers a complete system lockup and a cold reboot is needed:
bin/arb_compute_shader-workgroup-counts 8192 8192 4096 -auto
glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel (0x8086)
Device: Mesa Intel(R) UHD Graphics (CML GT2) (0x9b41)
Version: 23.2.0
Accelerated: yes
Video memory: 15807MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics (CML GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.2.0~rc3-3
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.2.0~rc3-3
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.2.0~rc3-3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
Edited by Gert Wollny