ValveSoftware / Dota-2

Tracker for issues specific to Linux and Mac in the Reborn client. If you have a general issue or non-system-specific feature request please go to dev.dota2.com
472 stars 38 forks source link

No audio at all in Dota2 on mac #2495

Open naturligasteg opened 1 year ago

naturligasteg commented 1 year ago

Please describe your issue in as much detail as possible:

I booted up Dota2 after the latest update with TI stuff in it and no I can not get any audio at all in Dota2.

Steps for reproducing this issue:

  1. Boot Dota
  2. Enjoy ;)

Your system information

Computer Information: Manufacturer: Apple Model: Mac13.1 Form factor: Stationary No pressure input detected Processor information: CPU Vendor: VirtualApple CPU Brand: Apple M1 Max CPU Family: 0x6 CPU model: 0xc CPU Stepping: 0x0 CPU Type: 0x0 Speed: 2400 MHz 10 logical processors 10 physical processors HyperThreading: Not supported FCMOV: Not supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Not supported SSE41: Supported SSE42: Supported AES: Supported AVX: Not supported AVX2: Not supported AVX512F: Not supported AVX512PF: Not supported AVX512ER: Not supported AVX512CD: Not supported AVX512VNNI: Not supported SHA: Not supported CMPXCHG16B: Supported LAHF/SAHF: Supported PrefetchW: Not supported Operating system version: MacOS 13.6.0 (64 bit) Graphics card: Driver: Apple M1 Max Driver version: 227.7.14 OpenGL version: 4.1 Desktop color depth: 32 bits per pixel Screen refresh rate: 60 Hz Vendor ID: 0x106b Device ID: 0x0 Revision not found Number of screens: 1 Number of logical graphics cards: 1 Primary screen resolution: 2560 x 1440 Desktop resolution: 2560 x 1440 Primary screen size: 35.04" x 19.72" (40.20" diag), 89.0cm x 50.1cm (102.1cm diag) Primary VRAM: 32768 MB Memory: RAM: 32768 MB VR hardware: VR Headset: None found Other: Interface language: Swedish

cristianofurtadoba commented 1 year ago

This problem is also happening with Linux. I believe it is something related to pipewire or pulseuadio. waiting for valve to resolve it.

mhash1m commented 1 year ago

+1 on linux

Turmfalke2 commented 1 year ago

yeah, audio is completely broken. How did the changes to the profile background broke audio?

+1 linux

mhash1m commented 1 year ago

crazy how the devs just push anything to production without testing cross-platform. Major issues are far too common on linux, and you gotta wait for days to get them fixed

mhash1m commented 1 year ago

ok they either fixed it or i did some weird tweaking to make it work.

Jusix commented 1 year ago

"-sdlaudiodriver pipewire" launch option fixes this on Linux for me. But srsly Valve, do you even test?!

naturligasteg commented 1 year ago

ok they either fixed it or i did some weird tweaking to make it work.

  • tried tweaking volumes
  • tried tweaking language in the audio tab
  • then selected restore default in the audio tab and audio was back

There just came another minor update. I also tried what you did, but it is still dead silent for me. Super weird. It indeed makes you wonder if they test at all on Mac, this should be impossible to miss.

naturligasteg commented 1 year ago

"-sdlaudiodriver pipewire" launch option fixes this on Linux for me. But srsly Valve, do you even test?!

That disables audio completely on Mac.

naturligasteg commented 1 year ago

ok they either fixed it or i did some weird tweaking to make it work.

  • tried tweaking volumes
  • tried tweaking language in the audio tab
  • then selected restore default in the audio tab and audio was back

I really wonder what you did cause it does not work for me using my soundcard, the only audio that works is audio via HDMI on my monitor (which sounds like crap and can not take headphone so I can not talk to people which is BS in a team game).

mrmotes commented 4 months ago

Hi everyone, I wanted to breathe some life into this thread (I can't seem to find any other solutions online).

I have been having this same issue on my Mac Mini running Sonoma 14.2.1 (23C71) and using a 3rd Generation Scarlett 18i20 USB audio interface. This issue has occurred in the past and it eventually resolved itself. Now it's back and is persisting. 😞

I have restarted my system, I have reinstalled Dota 2, I have tried starting Dota 2 in safe mode, I've tried the -sdlaudiodriver pipewire and -sdlaudiodriver pulse parameters (I know they are for Linux, but why not try?), I've reinstalled the Focusrite audio driver. Nothing has yielded results.

I can see and select all of my audio interfaces from the Audio settings in Dota 2. The following results are exclusive to Dota 2. I am able to hear sound from other applications through the Scarlett without any issues.

I get the following information from the SOUNDINFO command in the Dota 2 console when connecting to each of these devices respectively.

❌ Default Device (using Scarlett 18i20)

[SoundSystemLowLevel] SDL Audio Device: (status: 0, driver: coreaudio) [SoundSystemLowLevel] 2 channels, 0 bits per sample, 0 Hz [SoundSystemLowLevel] Status: 0, 0 (mix channels:0) [SoundSystem] Device active: 0.00s. Active Voices: 5 [SoundSystem] 0: sounds/music/valve_dota_001/music/ui_main_02.vsnd (ffffffff80000020 :: ffffffff80000022) [3.2s] [SoundSystem] 1: sounds/ui/menu/shortwhoosh.vsnd (ffffffff80000021 :: ffffffff80000023) [-0.0s] [SoundSystem] 2: sounds/ui/menu/shortwhoosh.vsnd (ffffffff80000022 :: ffffffff80000024) [-0.0s] [SoundSystem] 3: sounds/ui/menu/shortwhoosh.vsnd (ffffffff80000023 :: ffffffff80000025) [-0.0s]

❌ Scarlett 18i20 USB

[SoundSystemLowLevel] SDL Audio Device: (status: 0, driver: coreaudio) [SoundSystemLowLevel] 2 channels, 0 bits per sample, 0 Hz [SoundSystemLowLevel] Status: 0, 0 (mix channels:0) [SoundSystem] Device active: 0.00s. Active Voices: 1 [SoundSystem] 0: sounds/music/valve_dota_001/music/ui_main_02.vsnd (ffffffff80000020 :: ffffffff80000022) [3.2s]

✅ Default Device (using Mac mini Speakers)

[SoundSystemLowLevel] SDL Audio Device: Mac mini Speakers (status: 1, driver: coreaudio) [SoundSystemLowLevel] 2 channels, 32 bits per sample, 48000 Hz [SoundSystemLowLevel] Status: 414, 766 (mix channels:2) [SoundSystem] Device active: 8.89s. Active Voices: 1 [SoundSystem] 0: sounds/music/valve_dota_001/music/ui_main_02.vsnd (ffffffff80000020 :: ffffffff80000022) [17.5s]

✅ Mac mini Speakers

[SoundSystemLowLevel] SDL Audio Device: Mac mini Speakers (status: 1, driver: coreaudio) [SoundSystemLowLevel] 2 channels, 32 bits per sample, 48000 Hz [SoundSystemLowLevel] Status: 6224, 11442 (mix channels:2) [SoundSystem] Device active: 132.84s. Active Voices: 1 [SoundSystem] 0: sounds/music/valve_dota_001/music/ui_startup_02.vsnd (ffffffff80000001 :: ffffffff80000001) [132.8s]

Any help with this particular issue would be greatly appreciated. If I'm an idiot and missing something obvious, I would love to know!

naturligasteg commented 4 months ago

Hi everyone, I wanted to breathe some life into this thread (I can't seem to find any other solutions online).

Hope you get lucky. I never got this issue resolved and uninstalled Dota since it was unplayable without sound.

peachesandguacamole commented 3 months ago

I've been having the same issue using an external audio interface. This used to work absolutely fine, and then one of the updates broke it.

Essentially its the same issue as mrmotes above but with an RME UFX III USB audio interface and a Macbook Pro

I can see and select all of my audio interfaces from the Audio settings in Dota 2. The following results are exclusive to Dota 2. I am able to hear sound from other applications through the Scarlett without any issues.

❌ If I select "Default Device" and have my RME UFX III set for running audio, no sound. ❌ If I select "RME UFX III", no sound. ✅ If I select "Default Device" and have my Macbook Pro speakers set for running audio, sound! ✅ If I select "Macbook Pro ", sound!

Please fix this Valve, this used to work perfectly.

naturligasteg commented 3 months ago

I've been having the same issue using an external audio interface. This used to work absolutely fine, and then one of the updates broke it.

❌ If I select "Default Device" and have my RME UFX III set for running audio, no sound. ❌ If I select "RME UFX III", no sound. ✅ If I select "Default Device" and have my Macbook Pro speakers set for running audio, sound! ✅ If I select "Macbook Pro ", sound!

Please fix this Valve, this used to work perfectly.

I hade the same on my RME802, after the update the only thing that worked was the built in system speakers or headphone of the Mac Studio.

mrmotes commented 2 months ago

For those who are still struggling, I was able to resolve this today by creating a multi-output device using my Scarlett 18i20 USB and Soundflower (2ch). Selecting this custom device in the audio settings worked for me. As soon as I tried selecting my Scarlett 18i20 USB independently, the game crashed. 😭

That said, the multi-output device workaround is more than okay with me! I hope this helps anyone still experiencing this issue! ❤️

finethanks commented 1 month ago

Same issue with Audient iD24