SteamVR-for-Linux
SteamVR-for-Linux copied to clipboard
[BUG] Shading is weird on SteamVR controllers in Beta 1.16.8
Describe the bug
After the beta 1.16.8, the controllers appear to be... semi-see-through? They look like as follows:

To Reproduce Steps to reproduce the behavior:
- Open SteamVR.
- Turn on controllers.
- Before the home has loaded in, or while loading games, the controllers will look very weird.
Expected behavior The controllers will look normal and solid.
System Information (please complete the following information):
- Distribution: Gentoo, kernel 5.11.0-gentoo
- SteamVR version: 1.16.8
- Steam client version: Feb 12, 2021, 23:22:26
- Opted into Steam client beta?: Launcher, no, SteamVR, yes.
- Graphics driver version: [run
nvidia-settingsorvulkaninfo | grep driverInfo: Mesa 21.0.0-rc3 (ACO) - Gist for SteamVR System Information: https://gist.github.com/happysmash27/1124857ee107f347fa78f04559444a07
Screenshots

Additional context This problem did not exist on version 1.16.7.
Note: Commenters who are also experiencing this issue are encouraged to include the "System Information" section in their replies.
Rendering of base stations also have an inverted z-depth look.
I'm sure this is a no brainer to whichever Dev looks at this in the future, but this is definitely a draw ordering issue probably related to alpha blending. Is this also happening on AMD? I'm still waiting on my Index to ship and can test it then.
I'm sure this is a no brainer to whichever Dev looks at this in the future, but this is definitely a draw ordering issue probably related to alpha blending. Is this also happening on AMD? I'm still waiting on my Index to ship and can test it then.
Yes, its also on AMD. My rx 5700 have same issue.
Confirmed here as well RX 5700XT Debian Testing Mesa 20.3.4
Is this also happening on AMD? I'm still waiting on my Index to ship and can test it then.
The original bug report was for AMD; I use an RX 480.
Still an issue in 1.16.9 beta. RX 5700 Mesa 20.3.4
Edit: Still in 1.16.10
Got the same issue on a RX 6800 XT.
Issue is present in the latest Stable and Beta for me. Also having the same weird behavior with overlays. Think there might be something wonked out with Draw Ordering.
I also have this issue on Fedora 34 with a 5700XT latest mesa-git
admittedly I think it looks kind of cool
All of the z-ordering for steamvr overlays is inverted for me too, latest stable mesa + rx 580.
Same with with the Index controllers. They look like the face normals are inside-out. (slightly hard to see in still images, but very evident in motion)

Using AMD Vega 56 on Mesa. Incidentally this only occurs on the beta and current stable release. Using the older 1.14 Linux build they look correct.
i also have this issue. rx 5700 mesa 20.3.4
Can confirm with a 6700 XT, mesa 21.1.4 (and mesa-git), SteamVR beta branch. Something with the normals and/or depth on the controllers.
I also have this issue. Are we 100% sure this isn't the intended new look?
I also have this issue. Are we 100% sure this isn't the intended new look?
afaik SteamVR on Windows doesn't have this
I also have this issue. Are we 100% sure this isn't the intended new look?
Ha! See-through could be cool, but it is clearly a depth/normal vector rendering issue: controllers appear behind interface elements like menus and the Steam interface.
Still seeing this on the latest beta, any updates?
Definitely still happening in the latest beta.
I, too, have this issue for weeks. I am in the latest SteamVR beta (1.19.7 as I typed this). SteamVR beta (and stable) on Windows has no issues at all.
I am on Debian Sid, my GPU is an AMD RX 570 (Mesa 21.2.1)
It's not just the controllers, the base stations are also having it as well

I have a feeling this is probably an issue with a version of llvm or mesa SteamVR is being compiled against for the Linux builds.
Wanted to update my confirmation, also an issue on a 6700XT and Mesa 21.2.1 and SteamVR 1.19.7.
Putting in my confirmation, RX 6600 XT, Mesa 21.2.5, SteamVR Beta 1.21.2.
Same thing for me XFX RX480 4 GB, mesa 21.2.5, SteamVR Stable 1.20.4, Kernel 5.15.2-tkg-pds_21 Distro: Bedrock linux (main/init distro/strata - void, secondary - arch)
I wonder if this is an AMD specific bug. This was not happening with my GTX 1060 but when I switched to an RX 6600 I started seeing this.
Manjaro/Gnome with an rx6800xt, same issue.
I may have found a temporary fix for the time being
According to Tech Pills from May of last year, he also experienced the same bug as well (see the timestamp here: https://youtu.be/3C1dl8pKzpU?t=179). As he mentioned around 8:06, you need to roll into SteamVR beta build linux_v1.14.
Also I don't know if it is just me, but for some reason in this build, my system menu does not pop up when I press my system menu button on my controller, there is a weird double ghosting effect when I move my head or controllers around, and any VR game can't be launched.
As he mentioned around 8:06, you need to roll into SteamVR beta build
linux_v1.14.Also I don't know if it is just me, but for some reason in this build, my system menu does not pop up when I press my system menu button on my controller, there is a weird double ghosting effect when I move my head or controllers around, and any VR game can't be launched.
Not a good fix, not by a long shot at least, most of your issues were fixed in later versions of SteamVR, rolling back 7 versions is bound to bring old bugs that are more annoying than weird controller shading (as you've noticed already, stuttering and ghosting, those were mostly fixed in later versions).
A better way to approach this issue is try to find the shader thats used for overlay controller rendering, and try to run it in an isolated test, it's a vulkan shader obviously so it's not gonna be easy, but you'll be able to debug it and see if it's an AMD vulkan issue or an issue specific to that shader on AMD and try to fix it. This way the fix for this issue could be integrated into the future releases of SteamVR
I'd do it myself, but i have no access to an AMD gpu nor do i have access to any of my VR stuff right now.
Replying to https://github.com/ValveSoftware/SteamVR-for-Linux/issues/430#issuecomment-1068881900
In case you need any help, I have both amdgpu and vive to test with
In case you need any help, I have both amdgpu and vive to test with
Awesome! I'll try to isolate the shader used for controllers and make a test case when i'm free from work.
It appears to be fixed for me in SteamVR Beta 1.26.1.
Can confirm it's fixed on my end as well with 1.26.1!