mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 22:33:50 +02:00
Disable VR Overlay GPU Acceleration
This commit is contained in:
@@ -8172,9 +8172,17 @@ speechSynthesis.getVoices();
|
||||
if ((await VRCXStorage.Get('VRCX_DisableGpuAcceleration')) === '') {
|
||||
await VRCXStorage.Set('VRCX_DisableGpuAcceleration', 'false');
|
||||
}
|
||||
if (
|
||||
(await VRCXStorage.Get('VRCX_DisableVrOverlayGpuAcceleration')) === ''
|
||||
) {
|
||||
await VRCXStorage.Set('VRCX_DisableVrOverlayGpuAcceleration', 'false');
|
||||
}
|
||||
$app.data.proxyServer = await VRCXStorage.Get('VRCX_ProxyServer');
|
||||
$app.data.disableGpuAcceleration =
|
||||
(await VRCXStorage.Get('VRCX_DisableGpuAcceleration')) === 'true';
|
||||
$app.data.disableVrOverlayGpuAcceleration =
|
||||
(await VRCXStorage.Get('VRCX_DisableVrOverlayGpuAcceleration')) ===
|
||||
'true';
|
||||
$app.data.disableWorldDatabase =
|
||||
(await VRCXStorage.Get('VRCX_DisableWorldDatabase')) === 'true';
|
||||
$app.methods.saveVRCXWindowOption = async function () {
|
||||
@@ -8199,6 +8207,10 @@ speechSynthesis.getVoices();
|
||||
'VRCX_DisableGpuAcceleration',
|
||||
this.disableGpuAcceleration.toString()
|
||||
);
|
||||
VRCXStorage.Set(
|
||||
'VRCX_DisableVrOverlayGpuAcceleration',
|
||||
this.disableVrOverlayGpuAcceleration.toString()
|
||||
);
|
||||
AppApi.SetStartup(this.isStartAtWindowsStartup);
|
||||
};
|
||||
$app.data.photonEventOverlay = await configRepository.getBool(
|
||||
|
||||
@@ -227,6 +227,8 @@
|
||||
"tray": "Minimize to tray when closing",
|
||||
"disable_gpu_acceleration": "Disable GPU Acceleration",
|
||||
"disable_gpu_acceleration_tooltip": "Only change this option if you know what you're doing, breaks SteamVR overlay, may fix issues with UI, requires restarting VRCX",
|
||||
"disable_vr_overlay_gpu_acceleration": "Disable VR Overlay GPU Acceleration",
|
||||
"disable_vr_overlay_gpu_acceleration_tooltip": "VR Overlay GPU acceleration can cause VRCX to crash or cause VRAM memory leaks, requires restarting VRCX",
|
||||
"proxy": "Proxy settings"
|
||||
},
|
||||
"favorites": {
|
||||
|
||||
@@ -88,6 +88,11 @@ mixin settingsTab()
|
||||
el-tooltip(placement="top" style="margin-left:5px" :content="$t('view.settings.general.application.disable_gpu_acceleration_tooltip')")
|
||||
i.el-icon-warning
|
||||
el-switch(v-model="disableGpuAcceleration" @change="saveVRCXWindowOption")
|
||||
div.options-container-item
|
||||
span.name(style="min-width:225px") {{ $t('view.settings.general.application.disable_vr_overlay_gpu_acceleration') }}
|
||||
el-tooltip(placement="top" style="margin-left:5px" :content="$t('view.settings.general.application.disable_gpu_acceleration_tooltip')")
|
||||
i.el-icon-warning
|
||||
el-switch(v-model="disableVrOverlayGpuAcceleration" @change="saveVRCXWindowOption")
|
||||
div.options-container-item
|
||||
el-button(size="small" icon="el-icon-connection" @click="promptProxySettings()") {{ $t("view.settings.general.application.proxy") }}
|
||||
//- General | Favorite
|
||||
|
||||
Reference in New Issue
Block a user