alsa-project / alsa-lib

The Advanced Linux Sound Architecture (ALSA) - library
GNU Lesser General Public License v2.1
356 stars 176 forks source link

No internal device trough PA with alsa-lib 1.2.4 #97

Open abaurens opened 3 years ago

abaurens commented 3 years ago

I've always used alsa and PA as it comes with kde since then, so I can't really tell if it's a bug or a config error.. But nothing i found on here or anywhere else seems to match my situation nor fixes it.

Everything seemed to work perfectly before update (or at least, I never had any problem). After updating alsa to 1.2.4, no output device appear in pavucontrol anymore. However, my bluetooth headset does and gets sound properly when I connects it.

Also, playing wave file trough aplay like so works aplay --device sysdefault:CARD=PCH sample.wav

I narowed the problem down to alsa-lib. All of the other alsa packages can be updated to latest version without causing any issue.

i can reproduce the issue consistantly:

Here are all the informations I already gathered

Os: Arch Linux x86_64 Host: HP EliteBook 840 G2 Kernel: 5.9.3-arch1-1 DE: KDE Plasma

$> aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC3228 Analog [ALC3228 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
$> pacmd list-cards

0 card(s) available.
$> pacmd list-sinks

1 sink(s) available.
  * index: 0
        name: <auto_null>
        driver: <module-null-sink.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 1000
        volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
                balance 0,00
        base volume: 65536 / 100% / 0,00 dB
        volume steps: 65537
        muted: no
        current latency: 0,00 ms
        max request: 344 KiB
        max rewind: 344 KiB
        monitor source: 0
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stéréo
        used by: 0
        linked by: 0
        configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms
        module: 16
        properties:
                device.description = "Sortie factice"
                device.class = "abstract"
                device.icon_name = "audio-card"

alsa-info.sh

All commands above has been performed with alsa-lib 1.2.4 and no external audio device connected.

perexg commented 2 years ago

Do you see this problem with 1.2.5 ?