Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions alvr/dashboard/src/steamvr_launcher/linux_steamvr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ use alvr_common::{debug, error, info, warn};
use sysinfo::Process;

pub fn launch_steamvr_with_steam() {
Command::new("steam")
.args(["steam://rungameid/250820"])
Command::new("sh")
.args(["-c", "cd $(dirname $0) && ./steamvr_linux.sh"])
.spawn()
.ok();
}
Expand Down
10 changes: 10 additions & 0 deletions steamvr-script/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
This is a sample script to fix an issue with steam breaking DRI_PRIME and QT_QPA_PLATFORM
commands from working together in some distros.


Place in alvr_streamer_linux/bin folder where the alvr_dashboard binary is.

Be sure to change the commands and steamvr vrmonitor.sh path as needed.

make it executably by typing chmod +x steamvr_linux.sh

1 change: 1 addition & 0 deletions steamvr-script/steamvr_linux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DRI_PRIME=1 QT_QPA_PLATFORM=xcb ~/.local/share/Steam/steamapps/common/SteamVR/bin/vrmonitor.sh
Loading