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

[BUG] Error 303 with 🖼️Radeon RX 6600 XT AMDGPU (v4.6 Mesa 22.3.1) 🌽5.18.11-steamvr-generic kernel

Open KawaneRio opened this issue 2 years ago • 6 comments

Summary

I have recently upgraded my GPU from AMD Radeon RX 580 to AMD Radeon RX 6600 XT. However, SteamVR[beta] now returns a Code 303 "Something is Wrong" with this new GPU AMD Radeon RX 6600 XT.

Screenshot

Before GPU Upgrade

image

After GPU Upgrade

スクリーンショット_2022-12-18_19-10-29nacho

Steps to Reproduce

  1. Make a PC with a perfectly fine working RX 580 8GB
  2. Now take that out and put RX 6600 XT instead
  3. Start SteamVR
  4. 🥺

Expected behavior

  1. Make a PC with a perfectly fine working RX 580 8GB
  2. Now take that out and put RX 6600 XT instead
  3. Start SteamVR
  4. Boom. It just works™

System Information

  • Distribution: Ubuntu 20.04.5 LTS x86_64
  • SteamVR version: beta 1.25.1
  • Steam client version: Dec 15 2022
  • Opted into Steam client beta?: Yes
  • Graphics driver version: vulkaninfo | grep driverInfo
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_intel.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_radeon.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_lvp.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_intel.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_radeon.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_lvp.so: wrong ELF class: ELFCLASS32
	driverInfo         = Mesa 22.3.1
	driverInfo                                           = Mesa 22.3.1
	driverInfo         = Mesa 22.3.1 (LLVM 14.0.6)
	driverInfo                                           = Mesa 22.3.1 (LLVM 14.0.6)
	driverInfo         = Mesa 22.3.1 (LLVM 14.0.6)
	driverInfo                                           = Mesa 22.3.1 (LLVM 14.0.6)
	driverInfo         = Mesa 22.3.1
	driverInfo                                           = Mesa 22.3.1

Related?

Error 303 A key component of SteamVR isn't working correctly - SteamVR Linux on Steam Community

https://github.com/ValveSoftware/SteamVR-for-Linux/issues/552

Note

Commenters who are also experiencing this issue are encouraged to include the "System Information" section in their replies.

KawaneRio avatar Dec 23 '22 11:12 KawaneRio

OS Update: Ubuntu 20.04 → 22.04

Hello! I have recently updated my OS in hopes to get this issue solved. The results are... well, the same. Updating my Operating System did not change the error at all; I still get a Errror 303. I have tried using non-beta SteamVR, linux v_1.14 SteamVR, and also have tried forcing Photon Experimental with no avail.

Here is what my screen looks like today: image

...And here are my updated OS information (the kernel, drivers should be the same)

System Information

  • Distribution: Ubuntu 22.04.1 LTS (Jammy Jellyfish) ←updated
  • SteamVR version: beta 1.25.2 ←updated
  • Steam client version: Dec 19 2022 ←updated
  • Opted into Steam client beta?: Yes
  • Graphics driver version: vulkaninfo | grep driverInfo
        driverInfo         = Mesa 22.3.1
        driverInfo                                           = Mesa 22.3.1
        driverInfo         = Mesa 22.3.1 (LLVM 14.0.6)
        driverInfo                                           = Mesa 22.3.1 (LLVM 14.0.6)

↑¿what the... for some reason, this command no longer outputs wrong ELF class: ELFCLASS32 Error.

Gist: SteamVR System Report created Fri Dec 23 20:27:57 2022

KawaneRio avatar Dec 23 '22 11:12 KawaneRio

After a while of tweaking, it seems that every time I unplug and replug the tethering cable together, SteamVR would always give me a Error -203. And when I restart headset, the Error will go back to 303.

Error 303

Screenshot

Spectacle_20221223_205830

Error -203 After Reconnecting Tethering Cable

Screenshot

Spectacle_20221223_205952

Error 303 After Restart Headset

Screenshot

Spectacle_20221223_210240

KawaneRio avatar Dec 23 '22 12:12 KawaneRio

Removing the word "beta" because I have tested on non-beta SteamVR as well as non-beta Proton experimental with the same problem.

KawaneRio avatar Dec 23 '22 15:12 KawaneRio

I have the same issue with steamvr beta 2.1.7: https://github.com/ValveSoftware/SteamVR-for-Linux/issues/639#issuecomment-1826775962 (that post contains a temporary workaround)

shfbsdbvf avatar Nov 26 '23 13:11 shfbsdbvf

Just throwing this out there, do you have the DRI3 extension enabled?

$ xdpyinfo
...
number of extensions:    28
...
    DRI2
    DRI3  ← need this
...

The amdgpu xorg driver silently disables it if the mesa libraries don't match the ones it was built with exactly. Well, not exactly silently, it does log a message in your xorg log file, but good luck noticing that.

Without DRI3, SteamVR gives all sort of strange and variable error messages.

twhitehead avatar Nov 30 '23 04:11 twhitehead

Works in SteamVR 2.1.8 :) https://github.com/ValveSoftware/SteamVR-for-Linux/issues/553#issuecomment-1833110353 , I have DRI3 but I had the issue at the time I posted it.

shfbsdbvf avatar Dec 02 '23 13:12 shfbsdbvf