For me, upgrading to 6.14.7 started to cause problems with amdgpu lockups, initially i figured the trigger might have been electron but after almost 40 hours of debugging over the course of 4 days I’m a bit delirious.
The crashes were basically sudden power-offs, before which the system would start locking up electron based apps.
The fix above: Lockups with kernel 6.14.7 and AMD GPUs - #6 by riza
worked for stabilizing the situation. I still won’t be using electron based apps for the forseeable future until a fix is posted.
The insidious thing about this seems to be, at least on my end, that, while 6.14.6 and 6.14.5 were working fine, once .7 hit they became affected as well, same when .8 dropped, seemingly due to a regressive change. I then went to openSuse, they are on .6 but because of how tightly snapper and backups are integrated that actually screwed me over even more because the system became unrecoverable after the first lockup (not after I spent 3 hours trying to fix it and patching with .15-rc6/7, though).
I then went to NixOS 24.11, and while 6.6 was working alright, I had a crash of the same nature because of a different issue, I forget why. However, that was only once in around 4 hours, as opposed to crashing at least every half an hour on 14.7 and .8.
Currently, I’m on unstable, with 6.14.8 as my kernel, and the fix implemented. Stable as of now.
// Kernel selection: flip the comment to switch
boot.kernelPackages = pkgs.linuxPackages_latest; //
Switch to 6.14+
// boot.kernelPackages = pkgs.linuxPackages_testing; //
6.15-rc6 — bleeding edge, might fix Vulkan crashes
// boot.kernelPackages = pkgs.linuxPackages_6_6; // 6.6 LTS — fallback if 6.15 explodes machine
boot.kernelParams = [
“mem_sleep_default=s2idle”
“amdgpu.noretry=0”
“amdgpu.vm_update_mode=3”
“amdgpu.sg_display=0”
“amdgpu.preempt_mm=0” // the supposed, magic fix
];