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
470 stars 38 forks source link

Audio device suddely vanished #2607

Open rbnagm opened 11 months ago

rbnagm commented 11 months ago

Before everything just worked, but after an update of dota, dota sound output stopped working. The alsa device is no longer listed and dota shows sound disabled under the options.

Audio in all other application are obviously unaffected. The audio input though the same sound card works fine, too.

I tried adding SDL_AUDIODRIVER=alsa to no avail.

rbnagm commented 11 months ago

Operating System Version: "openSUSE Leap 15.4" (64 bit) Kernel Name: Linux Kernel Version: 5.14.21-150400.24.97-default Steam Runtime Version: steam-runtime_0.20231024.64411 Video Card: Driver: AMD AMD Radeon(TM) Vega 3 Graphics (RAVEN, DRM 3.42.0, 5.14.21-150400.24.97-default, LLVM 11.0.1) Driver Version: 4.6 (Compatibility Profile) Mesa 21.2.4 OpenGL Version: 4.6 Sound card: Audio device: USB Mixer

sylware commented 10 months ago

https://github.com/libsdl-org/SDL/issues/8577

Get the latest libSDL3 from this issue (multichannel was removed from dota2/cs2)

That said, dota2/cs2 input seems completely broken in dota2 and cs2 (only the left mouse button works), is this happening to you?

rbnagm commented 10 months ago

No, all my mouse buttons work like a charm.

What is that multichannel you speak of? Why did it got removed? How is that solved on "SteamOS Holo"?

I don't run glibc 2.33. But even if I would, I wouldn't replace a binary by completely unknown binary.

sylware commented 10 months ago

Look at the SDL issue link I posted right above, I did finish to contribute some alsa multi-channel support with audio hardware enumeration code.

SDL3 devs have to review, test my contribution, publish in their git then valve has to pick it up.

My input issue was a SDL3 bug which was specific to my mouse (other people owning a similar mouse were hit by the same bug). This bug was fixed in git SDL3, but valve has to pick it up (they have been very fast to break things and very slow to fix their breakage lately).

Alsa (dmix multi-channel included) is now working fine for me in dota2 and cs2, modulo a bug in collabora "pressure vessel" (I know how to work around it), but the devs are MIA even though detailed log and narrowing down of the issue was provided.