amdgpu: never buy amd laptop ever again
This commit is contained in:
parent
5b8fa1a5e8
commit
ee3c877d5b
3 changed files with 7 additions and 6 deletions
|
@ -1,5 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
{
|
|
||||||
# use new amd pstate driver
|
|
||||||
boot.kernelParams = [ "amd_pstate=active" ];
|
|
||||||
}
|
|
|
@ -1,6 +1,13 @@
|
||||||
{ pkgs, config, ... }: {
|
{ pkgs, config, ... }: {
|
||||||
boot.initrd.kernelModules = [ "amdgpu" ];
|
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||||
|
|
||||||
|
boot.kernelParams = [
|
||||||
|
# use new amd pstate driver
|
||||||
|
"amd_pstate=active"
|
||||||
|
# try to fix weird flickering
|
||||||
|
"amdgpu.sg_display=0"
|
||||||
|
];
|
||||||
|
|
||||||
# hardware.graphics = {
|
# hardware.graphics = {
|
||||||
# extraPackages = with pkgs; [
|
# extraPackages = with pkgs; [
|
||||||
# rocm-opencl-icd
|
# rocm-opencl-icd
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
./amd.nix
|
./amd.nix
|
||||||
./amd-new-pstate.nix
|
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
# ./irc.nix
|
# ./irc.nix
|
||||||
./network
|
./network
|
||||||
|
|
Loading…
Add table
Reference in a new issue