radv: Task shader hangs GPU on RX 7600
Mesa: 0a1c8779
GPU: RX 7600
Repro:
#!/bin/bash
git clone https://github.com/Themaister/Granite
cd Granite
git submodule update --init
mkdir build
cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ..
ninja meshlet-viewer obj-to-gltf
wget https://raw.githubusercontent.com/zeux/niagara/master/data/kitten.obj
./tools/obj-to-gltf kitten.obj --output kitten.glb
./tests/meshlet-viewer kitten.glb
After a few seconds, the GPU will hang. dmesg output:
Running meshlet-viewer with --precull 1
avoids task shaders and does not crash.
I have also observed GPU hangs on RDNA2.
Edited by Hans-Kristian Arntzen