ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.24k stars 175 forks source link

Steam Link USB Wireless Headset Mic support does not work on Linux #6241

Open mwpow3ll opened 5 years ago

mwpow3ll commented 5 years ago

Your system information

Please describe your issue in as much detail as possible:

Connecting Hyper X Flight Cloud headset via USB Wireless Dongle to the Steam link results in Audio being directed to the headset, but the Mic doesn't function.

Steps for reproducing this issue:

  1. Insert USB Wireless dongle for the headset into the Steam Link
  2. Enable mic support under Steam Link Audio Menu
  3. Audio should now play through the wireless headset and the Steam Link Audio Menu will show a microphone attached and working but no audible output
  4. Attach to the streaming PC
  5. You will still hear audio
  6. Go to the friends chat tab and test the microphone
  7. You won't hear or see any feedback that a microphone is even detected or working despite the Steam Link showing it working prior to connecting

Machine info:

Computer Information: Manufacturer: Unknown Model: Unknown Form Factor: Desktop No Touch Input Detected

Processor Information: CPU Vendor: GenuineIntel CPU Brand: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz CPU Family: 0x6 CPU Model: 0x9e CPU Stepping: 0xa CPU Type: 0x0 Speed: 4700 Mhz 12 logical processors 6 physical processors HyperThreading: Supported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Unsupported SSE41: Supported SSE42: Supported AES: Supported AVX: Supported CMPXCHG16B: Supported LAHF/SAHF: Supported PrefetchW: Unsupported

Operating System Version: Linux (64 bit) Kernel Name: Linux Kernel Version: 5.0.4-200.fc29.x86_64 X Server Vendor: Fedora Project X Server Release: 12004000 X Window Manager: GNOME Shell Steam Runtime Version: jenkins-steam-runtime-beta-release_0.20190320.2

Video Card: Driver: NVIDIA Corporation GeForce GTX 1080 Ti/PCIe/SSE2 Driver Version: 4.6.0 NVIDIA 418.56 OpenGL Version: 4.6 Desktop Color Depth: 24 bits per pixel Monitor Refresh Rate: 60 Hz VendorID: 0x10de DeviceID: 0x1b06 Revision Not Detected Number of Monitors: 1 Number of Logical Video Cards: 1 Primary Display Resolution: 1920 x 1080 Desktop Resolution: 1920 x 1080 Primary Display Size: 18.78" x 10.55" (21.54" diag) 47.7cm x 26.8cm (54.7cm diag) Primary Bus: PCI Express 16x Primary VRAM: 11264 MB Supported MSAA Modes: 2x 4x 8x 16x

Sound card: Audio device: Realtek ALC1220

Memory: RAM: 64349 Mb

Miscellaneous: UI Language: English LANG: en_US.UTF-8 Total Hard Disk Space Available: 394839 Mb Largest Free Hard Disk Block: 285612 Mb VR Headset: None detected

Recent Failure Reports:

buxel commented 4 years ago

I have exactly the same issue, just not with the steam link hardware, but with the app running on a Shield TV with an USB headset attached.

System information

Please describe your issue in as much detail as possible:

Same as the original issue. Additionally, if i start a voice chat anyways and try to unmute myself, the tooltip says: Oops, looks like your browser was told to deny us microphone access!

Here is the log output from when i tried the following: 1) Start streaming 2) Go to Settings -> Audio/Voice and test microphone (no noise level indicated) 3) Go to Chat -> Gear icon -> Voice -> Start Microphone test (nothing happens) 4) Start a voice chat and try to unmute myself (error: oops....)

Some of the logs peaked my interest, but i lack understanding of the inner workings to judge if there is an problem. For convenience, here is an except:

From step 1) Microphone seems to be recognized properly

PulseAudio: Sink alsa_output.usb-ACTIONS_USB_Audio-00.analog-stereo is default
PulseAudio: Adding sink[1] alsa_output.usb-ACTIONS_USB_Audio-00.analog-stereo with priority 7, monitor is alsa_output.usb-ACTIONS_USB_Audio-00.analog-stereo.monitor
PulseAudio: Recording on device alsa_output.usb-ACTIONS_USB_Audio-00.analog-stereo.monitor
Audio mix: start=3383563125, returned=0
Audio source [System Pulse]: init=0, through=0, last_start=0, mixed=0, drop_before=0, drop_after=0
Got control packet k_EStreamControlStartMicrophoneData
CLIENT: Opened microphone: bits=32, channels=1, frequency=48000
CLIENT: Got control packet k_EStreamControlSetQoS
CLIENT: Got control packet k_EStreamControlSetTargetBitrate
CLIENT: Starting audio stream: frequency=48000, channels=2
CLIENT: Opened audio device: format=2, channels=2, frequency=48000
CLIENT: Initialized audio decoder: codec=3, sample rate=48000, channels=2
CLIENT: Got control packet k_EStreamControlStartAudioData
CLIENT: Got control packet k_EStreamControlSetSpectatorMode
CLIENT: Got control packet k_EStreamControlSetCaptureSize
CLIENT: Got control packet k_EStreamControlSetTitle
CLIENT: Sending HID device 046d/0a66/3 Logitech G533 Gaming Headset at /dev/bus/usb/001/005/46d/a66/6
CLIENT: Sending HID device 045e/02fd/-1  Xbox Wireless Controller at sdl://0
CLIENT: Got control packet k_EStreamControlSetIcon
CLIENT: Got control packet k_EStreamControlSetActivity
PulseAudio: Connected to device alsa_output.usb-ACTIONS_USB_Audio-00.analog-stereo.monitor (1, not suspended).
PulseAudio: Using sample spec 's16le 2ch 48000Hz', channel map 'front-left,front-right'.

From step 3) Found some chromium related issues on the internet about this but no proper lead...

[0331/183827.572525:WARNING:push_pull_fifo.cc(191)] PushPullFIFO: underflow while pulling (underflowCount=1, availableFrames=256, requestedFrames=512, fifoLength=12288)
[0331/183831.323040:WARNING:push_pull_fifo.cc(191)] PushPullFIFO: underflow while pulling (underflowCount=2, availableFrames=0, requestedFrames=512, fifoLength=12288)
Audio mix: start=3383563125, returned=14401440
Audio source [System Pulse]: init=3383623389, through=14402563, last_start=14401745, mixed=2879927, drop_before=0, drop_after=0
[0331/183843.502898:WARNING:push_pull_fifo.cc(191)] PushPullFIFO: underflow while pulling (underflowCount=3, availableFrames=0, requestedFrames=512, fifoLength=12288)
[0331/183845.615477:WARNING:push_pull_fifo.cc(191)] PushPullFIFO: underflow while pulling (underflowCount=4, availableFrames=0, requestedFrames=512, fifoLength=12288)
[0331/183846.039305:WARNING:push_pull_fifo.cc(191)] PushPullFIFO: underflow while pulling (underflowCount=5, availableFrames=0, requestedFrames=512, fifoLength=12288)

@slouken : If there is more information i could provide, just give me a heads up.

Soremwar commented 4 years ago

I have this exact problem and I came here to discover it hasn't been resolved a year after :(