protonscr

Can't get video stream texture OpenGL

steamvropen
ValveSoftware/SteamVR-for-Linux#200 · opened 2019-06-02 by Zamundaaa · updated 2019-06-02 · 0 comments · github
ZZamundaaa 2019-06-02 github

Your system information

  • Steam client version (build number or date): 1558567098
  • Distribution (e.g. Ubuntu): Manjaro KDE
  • Graphics driver version (run nvidia-settings): rx 580 with mesa 19.0.5
  • Gist for SteamVR System Information: https://gist.github.com/Zamundaaa/eef7de09a56415fb71873c6dda1977ab
  • Opted into Steam client beta?: [Yes/No] Yes
  • Opted into SteamVR beta?: [Yes/No] Yes
  • Have you checked for system updates?: [Yes/No] Yes

I call AcquireVideoStreamingService(...) and it returns no error and the camera goes active according to the settings window, as wanted.
When calling VRTrackedCamera_GetVideoStreamTextureGL(...) though it always returns error 111 or VRTrackedCameraError_FailedToGetGLTextureId. The texture ID it returns is apparently sometimes non-zero, sometimes zero. If it's non-zero then there is some kind of pattern on it, it just seems to be random GPU memory contents, definitely nothing from the camera. The camera itself is working just fine in the camera overlay.
Is one supposed to get the camera feed another way now, or is this a bug? There doesn't seem to be much documentation on camera access either way.

Nothing extracted yet.