Sender | Message | Time |
---|---|---|
22 Mar 2025 | ||
21:26:28 | ||
25 Mar 2025 | ||
15:24:22 | ||
27 Mar 2025 | ||
01:09:02 | ||
3 Apr 2025 | ||
My FW16 seems to be turning off the dGPU with runtime power management, but the amdgpu driver then seems to be crashing, and the device is removed from my kernel, no longer showing up in nvtop or accessible to games, (but does still show up in lspci). If I use this to reload the card, it comes back, and after a while crashes again:
Anyone else having this issue or know how to fix it? | 22:15:50 | |
There any issues with amdgpu in the kernal right now | 22:42:02 | |
* There any issues with amdgpu in the kernal right now? | 22:42:04 | |
4 Apr 2025 | ||
I'm keeping a spreadsheet for stuff like this, which kernel? | 09:45:55 | |
6.14.0. K900 on the https://matrix.to/#/#users:nixos.org channel found the solution though at https://gitlab.freedesktop.org/drm/amd/-/issues/4083. The patch on that page works. I imagine the fix will be in a future update. For now, instead of compiling the full kernel, I follow the nixos wiki to package the amdgpu module and patched that directly. About a 5 minute compile on my Framework 16. | 18:36:16 | |
Packaging example is amdgpu which was helpful: https://nixos.wiki/wiki/Linux_kernel#Patching_a_single_In-tree_kernel_module | 18:36:49 | |
patch example here: https://wiki.nixos.org/wiki/AMD_GPU#System_Hang_with_Vega_Graphics_(and_select_GPUs) | 18:38:26 | |
Relevant part of my configuration.nix:
| 18:41:05 | |
patch file itself, which can be found on the first AMD link:
| 18:41:47 | |
This solved my problem, for anyone else having it as well. | 18:42:04 | |
And it doesn't do a full kernel recompile, just the amdgpu module, which then overrides the kernel built-in version. | 18:42:23 | |
Matt H: I think kernels 6.13.7->6.14.0 might be affected though. That's what the bug report on the first link says, and I didn't have any luck with downgrading to pkgs.linuxPackages_6_13 in my configuration.nix. | 18:43:33 | |
forgot one other file needed. This one is amdgpu-kernel-module.nix, referenced in the configuration.nix as well. This is the part that packages the amdgpu module separately from the kernel:
| 18:45:11 | |
All this is taken from nixos.wiki, wiki.nixos.org, and the amd bug tracker. GL everyone. | 18:45:48 | |
Oh, one last thing Matt H , this isn't just a nixos issue. Apparently the OP of the bug is on fedora, and on that tracker at the bottom there's a link to another, related issue, where hibernation is prevented from happening due to this bug. My own experience included hibernation not working. Everything's fine now with the patch. | 18:54:24 | |
7 Apr 2025 | ||
02:02:37 | ||
8 Apr 2025 | ||
Thanks for the clarity damccull 🙏😀 | 00:17:06 | |
You're quite welcome. I'm happy to help because the community for nix and framework both have been so helpful to me. | 05:15:51 | |
9 Apr 2025 | ||
Same here | 21:07:12 | |
Matt H: look at #gaming:nixos.org | 21:07:21 | |
I had this problem | 21:07:24 | |
Its a regression in 6.13 | 21:07:31 | |
6.14 still has the same problem | 21:07:37 | |
6.12 works | 21:07:40 | |
Yeah, I'm getting weird graphical glitches on .13 and .14 too. About to switch back to 12 | 21:08:14 | |
Same here | 21:10:16 | |
red band on the screen/screen flashing? | 21:10:21 |