Talk:Steam: Difference between revisions
imported>Pmarreck No edit summary |
imported>Hughobrien Failed to create SDL window |
||
Line 6: | Line 6: | ||
== 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 |