-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simple question: Is vc4hdmi ALSA sound card supposed to work by now? #2992
Comments
Updated to latest kernel, and still the "vc4hdmi" card does not work at all. |
vc4hdmi is an upstream driver and not something we actively use. (bcm2835 is the supported option). I have heard reports of people using using vc4hdmi, so it should be possible. e.g. |
@popcornmix : So using the upstream kernel instead of the raspberrypi kernel in this repo is better suited for VC4 graphics + vc4hdmi ALSA card? |
Isn't this that the vc4hdmi driver requires IEC958 packed data ( With a Raspbian build I've just run
I suspect the plughw:CARD=vc4hdmi,DEV=0 entry is the critical one. |
You will likely get the same behaviour with upstream or raspberry pi kernel - we have all the upstream drivers present. I'm just saying that the downstream bcm2835 driver is the default one in raspbian and the one we have most familiarity with. Others may be in a better position to say how to make vc4hdmi work. |
@6by9 : Can you please post your asound.rc then, please? |
Not currently, but it's just the standard one from Raspbian. |
It looks like my Raspbian system is using Pulseaudio to do the conversion (encapsulation) rather than plugins within alsa. The upstream file that Eric references in anholt#152 is https://git.alsa-project.org/?p=alsa-lib.git;a=blob;f=src/conf/cards/vc4-hdmi.conf;h=027804a145d1ed9e4fe33dbb5fa7ef278230c328;hb=HEAD |
@6by9 |
Your choice, but then please don't look for much support here. Thread found, but no real resolution. https://www.spinics.net/lists/alsa-devel/msg60478.html |
@6by9 Thanks for the link, I will try to understand what is going on... Well, here is what aplay -L says on my system:
I have tried using the file you linked as /etc/asound.conf, but still sound does not work, and alsamixer reports that the device has no controls. |
Probably worth reading the alsa thread. Bits that seemed important:
and:
|
The ALSA sound card works, but HW only supports that IEC958 subframe audio format. |
Hi there,
I use the vc4 overlay, and I get two ALSA "sound cards": "ALSA", which is created by the bcm2835 module (dtparam=audio=on), and "vc4hdmi".
The "ALSA" named card works, of course. But the "vc4hdmi" card does not: alsamixer reports it has no controls, and no software can output audio using that card.
I can get ONLY the "vc4hdmi" card if I disable "dtparam=audio=on" or otherwise prevent the bcm2835 module from loading, and then ALSA only reports the "vc4hdmi" card on the system, but even if it is the only card, it does not work either (no controls, libraries fail to open audio device, etc).
So, in a nutshell, does the "vc4hdmi" ALSA card work already?
Thing is, Eric Anholt already reported it is in kernel years ago, but he did not mention that it should be working.
I am using kernel rpi 4.19.37.
I am willing to update to a more recent kernel if I know for sure the vc4hdmi card works.
Thanks!
The text was updated successfully, but these errors were encountered: