ALVR icon indicating copy to clipboard operation
ALVR copied to clipboard

Defaulting to intel graphics when nvidia is the active graphics card

Open zrm9901 opened this issue 1 year ago • 3 comments

Description

No matter what I try my integrated graphics is being used over my rtx 4050 heres my launch commands:

QT_QPA_PLATFORM=xcb WAYLAND_DISPLAY='' __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json ~/.local/share/Steam/steamapps/common/SteamVR/bin/vrmonitor.sh %command%

I have my nvidia graphics card set as my default and it just keeps launching as integrated. I have tried doing on demand and just my nvidia card and it just keeps launching integrated

I have a laptop btw

General Troubleshooting

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

Environment

linux

Hardware

Note: for Linux, an upload to the hw-probe database is preferred: hw-probe -all -upload

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

Installation

ALVR Version: newest ALVR Settings File: default SteamVR Version: newest Install Type:

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

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

zrm9901 avatar Aug 16 '24 20:08 zrm9901

What indicator is telling you that it's using the wrong gpu? Can you upload the logs of alvr establishing a connection with info logging enabled?

The-personified-devil avatar Aug 27 '24 16:08 The-personified-devil

I don’t have the logs right now because I switched over to pop os, but in the logs tab it was saying that it was launching using discrete graphics and it gave errors that it did not support the encoder

zrm9901 avatar Aug 28 '24 16:08 zrm9901

I can reinstall on pop is and see if it fixes it, as the nvidia drivers are updated on pop os to 555 instead of Ubuntu’s Default around 300 something

zrm9901 avatar Aug 28 '24 16:08 zrm9901

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Oct 28 '24 00:10 github-actions[bot]

Too long, plus you're doing stuff wrong.

  • You have to launch ALVR with VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json
  • Close Steam completely and launch it through ALVR by clicking "Launch SteamVR"

BEFORE DOING THAT: Launch options of SteamVR must be: QT_QPA_PLATFORM=xcb WAYLAND_DISPLAY='' ~/.local/share/Steam/steamapps/common/SteamVR/bin/vrmonitor.sh %command%

I'm using Pop!_Os (Ubuntu but better, a lot), on a laptop, so that works at 100%. Let me know if that fixes it.

gabriele2000 avatar Oct 29 '24 14:10 gabriele2000

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Dec 29 '24 00:12 github-actions[bot]