Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SteamVR Sandboxing, Black screen on headset #2242

Open
The-personified-devil opened this issue Jul 10, 2024 · 3 comments
Open

SteamVR Sandboxing, Black screen on headset #2242

The-personified-devil opened this issue Jul 10, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@The-personified-devil
Copy link
Collaborator

The-personified-devil commented Jul 10, 2024

This issue describes the black issue caused by SteamVR sandboxing. Other causes of the black screen issue are also covered on the troubleshooting page though.
Reference workaround for this issue: https://github.com/alvr-org/ALVR/wiki/Linux-Troubleshooting

The black screen issue is caused by a component of SteamVR called vrcompositor running in the Steam Linux Runtime Scout (SLR 1) sandbox, which we can't compile our vulkan layer for. The workaround solves this by partly disabling the sandbox. The workaround is always needed to fix this issue. This is a known issue, please don't report it again.

NOTE: The vulkan layer is needed because SteamVR doesn't expose internal information related to rendering, so the vulkan layer intercepts it for us. An api to solve this called direct mode has been exposed by SteamVR, but it has a bug that makes it unusable currently. Once a fix is shipped we'll use this api, rendering the workaround redundant.

@The-personified-devil The-personified-devil changed the title SteamVR Sandboxing, Black screen SteamVR Sandboxing, Black screen on client Jul 10, 2024
@The-personified-devil The-personified-devil changed the title SteamVR Sandboxing, Black screen on client SteamVR Sandboxing, Black screen on headset Jul 10, 2024
@Espionage724
Copy link

Espionage724 commented Jul 10, 2024

Would this happen to affect Windows over USB, particularly a few days ago and with SteamVR beta?

I have a Quest 2 and with ALVR (sideloaded nightly or App Lab), using wifi as-is was fine, but after the USB forwarding commands and trying USB, ALVR in the headset would render nothing (black screen).

Edit: Yep I forgot to set TCP; that solved that fine

@Vixea
Copy link
Collaborator

Vixea commented Jul 10, 2024

Nope its specific to Linux

@zarik5 zarik5 added the bug Something isn't working label Jul 10, 2024
@The-personified-devil
Copy link
Collaborator Author

@Espionage724 that sounds like you forgot to set the stream to tcp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants