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

Defaulting to intel graphics when nvidia is the active graphics card #2334

Open
2 tasks
zrm9901 opened this issue Aug 16, 2024 · 5 comments
Open
2 tasks

Defaulting to intel graphics when nvidia is the active graphics card #2334

zrm9901 opened this issue Aug 16, 2024 · 5 comments
Labels
help request Not an issue, simply a help request linux This seems to be linux-specific

Comments

@zrm9901
Copy link

zrm9901 commented Aug 16, 2024

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

@The-personified-devil The-personified-devil added the help request Not an issue, simply a help request label Aug 27, 2024
@The-personified-devil
Copy link
Collaborator

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 The-personified-devil added the linux This seems to be linux-specific label Aug 27, 2024
@zrm9901
Copy link
Author

zrm9901 commented Aug 28, 2024

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
Copy link
Author

zrm9901 commented Aug 28, 2024

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

Copy link

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 github-actions bot added the stale label Oct 28, 2024
@gabriele2000
Copy link

gabriele2000 commented Oct 29, 2024

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.

@github-actions github-actions bot removed the stale label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help request Not an issue, simply a help request linux This seems to be linux-specific
Projects
None yet
Development

No branches or pull requests

3 participants