Defaulting to intel graphics when nvidia is the active graphics card
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
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?
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
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
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.
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.
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.