[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#978025: marked as done (linux-image-5.10.0-trunk-arm64: alsa audio output problems since 5.10 kernel)



Your message dated Sat, 23 Jan 2021 20:16:45 +0100
with message-id <1798229.pzL2y33UMb@bagend>
and subject line Seems fixed
has caused the Debian Bug report #978025,
regarding linux-image-5.10.0-trunk-arm64: alsa audio output problems since 5.10 kernel
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
978025: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978025
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:linux
Version: 5.10.2-1~exp1
Severity: normal

On my RPi3B+ (named rpi-mpd) I have the following sound cards:
$ cat /proc/asound/cards
 0 [ALSA           ]: bcm2835_alsa - bcm2835 ALSA
                      bcm2835 ALSA
 1 [vc4hdmi        ]: vc4-hdmi - vc4-hdmi
                      vc4-hdmi

My RPi is connected to my AV receiver via a (good quality) HDMI cable.
I have only alsa installed on this machine, no pulse audio.

When I play a (.flac) file with mpd with the "ALSA" card, the playback
quality is consistently worse than with the 5.9 kernel. 
Some 'only' have some noise (~static sound) along the music, others are
quite horrible. 
What is odd, is that it's the same tracks that are 'not good' and 'horrible'. 
I have one album both in .flac and in .mp3 format and they exibit the same 
behaviour on the same tracks.
This happens across albums and music styles (pop and classical).
These issue are a regression compared to 5.9.


There are also other audio issues, but those happen also with the 5.9
kernel.
When I have "vc4hdmi" selected as soundcard, I get the following in my
mpd.log file and then it doesn't play at all.
It could (very well) be that my mpd config is incorrect for that audio
card.

Dec 24 16:06 : exception: Failed to open "vc4hdmi" (alsa); Failed to
open ALSA device "default": Invalid argument
Dec 24 16:06 : exception: Failed to open "vc4hdmi" (alsa); Failed to
open ALSA device "default": Invalid argument
Dec 24 16:06 : player: problems opening audio device while playing
"CDs/BLØF/Omarm/01.De_Mooiste_Verliezers.flac"
ALSA lib pcm_direct.c:1206:(snd1_pcm_direct_initialize_slave) requested
or auto-format is not available
ALSA lib pcm_dmix.c:1087:(snd_pcm_dmix_open) unable to initialize slave


When I invoke 'aplay' directly on the command line, I get sth similar:

diederik@rpi-mpd:~$ aplay -c 2 -r 48000 /dev/urandom
ALSA lib pcm_direct.c:1206:(snd1_pcm_direct_initialize_slave) requested
or auto-format is not available
ALSA lib pcm_dmix.c:1087:(snd_pcm_dmix_open) unable to initialize slave
aplay: main:830: audio open error: Invalid argument


I don't believe that multichannel audio is supported, although looking
through RPi forums/bug trackers I get the feeling that the hardware
*could* support it. I just never got it to work properly.
At one time I thought to have it working with pulseaudio, but on closer
inspection it seems that the stereo sound is just replicated to more
outputs. 

Cheers,
  Diederik

-- Package-specific info:
** Version:
Linux version 5.10.0-trunk-arm64 (debian-kernel@lists.debian.org) (gcc-10 (Debian 10.2.1-1) 10.2.1 20201207, GNU ld (GNU Binutils for Debian) 2.35.1) #1 SMP Debian 5.10.2-1~exp1 (2020-12-22)

** Command line:
video=HDMI-A-1:1920x1080M@60,margin_left=48,margin_right=48,margin_top=48,margin_bottom=48 dma.dmachans=0x7f35 bcm2709.boardrev=0xa020d3 bcm2709.serial=0x4db4eb14 bcm2709.uart_clock=48000000 bcm2709.disk_led_gpio=29 bcm2709.disk_led_active_low=0 smsc95xx.macaddr=B8:27:EB:B4:EB:14 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=tty0 console=ttyS1,115200 root=/dev/mmcblk0p2 rw fsck.repair=yes net.ifnames=0 cma=64M rootwait disable_fw_kms_setup=1

** Tainted: C (1024)
 * staging driver was loaded

** Kernel log:
[   13.233771] systemd[1]: Mounted POSIX Message Queue File System.
[   13.269941] systemd[1]: Mounted RPC Pipe File System.
[   13.301879] systemd[1]: Mounted Kernel Debug File System.
[   13.334267] systemd[1]: Mounted Kernel Trace File System.
[   13.369388] systemd[1]: Started Journal Service.
[   15.264660] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[   15.277293] vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[   15.684981] alg: No test for fips(ansi_cprng) (fips_ansi_cprng)
[   15.895410] hid: raw HID events driver (C) Jiri Kosina
[   16.001054] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   16.020592] cfg80211: Loaded X.509 cert 'benh@debian.org: 577e021cb980e0e820821ba7b54b4961b8b4fadf'
[   16.021187] libphy: Fixed MDIO Bus: probed
[   16.040951] cfg80211: Loaded X.509 cert 'romain.perier@gmail.com: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328'
[   16.070420] usbcore: registered new interface driver usbhid
[   16.077020] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   16.088116] usbhid: USB HID core driver
[   16.127572] platform regulatory.0: firmware: direct-loading firmware regulatory.db
[   16.146777] platform regulatory.0: firmware: direct-loading firmware regulatory.db.p7s
[   16.208404] cryptd: max_cpu_qlen set to 1000
[   16.372179] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): No External EEPROM. Setting MAC Speed
[   16.410860] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[   16.437335] usbcore: registered new interface driver brcmfmac
[   16.445395] libphy: lan78xx-mdiobus: probed
[   16.493071] brcmfmac mmc1:0001:1: firmware: direct-loading firmware brcm/brcmfmac43455-sdio.bin
[   16.516817] brcmfmac mmc1:0001:1: firmware: direct-loading firmware brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt
[   16.655211] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[   16.707881] input:   mini keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.2/1-1.1.2:1.0/0003:1997:2433.0001/input/input0
[   16.716699] mc: Linux media interface: v0.10
[   16.718052] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[   16.718219] brcmfmac mmc1:0001:1: firmware: failed to load brcm/brcmfmac43455-sdio.clm_blob (-2)
[   16.718222] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[   16.718230] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[   16.718961] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar  1 2015 07:29:38 version 7.45.18 (r538002) FWID 01-6a2c8ad4
[   16.729295] debugfs: Directory '3f902000.hdmi' with parent 'vc4-hdmi' already present!
[   16.766644] hid-generic 0003:1997:2433.0001: input,hidraw0: USB HID v1.01 Keyboard [  mini keyboard] on usb-3f980000.usb-1.1.2/input0
[   16.767079] usbcore: registered new interface driver lan78xx
[   16.784405] videodev: Linux video capture interface: v2.00
[   16.800597] input:   mini keyboard Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.2/1-1.1.2:1.1/0003:1997:2433.0002/input/input1
[   17.064785] input:   mini keyboard System Control as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.2/1-1.1.2:1.1/0003:1997:2433.0002/input/input2
[   17.113125] vc4_hdmi 3f902000.hdmi: ASoC: no DMI vendor name!
[   17.120695] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[   17.136657] input:   mini keyboard Consumer Control as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.2/1-1.1.2:1.1/0003:1997:2433.0002/input/input3
[   17.140203] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops [vc4])
[   17.140452] vc4-drm soc:gpu: bound 3f806000.vec (ops vc4_vec_ops [vc4])
[   17.140575] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[   17.140739] vc4-drm soc:gpu: bound 3f004000.txp (ops vc4_txp_ops [vc4])
[   17.140829] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops [vc4])
[   17.140922] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops [vc4])
[   17.141016] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops [vc4])
[   17.141090] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops [vc4])
[   17.141456] checking generic (3e513000 6e7000) vs hw (0 ffffffffffffffff)
[   17.141459] fb0: switching to vc4drmfb from simple
[   17.299954] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[   17.310474] hid-generic 0003:1997:2433.0002: input,hidraw1: USB HID v1.01 Mouse [  mini keyboard] on usb-3f980000.usb-1.1.2/input1
[   17.472537] Console: switching to colour dummy device 80x25
[   17.474105] bcm2835_audio bcm2835_audio: card created with 8 channels
[   17.487889] Bluetooth: Core ver 2.22
[   17.492871] NET: Registered protocol family 31
[   17.492882] Bluetooth: HCI device and connection manager initialized
[   17.492919] Bluetooth: HCI socket layer initialized
[   17.492930] Bluetooth: L2CAP socket layer initialized
[   17.493069] Bluetooth: SCO socket layer initialized
[   17.526016] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
[   17.623319] Console: switching to colour frame buffer device 240x67
[   17.676076] Bluetooth: HCI UART driver ver 2.3
[   17.676088] Bluetooth: HCI UART protocol H4 registered
[   17.676185] Bluetooth: HCI UART protocol LL registered
[   17.676265] Bluetooth: HCI UART protocol ATH3K registered
[   17.679124] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   17.679485] Bluetooth: HCI UART protocol Intel registered
[   17.679834] Bluetooth: HCI UART protocol Broadcom registered
[   17.679887] Bluetooth: HCI UART protocol QCA registered
[   17.679890] Bluetooth: HCI UART protocol AG6XX registered
[   17.679935] Bluetooth: HCI UART protocol Marvell registered
[   17.693949] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator
[   17.694397] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator
[   17.768472] vc4-drm soc:gpu: [drm] fb0: vc4drmfb frame buffer device
[   17.836509] uart-pl011 3f201000.serial: no DMA platform data
[   18.088938] Bluetooth: hci0: BCM: chip id 107
[   18.095340] Bluetooth: hci0: BCM: features 0x2f
[   18.103917] Bluetooth: hci0: BCM4345C0
[   18.109300] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000
[   18.116853] bluetooth hci0: firmware: failed to load brcm/BCM4345C0.hcd (-2)
[   18.126135] bluetooth hci0: firmware: failed to load brcm/BCM.hcd (-2)
[   18.134719] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
[   18.144082] Bluetooth: hci0: BCM: 'brcm/BCM4345C0.hcd'
[   18.152318] Bluetooth: hci0: BCM: 'brcm/BCM.hcd'
[   18.190210] audit: type=1400 audit(1608577617.027:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=446 comm="apparmor_parser"
[   18.210492] audit: type=1400 audit(1608577617.031:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=445 comm="apparmor_parser"
[   18.231854] audit: type=1400 audit(1608577617.031:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=445 comm="apparmor_parser"
[   18.255332] audit: type=1400 audit(1608577617.035:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=444 comm="apparmor_parser"
[   18.278204] audit: type=1400 audit(1608577617.035:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=444 comm="apparmor_parser"
[   18.301367] audit: type=1400 audit(1608577617.035:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=444 comm="apparmor_parser"
[   19.128693] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  163.661045] FS-Cache: Loaded
[  163.867599] FS-Cache: Netfs 'nfs' registered for caching
[  163.891148] Key type dns_resolver registered
[  164.662963] NFS: Registering the id_resolver key type
[  164.668666] Key type id_resolver registered
[  164.673360] Key type id_legacy registered

** Model information
Device Tree model: Raspberry Pi 3 Model B Plus Rev 1.3

** Loaded modules:
rpcsec_gss_krb5
auth_rpcgss
nfsv4
dns_resolver
nfs
lockd
grace
nfs_ssc
fscache
joydev
hci_uart
nls_ascii
btqca
btrtl
nls_cp437
btbcm
evdev
btsdio
btintel
vfat
bluetooth
bcm2835_v4l2(C)
fat
bcm2835_mmal_vchiq(C)
jitterentropy_rng
videobuf2_vmalloc
videobuf2_memops
videobuf2_v4l2
aes_neon_bs
videobuf2_common
videodev
mc
hid_generic
vc4
snd_bcm2835(C)
cpufreq_dt
microchip
snd_soc_core
brcmfmac
aes_neon_blk
snd_pcm_dmaengine
crypto_simd
snd_pcm
lan78xx
cryptd
brcmutil
snd_timer
of_mdio
usbhid
fixed_phy
snd
cfg80211
libphy
hid
drbg
soundcore
aes_arm64
cec
aes_generic
drm_kms_helper
ansi_cprng
raspberrypi_cpufreq
ecdh_generic
rfkill
ecc
libaes
bcm2835_thermal
pwm_bcm2835
vchiq(C)
bcm2835_wdt
leds_gpio
bcm2835_rng
rng_core
fuse
drm
configfs
sunrpc
ip_tables
x_tables
autofs4
ext4
crc16
mbcache
jbd2
crc32c_generic
dwc2
udc_core
roles
sdhci_iproc
usbcore
sdhci_pltfm
crct10dif_ce
crct10dif_common
sdhci
usb_common
i2c_bcm2835
bcm2835
phy_generic

** Network interface configuration:
*** /etc/network/interfaces:
source-directory /etc/network/interfaces.d

*** /etc/network/interfaces.d/eth0:
allow-hotplug eth0
iface eth0 inet dhcp

** Network status:
*** IP interfaces and addresses:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether b8:27:eb:b4:eb:14 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.24/24 brd 192.168.1.255 scope global dynamic eth0
       valid_lft 83401sec preferred_lft 83401sec
    inet6 fe80::ba27:ebff:feb4:eb14/64 scope link 
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether b8:27:eb:e1:be:41 brd ff:ff:ff:ff:ff:ff

*** Device statistics:
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
    lo:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
  eth0: 50829756   40616    0    0    0     0          0         0  3251629   16170    0    0    0     0       0          0
 wlan0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0


** PCI devices:
not available

** USB devices:
not available


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: arm64 (aarch64)

Kernel: Linux 5.10.0-trunk-arm64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-5.10.0-trunk-arm64 depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.139
ii  kmod                                    27+20200310-2
ii  linux-base                              4.6

Versions of packages linux-image-5.10.0-trunk-arm64 recommends:
ii  apparmor             2.13.5-1+b2
ii  firmware-linux-free  20200122-1

Versions of packages linux-image-5.10.0-trunk-arm64 suggests:
pn  debian-kernel-handbook  <none>
pn  linux-doc-5.10          <none>

Versions of packages linux-image-5.10.0-trunk-arm64 is related to:
pn  firmware-amd-graphics     <none>
pn  firmware-atheros          <none>
pn  firmware-bnx2             <none>
pn  firmware-bnx2x            <none>
ii  firmware-brcm80211        20200918-1
pn  firmware-cavium           <none>
pn  firmware-intel-sound      <none>
pn  firmware-intelwimax       <none>
pn  firmware-ipw2x00          <none>
pn  firmware-ivtv             <none>
pn  firmware-iwlwifi          <none>
pn  firmware-libertas         <none>
pn  firmware-linux-nonfree    <none>
pn  firmware-misc-nonfree     <none>
pn  firmware-myricom          <none>
pn  firmware-netxen           <none>
pn  firmware-qlogic           <none>
pn  firmware-realtek          <none>
pn  firmware-samsung          <none>
pn  firmware-siano            <none>
pn  firmware-ti-connectivity  <none>
pn  xen-hypervisor            <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 5.10.9-1

Just played various tracks with this (new) kernel and they all play fine :)
Don't know what the status (or purpose) is of "vc4hdmi", but this bug was 
about that sound was distorted via the ALSA soundcard.

Thanks!

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply to: