Why are GPU drivers baked into the kernel?
Wouldn’t it be better to load them in such a way that a crash in the GPU driver can be recovered from as opposed to crashing the whole system?
Other operating systems load the GPUs drivers separately.
Wouldn’t it be better to load them in such a way that a crash in the GPU driver can be recovered from as opposed to crashing the whole system?
Other operating systems load the GPUs drivers separately.
Depending on your definition of 'the whole system' this is not entirely true.
The AMD driver for example will reset the GPU and force a xorg restart: https://paste.debian.net/plain/1290344
Now this does mean all desktop applications don't close properly, so I restart the PC to a 100% sure stability is at 100%, it didn't cause a kernel panic like the GPU crash would do previously.
I've had this crash happen only twice in ~90 hours of play time.
GPU: 5700XT
Driver: Mesa 23.1.5