diff options
| author | Grigory Shipunov | 2023-05-03 23:10:15 +0200 |
|---|---|---|
| committer | Grigory Shipunov | 2023-05-03 23:10:15 +0200 |
| commit | 68c3f4559b8e1344186d2002eec785d0e3ea666d (patch) | |
| tree | 5e714cd9d473e33c14147006c3ecb0e778f1c75e /hosts | |
| parent | 324967112ecd42e2b3c4fdd49833322d4358248a (diff) | |
workaround amdgpu bug
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/toaster/amdgpu-sg-fix.nix | 4 | ||||
| -rw-r--r-- | hosts/toaster/default.nix | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/hosts/toaster/amdgpu-sg-fix.nix b/hosts/toaster/amdgpu-sg-fix.nix new file mode 100644 index 0000000..b67bd57 --- /dev/null +++ b/hosts/toaster/amdgpu-sg-fix.nix @@ -0,0 +1,4 @@ +{ ... }: +{ + boot.kernelParams = [ "amdgpu.sg_display=0" ]; +} diff --git a/hosts/toaster/default.nix b/hosts/toaster/default.nix index 55d9fe8..483d3e8 100644 --- a/hosts/toaster/default.nix +++ b/hosts/toaster/default.nix @@ -1,6 +1,7 @@ { pkgs, ... }: { imports = [ ./amd.nix + ./amdgpu-sg-fix.nix ./hardware-configuration.nix ./irc.nix ./network.nix |
