AMD GPU: Difference between revisions

m Older GPUs (TeraScale): style consistency
updated lact service instructions
Line 157: Line 157:


==== LACT - Linux AMDGPU Controller ====
==== LACT - Linux AMDGPU Controller ====
This application allows you to control your AMD GPU on a Linux system.
This application allows you to overclock, undervolt, set fans curves of AMD GPUs on a Linux system.


In order to enable the daemon you need to add the package to <code>environment.systemPackages</code> and enable the `lact` daemon:
In order to install the daemon service you need to add the package to <code>systemd.packages</code>. Also the <code>wantedBy</code> field should be set to <code>multi-user.target</code> to start the service during boot.
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
  environment.systemPackages = with pkgs; [                                                                                                                                                                              
environment.systemPackages = with pkgs; [ lact ];
    lact                                                                                                                                                                                                                                                                                        
systemd.packages = with pkgs; [ lact ];
  ];                                                                                                                                                                                                                                                                                                                                                
systemd.services.lactd.wantedBy = ["multi-user.target"];
 
  systemd.services.lactd = {
    description = "AMDGPU Control Daemon";
    enable = true; 
    serviceConfig = {
      ExecStart = "${pkgs.lact}/bin/lact daemon";
    };
    wantedBy = ["multi-user.target"];
  };
</syntaxhighlight>
</syntaxhighlight>
[[Category:Video]]
[[Category:Video]]