Difference between revisions of "Lutris"

From NixOS Wiki
Jump to: navigation, search
m (rollback unauthorized mass edits)
Tag: Rollback
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
Lutris is a video game preservation platform that you can use to play or emulate pretty much any game you want.
 +
 +
== Adding missing dependencies ==
 +
If any games are unable to run due to missing dependencies, they can be installed using the following methods.
 +
 +
=== Libraries ===
 +
<syntaxHighlight lang=nix>
 +
  environment.systemPackages = with pkgs; [
 +
    (lutris.override {
 +
      extraLibraries =  pkgs: [
 +
        # List library dependencies here
 +
      ];
 +
    })
 +
  ];
 +
</syntaxHighlight>
 +
 +
=== Packages ===
 +
<syntaxHighlight lang=nix>
 +
  environment.systemPackages = with pkgs; [
 +
    (lutris.override {
 +
      extraPkgs = pkgs: [
 +
        # List package dependencies here
 +
      ];
 +
    })
 +
  ];
 +
</syntaxHighlight>
 +
 
== Known Issues ==
 
== Known Issues ==
 
=== Icons does not appear ===
 
=== Icons does not appear ===
 
You have to install a compatible icon theme. For example, you can install the <code>adwaita-icon-theme</code> available as <code>gnome3.adwaita-icon-theme</code> in Nixpkgs.
 
You have to install a compatible icon theme. For example, you can install the <code>adwaita-icon-theme</code> available as <code>gnome3.adwaita-icon-theme</code> in Nixpkgs.
 
=== Vulkan not found on startup ===
 
 
You can ignore the warning as it is just cosmetic.
 
  
 
=== Epic Game Store ===
 
=== Epic Game Store ===
Line 12: Line 35:
 
hardware.opengl.driSupport32Bit = true
 
hardware.opengl.driSupport32Bit = true
 
</code>
 
</code>
 +
 +
=== Incompatible Lutris libraries ===
 +
When installing some games, you may see a message similar to:
 +
<code>mktemp: $USER/.local/share/lutris/runtime/steam/amd64/lib/x86_64-linux-gnu/libattr.so.1: version `ATTR_1.3' not found (required by mktemp)</code>
 +
 +
This happens because lutris attempts to use it's own runtime which has incompatible libraries. To disable these potentially conflicting libraries: <code> More (three horizontal lines) > Preferences > Global Options > Disable Lutris Runtime</code>. Then attempt to install the game or application again.
  
 
[[Category:Applications]]
 
[[Category:Applications]]

Latest revision as of 11:01, 6 April 2024

Lutris is a video game preservation platform that you can use to play or emulate pretty much any game you want.

Adding missing dependencies

If any games are unable to run due to missing dependencies, they can be installed using the following methods.

Libraries

  environment.systemPackages = with pkgs; [
    (lutris.override {
      extraLibraries =  pkgs: [
        # List library dependencies here
      ];
    })
  ];

Packages

  environment.systemPackages = with pkgs; [
    (lutris.override {
       extraPkgs = pkgs: [
         # List package dependencies here
       ];
    })
  ];

Known Issues

Icons does not appear

You have to install a compatible icon theme. For example, you can install the adwaita-icon-theme available as gnome3.adwaita-icon-theme in Nixpkgs.

Epic Game Store

If you're running a 64bit environment you need to ensure that you enable 32bit support in your configuration.nix: hardware.opengl.driSupport32Bit = true

Incompatible Lutris libraries

When installing some games, you may see a message similar to: mktemp: $USER/.local/share/lutris/runtime/steam/amd64/lib/x86_64-linux-gnu/libattr.so.1: version `ATTR_1.3' not found (required by mktemp)

This happens because lutris attempts to use it's own runtime which has incompatible libraries. To disable these potentially conflicting libraries: More (three horizontal lines) > Preferences > Global Options > Disable Lutris Runtime. Then attempt to install the game or application again.