You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a trick that other SteamOS distributions use to support occasionally booting into Windows without adding a boot menu like rEFInd or Clover - adding this incantation as a Non-Steam Game:
I've tried to do so on Jovian (replacing efibootmgr with systemctl to circumvent the sudo requirement). It works from steam-run, but not from within Steam itself.
Steps to reproduce
Add this derivation to your Nix build:
letname="restart-into-windows";in{config={environment.systemPackages=withpkgs;[(stdenv.mkDerivation{name=name;unpackPhase='' # source is inline, so skip downloading '';desktopItems=[(makeDesktopItem{name=name;desktopName="Windows XP";exec=''${pkgs.systemd}/bin/systemctl reboot --boot-loader-entry=auto-windows '';})];nativeBuildInputs=[copyDesktopItems];})];security.polkit.extraConfig='' polkit.addRule(function(action, subject) { if (action.id == "org.freedesktop.login1.set-reboot-to-boot-loader-entry") { return polkit.Result.YES; } }); '';};}
From either Desktop Mode or gamescope, select the Windows entry and click Play.
Results
Steam says "Launching…", briefly draws the Steam throbber, and then exits back to the game info page.
Logs
From journalctl -f:
Nov 26 00:42:27 brenton-go steam[13086]: chdir "/nix/store/f15mlcw0y5m14lb39qbh6n4bzjfr9sjc-restart-into-windows/share/applications/"
Nov 26 00:42:27 brenton-go steam[13086]: Game Recording - would start recording game 12606475036727967744, but recording for this game is disabled
Nov 26 00:42:27 brenton-go steam[13086]: Adding process 14296 for gameID 12606475036727967744
Nov 26 00:42:27 brenton-go steam[13086]: ERROR: ld.so: object '/home/brenton/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Nov 26 00:42:28 brenton-go steam[13086]: ERROR: ld.so: object '/home/brenton/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Nov 26 00:42:28 brenton-go steam[13086]: ERROR: ld.so: object '/home/brenton/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Nov 26 00:42:28 brenton-go steam[13086]: pid 14297 != 14296, skipping destruction (fork without exec?)
Nov 26 00:42:28 brenton-go steam[13086]: Game Recording - game stopped [gameid=12606475036727967744]
Nov 26 00:42:28 brenton-go steam[13086]: Removing process 14296 for gameID 12606475036727967744
Let me know if there's a better way to debug this.
The text was updated successfully, but these errors were encountered:
Background
There's a trick that other SteamOS distributions use to support occasionally booting into Windows without adding a boot menu like rEFInd or Clover - adding this incantation as a Non-Steam Game:
I've tried to do so on Jovian (replacing
efibootmgr
withsystemctl
to circumvent thesudo
requirement). It works fromsteam-run
, but not from within Steam itself.Steps to reproduce
/run/current-system/sw/share/applications/restart-into-windows.desktop
gamescope
, select the Windows entry and click Play.Results
Steam says "Launching…", briefly draws the Steam throbber, and then exits back to the game info page.
Logs
From
journalctl -f
:Let me know if there's a better way to debug this.
The text was updated successfully, but these errors were encountered: