| 4 Apr 2025 |
damccull | 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:
{
pkgs,
lib,
kernel ? pkgs.linuxPackages_latest.kernel,
}:
pkgs.stdenv.mkDerivation {
pname = "amdgpu-kernel-module";
inherit (kernel)
src
version
postPatch
nativeBuildInputs
;
kernel_dev = kernel.dev;
kernelVersion = kernel.modDirVersion;
modulePath = "drivers/gpu/drm/amd/amdgpu";
buildPhase = ''
BUILT_KERNEL=$kernel_dev/lib/modules/$kernelVersion/build
cp $BUILT_KERNEL/Module.symvers .
cp $BUILT_KERNEL/.config .
cp $kernel_dev/vmlinux .
make "-j$NIX_BUILD_CORES" modules_prepare
make "-j$NIX_BUILD_CORES" M=$modulePath modules
'';
installPhase = ''
make \
INSTALL_MOD_PATH="$out" \
XZ="xz -T$NIX_BUILD_CORES" \
M="$modulePath" \
modules_install
'';
meta = {
description = "AMD GPU kernel module";
license = lib.licenses.gpl3;
};
}
| 18:45:11 |
damccull | All this is taken from nixos.wiki, wiki.nixos.org, and the amd bug tracker. GL everyone. | 18:45:48 |
damccull | 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 |
| cbobrobison joined the room. | 02:02:37 |
| 8 Apr 2025 |
Matt H. | Thanks for the clarity damccull 🙏😀 | 00:17:06 |
damccull | 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 |
nyanbinary 🏳️⚧️ | Same here | 21:07:12 |
nyanbinary 🏳️⚧️ | Matt H: look at #gaming:nixos.org | 21:07:21 |
nyanbinary 🏳️⚧️ | I had this problem | 21:07:24 |
nyanbinary 🏳️⚧️ | Its a regression in 6.13 | 21:07:31 |
nyanbinary 🏳️⚧️ | 6.14 still has the same problem | 21:07:37 |
nyanbinary 🏳️⚧️ | 6.12 works | 21:07:40 |
damccull | Yeah, I'm getting weird graphical glitches on .13 and .14 too. About to switch back to 12 | 21:08:14 |
nyanbinary 🏳️⚧️ | Same here | 21:10:16 |
nyanbinary 🏳️⚧️ | red band on the screen/screen flashing? | 21:10:21 |
nyanbinary 🏳️⚧️ | Or something else | 21:10:23 |
nyanbinary 🏳️⚧️ | Like I see a band/screen flickering on a part of the screen sometimes | 21:10:41 |
damccull | just random junk appearing at random. Sometimes it's red and gold colored. It's always inside a window and tends to move with the window. I think it's a problem between the new kernel code and wayland maybe | 21:16:18 |
| 10 Apr 2025 |
Matt H. | In reply to @niko:nyanbinary.rs 6.12 works Okay, thank you. Appreciate it | 04:29:16 |
| 13 Apr 2025 |
| Myned joined the room. | 00:05:02 |
| 16 Apr 2025 |
| Felix Bühler joined the room. | 20:28:02 |
| 18 Apr 2025 |
| fabaff joined the room. | 18:03:18 |
| StackDoubleFlow joined the room. | 22:05:19 |
| 19 Apr 2025 |
aktaboot | anyone else having issues with the ec charging limit (through the now upstream kmod) ? sometimes it just does not work | 10:59:41 |
aktaboot | i.e the laptop is chargin to full even though the limit is set to 80% | 11:00:09 |
aktaboot | okay seems like a known bug on the latest BIOS for 13" AMD | 11:17:15 |
| jopejoe1 (4094@epvpn) changed their display name from jopejoe1 to jopejoe1 (4094@eh22). | 12:59:37 |
| strutztm joined the room. | 21:58:57 |
| 22 Apr 2025 |
| senorsmile joined the room. | 02:50:33 |
| 25 Apr 2025 |
Albert Larsan | Hello! I can't get full sleep to work on my FW 13 with an Ultra 5 125H. The tool from https://github.com/intel/S0ixSelftestTool says (after a few adjustments to make it work on NixOS):
S0ix substates residency delta value: S0i2.0 2196
S0ix substates residency delta value: S0i2.1 13249322
S0ix substates residency delta value: S0i2.2 0
Your system only get shallower S0ix substate residency: S0i2.1 308804753
(full output available at https://paste.sr.ht/~albertlarsan68/0ce10116393d54b43cce870322d16c8ecd3639e8)
Has anyone the same problem?
The fan does stop and the power led does blink normally during the test. The only expansion cards connected are a pair of USB-C with one for the power input and the other for a YubiKey.
| 10:04:49 |