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

[BUG] OpenGL texture arrays are currently only supported on Windows

Open technobaboo opened this issue 4 years ago • 0 comments

Describe the bug SteamVR's OpenXR runtime is unable to accept a swapchain created with texture arrays. It's erroring correctly but I figured putting this here was the best way to get it back on the eyes of anyone who has the time to fix it.

To Reproduce Steps to reproduce the behavior:

  1. Start SteamVR
  2. Run any StereoKit or GLX OpenXR app that uses texture arrays in its swapchains (in this case it was https://github.com/StardustXR/stardust-xr)

System Information

  • Distribution: EndeavourOS rolling
  • SteamVR version: 1.19.1 Beta
  • Graphics driver version: Mesa 21.2.2
  • Gist for SteamVR System Information: https://gist.github.com/technobaboo/24104068ecd094b064ee819b3d9febf2

The log xrclient_stardustxr.txt contains:

Thu Sep 23 2021 10:08:55.911914 - //==============================================================================================
Thu Sep 23 2021 10:08:55.911932 - ================================================================================================
Thu Sep 23 2021 10:08:55.911942 - ================================================================================================
Thu Sep 23 2021 10:08:55.911957 - stardustxr 1.20.1 startup with PID=2441219, config=/home/nova/.local/share/Steam/config, runtime=/home/nova/.local/share/Steam/steamapps/common/SteamVR
Thu Sep 23 2021 10:08:55.912008 - vrclient type=VRApplication_OpenXRInstance
Thu Sep 23 2021 10:08:55.912603 - [Settings] Load Default Json Settings from /home/nova/.local/share/Steam/steamapps/common/SteamVR/drivers/htc/resources/settings/default.vrsettings
Thu Sep 23 2021 10:08:55.912652 - [Settings] Load Default Json Settings from /home/nova/.local/share/Steam/steamapps/common/SteamVR/drivers/lighthouse/resources/settings/default.vrsettings
Thu Sep 23 2021 10:08:55.912697 - [Settings] Load Default Json Settings from /home/nova/.local/share/Steam/steamapps/common/SteamVR/drivers/null/resources/settings/default.vrsettings
Thu Sep 23 2021 10:08:55.912863 - [Settings] Load Default Json Settings from /home/nova/.local/share/Steam/steamapps/common/SteamVR/resources/settings/default.vrsettings
Thu Sep 23 2021 10:08:55.913214 - [Settings] Load Json Settings from /home/nova/.local/share/Steam/config/steamvr.vrsettings
Thu Sep 23 2021 10:08:55.929746 - CIPCPipe::ConnectPipe(SteamVR_Namespace) attempting connect to steamvr:SteamVR_Namespace
Thu Sep 23 2021 10:08:55.929829 - CSharedResourceNamespaceClient::Init(): received namespace data 2428297
Thu Sep 23 2021 10:08:55.929861 - CIPCPipe::ConnectPipe(VR_ServerPipe_2428297) attempting connect to steamvr:VR_ServerPipe_2428297
Thu Sep 23 2021 10:08:55.931559 - Received success response from vrserver connect
Thu Sep 23 2021 10:08:55.935808 - Not looking for a good app key because Steam didn't start this app
Thu Sep 23 2021 10:08:55.935858 - App key after connect message:system.generated.stardustxr
Thu Sep 23 2021 10:08:55.947506 - Changing app type from VRApplication_OpenXRInstance to VRApplication_OpenXRScene
Thu Sep 23 2021 10:08:55.947669 - ChangeAppType failed with VRInitError_Init_Retry
Thu Sep 23 2021 10:08:56.447750 - Changing app type from VRApplication_OpenXRInstance to VRApplication_OpenXRScene
Thu Sep 23 2021 10:08:56.447998 - Successfully changed app type
Thu Sep 23 2021 10:08:56.448068 - CIPCPipe::ConnectPipe(VR_CompositorPipe_2428297) attempting connect to steamvr:VR_CompositorPipe_2428297
Thu Sep 23 2021 10:08:56.448274 - Received success response from vrcompositor connect
Thu Sep 23 2021 10:08:56.448304 - Initializing the limited version of CVRCompositorClient
Thu Sep 23 2021 10:08:56.489425 - Started /home/nova/.local/share/Steam/steamapps/common/SteamVR/bin/vrwebhelper/linux64/vrwebhelper.sh with pid 2441606
Thu Sep 23 2021 10:08:56.506780 - Transitioning XrSession from XR_SESSION_STATE_IDLE to XR_SESSION_STATE_IDLE
Thu Sep 23 2021 10:08:56.506845 - Transitioning XrSession from XR_SESSION_STATE_IDLE to XR_SESSION_STATE_READY
Thu Sep 23 2021 10:08:56.507089 - OpenGL texture arrays are currently only supported on Windows
Thu Sep 23 2021 10:08:56.507141 - ASSERT: "sxr_xrDestroySwapchain: Invalid CSxrSwapchainBase handle: 0
" at /data/src/vrclient/openxr_session.cpp:1049.
Thu Sep 23 2021 10:08:56.507178 - ASSERT: "sxr_xrDestroySwapchain: Invalid CSxrSwapchainBase handle: 0
" at /data/src/vrclient/openxr_session.cpp:1049.
Thu Sep 23 2021 10:08:56.507226 - Changing app type from VRApplication_OpenXRScene to VRApplication_OpenXRInstance
Thu Sep 23 2021 10:08:56.510449 - Successfully changed app type

technobaboo avatar Sep 23 '21 16:09 technobaboo