Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add guidance for setting GPU for encoding in ALVR #2499

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions wiki/Linux-Troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ Put `DRI_PRIME=1 %command%` into SteamVR's commandline options and in those of a

Put `__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia %command%` into SteamVR's commandline options and in those of all VR games you intend to play with ALVR.

### ALVR is using the wrong GPU (e.g., iGPU) for encoding

Put `VK_DRIVER_FILES=<path to the required GPU driver's ICD>` to the SteamVR launch options. For example, for Nvidia:

On:
* Arch Linux: `VK_DRIVER_FILES=/usr/share/vulkan/icd.d/nvidia_icd.json`
* NixOS: `VK_DRIVER_FILES=/usr/share/vulkan/icd.d/nvidia_icd.x86_64.json`

## Wayland

When using hyprland or Gnome Wayland you need to put `WAYLAND_DISPLAY='' %command%` into the SteamVR commandline options to force XWayland.
Expand Down
Loading