Now that FFmpeg 4.3 has been released, how to crash any Intel GPU on Linux with a single line:
ffmpeg -init_hw_device "vulkan=vk:0" -f lavfi -i testsrc2 -filter_hw_device vk -vf hwupload,avgblur_vulkan -f null -
Takes around 15 seconds to recover IIRC, but everything's completely frozen during this time.
@lynne oh, so it's not a full-blown GPU crash where you get a greenscreen until reboot?
@wolf480pl Intel spent a lot of time making sure their driver can recover from crashes, so I'm pretty sure it can recover from anything. Just takes a while and its annoying and you can't test your stuff.
@lynne I guess having all your buffers and textures and things in host memory lets you reset GPU without losing anything, right?
I don't know much about GPU drivers but I think it'd be hard to have an NVidia or AMD driver reset the GPU after crash without crashing all the clients (Xorg / wayland compositor + all OpenGL-using applications) in the process.
A Mastodon instance for people interested in multimedia, codecs, assembly, SIMD, and the occasional weeb stuff.