Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <bpa> hi, sorry to desturb
- <srhb> Hi :)
- <bpa> i have set in configuration.nix the following
- <bpa> nixpkgs.overlays = [ (self: super: { mySteam = super.steamPackages.steam-chrootenv.override { withPrimus = true; }; } ) ];
- <bpa> environment.systemPackages = with pkgs; [ mySteam ];
- <srhb> Looks good.
- <bpa> but still does not launch the game
- <srhb> What's the launch command for the game?
- <bpa> primusrun %command%
- <srhb> How did you previously install steam?
- <bpa> previusly i installed like environment.systemPackages = with pkgs; [ steam ];
- <srhb> Okay, and you did a nixos-rebuild switch and restarted steam?
- <bpa> rebuild switch + reboot OS
- <bpa> then opened steam
- <srhb> Does this work correctly? nix-shell -p primus glxinfo --command glxinfo
- <bpa> error: Package ‘nvidia-x11-387.34-4.9.71’ in /nix/store/48lr1wm3bvl61a9q3ffvps9ya233khal-nixos-18.03pre123588.ade98dc442e/nixos/pkgs/os-specific/linux/nvidia-x11/generic.nix:79 has an unfree license (‘unfreeRedistributable’), refusing to evaluate.
- <bpa> a) For `nixos-rebuild` you can set
- <bpa> { nixpkgs.config.allowUnfree = true; }
- <bpa> in configuration.nix to override this.
- <bpa> b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
- <bpa> { allowUnfree = true; }
- <bpa> to ~/.config/nixpkgs/config.nix.
- <bpa> (use ‘--show-trace’ to show detailed location information)
- <srhb> Add that to your ~/.config/nixpkgs.config.nix then
- <srhb> Er
- <srhb> ~/.config/nixpkgs/config.nix
- <srhb> Did you actually enable bumblebee in your nixos config?
- <bpa> yes i have enabled bumblebee in configuration.nix
- <srhb> OK, just making sure :)
- <bpa> also in configuration.nix i have
- <bpa> nixpkgs.config = {
- <bpa> allowUnfree = true;
- <bpa> # firefox = { enableAdobeFlash = true; };
- <bpa> # chromium = { enablePepperFlash = true; };
- <bpa> };
- <srhb> Right.
- <bpa> do i still need to put it allowUnfree in ~/.config/nixpkgs/config.nix ?
- <srhb> Yes, in order to run the test command
- <srhb> nixpkgs options in configuration.nix don't affect your user commands.
- <bpa> ok i will do it
- <srhb> And after that command, try again with...
- <srhb> nix-shell -p primus glxinfo --command "primusrun glxinfo"
- <srhb> You should see server glx vendor string: NVIDIA Corporation then
- <bpa> i don't have the directory ~/.config/nixpkgs i need to create it ?
- <srhb> Yeah
- <srhb> So, working?
- <bpa> saddly the game will still not launch
- <bpa> nix-shell -p primus glxinfo --command "primusrun glxinfo" | grep NVIDIA
- <bpa> server glx vendor string: NVIDIA Corporation
- <bpa> OpenGL vendor string: NVIDIA Corporation
- <bpa> OpenGL core profile version string: 4.5.0 NVIDIA 387.34
- <bpa> OpenGL core profile shading language version string: 4.50 NVIDIA
- <bpa> OpenGL version string: 4.6.0 NVIDIA 387.34
- <bpa> OpenGL shading language version string: 4.60 NVIDIA
- <srhb> OK, so that works.
- <srhb> What does nix-shell -p glxinfo --command glxinfo | grep NVIDIA say?
- <srhb> (I'm not trying to make the game work yet, just trying to figure out what's wrong)
- <bpa> it does not show anything
- <srhb> OK, good. Hmm.
- <srhb> I would now try to run steam from a terminal so we can see its output when it tries to run the game
- <bpa> nix-shell -p glxinfo --command glxinfo
- <bpa> name of display: :0
- <bpa> display: :0 screen: 0
- <bpa> direct rendering: Yes
- <bpa> server glx vendor string: SGI
- <bpa> server glx version string: 1.4
- <bpa> server glx extensions:
- <srhb> Looks good.
- <srhb> I was just checking if your xserver was accidentally using nvidia drivers
- <srhb> try running steam from a terminal now
- <srhb> So we can see what it outputs when you launch the game
- <bpa> here is whe i launch just steam
- <bpa> $ steam
- <bpa> cp: cannot create regular file '/home/master/.local/share/Steam/bootstrap.tar.xz': Permission denied
- <bpa> Running Steam on nixos 18.03pre123588.ade98dc442e 64-bit
- <bpa> STEAM_RUNTIME has been set by the user to: /steamrt
- <bpa> Pins potentially out-of-date, rebuilding...
- <bpa> mkdir: cannot create directory ‘/nix/store/a2j625s4l6q585wz33l6wx7fgyxhrdn7-steam-fhs/steamrt/pinned_libs_32’: Read-only file system
- <bpa> mkdir: cannot create directory ‘/nix/store/a2j625s4l6q585wz33l6wx7fgyxhrdn7-steam-fhs/steamrt/pinned_libs_64’: Read-only file system
- <bpa> Installing breakpad exception handler for appid(steam)/version(1513371133)
- <bpa> Installing breakpad exception handler for appid(steam)/version(1513371133)
- <bpa> Installing breakpad exception handler for appid(steam)/version(1513371133)
- <bpa> Installing breakpad exception handler for appid(steam)/version(1513371133)
- <bpa> Installing breakpad exception handler for appid(steam)/version(1513371133)
- <bpa> Installing breakpad exception handler for appid(steam)/version(1513371133)
- <bpa> Installing breakpad exception handler for appid(steam)/version(1513371133)
- <bpa> Installing breakpad exception handler for appid(steam)/version(1513371133)
- <bpa> Installing breakpad exception handler for appid(steam)/version(1513371133)
- <bpa> Installing breakpad exception handler for appid(steam)/version(1513371133)
- <bpa> Installing breakpad exception handler for appid(steam)/version(1513371133)
- <bpa> Installing breakpad exception handler for appid(steam)/version(1513371133)
- <bpa> Installing breakpad exception handler for appid(steam)/version(1513371133)
- <bpa> Installing breakpad exception handler for appid(steam)/version(1513371133)
- <bpa> PulseAudio connect failed (used only for Mic Volume Control) with error: Access denied
- <bpa> Installing breakpad exception handler for appid(steam)/version(1513371133)
- <bpa> ** (steam:2998): WARNING **: Unknown device type 14
- <bpa> ** (steam:2998): WARNING **: Could not create object for /org/freedesktop/NetworkManager/Devices/1: unknown object type
- <bpa> Installing breakpad exception handler for appid(steam)/version(1513371133)
- <bpa> ** (steam:2998): WARNING **: Ignoring invalid property 'autoconnect-priority'
- <bpa> ** (steam:2998): WARNING **: Unknown setting 'proxy'
- <bpa> ** (steam:2998): WARNING **: Ignoring invalid property 'route-data'
- <bpa> ** (steam:2998): WARNING **: Ignoring invalid property 'address-data'
- <bpa> ** (steam:2998): WARNING **: Ignoring invalid property 'route-data'
- <bpa> ** (steam:2998): WARNING **: Ignoring invalid property 'address-data'
- <bpa> ** (steam:2998): WARNING **: Ignoring invalid property 'autoconnect-priority'
- <bpa> ** (steam:2998): WARNING **: Unknown setting 'proxy'
- <bpa> ** (steam:2998): WARNING **: Ignoring invalid property 'route-data'
- <bpa> ** (steam:2998): WARNING **: Ignoring invalid property 'address-data'
- <bpa> ** (steam:2998): WARNING **: Ignoring invalid property 'route-data'
- <bpa> ** (steam:2998): WARNING **: Ignoring invalid property 'address-data'
- <bpa> ** (steam:2998): WARNING **: Ignoring invalid property 'autoconnect-priority'
- <bpa> ** (steam:2998): WARNING **: Unknown setting 'proxy'
- <bpa> ** (steam:2998): WARNING **: Ignoring invalid property 'route-data'
- <bpa> ** (steam:2998): WARNING **: Ignoring invalid property 'address-data'
- <bpa> ** (steam:2998): WARNING **: Ignoring invalid property 'route-data'
- <bpa> ** (steam:2998): WARNING **: Ignoring invalid property 'address-data'
- <bpa> Generating new string page texture 2: 48x256, total string texture memory is 49.15 KB
- <bpa> Generating new string page texture 3: 256x256, total string texture memory is 311.30 KB
- <bpa> Installing breakpad exception handler for appid(steam)/version(1513371133)
- <bpa> Installing breakpad exception handler for appid(steam)/version(1513371133)
- <bpa> Installing breakpad exception handler for appid(steam)/version(1513371133)
- <bpa> (steam:2998): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
- <bpa> WARNING: Haswell Vulkan support is incomplete
- <bpa> [0106/132524.894683:ERROR:web_plugin_impl.cc(38)] Widevine registration is not supported after context initialization
- <bpa> Installing breakpad exception handler for appid(steam)/version(1513371133)
- <bpa> [0106/132525.895732:ERROR:web_plugin_impl.cc(38)] Widevine registration is not supported after context initialization
- <bpa> roaming config store loaded successfully - 1438 bytes.
- <bpa> migrating temporary roaming config store
- <bpa> Failed to init SteamVR because it isn't installed
- <bpa> process 2998: arguments to dbus_connection_ref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2656.
- <bpa> This is normally a bug in some application using the D-Bus library.
- <bpa> process 2998: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2794.
- <bpa> This is normally a bug in some application using the D-Bus library.
- <bpa> process 2998: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2794.
- <bpa> This is normally a bug in some application using the D-Bus library.
- <bpa> process 2998: arguments to dbus_connection_ref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2656.
- <bpa> This is normally a bug in some application using the D-Bus library.
- <bpa> process 2998: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2794.
- <bpa> This is normally a bug in some application using the D-Bus library.
- <bpa> process 2998: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2794.
- <bpa> This is normally a bug in some application using the D-Bus library.
- <bpa> process 2998: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2794.
- <bpa> This is normally a bug in some application using the D-Bus library.
- <bpa> process 2998: arguments to dbus_connection_ref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2656.
- <bpa> This is normally a bug in some application using the D-Bus library.
- <bpa> process 2998: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2794.
- <bpa> This is normally a bug in some application using the D-Bus library.
- <bpa> process 2998: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2794.
- <bpa> This is normally a bug in some application using the D-Bus library.
- <bpa> process 2998: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2794.
- <bpa> This is normally a bug in some application using the D-Bus library.
- <bpa> process 2998: arguments to dbus_connection_ref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2656.
- <bpa> This is normally a bug in some application using the D-Bus library.
- <bpa> process 2998: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2794.
- <bpa> This is normally a bug in some application using the D-Bus library.
- <bpa> process 2998: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2794.
- <bpa> This is normally a bug in some application using the D-Bus library.
- <bpa> process 2998: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2794.
- <bpa> This is normally a bug in some application using the D-Bus library.
- <bpa> ExecCommandLine: "'/home/master/.local/share/Steam/ubuntu12_32/steam'"
- <bpa> System startup time: 4.02 seconds
- <bpa> Generating new string page texture 75: 1024x256, total string texture memory is 1.36 MB
- <bpa> Generating new string page texture 76: 128x256, total string texture memory is 131.07 KB
- <bpa> Generating new string page texture 77: 128x256, total string texture memory is 1.49 MB
- <bpa> Generating new string page texture 78: 64x256, total string texture memory is 1.56 MB
- <bpa> Generating new string page texture 79: 32x256, total string texture memory is 1.59 MB
- <bpa> Generating new string page texture 86: 128x256, total string texture memory is 1.72 MB
- <bpa> Generating new string page texture 87: 384x256, total string texture memory is 2.11 MB
- <bpa> Generating new string page texture 89: 128x256, total string texture memory is 2.24 MB
- <bpa> Generating new string page texture 90: 512x256, total string texture memory is 2.77 MB
- <bpa> Generating new string page texture 91: 256x256, total string texture memory is 3.03 MB
- <bpa> Generating new string page texture 93: 8x256, total string texture memory is 3.04 MB
- <bpa> [0106/132526.897456:ERROR:web_plugin_impl.cc(38)] Widevine registration is not supported after context initialization
- <bpa> [0106/132527.897935:ERROR:web_plugin_impl.cc(38)] Widevine registration is not supported after context initialization
- <bpa> Setting breakpad minidump AppID = 769
- <bpa> Steam_SetMinidumpSteamID: Caching Steam ID: 76561197994818733 [API loaded no]
- <bpa> [0106/132528.899694:ERROR:web_plugin_impl.cc(38)] Widevine registration is not supported after context initialization
- <bpa> Installing breakpad exception handler for appid(steam)/version(1513371133)
- <srhb> That's OK.
- <srhb> We just want the output from when you press launch on the game
- <srhb> Please use a pastebin next time :P
- <srhb> Done? :P
- <srhb> Looks like it.
- <srhb> Now, please try to launch the game and only paste the output from that.
- <srhb> If it's more than a few lines, please use a pastebin.
- <bpa> the game launched by starting steam with terminal
- <srhb> That implies that the steam you're launching through your WM is not the right one.
- <srhb> Find the path of the steam in your terminal and the path of the steam in your wm
- <bpa> in steam.desktop the path is : Exec=/nix/store/ck115l2dqhlzlq9pml4l7bhx967z54l9-steam/bin/steam %U
- <bpa> i don't know yet how to find the path for the steam launched from terminal
- <srhb> which steam
- <srhb> run that :)
- <bpa> $ which steam
- <bpa> .. /run/current-system/sw/bin/steam
- <bpa> without ..
- <srhb> Yeah, that's the path that environment.systemPackages builds
- <srhb> Try making that your desktop link too
- <bpa> i will make it so
- <srhb> Let me know if it works :)
- <bpa> it woooooooorked
- <srhb> :) Yay
- <bpa> ty so much for your help
- <srhb> You're welcome.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement