alvr-org / ALVR

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

Audio outputting to mic stream #2029

Closed CraftMaster163 closed 1 month ago

CraftMaster163 commented 4 months ago

Description

The audio sink has no sound but when i switch to the mic stream i hear my pc and myself

General Troubleshooting

Environment

Hardware

Note: for Linux, an upload to the hw-probe database is preferred: hw-probe -all -upload https://linux-hardware.org/?probe=1c1825d346

CPU:Ryzen 5800x

GPU:Radeon 7800xt

GPU Driver Version:Unknown

Audio:Unknown

Installation

ALVR Version:v20.6.1

ALVR Settings File:

SteamVR Version:2.3.5

Install Type:

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

ZGltYQ commented 4 months ago

Same issue

OS: Ubuntu 22.04

ZGltYQ commented 4 months ago

Script audio-setup run every time i leave my game zone and i must choose output mic again, it is very annoying, as a stopgap you can change setup_audio function to:

function setup_audio() {
  if [[ $USE_HEADSET_AUDIO == 1 ]]; then
    echo "Setting up audio"
    pactl load-module module-null-sink sink_name=ALVR-MIC-Sink media.class=Audio/Sink | tee -a /run/user/1000/alvr-audio
    pactl set-default-sink ALVR-MIC-Sink
    pactl move-source-output "$(get_playback_source_output_id alsa_capture.vrserver)" "$(get_sink_id_by_name ALVR-MIC-Sink)"
  fi
}

This won't fix the way you can hear yourself, but you will be able to hear the game without manual adjustments.

devurandom commented 4 months ago

Could this be a duplicate of https://github.com/alvr-org/ALVR/issues/1821 ?

ZGltYQ commented 4 months ago

Could this be a duplicate of #1821 ?

i have tried this solution but it doesn't work for me

ZGltYQ commented 4 months ago

@CraftMaster163 did you find solution ?

CraftMaster163 commented 3 months ago

nope

github-actions[bot] commented 1 month ago

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.