Jump to content

Talk:Steam: Difference between revisions

From Official NixOS Wiki
imported>Pmarreck
No edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== "Steam fails to start. What do I do?" Paragraph needs improvements. ==
This paragraph is lacking useful information. For instance, where can one obtain the package <code>strace</code>? As for bug reporting, where might one create a bug report?
== The comment under me lacks a section ==
'''Elaborating on the incomplete flag (expansion template)''':  Tried to install steam the way it is described here, and even with nix-shell, but no joy. Read a lot about <code>steam-run</code> but have no clue what it is, or how to use it, and [https://search.nixos.org/packages?channel=22.05&show=steam-run&from=0&size=50&sort=relevance&type=packages&query=steam the package description] is completely devoid of any info. --[[User:Toraritte|Toraritte]] ([[User talk:Toraritte|talk]]) 19:05, 6 August 2022 (UTC)
'''Elaborating on the incomplete flag (expansion template)''':  Tried to install steam the way it is described here, and even with nix-shell, but no joy. Read a lot about <code>steam-run</code> but have no clue what it is, or how to use it, and [https://search.nixos.org/packages?channel=22.05&show=steam-run&from=0&size=50&sort=relevance&type=packages&query=steam the package description] is completely devoid of any info. --[[User:Toraritte|Toraritte]] ([[User talk:Toraritte|talk]]) 19:05, 6 August 2022 (UTC)


Line 4: Line 8:
Finally I can run GOG on NixOS without patching or repatching any executable. Figured it out, hope it helps others. Big kudo's to maintainers of steam and steam-run for the wonderful expression!! [[User:Cx405|Cx405]] ([[User talk:Cx405|talk]]) 03:51, 10 July 2019 (UTC)
Finally I can run GOG on NixOS without patching or repatching any executable. Figured it out, hope it helps others. Big kudo's to maintainers of steam and steam-run for the wonderful expression!! [[User:Cx405|Cx405]] ([[User talk:Cx405|talk]]) 03:51, 10 July 2019 (UTC)


== Error: lib not defined ==
== if you get "error: lib not defined" ==
The config code that includes lib.getName will error if simply included in configuration.nix due to "lib" not being defined in that context
The config code that includes lib.getName will error if simply included in configuration.nix unless "lib" is included in the list of args at the top; example: `{ config, pkgs, lib, ... }:`
 
== Failed to create SDL window ==
You may have `SDL_VIDEODRIVER=wayland` set in your environment, which seems to bother some older titles (e.g. original Half-Life). Set the launch options in the steam UI to 'SDL_VIDEODRIVER=x11 %command%' and it should work.
 
Alternative fixes shown here: https://github.com/ValveSoftware/Source-1-Games/issues/3455
 
== Shouldn't `package = pkgs.gamescope-wsi` be used instead? ==
 
When setting up gamescope HDR, wouldn't it be more appropriate to use the gamescope-wsi package directly instead of adding it as a separate package? [[User:RedbeardyMcGee|RedbeardyMcGee]] ([[User talk:RedbeardyMcGee|talk]]) 20:21, 5 December 2025 (UTC)
 
:`gamescope-wsi` cannot be used in this position. I misunderstood the package derivation. [[User:RedbeardyMcGee|RedbeardyMcGee]] ([[User talk:RedbeardyMcGee|talk]]) 22:14, 5 December 2025 (UTC)

Latest revision as of 22:14, 5 December 2025

"Steam fails to start. What do I do?" Paragraph needs improvements.

This paragraph is lacking useful information. For instance, where can one obtain the package strace? As for bug reporting, where might one create a bug report?

The comment under me lacks a section

Elaborating on the incomplete flag (expansion template): Tried to install steam the way it is described here, and even with nix-shell, but no joy. Read a lot about steam-run but have no clue what it is, or how to use it, and the package description is completely devoid of any info. --Toraritte (talk) 19:05, 6 August 2022 (UTC)Reply

Thank you!

Finally I can run GOG on NixOS without patching or repatching any executable. Figured it out, hope it helps others. Big kudo's to maintainers of steam and steam-run for the wonderful expression!! Cx405 (talk) 03:51, 10 July 2019 (UTC)Reply

if you get "error: lib not defined"

The config code that includes lib.getName will error if simply included in configuration.nix unless "lib" is included in the list of args at the top; example: `{ config, pkgs, lib, ... }:`

Failed to create SDL window

You may have `SDL_VIDEODRIVER=wayland` set in your environment, which seems to bother some older titles (e.g. original Half-Life). Set the launch options in the steam UI to 'SDL_VIDEODRIVER=x11 %command%' and it should work.

Alternative fixes shown here: https://github.com/ValveSoftware/Source-1-Games/issues/3455

Shouldn't `package = pkgs.gamescope-wsi` be used instead?

When setting up gamescope HDR, wouldn't it be more appropriate to use the gamescope-wsi package directly instead of adding it as a separate package? RedbeardyMcGee (talk) 20:21, 5 December 2025 (UTC)Reply

`gamescope-wsi` cannot be used in this position. I misunderstood the package derivation. RedbeardyMcGee (talk) 22:14, 5 December 2025 (UTC)Reply