[Bug 1037021] New: Sound is broken in steam: ALSA lib pcm_direct.c:1722:(snd1_pcm_direct_parse_open_conf) Unknown field direct_memory_access
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021 Bug ID: 1037021 Summary: Sound is broken in steam: ALSA lib pcm_direct.c:1722:(snd1_pcm_direct_parse_open_conf) Unknown field direct_memory_access Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: Other OS: openSUSE 42.2 Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: digulla@hepe.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- (copy of https://github.com/ValveSoftware/steam-for-linux/issues/4939) Your system information Steam client version (build number or date): 1493162727 Distribution (e.g. Ubuntu): openSUSE LEAP 42.2 Opted into Steam client beta?: No Have you checked for system updates?: Yes Please describe your issue in as much detail as possible: With the latest update of the steam client, sound is broken. I see this in the log: [0427/225333.813590:WARNING:audio_manager.cc(317)] Multiple instances of AudioManager detected [0427/225333.813628:WARNING:audio_manager.cc(278)] Multiple instances of AudioManager detected ... ALSA lib pcm_direct.c:1722:(snd1_pcm_direct_parse_open_conf) Unknown field direct_memory_access [0427/225431.222581:WARNING:alsa_util.cc(24)] PcmOpen: default,invalid argument Sound works OK in other Linux applications (web browser, media player), only the steam client is affected. I can play video (with sound) using vlc. I can watch video (with sound) on YouTube in Chrome. No game in the steam client works. All of them complain that there is a sound problem and then, they crash. The error message is always: ALSA lib pcm_direct.c:1722:(snd1_pcm_direct_parse_open_conf) Unknown field direct_memory_access I tried FEZ, Factorio and The Stanley Parable and several videos in the store. Sound worked perfectly when I used it last time (which was a few weeks ago). I assume that you broke this with a change which you made in the latest Steam client. alsa version: 1.1.3 (release 8.6.1, installed Sa 15 Apr 2017) I'm not using PulseAudio (it's not even installed). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021#c1
--- Comment #1 from Aaron Digulla
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021#c2
--- Comment #2 from Aaron Digulla
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021
Andreas Stieger
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021#c3
--- Comment #3 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021#c5
--- Comment #5 from Aaron Digulla
This field was introduced only for Baytrail / Cherrytrail HDMI audio, and it should hit only that.
I'm using onboard Intel HD audio something. I could check the exact name if that matters (not at my computer ATM), but I'm 99% sure it's not that. My guess is that an older version of libasound2 stumbles when it tries to parse these options even when they are not active (=no such hardware). Is that possible? Should ALSA ignore unknown options for uninstalled hardware? Or does it try to parse everything (fail early)? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021#c6
--- Comment #6 from Takashi Iwai
Background: We're talking about "steam" here ... you know, the game client which tries to run Ubuntu on top openSUSE ...
That means: steam comes with a folder which contains many libraries which already exist on the host linux (openSUSE in this case) but slightly different versions.
Right, and that's the problem. It tries to use the config file that doesn't sync with that library version.
There is a config option to say "run steam with the host libraries" but one of the last updates broke that, so steam doesn't start at all when I try that.
In our case, I have two versions of libasound2 which try to load the same (new) config file. It would be great if we could configure the config file for ALSA at runtime.
The config files can be stored in a different location and passed via the environment variable $ALSA_CONFIG_PATH. Check whether you have other config tree similar as /usr/share/alsa/*, and set that path to the variable if found. Or, copy /usr/share/alsa/* from the old libasound2.rpm to another directory.
This field was introduced only for Baytrail / Cherrytrail HDMI audio, and it should hit only that.
I'm using onboard Intel HD audio something. I could check the exact name if that matters (not at my computer ATM), but I'm 99% sure it's not that.
My guess is that an older version of libasound2 stumbles when it tries to parse these options even when they are not active (=no such hardware). Is that possible? Should ALSA ignore unknown options for uninstalled hardware? Or does it try to parse everything (fail early)?
Well, it's still strange and looks very buggy to me. The code in question is called only when the plugin is opened. That is, the program actually tried to open such a device. But I have no idea, since it's the part in steam (or whatever). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021#c7
--- Comment #7 from Aaron Digulla
ALSA_CONFIG_PATH
I found an old copy in a snapper snapshot which I tried to copy out of the snapshot and pass to steam using the ALSA_CONFIG_PATH. Unfortunately, this gave me a new error and no sound: ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM default [0502/220815.365432:WARNING:alsa_util.cc(24)] PcmOpen: default,no such file or directory I found this file inside of steam libasound2_1.1.0-0ubuntu1+steamos1+srt2_amd64 which suggests steam comes with libasound2 1.1.0. I also found a changelog.gz and changelog.Debian.gz which says the same. Regarding alsa config: How distribution specific is the config? Would it make sense to keep a copy inside of steam to match the libasound2 in there? Or would it make more sense to force steam to always use the installed libasound2? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021#c8
--- Comment #8 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021#c9
--- Comment #9 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021#c10
Marguerite De la Torriente
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021#c13
--- Comment #13 from Andreas Stieger
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021
http://bugzilla.opensuse.org/show_bug.cgi?id=1037021#c15
--- Comment #15 from Aaron Digulla
participants (1)
-
bugzilla_noreply@novell.com