OpenGL 4.3 compute shader crash
I'm developing a simulation using OpenGL 4.3 compute shaders. After a recent linux image update (maybe 5.14->5.15 but I am not 100% sure) a weird error started popping up. The application crashes and I get this message in the console output:
amdgpu: amdgpu_cs_query_fence_status failed.
amdgpu: The CS has been rejected (-61), but the context isn't robust.
amdgpu: The process will be terminated.
dmesg:
Dec 26 12:50:44 ubuntu2204 kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_0.0.0 timeout, but soft recovered
Things I tried:
- updated kernel to 6.5
- kernel parameters: amdgpu.mcbp=0, amdgpu.ppfeaturemask=0xfffd3fff (based on this thread: https://bbs.archlinux.org/viewtopic.php?id=284076&p=4 ) These did not help.
Config:
- Ubuntu 22.04
- Linux 6.5 (package linux-image-generic-hwe-22.04-edge, 6.5.0.14.14~22.04.6)
- X.Org X Server 1.21.1.4 (package 2:21.1.4-2ubuntu1.7~22.04.5)
- mesa libgl 23.0 (package 23.0.4-0ubuntu1~22.04.1)
- Video card: AMD RX 6750 XT
If I can provide any more info that could help resolve the problem I would be more than happy to help.