Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3567

Testing And Unstable • [Testing - Trixie] default audio device is incorrectly or not configured

$
0
0

Code:

# inxi -Sz --vs --zl --hostnameinxi 3.3.31-00 (2023-11-02)System:  Host: fi965 Kernel: 6.5.0-5-amd64 arch: x86_64 bits: 64 Desktop: Trinity    Distro: Debian GNU/Linux trixie/sid# inxi -AazAudio:  Device-1: AMD Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000    Series] vendor: Dell driver: snd_hda_intel v: kernel pcie: gen: 1    speed: 2.5 GT/s lanes: 8 link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.1    chip-ID: 1002:aab0 class-ID: 0403  API: ALSA v: k6.5.0-5-amd64 status: kernel-api    tools: alsactl,alsamixer,amixer  Server-1: PipeWire v: 1.0.0 status: off with: 1: pipewire-pulse    status: off 2: wireplumber status: off 3: pipewire-alsa type: plugin    tools: pactl,pw-cat,pw-cli,wpctl# lspci -vd 1002:aab001:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series]        Subsystem: Dell Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series]        Flags: bus master, fast devsel, latency 0, IRQ 26        Memory at fbefc000 (64-bit, non-prefetchable) [size=16K]        Capabilities: [48] Vendor Specific Information: Len=08 <?>        Capabilities: [50] Power Management version 3        Capabilities: [58] Express Legacy Endpoint, MSI 00        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>        Capabilities: [150] Advanced Error Reporting        Kernel driver in use: snd_hda_intel        Kernel modules: snd_hda_intel# dpkg-query -W | egrep 'alsa|arts|audio|demul|gstr|jack|libde2|libx26|mix|mpv|pavu|puls|sof-|sound|vlc|wire|xdg'|sortalsa-firmware-loaders   1.2.5-3alsa-tools      1.2.5-3alsa-ucm-conf   1.2.10-1alsa-utils      1.2.10-1.1firmware-sof-signed     2023.12-1kmix-trinity    4:14.1.2~pre11-0debian13.0.0+2~alibarts1c2a-trinity:amd64       4:14.1.2~pre5-0debian13.0.0+2~alibartsc0-trinity:amd64 4:14.1.2~pre5-0debian13.0.0+2~alibasound2:amd64        1.2.10-3libasound2-data 1.2.10-3libaudio2:amd64 1.9.4-7libaudiofile1:amd64     0.3.6-6+b1libcanberra-pulse:amd64 0.30-11libde265-0:amd64        1.0.15-1libheif-plugin-libde265:amd64   1.17.4-1libjack0:amd64  1:0.126.0-2libpipewire-0.3-0:amd64 1.0.0-3libpipewire-0.3-common  1.0.0-3libpipewire-0.3-modules:amd64   1.0.0-3libpipewire-0.3-modules-x11:amd64       1.0.0-3libpulse0:amd64 16.1+dfsg1-2+b1libpulsedsp:amd64       16.1+dfsg1-2+b1libvlccore9:amd64       1:3.0.20-dmo3libwebrtc-audio-processing1:amd64       0.3-1+b1libwireplumber-0.4-0:amd64      0.4.17-1libx264-164:amd64       4:0.164.3172+gitc1c9931-dmo1libx265-199:amd64       1:3.5-dmo2menu-xdg        0.7pipewire-alsa:amd64     1.0.0-3pipewire:amd64  1.0.0-3pipewire-audio  1.0.0-3pipewire-bin    1.0.0-3pipewire-media-session  0.4.2-3pipewire-pulse  1.0.0-3pipewire-v4l2:amd64     1.0.0-3pulseaudio-utils        16.1+dfsg1-2+b1sound-theme-freedesktop 0.8-3tdemultimedia-tdeio-plugins-trinity     4:14.1.2~pre11-0debian13.0.0+2~avlc-plugin-pipewire:amd64       3-2wireplumber     0.4.17-1xdg-user-dirs   0.18-1xdg-utils       1.1.3-4.1# alsactl info## Sound card#- card: 0  id: HDMI  name: HDA ATI HDMI  longname: HDA ATI HDMI at 0xfbefc000 irq 26  driver_name: HDA-Intel  mixer_name: ATI R6xx HDMI  components: HDA:1002aa01,00aa0100,00100300  controls_count: 14  pcm:    - stream: PLAYBACK      devices:        - device: 3          id: HDMI 0          name: HDMI 0 *          subdevices:            - subdevice: 0              name: subdevice #0        - device: 7          id: HDMI 1          name: HDMI 1          subdevices:            - subdevice: 0              name: subdevice #0alsactl: rawmidi_device_list:105: snd_ctl_rawmidi_next_device# aplay -lLnull    Discard all samples (playback) or generate zero samples (capture)pipewire    PipeWire Sound Serverdefault    Default ALSA Output (currently PipeWire Media Server)hw:CARD=HDMI,DEV=3    HDA ATI HDMI, HDMI 0 *    Direct hardware device without any conversionshw:CARD=HDMI,DEV=7    HDA ATI HDMI, HDMI 1    Direct hardware device without any conversionsplughw:CARD=HDMI,DEV=3    HDA ATI HDMI, HDMI 0 *    Hardware device with all software conversionsplughw:CARD=HDMI,DEV=7    HDA ATI HDMI, HDMI 1    Hardware device with all software conversionshdmi:CARD=HDMI,DEV=0    HDA ATI HDMI, HDMI 0 *    HDMI Audio Outputhdmi:CARD=HDMI,DEV=1    HDA ATI HDMI, HDMI 1    HDMI Audio Outputdmix:CARD=HDMI,DEV=3    HDA ATI HDMI, HDMI 0 *    Direct sample mixing devicedmix:CARD=HDMI,DEV=7    HDA ATI HDMI, HDMI 1    Direct sample mixing device**** List of PLAYBACK Hardware Devices ****card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0 *]  Subdevices: 1/1  Subdevice #0: subdevice #0card 0: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]  Subdevices: 1/1  Subdevice #0: subdevice #0# aplay -lLnull    Discard all samples (playback) or generate zero samples (capture)pipewire    PipeWire Sound Serverdefault    Default ALSA Output (currently PipeWire Media Server)hw:CARD=HDMI,DEV=3    HDA ATI HDMI, HDMI 0 *    Direct hardware device without any conversionshw:CARD=HDMI,DEV=7    HDA ATI HDMI, HDMI 1    Direct hardware device without any conversionsplughw:CARD=HDMI,DEV=3    HDA ATI HDMI, HDMI 0 *    Hardware device with all software conversionsplughw:CARD=HDMI,DEV=7    HDA ATI HDMI, HDMI 1    Hardware device with all software conversionshdmi:CARD=HDMI,DEV=0    HDA ATI HDMI, HDMI 0 *    HDMI Audio Outputhdmi:CARD=HDMI,DEV=1    HDA ATI HDMI, HDMI 1    HDMI Audio Outputdmix:CARD=HDMI,DEV=3    HDA ATI HDMI, HDMI 0 *    Direct sample mixing devicedmix:CARD=HDMI,DEV=7    HDA ATI HDMI, HDMI 1    Direct sample mixing device**** List of PLAYBACK Hardware Devices ****card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0 *]  Subdevices: 1/1  Subdevice #0: subdevice #0card 0: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]  Subdevices: 1/1  Subdevice #0: subdevice #0# wpctl statusCould not connect to PipeWire# pw-cli list-objects DeviceError: "failed to connect: Host is down"# aplay /usr/local/share/sound/alsa/test.wavaplay: main:834: audio open error: Host is down# aplay -D hdmi:0,0 /usr/local/share/sound/alsa/test.wavPlaying WAVE '/usr/local/share/sound/alsa/test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo#
Simply "aplay" <filename> fails, as the error output suggests, while aplay -D hdmi:0,0 <filename> succeeds.
  1. $SUBJECT How/where is the determining config required to be configured/reconfigured so that -D hdmi:0,0 is not required for aplay to just work, to make hdmi:0,0, by whatever (PCM?) alias(es) might be applicable, the default sound device?
  2. Is Pulseaudio still required (ignoring what particular DE apps may require, e.g. Firefox and Plasma)? Can it not yet be entirely dispensed with in favor of Pipewire? If not, is there a Debian-specific forum I can participate in to help get it to that point?
  3. The "could not connect" and "host is down" errors seem to be a Debian exclusive. IOW, these two errors happen as a matter of course with multiple PCs here using Bookworm and Trixie, but equivalent configurations on same PCs running Mageia, Fedora and/or openSUSE produce considerable expected output. What's not happening to cause these routine failures in Debian?
