SteamVR-for-Linux icon indicating copy to clipboard operation
SteamVR-for-Linux copied to clipboard

[BUG] Shading is weird on SteamVR controllers in Beta 1.16.8

Open happysmash27 opened this issue 3 years ago • 28 comments

Describe the bug After the beta 1.16.8, the controllers appear to be... semi-see-through? They look like as follows: 2021-02-22-222309_1280x1017_scrot

To Reproduce Steps to reproduce the behavior:

  1. Open SteamVR.
  2. Turn on controllers.
  3. 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-settings or vulkaninfo | grep driverInfo: Mesa 21.0.0-rc3 (ACO)
  • Gist for SteamVR System Information: https://gist.github.com/happysmash27/1124857ee107f347fa78f04559444a07

Screenshots 2021-02-22-222309_1280x1017_scrot

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.

happysmash27 avatar Feb 26 '21 07:02 happysmash27

Rendering of base stations also have an inverted z-depth look.

kisak-valve avatar Feb 26 '21 12:02 kisak-valve

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.

HadetTheUndying avatar Mar 08 '21 06:03 HadetTheUndying

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.

ghost avatar Mar 08 '21 07:03 ghost

Confirmed here as well RX 5700XT Debian Testing Mesa 20.3.4

Goofybud16 avatar Mar 08 '21 08:03 Goofybud16

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.

happysmash27 avatar Mar 10 '21 13:03 happysmash27

Still an issue in 1.16.9 beta. RX 5700 Mesa 20.3.4

Edit: Still in 1.16.10

ChrisJAllan avatar Mar 11 '21 04:03 ChrisJAllan

Got the same issue on a RX 6800 XT.

ZarathustraDK avatar Mar 14 '21 12:03 ZarathustraDK

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.

HadetTheUndying avatar Mar 23 '21 18:03 HadetTheUndying

I also have this issue on Fedora 34 with a 5700XT latest mesa-git

admittedly I think it looks kind of cool

mmcnutt avatar Mar 25 '21 23:03 mmcnutt

All of the z-ordering for steamvr overlays is inverted for me too, latest stable mesa + rx 580.

melvyn2 avatar Mar 31 '21 23:03 melvyn2

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) index

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.

timcarr89 avatar Apr 03 '21 02:04 timcarr89

i also have this issue. rx 5700 mesa 20.3.4

mathew2214 avatar Apr 03 '21 02:04 mathew2214

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.

podiki avatar Jul 10 '21 23:07 podiki

I also have this issue. Are we 100% sure this isn't the intended new look?

dirkson avatar Aug 12 '21 17:08 dirkson

I also have this issue. Are we 100% sure this isn't the intended new look?

afaik SteamVR on Windows doesn't have this

Scrumplex avatar Aug 12 '21 18:08 Scrumplex

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?

podiki avatar Aug 12 '21 19:08 podiki

Definitely still happening in the latest beta.

HadetTheUndying avatar Aug 12 '21 20:08 HadetTheUndying

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

base controllers

RoboMolluskKing avatar Sep 02 '21 21:09 RoboMolluskKing

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.

HadetTheUndying avatar Sep 03 '21 20:09 HadetTheUndying

Wanted to update my confirmation, also an issue on a 6700XT and Mesa 21.2.1 and SteamVR 1.19.7.

Goofybud16 avatar Sep 21 '21 02:09 Goofybud16

Putting in my confirmation, RX 6600 XT, Mesa 21.2.5, SteamVR Beta 1.21.2.

gameboycjp avatar Nov 20 '21 19:11 gameboycjp

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)

Meister1593 avatar Nov 23 '21 20:11 Meister1593

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.

Supreeeme avatar Mar 12 '22 18:03 Supreeeme

Manjaro/Gnome with an rx6800xt, same issue.

oemsysadm avatar Mar 14 '22 03:03 oemsysadm

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.

RoboMolluskKing avatar Mar 14 '22 06:03 RoboMolluskKing

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.

okawo80085 avatar Mar 16 '22 08:03 okawo80085

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

Meister1593 avatar Mar 16 '22 09:03 Meister1593

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.

okawo80085 avatar Mar 16 '22 10:03 okawo80085

It appears to be fixed for me in SteamVR Beta 1.26.1.

CobaltSpace avatar Mar 29 '23 19:03 CobaltSpace

Can confirm it's fixed on my end as well with 1.26.1!

caseif avatar Mar 29 '23 20:03 caseif