Hence, when the vc4 HDMI driver is used, let it control audio. This is done
by introducing a new device tree property to the audio node, and
extending the vc4-kms-v3d overlays to set it appropriately.
ur welcome.
i did plasma mess up too.
firefox frozen a lot and Devs did not upgrade any more.
so, im wait new manjaro version release to reinstall , plasma-5.21 kwinft firefox xwayland-standalone, etc.
Where are the initial kernel command line parameters defined? Specifically the two snd_bcm2835. I think they are determined from config.txt settings and passed by the bootloader. They are opposite of what I am trying to pass, and I am not sure which setting the kernel uses.
@Darksky am running kms without fbturbo installed.
If I use fkms, it works with or without alsa compatibility. With alsa, It creates bcm2835_audio, noted in dmesg.
With kms, no combination of configs creates the jack, but I do get digital audio device to hdmi with just about any combination.
$ 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
@Rip2 I have tried many combinations to get kms to work. I only added those when without them it did not work. With fkms, changing the values does change the result. So they are functional parameters for fkms, but have no effect with kms.
That is what I have here with my test and my headphones work ok. I did not change anything in cmdline.txt with the snd-bcm2835.enable_compat_alsa=0 and hdmi_drive=2 is active in my custom display settings. Basically in the end I wound up changing nothing from the default configs except changed dtoverlay=vc4-fkms-v3d to dtoverlay=vc4-kms-v3d and installed xf86-video-fbturbo-git.
I did delete ~/.config/pulse at one time in case something there was might be hurting things when I was trying to get it to work.
If I use fkms with no alsa, that is what I get with snd_bcm2835.enable_compat_alsa=0. If I change it to =1, then I get alsa.
What seems to be my issue, when I use kms, the kernel module snd-bcm2835 does not load. If I manually load it, it never gets used. I bet you have it loaded, with 2 uses.