For example, this is expected output from openSUSE Leap 15.5:

Code:

# wpctl statusPipeWire 'pipewire-0' [0.3.64, root@fi965, cookie:1359577515] └─ Clients:        31. WirePlumber                         [0.3.64, root@fi965, pid:1170]        32. WirePlumber [export]                [0.3.64, root@fi965, pid:1170]        44. wpctl                               [0.3.64, root@fi965, pid:2964]Audio ├─ Devices: │      38. Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series] [alsa] │ ├─ Sinks: │  *   39. Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series] Digital Stereo (HDMI) [vol: 0.78] │ ├─ Sink endpoints: │ ├─ Sources: │ ├─ Source endpoints: │ └─ Streams:Video ├─ Devices: │ ├─ Sinks: │ ├─ Sink endpoints: │ ├─ Sources: │ ├─ Source endpoints: │ └─ Streams:Settings └─ Default Configured Node Names:# pw-cli list-objects Device        id 38, type PipeWire:Interface:Device/3                object.serial = "38"                factory.id = "14"                client.id = "32"                device.api = "alsa"                device.description = "Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series]"                device.name = "alsa_card.pci-0000_01_00.1"                device.nick = "HDA ATI HDMI"                media.class = "Audio/Device"#

Statistics: Posted by mrmazda — 2024-01-08 01:41 — Replies 0 — Views 25



Viewing all articles
Browse latest Browse all 3567

Trending Articles