alvr-org / ALVR

Stream VR games from your PC to your headset via Wi-Fi
MIT License
5.54k stars 490 forks source link

[Linux] Non-native game get nvenc errors in logs #2497

Closed gcadorette closed 1 week ago

gcadorette commented 2 weeks ago

Description

That doesn't happen playing HL2 VR mod, but when I play Hotdogs, horseshoes and handgrenades, I get these errors in the console while I play:

ERROR Encoder: failed to reconfigure nvenc: invalid param (8): Invalid value for HRD bitrate. ERROR Encoder: failed to reconfigure nvenc: invalid param (8): Invalid Level.

General Troubleshooting

Environment

Hardware

Note: for Linux, an upload to the hw-probe database is preferred: hw-probe -all -upload https://linux-hardware.org/?probe=723518a192 CPU: i9-12700K GPU: RTX 3080 12GB GPU Driver Version: Driver: 560.35.03 CUDA 12.6 Audio:

Installation

ALVR Version: v20.11.1 ALVR Settings File: (not sure how to get that) SteamVR Version: 2.8.6 Install Type:

OS Name and Version (winver on Windows or grep PRETTY_NAME /etc/os-release on most Linux distributions): Pop!_OS 22.04 LTS

gcadorette commented 1 week ago

Fixed by installing nvidia's codec header for ffmpeg

More info: https://docs.nvidia.com/video-technologies/video-codec-sdk/12.1/ffmpeg-with-nvidia-gpu/index.html