Kodi Community Forum

Full Version: Raspberry PI4 | Audio passthrough not available
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello all

I installed KODI 19.4 on my PI 4b 8Gb  running a newly installation of RaspiOS bullseye.

Video & music is running fine but the sound of movies is messy as all channel seems to be mixed together regardless the audio transcoding  option selected.

The HDMI port of the PI is connected to a DENON AVR.

Unfortunately, Audio passthrought option is not available ( the button is not there) where it was in previous version of KODI.

I've read several post but can't find any solution.

Is there an option to activate the audio passthrought ?

Thanks in advance
Can you run:
find /sys -name edid -exec edid-decode {} \; | pastebinit

and post the url returned.
Hello

Sorry for this late feedback.

Here is the output :
 
find /sys -name edid -exec edid-decode {} \; | pastebinit

It seems there're a lot of files which access are denied.

I installed KODI as user PI... Shoud I start KODI with sudo ?

Thanks in advance
(2022-11-08, 22:44)Le_Glaude91 Wrote: [ -> ]I installed KODI as user PI... Shoud I start KODI with sudo ?
No. Try a "sudo apt install pastebinit" and run that command again.
Also report output of "uname -a" and "vcgencmd version".
Hello popcornmix



Here below is the output :

pi@jarvis:~ $ find /sys -name edid -exec edid-decode {} \; | pastebinit
find: ‘/sys/kernel/tracing’: Permission denied
find: ‘/sys/kernel/debug’: Permission denied
find: ‘edid-decode’: No such file or directory
find: ‘/sys/fs/pstore’: Permission denied
find: ‘/sys/fs/bpf’: Permission denied
find: ‘/sys/fs/fuse/connections/8388609’: Permission denied
You are trying to send an empty document, exiting.

pi@jarvis:~ $ uname -a
Linux jarvis 5.15.76-v8+ #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022 aarch64 GNU/Linux

pi@jarvis:~ $ vcgencmd version
Oct 26 2022 11:09:58
Copyright © 2012 Broadcom
version c72ad6b26ff40c91ef776b847436094ee63fabee (clean) (release) (start_x)
pi@jarvis:~ $

Not sûre to understand the meaning of the fiesta command and output..
Quote:You are trying to send an empty document, exiting.
I believe that means have no files named edid.
And you should for system to be working.

Can you post your /boot/config.txt and /boot/cmdline.txt.
Output of:
sudo grep HOTPLUG /sys/kernel/debug/dri/1/hdmi0_regs
would also be useful
popcornmix

Here they are


pi@jarvis:~ $ cat /boot/cmdline.txt console=serial0,115200 console=tty1 root=PARTUUID=01fa3e9b-02 rootfstype=ext4 fsck.repair=yes rootwait

pi@jarvis:~ $ sudo grep HOTPLUG /sys/kernel/debug/dri/1/hdmi0_regs
grep: /sys/kernel/debug/dri/1/hdmi0_regs: No such file or directory
pi@jarvis:~ $
I don't see config.txt
Hello Popcornmix

Opps....

Here are the info :

pi@jarvis:~ $ cat /boot/config.txt
Config.txt

pi@jarvis:~ $ cat /boot/cmdline.txt
console=serial0,115200 console=tty1 root=PARTUUID=01fa3e9b-02 rootfstype=ext4 fsck.repair=yes rootwait

pi@jarvis:~ $ find /sys -name edid -exec edid-decode {} \; | pastebinit
find: ‘/sys/kernel/tracing’: Permission denied
find: ‘/sys/kernel/debug’: Permission denied
find: ‘edid-decode’: No such file or directory
find: ‘/sys/fs/pstore’: Permission denied
find: ‘/sys/fs/bpf’: Permission denied
find: ‘/sys/fs/fuse/connections/8388609’: Permission denied
You are trying to send an empty document, exiting.

pi@jarvis:~ $ uname -a
Linux jarvis 5.15.76-v8+ #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022 aarch64 GNU/Linux

pi@jarvis:~ $ vcgencmd version
Oct 26 2022 11:09:58
Copyright © 2012 Broadcom
version c72ad6b26ff40c91ef776b847436094ee63fabee (clean) (release) (start_x)
pi@jarvis:~ $
you have disabled the kms driver:
#dtoverlay=vc4-kms-v3d

and enabled the fkms driver:
dtoverlay=vc4-fkms-v3d

That is not the default, nor recommended configuration.
Switch back to the kms driver and report output of:
sudo grep HOTPLUG /sys/kernel/debug/dri/1/hdmi0_regs
find /sys -name edid -exec edid-decode {} \; | pastebinit
Popcornmix


Enablling the kms drive, dtoverlay=vc4-kms-v3d, and disabling the fkms driver, dtoverlay=vc4-fkms-v3d, solve this issue.

Now I've been able to active Audio passthrough and the sound is ok now

Many thanks for your support