alvr-org / ALVR

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

Keep getting Cannot find audio device which name contains "pipewire" #2160

Open NitroDIon opened 1 month ago

NitroDIon commented 1 month ago

Description

Every time I try and use ALVR with my Quest 2 Headset I keep getting the Cannot find audio device which name contains "pipewire" even though I am using pipewire As a note i have tried both stable and nightly versions.

General Troubleshooting

Environment

Hardware

CPU: Intel Core i7-10700k GPU: Nvidia RTX 3050 GPU Driver Version: Nvidia 545.29.06 Audio: PulseAudio (on PipeWire 1.0.7)

Installation

ALVR Version: v21.0.0-dev01+nightly.2024.05.31 ALVR Settings File: Patebin to make post not a massive wall of text SteamVR Version: SteamVR Version 2.5.5 Install Type:

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

Note: sorry if i've filed this out wrong this is my first time filling out a report like this

l33tlinuxh4x0r commented 1 month ago

Try using "system default" instead of "pipewire" for game audio and "default" instead of "pipewire" for the mic. See attached image.

image

NitroDIon commented 1 month ago

this worked however now i'm getting an issue with no video showing

MorrisBA commented 1 month ago

this worked however now i'm getting an issue with no video showing

I had the same issue with pipewire. Setting to default has worked but I also have no video on the headset. I can see the screen view and tracking is working but the headset shows black. I am on Pop OS running 3600x 1080ti and 32gb ram.

minepoof commented 1 month ago

I'm getting this as well on my arch linux install....

The-personified-devil commented 1 month ago

Pipewire kind of broke the device name "pipewire" for it's default device, use "pulseaudio" instead if you have pipewire-pulse installed.

snagar commented 1 month ago

Same here, black screen although it is tracked on the "VR View" window.

[edit] I'm on Ununtu 24.04

The-personified-devil commented 1 month ago

If you're getting the black screen on client issue you should check https://github.com/alvr-org/ALVR/wiki/Linux-Troubleshooting

snagar commented 1 month ago

@The-personified-devil Thanks for the input.

At last I was able to stream VR into the QUEST head set. In my case, for now, I disabled the audio settings, since anything I chose from the "drop down list" caused for a continues "whine" sound in the headset.

I hope to continue and investigate this issue, but for now I can't stream the audio to the headset.

MorrisBA commented 4 weeks ago

If you're getting the black screen on client issue you should check https://github.com/alvr-org/ALVR/wiki/Linux-Troubleshooting

The command in the steps provided worked to get video. Thank you for this. Now my games are incredibly slow to launch or don't launch in vr, but I will look into this further and update if I find a solution

svidlak commented 4 weeks ago

If you're getting the black screen on client issue you should check https://github.com/alvr-org/ALVR/wiki/Linux-Troubleshooting

Seems like it solved the issue for other people. Sorry for the dumb question but where can I find the SteamVR commandline options? is it like right click on SteamVR in Steam -> Properties -> Launch options?

EDIT: Since im using Arch + hyprland (wayland) and have integrated intel + nvidia gpu my initial commandline options looked like this: __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia %command% ~/.steam/steam/steamapps/common/SteamVR/bin/vrmonitor.sh %command% WAYLAND_DISPLAY='' %command%

removing everything and leaving only ~/.steam/steam/steamapps/common/SteamVR/bin/vrmonitor.sh %command% WAYLAND_DISPLAY='' %command% solved the black screen issue. Also had to disable audio for now but its good enough for me for the meantime.