[Bug 1177169] New: No sound on Raspi4
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 Bug ID: 1177169 Summary: No sound on Raspi4 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: aarch64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Sound Assignee: tiwai@suse.com Reporter: axel.braun@gmx.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- As discussed here https://lists.opensuse.org/opensuse-arm/2020-08/msg00001.html followed up by https://lists.infradead.org/pipermail/linux-rpi-kernel/2020-September/007865... there is no sound using the jack output, both on Leap and Tumbleweed. This is a reminder to kindly pick this issue up -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mbrugger@suse.com, | |nsaenzjulienne@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c1 --- Comment #1 from Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com> --- Just for the record, there isn't sound on the jack output upstream either. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 Matthias Brugger <mbrugger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |guillaume.gardet@arm.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 Matthias Brugger <mbrugger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |afaerber@suse.com, | |ptesarik@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c2 --- Comment #2 from Axel Braun <axel.braun@gmx.de> --- (In reply to Nicolas Patricio Saenz Julienne from comment #1)
Just for the record, there isn't sound on the jack output upstream either.
In Raspian? I understood this different from https://lists.infradead.org/pipermail/linux-rpi-kernel/2020-September/007872... (and it would be...no good move) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c3 --- Comment #3 from Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com> --- (In reply to Axel Braun from comment #2)
(In reply to Nicolas Patricio Saenz Julienne from comment #1)
Just for the record, there isn't sound on the jack output upstream either.
In Raspian? I understood this different from https://lists.infradead.org/pipermail/linux-rpi-kernel/2020-September/007872. html (and it would be...no good move)
Stefan's right. Sound over HDMI will most likely be available as of Linux v5.10, the patches are already in linux-next. Sound over the Jack depends on VCHIQ, which is a staging driver and has no support for RPi4 at the moment. Obviously, all this works with Raspberry Pi OS, but they use their own tailor made downstream kernels. We can use that, as we have a single kernel image for all arm64 devices. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c4 --- Comment #4 from Axel Braun <axel.braun@gmx.de> --- (In reply to Nicolas Patricio Saenz Julienne from comment #3)
Obviously, all this works with Raspberry Pi OS, but they use their own tailor made downstream kernels. We can use that, as we have a single kernel image for all arm64 devices.
You mean we should take the Raspian kernel and build it in OBS? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c5 --- Comment #5 from Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com> --- Sorry, I meant to say "We can't use that". -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c6 --- Comment #6 from Axel Braun <axel.braun@gmx.de> --- (In reply to Nicolas Patricio Saenz Julienne from comment #5)
Sorry, I meant to say "We can't use that".
Too bad, so we need to wait for upstream... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c10 Zlatko Michailov <zlatko@michailov.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zlatko@michailov.org Flags| |needinfo?(nsaenzjulienne@su | |se.com) --- Comment #10 from Zlatko Michailov <zlatko@michailov.org> --- The P5 priority is bothersome - Raspberry Pi 4 was officially released in June 2019 - 18 months ago. Media center is one of its key use cases. Raspbian even has a dedicated image for that. It would be a shame if Raspbery releases its next generation Pi before we were able to hear anything from the current one. There hasn't been any update since the week when the bug was filed. What are the current obstacles to the fix? Do you need any help, including testing? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c11 Zlatko Michailov <zlatko@michailov.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo? --- Comment #11 from Zlatko Michailov <zlatko@michailov.org> --- Today's Tumbleweed upgrade installed kernel 5.10.5, but it still doesn't detect a sound card. What is missing? Can somebody describe the exact problem with the audio? I don't know if I'll be able to help, but I am willing to. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c12 --- Comment #12 from Axel Braun <axel.braun@gmx.de> --- (In reply to Zlatko Michailov from comment #11)
Today's Tumbleweed upgrade installed kernel 5.10.5, but it still doesn't detect a sound card.
Yes, I noticed as well....the pulseaudio-trick from https://bugzilla.opensuse.org/show_bug.cgi?id=1180926 did not work for me -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c13 Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED Flags|needinfo?(nsaenzjulienne@su | |se.com), needinfo? | --- Comment #13 from Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com> --- Hi Zlatko, with v5.10 the new display controller is indeed available. It should also take care of HDMI sound. I've been looking into enabling it by default for all Tumbleweed users, but some use-cases are broken at the moment. Specifically DSI displays. The RPi foundation guys are working on it and I don't think we can enable it by default until that's fixed. As for HDMI, some other fixes are needed[1]. They'll eventually make their way into the stable branches. Once they are available and as long as you're using HDMI, you'll be able to test it by editing the config.txt file in the EFI partition (on a live system you'll find it in /boot/efi/config.txt). replacing this: dtoverlay=disable-vc4 with, dtoverlay=vc4-kms-v3d,cma-default I'll update this issue once TW's kernel is ready. pulseaudio should then work out of the box (as long as it's installed in the system). [1] https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg2443433.html -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c14 --- Comment #14 from Zlatko Michailov <zlatko@michailov.org> --- Thanks for the update, Nicolas! Yes, I mean HDMI. What I understand from your response is that a fix is in the pipeline. We are waiting for it to propagate through the kernel branches to land in Tumbleweed. If that is a correct understanding, I'll be waiting for your next update once the fixed kernel starts rolling out. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c15 --- Comment #15 from Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com> --- (In reply to Zlatko Michailov from comment #14)
Thanks for the update, Nicolas!
Yes, I mean HDMI. What I understand from your response is that a fix is in the pipeline. We are waiting for it to propagate through the kernel branches to land in Tumbleweed. If that is a correct understanding, I'll be waiting for your next update once the fixed kernel starts rolling out.
Yes, that's it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 Guillaume GARDET <guillaume.gardet@arm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmueller@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c16 --- Comment #16 from Guillaume GARDET <guillaume.gardet@arm.com> --- Snapshot 20210202 includes include "drm/vc4: Unify PCM card's driver_name" which seems to be the missing patch for sound via HDMI on RPi4. So, if snapshot 20210202 goes green in openQA, you should have sound on RPi4 soon. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c17 --- Comment #17 from Zlatko Michailov <zlatko@michailov.org> --- Thanks for the update! Please don't close the bug until Axel Brown and/or I confirm that the fix is publicly available. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c18 --- Comment #18 from Zlatko Michailov <zlatko@michailov.org> --- I just installed the latest Tumbleweed update. Replaced the dtoverlay setting under [pi4] with the value from [pi3]. Rebooted. No sound card shows up in Yast > Hardware > Sound. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c19 --- Comment #19 from Zlatko Michailov <zlatko@michailov.org> --- @SUSE_Insiders, don't you have a way to deploy a debugable kernel and a debuggable driver, so you can step through the code? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c20 --- Comment #20 from Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com> --- Hi Zlatko, please try this replacing this in config.txt: dtoverlay=vc4-kms-v3d,cma-default with dtoverlay=vc4-kms-v3d-pi4,cma-default and provide the output of "aplay -L". -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c21 --- Comment #21 from Zlatko Michailov <zlatko@michailov.org> --- Set the dtoverlay as suggested. Rebooted. 1) Yast > Hardware > Sound Still nothing shows up 2) aplay -L null Discard all samples (playback) or generate zero samples (capture) sysdefault Default Audio Device iec958 IEC958 (S/PDIF) Digital Audio Output speexrate Rate Converter Plugin Using Speex Resampler pulse PulseAudio Sound Server upmix Plugin for channel upmix (4,6,8) default Default ALSA Output (currently PulseAudio Sound Server) sysdefault:CARD=vc4hdmi0 vc4-hdmi-0, MAI PCM vc4-hdmi-hifi-0 Default Audio Device front:CARD=vc4hdmi0,DEV=0 vc4-hdmi-0, MAI PCM vc4-hdmi-hifi-0 Front output / input iec958:CARD=vc4hdmi0,DEV=0 vc4-hdmi-0, MAI PCM vc4-hdmi-hifi-0 IEC958 (S/PDIF) Digital Audio Output sysdefault:CARD=vc4hdmi1 vc4-hdmi-1, MAI PCM vc4-hdmi-hifi-0 Default Audio Device front:CARD=vc4hdmi1,DEV=0 vc4-hdmi-1, MAI PCM vc4-hdmi-hifi-0 Front output / input iec958:CARD=vc4hdmi1,DEV=0 vc4-hdmi-1, MAI PCM vc4-hdmi-hifi-0 IEC958 (S/PDIF) Digital Audio Output 3) aplay -l **** List of PLAYBACK Hardware Devices **** card 0: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM vc4-hdmi-hifi-0 [MAI PCM vc4-hdmi-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM vc4-hdmi-hifi-0 [MAI PCM vc4-hdmi-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c22 --- Comment #22 from Zlatko Michailov <zlatko@michailov.org> --- I apologize. There is sound! I was looking for a sound card in yast as well as for the sound control widget on the system trey. Those are still not there. But there is sound! As far as the kernel is concerned, the bug is fixed. There is some update scripting needed - to modify the dtoverlay setting, to show the sound control widget, and to show a sound card in yast. But each of those should have a separate bug. Please file those separate bugs, as you know what needs to be done. You can close this one. Thank you! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c23 --- Comment #23 from Matthias Brugger <mbrugger@suse.com> --- (In reply to Zlatko Michailov from comment #22)
I apologize. There is sound!
I was looking for a sound card in yast as well as for the sound control widget on the system trey. Those are still not there. But there is sound!
As far as the kernel is concerned, the bug is fixed. There is some update scripting needed - to modify the dtoverlay setting, to show the sound control widget, and to show a sound card in yast. But each of those should have a separate bug.
Please file those separate bugs, as you know what needs to be done.
I think the best person to file these bugs are you not someone else. You have the setup in place and care enough to push people to look into this. So feel free to open the bugs. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c24 --- Comment #24 from Zlatko Michailov <zlatko@michailov.org> --- (In reply to Matthias Brugger from comment #23)
I think the best person to file these bugs are you not someone else. You have the setup in place and care enough to push people to look into this. So feel free to open the bugs.
Please provide a responsible Component for each of those bugs: 1. dtoverlay setting in /boot/efi/config.txt. 2. Sound card in Yast > Hardware > Sound. 3. Sound Control widget on the XFCE task bar. The last time I filed new bugs for SUSE, they ended up assigned to me. (And they still are. You can look them up.) As an outsider, I am not familiar with your internal ownership. I don't want them to bounce back to me again. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c25 --- Comment #25 from Matthias Brugger <mbrugger@suse.com> --- (In reply to Zlatko Michailov from comment #24)
(In reply to Matthias Brugger from comment #23)
I think the best person to file these bugs are you not someone else. You have the setup in place and care enough to push people to look into this. So feel free to open the bugs.
Please provide a responsible Component for each of those bugs: 1. dtoverlay setting in /boot/efi/config.txt.
Bootloader
2. Sound card in Yast > Hardware > Sound.
Yast2
3. Sound Control widget on the XFCE task bar.
Xfce
The last time I filed new bugs for SUSE, they ended up assigned to me. (And they still are. You can look them up.) As an outsider, I am not familiar with your internal ownership. I don't want them to bounce back to me again.
I commented in the corresponding bugs. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c26 --- Comment #26 from Zlatko Michailov <zlatko@michailov.org> --- (In reply to Matthias Brugger from comment #25)
1. dtoverlay setting in /boot/efi/config.txt. Bootloader bug 1182080
2. Sound card in Yast > Hardware > Sound. Yast2 bug 1182081
3. Sound Control widget on the XFCE task bar. Xfce bug 1182082
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c27 --- Comment #27 from Axel Braun <axel.braun@gmx.de> --- (In reply to Nicolas Patricio Saenz Julienne from comment #20)
please try this replacing this in config.txt:
precisely...... removing this line from [rp3] section....
dtoverlay=vc4-kms-v3d,cma-default
with
and adding this line in [rp4] section:
dtoverlay=vc4-kms-v3d-pi4,cma-default
and removing dtoverlay=disable-vc4 dtoverlay=disable-v3d from [rp4] section aplay -l gives me the same output, but I cant get sound to work: Raspi:~/Downloads # speaker-test speaker-test 1.2.4 Playback device is default Stream parameters are 48000Hz, S16_LE, 1 channels Using 16 octaves of pink noise ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused Playback open error: -111,Connection refused Tumbleweed 20210209, XFCE -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c28 Kasimir _ <kasimir_@outlook.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kasimir_@outlook.de --- Comment #28 from Kasimir _ <kasimir_@outlook.de> --- I tested version openSUSE-Tumbleweed-ARM-X11-raspberrypi.aarch64-2021.02.19-Build1.2 and did the following: in config.txt
adding this line in [rp4] section: dtoverlay=vc4-kms-v3d-pi4,cma-default
and removing dtoverlay=disable-vc4 dtoverlay=disable-v3d
With a normal user, I could play an audio stream in Firefox and had sound on the HDMI. The same audio stream was not played as root. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c29 --- Comment #29 from Axel Braun <axel.braun@gmx.de> --- (In reply to Kasimir _ from comment #28)
I tested version openSUSE-Tumbleweed-ARM-X11-raspberrypi.aarch64-2021.02.19-Build1.2 and did the following: in config.txt
adding this line in [rp4] section: dtoverlay=vc4-kms-v3d-pi4,cma-default
and removing dtoverlay=disable-vc4 dtoverlay=disable-v3d
With a normal user, I could play an audio stream in Firefox and had sound on the HDMI.
The same audio stream was not played as root.
I can confirm this! Sound via HDMI for user, but not for root. Jack output still dead. @Takashi - is there a chance that the driver is backported to Leap 15.2/3? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 http://bugzilla.opensuse.org/show_bug.cgi?id=1177169#c30 --- Comment #30 from Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com> --- (In reply to Axel Braun from comment #29)
(In reply to Kasimir _ from comment #28)
I tested version openSUSE-Tumbleweed-ARM-X11-raspberrypi.aarch64-2021.02.19-Build1.2 and did the following: in config.txt
adding this line in [rp4] section: dtoverlay=vc4-kms-v3d-pi4,cma-default
and removing dtoverlay=disable-vc4 dtoverlay=disable-v3d
With a normal user, I could play an audio stream in Firefox and had sound on the HDMI.
The same audio stream was not played as root.
I can confirm this! Sound via HDMI for user, but not for root. Jack output still dead.
@Takashi - is there a chance that the driver is backported to Leap 15.2/3?
The fixes will be available in leap 15.3. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 Freek de Kruijf <freek@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |freek@opensuse.org -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177169 Pavel Dost�l <pdostal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pdostal@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com