You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we dispatch a shader program using ioctl(SUBMIT_CSD) on a Raspberry Pi 5, if the shader program’s execution time exceeds 500 ms, ioctl(WAIT_BO) returns "Timer expired" or the system hangs.
Once "Timer expired" occurs, even subsequent shader programs that should complete within 500 ms also result in "Timer expired."
When the system hangs, I can’t do anything. Pressing the power button has no effects, and the LED stays green (on).
I suspect this line. Is there any difficulty in relaxing this limit? I think it is too tight for GPGPU.
$ git clone https://gist.github.com/notogawa/4dcebe6db14f5898dee85babb85f7d37
$ cd 4dcebe6db14f5898dee85babb85f7d37
$ gcc -o main main.c
$ ./main N (N is nop-loop count)
This example is a minimal reproducible program, so it’s just a no-op loop. In reality, however, we’re submitting programs like massive matrix–matrix multiplications.
Describe the bug
When we dispatch a shader program using ioctl(SUBMIT_CSD) on a Raspberry Pi 5, if the shader program’s execution time exceeds 500 ms, ioctl(WAIT_BO) returns "Timer expired" or the system hangs.
Once "Timer expired" occurs, even subsequent shader programs that should complete within 500 ms also result in "Timer expired."
When the system hangs, I can’t do anything. Pressing the power button has no effects, and the LED stays green (on).
I suspect this line. Is there any difficulty in relaxing this limit? I think it is too tight for GPGPU.
Steps to reproduce the behaviour
This is an example program to reproduce. In this example, a shader is a busy nop loop.
Case 1: Normal
Case 2: Timer expired
Case 3: System hang
This example is a minimal reproducible program, so it’s just a no-op loop. In reality, however, we’re submitting programs like massive matrix–matrix multiplications.
Device (s)
Raspberry Pi 5
System
Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: