Open Svenum opened 4 months ago
I tryed this:
boot.kernelPackages = lib.mkForce (pkgs.linuxKernel.packagesFor
(pkgs.linuxKernel.kernels.linux_6_6.override {
structuredExtraConfig = {
DEVICE_PRIVATE = lib.kernel.yes;
KALLSYMS_ALL = lib.kernel.yes;
};
}));
services.xserver.videoDrivers = ["amdgpu-pro"];
But got and build error:
error: builder for '/nix/store/7iip08503gxffqbbya64s1dr66bffhq0-amdgpu-pro-21.30-kmod-6.6.23.drv' failed with exit code 2;
last 10 log lines:
> config.status: creating config/config.h
> /build/root
> no configure script, doing nothing
> Running phase: buildPhase
> build flags: SHELL=/nix/store/5lr5n3qa4day8l1ivbwlcby2nknczqkq-bash-5.2p26/bin/bash -C /nix/store/3limcimhlc32siybwqis11ln8bvjp2h0-linux-6.6.23-dev/lib/modules/6.6.23/build modules M=/build/root/usr/src/amdgpu-5.11.19.98-1290604
> make: Entering directory '/nix/store/3limcimhlc32siybwqis11ln8bvjp2h0-linux-6.6.23-dev/lib/modules/6.6.23/build'
> /build/root/usr/src/amdgpu-5.11.19.98-1290604/Makefile:16: *** dma_resv->seq is missing., exit.... Stop.
> make[1]: *** [/nix/store/3limcimhlc32siybwqis11ln8bvjp2h0-linux-6.6.23-dev/lib/modules/6.6.23/source/Makefile:1913: /build/root/usr/src/amdgpu-5.11.19.98-1290604] Error 2
> make: *** [/nix/store/3limcimhlc32siybwqis11ln8bvjp2h0-linux-6.6.23-dev/lib/modules/6.6.23/source/Makefile:234: __sub-make] Error 2
> make: Leaving directory '/nix/store/3limcimhlc32siybwqis11ln8bvjp2h0-linux-6.6.23-dev/lib/modules/6.6.23/build'
For full logs, run 'nix log /nix/store/7iip08503gxffqbbya64s1dr66bffhq0-amdgpu-pro-21.30-kmod-6.6.23.drv'.
error: 1 dependencies of derivation '/nix/store/ww37fn7q7pjx0ci88wc9l1kfa6krbdvz-linux-6.6.23-modules.drv' failed to build
error: 1 dependencies of derivation '/nix/store/zwcsccfvrhc1wvbfx12nd84bbcb09js4-nixos-system-Shi-24.05.20240329.d8fe5e6.drv' failed to build
Project description
I would install the amdgpu-pro driver on my laptop, but I do not want to use the kernel 5.10. Maybe this could be updated so that the kernel 6.6 (newest LTS) or newer could be used with the amdgpu-pro driver. The kernel Packages exists but the option:
still uses the Kernel 5.10. This is here defined.
Metadata
Add a :+1: reaction to issues you find important.