mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Hardware/AMD]: remove obsolete amdgpu.freesync_video and enable seamless boot
Also, use X.org modesetting driver instead of deprecated amdgpu DDX driver.
This commit is contained in:
parent
ad8310a2a1
commit
bb86869b6a
1 changed files with 4 additions and 6 deletions
|
|
@ -17,8 +17,8 @@ in {
|
||||||
"amdgpu.cik_support" = 1;
|
"amdgpu.cik_support" = 1;
|
||||||
|
|
||||||
"amdgpu.ppfeaturemask" = mkIf generalCfg.unsafeOptimizations "0xfff7ffff";
|
"amdgpu.ppfeaturemask" = mkIf generalCfg.unsafeOptimizations "0xfff7ffff";
|
||||||
"amdgpu.freesync_video" = 1;
|
|
||||||
#"amdgpu.mes" = mkIf generalCfg.unsafeOptimizations 1;
|
#"amdgpu.mes" = mkIf generalCfg.unsafeOptimizations 1;
|
||||||
|
"amdgpu.seamless" = mkIf generalCfg.unsafeOptimizations 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; []
|
environment.systemPackages = with pkgs; []
|
||||||
|
|
@ -30,11 +30,9 @@ in {
|
||||||
|
|
||||||
aviallon.programs.config.rocmSupport = mkDefault devCfg.enable;
|
aviallon.programs.config.rocmSupport = mkDefault devCfg.enable;
|
||||||
|
|
||||||
services.xserver.videoDrivers = []
|
services.xserver.videoDrivers =
|
||||||
++ optional cfg.useProprietary "amdgpu-pro"
|
optional cfg.useProprietary "amdgpu-pro"
|
||||||
++ [
|
++ [ "modesetting" ];
|
||||||
"amdgpu"
|
|
||||||
];
|
|
||||||
|
|
||||||
hardware.opengl = {
|
hardware.opengl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue