Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion 'jack' failed at modules/alsa/alsa-ucm.c:2158 #14

Closed
JeremyFiggins opened this issue Mar 1, 2020 · 2 comments
Closed

Assertion 'jack' failed at modules/alsa/alsa-ucm.c:2158 #14

JeremyFiggins opened this issue Mar 1, 2020 · 2 comments

Comments

@JeremyFiggins
Copy link

JeremyFiggins commented Mar 1, 2020

Hi, I have the following hardware:

~> cat /proc/asound/cards
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf7080000 irq 90
1 [Generic ]: HDA-Intel - HD-Audio Generic
HDAudio-Gigabyte-ALC1220DualCodecs

and I'm running:

~> cat /etc/os-release
NAME="openSUSE Tumbleweed"
VERSION="20200228"
ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20200228"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20200228"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
LOGO="distributor-logo"

Audio was working until a recent update. Now, I have no audio and when starting PulseAudio, I get:

~> pulseaudio
W: [pulseaudio] pid.c: Stale PID file, overwriting.
W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Mic1, assuming stereo duplex.
W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Mic2, assuming stereo duplex.
W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Line2, assuming stereo duplex.
W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Headphones, assuming stereo duplex.
W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Line1, assuming stereo duplex.
W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Speaker, assuming stereo duplex.
E: [pulseaudio] alsa-ucm.c: Assertion 'jack' failed at modules/alsa/alsa-ucm.c:2158, function device_add_hw_mute_jack(). Aborting.
Aborted (core dumped)

I tracked it down to /usr/share/alsa/ucm2/HDA-Intel/HiFi-dual.conf. If I revert the two commits here (https://github.com/alsa-project/alsa-ucm-conf/commits/master/ucm2/HDA-Intel/HiFi-dual.conf) and then use the version of HiFi-dual.conf before it was moved, then PulseAudio starts normally and I have sound.

@perexg
Copy link
Member

perexg commented Mar 1, 2020

@perexg perexg closed this as completed in da45a07 Mar 1, 2020
@perexg
Copy link
Member

perexg commented Mar 1, 2020

Thanks. Fixed in the above commit (da45a07). I extended the ucm-validator (https://github.com/alsa-project/alsa-tests/tree/master/python/ucm-validator) to catch those configuration inconsistencies.

Also, the pulseaudio fix was pushed for the merge to not crash the pulseaudio: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/258

yanglongshen pushed a commit to SafieDev/pulseaudio that referenced this issue Jun 1, 2020
…e UCM device

Fixes: alsa-project/alsa-ucm-conf#14

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants