Talk:Steam: Difference between revisions

From NixOS Wiki
Latest comment: 6 August 2022 by Toraritte in topic The comment under me lacks a section
imported>Pmarreck
No edit summary
Sen (talk | contribs)
m I added my section about the lack of information in the "Steam fails to start. What do I do?' paragraph. I also added a section for the comment below mine and removed an unnecessary newline.
 
(One intermediate revision by one other user 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 6: Line 10:
== if you get "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 unless "lib" is included in the list of args at the top; example: `{ config, pkgs, lib, ... }:`
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

Latest revision as of 15:39, 5 April 2024

"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