-
Notifications
You must be signed in to change notification settings - Fork 44
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
Uninitialized right eye mask in SteamVR 1.21.2 #480
Comments
Thank you so much for this, I thought my headset was dying! |
Just had this exact issue today..! Thank you so much for the workaround!:sob::heart: |
Thank you for this workaround! Fedora just received an update for Mesa 21.3 and this issue is there. |
Also seen as edge artifacts with a Valve Index on #500. |
Workaround succesfully tested on the Index. I can imagine this being a pretty scary bug if you're not following/noticing updates and bugtrackers, as it could easily be perceived as the right lens being a bit off or the display having received a bump to the right. |
I actually went through with a headset RMA and only realized it was a software issue when the new headset had the same issue. Thanks for the workaround! |
Looks like I needed the same fix. Has anyone measured the performance impact of |
I've been experiencing this issue for a while, and the above fix seems to correct it. To provide images of what this -might- look like: This is on the desktop: (see #438) And this is in the headset (The headset is displaying a blue scene from an application): I've also seen it show up as rapid black and white flashing (which can cause some odd effects in the right lens, such as the lens itself appearing to get brighter and dimmer rapidly-- very unpleasant.) I thought this was actually a failing LCD or motherboard in my Index originally, glad to see it was just a software bug. |
[BUG] vrcompositor doesn't clear the right eye Issue transferred from #603. Describe the bug To Reproduce
Expected behavior System Information (please complete the following information):
Screenshots Additional context Note: Commenters who are also experiencing this issue are encouraged to include the "System Information" section in their replies. |
On my system, SteamVR 1.26.7 works fine¹ with no corruption in the right eye, but SteamVR beta (1.27.4 and 1.27.5) has corruption in the right eye and requires the It only shows on the headset, not in the headset viewer. I've not yet figured out how to set up RenderDoc to capture the output. Here's my SteamVR System Report (with beta 1.27.5), zipped to reduce size. I'm using an AMD Radeon RX 5600 XT on an up-to-date Kubuntu 22.04 LTS install (with HWE stack). If there's any other information that would help, let me know! NOTE 1: SteamVR 1.26.7 does have stuttering with the SteamVR overlay/guardian boundary, and flickers when moving in the "loading" world, requiring SteamVR 1.27.4+ is a massive improvement in that sense, with the only issue so far being the right eye not getting cleared. I appreciate the ongoing improvements! |
This bug seems to still be present in the SteamVR 2.0.1 beta. |
As a note, the workaround doesn't seem to be working for me anymore in 2.0.3. I would assume it probably has something to do with the runtime change. |
I've managed to get SteamVR 2.0.6 beta able to launch thanks to an updated Considering my HTC Vive uses OLED screens, I imagine this would cause burn-in, so I'll stick to SteamVR stable when actually playing VR longer term. |
Thankfully, with SteamVR 2.0.8 stable released today, the The underlying bug remains - if I clear the SteamVR Launch Options, the uninitialized graphics memory flickering in the right eye returns. EDIT 2023-10-26: I've had success with multiple launches on Kubuntu 22.04 LTS, but I did not extensively test. I might have just gotten lucky, as noted in the following comment. |
It looks like digitalcircuit's observation was a false negative and at some point in SteamVR's startup, I've managed to workaround this once again by adding |
Following up on If there's anything else that would help in getting this properly resolved (rather than continuing the workaround), let me know! EDIT 2023-11-18: I decided to automate this workaround since I expect to have to do it for a while: VRCOMPOSITOR_LAUNCH="$HOME/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrcompositor-launcher.sh"
if [[ ! -f "$VRCOMPOSITOR_LAUNCH" ]]; then
echo "[!] Can't find 'vrcompositor-launcher.sh', adjust path in variable?" >&2
elif ! grep "RADV_DEBUG=zerovram" >/dev/null "$VRCOMPOSITOR_LAUNCH"; then
sed --in-place "s@# NOTE: the vrcompositor-launcher stub does a bit of env manipulation and syscap work@# Work around right eye VRAM, see: https://github.com/ValveSoftware/SteamVR-for-Linux/issues/480\nexport RADV_DEBUG=zerovram\n\n# NOTE: the vrcompositor-launcher stub does a bit of env manipulation and syscap work@" "$VRCOMPOSITOR_LAUNCH"
else
echo "Already patched 'vrcompositor-launcher.sh'"
fi |
Interestingly, the issue with the env var being dropped seems to have been fixed as of 2.1.10, only to regress again in 2.2.1. |
@caseif Interesting… The same applies to me - SteamVR stable passes the environment variable, SteamVR beta does not. Is it possible something differs between the SteamVR stable and SteamVR beta build pipelines, resulting in dropping environment variables in beta? It seems unlikely. Diffing the SteamVR 2.1.10 folder with the 2.2.1 folder points out some settings, translations, and most of the binary files, which isn't exactly helpful in tracking down the change. |
Quick follow-up - I'm starting to think there's a difference between SteamVR beta and stable releases, since I've had the same behavior with SteamVR 2.2.3 beta vs stable - beta dropped the I noticed this as part of testing a separate, possibly related issue where SteamVR 2.2.3 beta didn't launch VR games, while SteamVR 2.2.3 stable does. |
Affirming that this happened again with the recent SteamVR 2.4 update - |
This is happening to me on the stable release, workaround works, using Arch. In-game menu is also invisible but i can still interact with it by seeing the hover descriptions, seems unrelated but thought i might as well add it here. Menu not fixed by the workaround. |
This will be fixed in a future SteamVR release. |
@Joshua-Ashton I can confirm that SteamVR 2.5.3 beta fixes this issue for me, and it also fixes SteamVR Home not launching (as per the changelog). I can now happily resume daily-driving the SteamVR beta. Thank you to everyone involved! |
Describe the bug
I was doing routine video driver testing for the mesa 21.3.0 update on my VR test box (i7-7700/RX480) and noticed light bleeding into side of the lens of my Vive from outside the field of view. Opting out of SteamVR 1.21.2 on the beta branch to SteamVR 1.20.4 made the issue go away. Also, setting SteamVR's launch options in Steam to
RADV_DEBUG=zerovram %command%
worked around the issue.To Reproduce
Steps to reproduce the behavior:
System Information (please complete the following information):
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Also tested mesa 21.2.5 under the assumption that this was initially a video driver regression. In case it matters, async reprojection was also disabled during this step of driver testing.
The text was updated successfully, but these errors were encountered: