I also got hit by this problem on Debian 11 ("Bullseye") with Blender 3.6.1 (official Linux binary). Blender gets unresponsive simply by resizing the startup cube! dmesg
shows similar messages about GPU hang. My graphic card is Skylake GT2 [HD Graphics 520] integrated along a Intel Core i5-6300U.
I've found this problem reported as issue 2935 (and duplicate 3125) on Freedesktop repo for Intel drm/i915 kernel driver.
I've tried Petr Nosek's workaround mentioned in these discussions:
First, increase the driver parameter preempt_timeout_ms
to 10000. That change can be done with any text editor (with root permission), but here is a one line command that does the job (using tee
as explained by https://stackoverflow.com/a/36853636):
$ echo 10000 | sudo tee /sys/class/drm/card0/engine/rcs0/preempt_timeout_ms
The change can be checked by $ cat /sys/class/drm/card0/engine/rcs0/preempt_timeout_ms
.
Remark: this driver setting change is not persistent across reboots!
Then, Blender should be launched with an environment variable (no clue what it does, but it's documented at https://docs.mesa3d.org/envvars.html#intel-driver-environment-variables).
$ INTEL_DEBUG=reemit blender
However, I found this second step easier to automate by modifying the blender.desktop
launcher file I had placed in ~/.local/share/applications
. Following https://unix.stackexchange.com/q/469466/194642, I've modified the Exec line to be:
Exec=env INTEL_DEBUG=reemit /my/path/to/blender/bin/blender-3.6.1/blender %f
So far it works (no more Blender freeze)...