Fixed Restart SteamVR functionality (May crash the Steam overlay when SteamVR Home is running when you restart. Therefore I advice that you close SteamVR Home before restarting).

Completely disabled sounds to see whether this fixes crashes some people are still experiencing.
Added "Enable Advanced Supersample Filtering" toggle.
This commit is contained in:
2017-05-21 14:24:24 +02:00
parent 5f7fb405ca
commit 0960394335
8 changed files with 58 additions and 13 deletions
+6 -6
View File
@@ -5,19 +5,19 @@ import matzman666.advsettings 1.0
QtObject {
function playActivationSound() {
if (!OverlayController.soundDisabled()) {
/*if (!OverlayController.soundDisabled()) {
activationSound.play()
}
}*/
}
function playFocusChangedSound() {
if (!OverlayController.soundDisabled()) {
/*if (!OverlayController.soundDisabled()) {
focusChangedSound.play()
}
}*/
}
property SoundEffect activationSound: SoundEffect {
/*property SoundEffect activationSound: SoundEffect {
source: vrRuntimePath + "content/panorama/sounds/activation.wav"
}
property SoundEffect focusChangedSound: SoundEffect {
source: vrRuntimePath + "content/panorama/sounds/focus_change.wav"
}
}*/
}
+12 -4
View File
@@ -40,7 +40,6 @@ MyStackViewPage {
steamvrSupersamplingText.text = val.toFixed(1)
}
onValueChanged: {
console.debug("Supersampling Slider: valueChanged(", this.value, ")")
SteamVRTabController.setSuperSampling(this.value.toFixed(1), false)
}
}
@@ -66,7 +65,6 @@ MyStackViewPage {
if (val < 0.1) {
val = 0.1
}
console.debug("Supersampling TextField: valueChanged(", val, ")")
var v = val.toFixed(1)
if (v <= steamvrSupersamplingSlider.to) {
steamvrSupersamplingSlider.value = v
@@ -109,7 +107,6 @@ MyStackViewPage {
steamvrCompositorSupersamplingText.text = val.toFixed(1)
}
onValueChanged: {
console.debug("Compositor Supersampling Slider: valueChanged(", this.value, ")")
SteamVRTabController.setCompositorSuperSampling(this.value.toFixed(1), false)
}
}
@@ -136,7 +133,6 @@ MyStackViewPage {
if (val < 0.1) {
val = 0.1
}
console.debug("Compositor Supersampling TextField: valueChanged(", val, ")")
var v = val.toFixed(1)
if (v <= steamvrCompositorSupersamplingSlider.to) {
steamvrCompositorSupersamplingSlider.value = v
@@ -149,6 +145,14 @@ MyStackViewPage {
}
}
MyToggleButton {
id: steamvrAllowSupersampleFilteringToggle
text: "Enable Advanced Supersample Filtering"
onCheckedChanged: {
SteamVRTabController.setAllowSupersampleFiltering(this.checked, false)
}
}
MyToggleButton {
id: steamvrAllowAsyncReprojectionToggle
text: "Allow Asynchronous Reprojection"
@@ -217,6 +221,7 @@ MyStackViewPage {
steamvrCompositorSupersamplingSlider.value = s2
}
steamvrCompositorSupersamplingText.text = s2
steamvrAllowSupersampleFilteringToggle.checked = SteamVRTabController.allowSupersampleFiltering
steamvrAllowInterleavedReprojectionToggle.checked = SteamVRTabController.allowInterleavedReprojection
steamvrAllowAsyncReprojectionToggle.checked = SteamVRTabController.allowAsyncReprojection
steamvrForceReprojectionToggle.checked = SteamVRTabController.forceReprojection
@@ -238,6 +243,9 @@ MyStackViewPage {
}
steamvrCompositorSupersamplingText.text = s2
}
onAllowSupersampleFilteringChanged: {
steamvrAllowSupersampleFilteringToggle.checked = SteamVRTabController.allowSupersampleFiltering
}
onAllowInterleavedReprojectionChanged: {
steamvrAllowInterleavedReprojectionToggle.checked = SteamVRTabController.allowInterleavedReprojection
}
+2 -1
View File
@@ -20,4 +20,5 @@ taskkill /im vrdashboard.exe /f >nul 2>nul
taskkill /im vrserver.exe /f >nul 2>nul
REM Start vrmonitor.exe
start "" "%steamVRPath%\tools\bin\win32\vrmonitor.exe"
REM start "" "%steamVRPath%\bin\win32\vrmonitor.exe"
start "" "%steamVRPath%\bin\win32\vrstartup.exe"