You are not logged in.

#1 2020-10-19 08:45:07

Throwaway1000
Member
Registered: 2020-10-19
Posts: 4

[SOLVED] No sound after full system upgrade - AMD ALSA problem

Hello everybody!

Yesterday I did a full system upgrade with pacman -Syu and noticed that I have no audio playback.

I searched the web for a possible solution, yet after  a whole evening of vain attempts I must now turn to the Arch Linux community.

The system is muted and no playback devices are present in the audio menu right after startup. A sound device shows up when I type  pulseaudio --start in the console. It doesn't help though. I tried unmuting different devices in alsamixer, without success. Reinstalling pulseaudio, installing diferent alsa packages or pulseaudio-git doesn't help either.
I'm running KDE Plasma on a Thinkpad T14 AMD. The sound was working after installing arch with no further tuning required.

Here's the info the community asked for in other topics.

(Pulseaudio started, as some of the outputs would've been blank)

pacmd list-sink-inputs
1 sink input(s) available.
    index: 0
        driver: <protocol-native.c>
        flags: START_CORKED 
        state: RUNNING
        sink: 0 <auto_null>
        volume: front-left: 64228 /  98% / -0.53 dB,   front-right: 64228 /  98% / -0.53 dB
                balance 0.00
        muted: no
        current latency: 125.00 ms
        requested latency: 75.00 ms
        sample spec: float32le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        resample method: copy
        module: 10
        client: 4 <Firefox>
        properties:
                media.name = "AudioStream"
                application.name = "Firefox"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "34"
                application.process.id = "1802"
                application.process.user = "....."
                application.process.host = "....."
                application.process.binary = "firefox"
                application.language = "C"
                window.x11.display = ":0"
                application.process.machine_id = "84c7415be7e64857ac6efe23d594ab62"
                application.process.session_id = "1"
                application.icon_name = "firefox"
                module-stream-restore.id = "sink-input-by-application-name:Firefox"
uname -a
Linux [------] 5.9.1-arch1-1 #1 SMP PREEMPT Sat, 17 Oct 2020 13:30:37 +0000 x86_64 GNU/Linux
sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  [----]        6411 F.... pulseaudio
/dev/snd/controlC1:  [----]       6411 F.... pulseaudio
/dev/snd/controlC2:  [----]       6411 F.... pulseaudio
lspci | grep Audio
07:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1637
07:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor (rev 01)
07:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
aplay -Ll
null
    Discard all samples (playback) or generate zero samples (capture)
hdmi:CARD=Generic,DEV=0
    HD-Audio Generic, HDMI 0
    HDMI Audio Output
hdmi:CARD=Generic,DEV=1
    HD-Audio Generic, HDMI 1
    HDMI Audio Output
hdmi:CARD=Generic,DEV=2
    HD-Audio Generic, HDMI 2
    HDMI Audio Output
sysdefault:CARD=Generic_1
    HD-Audio Generic, ALC257 Analog
    Default Audio Device
front:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC257 Analog
    Front output / input
surround21:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC257 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC257 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC257 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC257 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC257 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC257 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC257 Analog [ALC257 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
systemctl status pulseaudio
Unit pulseaudio.service could not be found
alsactl init
alsa-lib main.c:1004:(snd_use_case_mgr_open) error: failed to import hw:2 (empty configuration)
Found hardware: "acp" "" "" "" ""
Hardware is initialized using a generic method
pacmd list-cards  
2 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_07_00.1>
        driver: <module-alsa-card.c>
        owner module: 6
        properties:
                alsa.card = "0"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xfd3c8000 irq 103"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:07:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:07:00.1/sound/card0"
                device.bus = "pci"
                device.vendor.id = "1002"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
                device.product.id = "1637"
                device.string = "0"
                device.description = "HD-Audio Generic"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                HiFi: Play HiFi quality Music (priority 8000, available: no)
                off: Off (priority 0, available: unknown)
        active profile: <off>
        ports:
                [Out] HDMI3: HDMI3 Output (priority 1300, latency offset 0 usec, available: no)
                        properties:

                [Out] HDMI2: HDMI2 Output (priority 1200, latency offset 0 usec, available: no)
                        properties:

                [Out] HDMI1: HDMI1 Output (priority 1100, latency offset 0 usec, available: no)
                        properties:

    index: 1
        name: <alsa_card.pci-0000_07_00.5-platform-acp_pdm_mach.0>
        driver: <module-alsa-card.c>
        owner module: 7
        properties:
                alsa.card = "2"
                alsa.card_name = "acp"
                alsa.long_card_name = "LENOVO-20UES00H00-ThinkPadT14Gen1"
                alsa.driver_name = "snd_acp3x_rn"
                device.bus_path = "pci-0000:07:00.5-platform-acp_pdm_mach.0"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:07:00.5/acp_pdm_mach.0/sound/card2"
                device.bus = "pci"
                device.vendor.id = "1022"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
                device.product.id = "15e2"
                device.product.name = "Raven/Raven2/FireFlight/Renoir Audio Processor"
                device.string = "2"
                device.description = "Raven/Raven2/FireFlight/Renoir Audio Processor"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                input:stereo-fallback: Stereo Input (priority 51, available: unknown)
                input:multichannel-input: Multichannel Input (priority 1, available: unknown)
                off: Off (priority 0, available: unknown)
        active profile: <input:stereo-fallback>
        sources:
                alsa_input.pci-0000_07_00.5-platform-acp_pdm_mach.0.stereo-fallback/#0: Raven/Raven2/FireFlight/Renoir Audio Processor Stereo
        ports:
                analog-input: Analog Input (priority 10000, latency offset 0 usec, available: unknown)
                        properties:

                multichannel-input: Multichannel Input (priority 0, latency offset 0 usec, available: unknown)
                        properties:
pacmd list-sinks
1 sink(s) available.
  * index: 0
        name: <auto_null>
        driver: <module-null-sink.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: RUNNING
        suspend cause: (none)
        priority: 1000
        volume: front-left: 72088 / 110% / 2.48 dB,   front-right: 72088 / 110% / 2.48 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: yes
        current latency: 5.33 ms
        max request: 14 KiB
        max rewind: 14 KiB
        monitor source: 1
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 1
        linked by: 1
        configured latency: 75.00 ms; range is 0.50 .. 2000.00 ms
        module: 14
        properties:
                device.description = "Dummy Output"
                device.class = "abstract"
                device.icon_name = "audio-card"
pacmd list-sink-inputs
1 sink input(s) available.
    index: 0
        driver: <protocol-native.c>
        flags: START_CORKED 
        state: RUNNING
        sink: 0 <auto_null>
        volume: front-left: 64228 /  98% / -0.53 dB,   front-right: 64228 /  98% / -0.53 dB
                balance 0.00
        muted: no
        current latency: 125.00 ms
        requested latency: 75.00 ms
        sample spec: float32le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        resample method: copy
        module: 10
        client: 4 <Firefox>
        properties:
                media.name = "AudioStream"
                application.name = "Firefox"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "34"
                application.process.id = "1802"
                application.process.user = "------"
                application.process.host = "------"
                application.process.binary = "firefox"
                application.language = "C"
                window.x11.display = ":0"
                application.process.machine_id = "84c7415be7e64857ac6efe23d594ab62"
                application.process.session_id = "1"
                application.icon_name = "firefox"
                module-stream-restore.id = "sink-input-by-application-name:Firefox"
dmesg | grep snd
[    7.782512] snd_pci_acp3x 0000:07:00.5: enabling device (0000 -> 0002)
[    7.782733] snd_pci_acp3x 0000:07:00.5: Invalid ACP audio mode : 0
[    7.894913] snd_hda_intel 0000:07:00.1: enabling device (0000 -> 0002)
[    7.895150] snd_hda_intel 0000:07:00.1: Handle vga_switcheroo audio client
[    7.895875] snd_hda_intel 0000:07:00.6: enabling device (0000 -> 0002)
[    7.992504] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC257: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    7.992507] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    7.992508] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    7.992508] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    7.992509] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    7.992509] snd_hda_codec_realtek hdaudioC1D0:      Mic=0x19
[    8.534165] acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517
[    9.034936] snd_hda_intel 0000:07:00.1: bound 0000:07:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
sudo amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 52 [60%] [-26.25dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 52 [60%] [-26.25dB] [on]
  Front Right: Playback 52 [60%] [-26.25dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 52 [60%] [-26.25dB] [on]
  Front Right: Playback 52 [60%] [-26.25dB] [on]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Mic Mute-LED Mode',0
  Capabilities: enum
  Items: 'On' 'Off' 'Follow Capture' 'Follow Mute'
  Item0: 'Follow Mute'
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 39 [62%] [12.00dB] [on]
  Front Right: Capture 39 [62%] [12.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Mute-LED Mode',0
  Capabilities: enum
  Items: 'On' 'Off' 'Follow Master'
  Item0: 'Follow Master'

Also, when killing and rerunning pulseaudio I get error messages, all regarding module-alsa-card.c:

[pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="1" name="pci-0000_07_00.6" card_name="alsa_card.pci-0000_07_00.6" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
I: [pulseaudio] module-udev-detect.c: Card /devices/pci0000:00/0000:00:08.1/0000:07:00.6/sound/card1 (alsa_card.pci-0000_07_00.6) failed to load module.
W: [pulseaudio] module-udev-detect.c: Tried to configure /devices/pci0000:00/0000:00:08.1/0000:07:00.6/sound/card1 (alsa_card.pci-0000_07_00.6) more often than 5 times in 10s
I: [pulseaudio] module-suspend-on-idle.c: Source alsa_input.pci-0000_07_00.5-platform-acp_pdm_mach.0.stereo-fallback idle for too long, suspending ...
I: [alsa-source-DMIC capture dmic-hifi-0] alsa-source.c: Device suspended...
I: [pulseaudio] module-suspend-on-idle.c: Sink auto_null idle for too long, suspending ...

I searched the internet on how to create such a profile, without success.
Thank you for your time.

Last edited by Throwaway1000 (2020-10-19 10:08:49)

Offline

#2 2020-10-19 08:53:33

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] No sound after full system upgrade - AMD ALSA problem


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2020-10-19 09:07:17

Throwaway1000
Member
Registered: 2020-10-19
Posts: 4

Re: [SOLVED] No sound after full system upgrade - AMD ALSA problem

The problem still persists after downgrading alsa-lib using

sudo pacman -U /var/cache/pacman/pkg/alsa-lib-1.2.3.2-1-x86_64.pkg.tar.zst 

Did I miss something?

Offline

#4 2020-10-19 09:18:01

Throwaway1000
Member
Registered: 2020-10-19
Posts: 4

Re: [SOLVED] No sound after full system upgrade - AMD ALSA problem

Post deleted, journalctl's clean

Last edited by Throwaway1000 (2020-10-19 09:26:13)

Offline

#5 2020-10-19 09:19:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: [SOLVED] No sound after full system upgrade - AMD ALSA problem

the package that leads to the issue is alsa-ucm-conf, downgrade that, and follow https://github.com/alsa-project/alsa-ucm-conf/issues/54 (... which appears to have gotten a fix 20mins ago and I'd assume that would land in the Arch package soon)

Edit: That line is not an actual issue don't worry about it.

Last edited by V1del (2020-10-19 09:19:52)

Offline

#6 2020-10-19 09:33:23

Throwaway1000
Member
Registered: 2020-10-19
Posts: 4

Re: [SOLVED] No sound after full system upgrade - AMD ALSA problem

Mr.Elendig and V1del, thanks for clearing things up.

Have a nice day!

Offline

#7 2020-10-19 09:56:50

Khere
Member
From: Italy
Registered: 2020-03-04
Posts: 168

Re: [SOLVED] No sound after full system upgrade - AMD ALSA problem

.

Last edited by Khere (2020-10-19 10:04:50)


Fan of Giorgio Moroder & Mohammad Ammax enemy

Offline

#8 2020-10-19 09:59:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: [SOLVED] No sound after full system upgrade - AMD ALSA problem

If this is solved, please mark it as such by adding [SOLVED] or so to the initial post's title.

@Khere that isn't going to help here, it's an underlying issue in the ALSA library pulse queries for sound card information.

Offline

Board footer

Powered by FluxBB