blob: 81f74c45129336359d312794c2b5d24d57e995aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ pkgs, config, ... }: {
boot.initrd.kernelModules = [ "amdgpu" ];
boot.kernelParams = [
# use new amd pstate driver
"amd_pstate=active"
# try to fix weird flickering
"amdgpu.sg_display=0"
# some weird amd PSR shit...
"amdgpu.dcdebugmask=0x10"
];
# hardware.graphics = {
# extraPackages = with pkgs; [
# rocm-opencl-icd
# rocm-opencl-runtime
# amdvlk
# ];
# extraPackages32 = with pkgs; [
# driversi686Linux.amdvlk
# ];
# };
}
|