News for hackers. Stuff that matters.
Re:AMD Open-Source GPU Kernel Driver Above 5M Lines, Entire ... by Osiris on Thursday August 31, 2023 @05:11PM (#37343734)
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.

Re:AMD Open-Source GPU Kernel Driver Above 5M Lines, Entire ... by bendhoefs on Thursday August 31, 2023 @05:44PM (#37344071)
Why should having the GPU drivers checked into the same repository mean that they can't be loaded and unloaded dynamically?
Re:AMD Open-Source GPU Kernel Driver Above 5M Lines, Entire ... by zaggynl on Friday September 01, 2023 @10:13AM (#37351104)
>as opposed to crashing the whole system

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