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
{{ message }}
Repository navigation
Zenity dialog for "cap_sys_nice" is failing due to steam runtime issues #203
Please describe your issue in as much detail as possible:
This assumes that vrcompositor-launcher should have cap_sys_nice set on it (as that allows async reprojection on AMD) and I do recall SteamVR running a script once to set some privileges, but I only saw it once.
vrcompositor-launcher has been silently losing cap_sys_nice on multiple occasions, I can only assume it's due to SteamVR updating? The problem is that once it loses those privileges, I get no warnings and that script that set it up initially doesn't kick in again. So async reprojection just doesn't work until I set those privileges manually.
changed the title [-]vrcompositor-launcher does not recheck for cap_sys_nice[/-][+]Zenity dialog for "cap_sys_nice" is failing due to steam runtime issues[/+]on Jun 24, 2019
Hello @SketchStick, per "Use the host's zenity program when available for basic dialogs during startup" in the SteamVR 1.6.3 beta update, please retest this issue.
Not sure why this was closed, it doesn't pop up. @SketchStick did you launch SteamVR from within steam or directly (vrstartup.sh)? For VR if I understand the intent behind the logic in vrstartup.sh, it requires cap_sys_nice rather then suggest it. I still see errors popup in /tmp/SteamVRLauncherSetup.log though it doesn't prompt.
@h1z1
It's closed because on my end this bug is fixed and works as intended in steam client beta and steamvr beta, when starting steamvr from within both steam-native and steam-runtime.
If you want to debug things on your end, you can repeat the same steps I did. Just make sure you opt in to both Steam beta and SteamVR beta before doing so.
The steps I took are:
sudo updatedb && locate vrcompositor-launcher
sudo setcap -r <vrcompositor-launcher-path-here>
run steam or steam-runtime from a terminal
run steamvr from within your steam library
you should have a either a zenity prompt pop up or the vrmonitor will popup immediately
getcap <vrcompositor-launcher-path-here> to see if cap_sys_nice was set
grab the output from /tmp/SteamVRLauncherSetup.log
run a search in the terminal you launched steam from for SteamVRLauncherSetup and grab the text until exec <steamvr-path-here>/vrstartup (or just generally run a search for "zenity")
If you get the required gtk+ version 3.0 message then it might be a similar issue, or at least some conflict regarding zenity.
Activity
lostgoat commentedon Jun 24, 2019
How are you launching SteamVR?
Could you also try launching SteamVR in the following way and let me know if that works:
/tmp/SteamVRLauncherSetup.logdrawingpixels commentedon Jun 24, 2019
I typically launch using the VR button on the top-right of the Steam client.
/tmp/SteamVRLauncherSetup.log:
Tue Jun 25 01:17:15 AEST 2019 - Error: user declined superuser request.drawingpixels commentedon Jun 24, 2019
Okay, there's some funkiness going on under Arch... "steam-runtime" presents no dialog, but "steam-native" does.
drawingpixels commentedon Jun 24, 2019
kisak-valve commentedon Jun 24, 2019
Thanks for the detailed troubleshooting, that makes your issue the same as ValveSoftware/steam-runtime#104.
[-]vrcompositor-launcher does not recheck for cap_sys_nice[/-][+]Zenity dialog for "cap_sys_nice" is failing due to steam runtime issues[/+]kisak-valve commentedon Jul 10, 2019
Hello @SketchStick, per "Use the host's zenity program when available for basic dialogs during startup" in the SteamVR 1.6.3 beta update, please retest this issue.
TTimo commentedon Jul 10, 2019
"too soon" (tm)
The fix also requires an update to Steam client beta to work. Steam beta should update soon, I'll flag this again.
TTimo commentedon Jul 12, 2019
Please restest this issue - make sure to use the Steam Beta client as well.
drawingpixels commentedon Jul 12, 2019
The prompt opened upon starting SteamVR and added cap_sys_nice to vrcompositor-launcher. Thank you for the fix!
Tested with SteamVR beta 1.6.3 and Steam client beta built: Jul 11 2019, at 22:28:23
h1z1 commentedon Jul 16, 2019
Not sure why this was closed, it doesn't pop up. @SketchStick did you launch SteamVR from within steam or directly (vrstartup.sh)? For VR if I understand the intent behind the logic in vrstartup.sh, it requires cap_sys_nice rather then suggest it. I still see errors popup in /tmp/SteamVRLauncherSetup.log though it doesn't prompt.
Not sure about the other uses.
drawingpixels commentedon Jul 16, 2019
@h1z1
It's closed because on my end this bug is fixed and works as intended in steam client beta and steamvr beta, when starting steamvr from within both steam-native and steam-runtime.
If you want to debug things on your end, you can repeat the same steps I did. Just make sure you opt in to both Steam beta and SteamVR beta before doing so.
The steps I took are:
sudo updatedb && locate vrcompositor-launchersudo setcap -r <vrcompositor-launcher-path-here>steamorsteam-runtimefrom a terminalgetcap <vrcompositor-launcher-path-here>to see if cap_sys_nice was set/tmp/SteamVRLauncherSetup.logSteamVRLauncherSetupand grab the text untilexec <steamvr-path-here>/vrstartup(or just generally run a search for "zenity")If you get the
required gtk+ version 3.0message then it might be a similar issue, or at least some conflict regarding zenity.