Add workaround for headset with canted views (#918)

See https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2312
This commit is contained in:
tleydxdy
2026-01-02 03:43:07 -05:00
committed by GitHub
parent 2512165898
commit 25047b6c0a
3 changed files with 6 additions and 1 deletions
+3 -1
View File
@@ -51,6 +51,7 @@ describe("Test os.helpers bsmSpawn", () => {
STEAM_COMPAT_CLIENT_INSTALL_PATH: "/steam",
STEAM_COMPAT_APP_ID: BS_APP_ID,
SteamEnv: "1",
OXR_PARALLEL_VIEWS: "1",
});
}
});
@@ -140,7 +141,8 @@ describe("Test os.helpers bsmSpawn", () => {
"STEAM_COMPAT_INSTALL_PATH",
"STEAM_COMPAT_CLIENT_INSTALL_PATH",
"STEAM_COMPAT_APP_ID",
"SteamEnv"
"SteamEnv",
"OXR_PARALLEL_VIEWS"
];
const newEnv = {
...BS_ENV,
@@ -73,6 +73,7 @@ export abstract class AbstractLauncherService {
"STEAM_COMPAT_CLIENT_INSTALL_PATH",
"STEAM_COMPAT_APP_ID",
"SteamEnv",
"OXR_PARALLEL_VIEWS",
"PROTON_LOG",
"PROTON_LOG_DIR",
],
+2
View File
@@ -105,6 +105,8 @@ export class LinuxService {
"STEAM_COMPAT_APP_ID": BS_APP_ID,
// Run game in steam environment; fixes #585 for unicode song titles
"SteamEnv": "1",
// Fix reflections in Monado
"OXR_PARALLEL_VIEWS": "1",
};
if (launchOptions.launchMods?.includes(LaunchMods.PROTON_LOGS)) {