ALVR icon indicating copy to clipboard operation
ALVR copied to clipboard

ALVR is trying to use the wrong GPU for encoding (Linux)

Open Sol33t303 opened this issue 5 months ago • 2 comments

Description

ALVR is unable to use/find the hardware encoding of my RX 7800 XT, and instead from command output is trying to use the encoder for my other GPU installed in the system, a GTX 690 with the nouveau drivers (which is bizzare, because even running vainfo only shows the AMD GPU so 0 clue where ALVR could be getting this from). Here is the output from ALVR (also would like to point out the grammer issue of using "you" instead of "your" in the output but that should be a seperate bug report):

[20:24:42.275 INFO alvr_dashboard::steamvr_launcher::linux_steamvr] GPU Encoder vendor: Mesa Gallium driver 24.2.3-arch1.1 for NVE4

[20:24:42.295 ERROR alvr_dashboard::steamvr_launcher::linux_steamvr] H264 profile does not contain encoding entrypoint. You unlikely to have hardware encoding for it.

[20:24:42.295 ERROR alvr_dashboard::steamvr_launcher::linux_steamvr] Couldn't find HEVC profile. You unlikely to have hardware encoding for it.

[20:24:42.295 INFO alvr_dashboard::steamvr_launcher::linux_steamvr] Couldn't find AV1 profile. You unlikely to have hardware encoding for it.

Here is vainfo output:

Trying display: wayland
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver 24.2.3-arch1.1 for AMD Radeon RX 7800 XT (radeonsi, navi32, LLVM 18.1.8, DRM 3.57, 6.10.10-zen1-1-zen)
vainfo: Supported profile and entrypoints
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileHEVCMain10             :	VAEntrypointEncSlice
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointVLD
      VAProfileAV1Profile0            :	VAEntrypointVLD
      VAProfileAV1Profile0            :	VAEntrypointEncSlice
      VAProfileNone                   :	VAEntrypointVideoProc

General Troubleshooting

  • [ ✓] I carefully followed the instructions in the README and successfully completed the setup wizard
  • [ ✓] I read the ALVR GitHub Wiki

Environment

Hyprland/Wayland Using Pipewire for audio

Hardware

https://linux-hardware.org/?probe=ed0490260d

Installation

ALVR Version: 20.11.0

ALVR Settings File: session.json

SteamVR Version: 2.7.4

Install Type:

  • [ ✓] Packaged (exe, deb, rpm, etc) AUR
  • [ ] Portable (zip)
  • [ ] Source

OS Name and Version (winver on Windows or grep PRETTY_NAME /etc/os-release on most Linux distributions): Arch Linux

Sol33t303 avatar Sep 23 '24 10:09 Sol33t303