Not for sure but it looks like it has something to do with the “new” Kernel in the latest OSMC Version
Looking at this link
snd-bcm2835.enable_compat_alsa=1
inside the config-user.txt should also work
With the first new OSMC with Kodi 19 it works, if not some would watch Movies without Sound from the beginning and won’t tell.
May someone can prove me wrong but I would bet with the [2021.11-2] it will work without problems.
2 Likes
Can try to test it today, I’ll have a look for the image and let you know.
Edit:
Downloading this image - 2021.11-2 e9a4d490aae72db808a84238487148cb for testing
// OS
osmc@osmc:~$ cat /etc/os-release
PRETTY_NAME=“Open Source Media Center”
NAME=“OSMC”
VERSION=“November 2021”
VERSION_ID=“2021.11-2”
ID=osmc
ID_LIKE=debian
ANSI_COLOR=“1;31”
HOME_URL=“https://www.osmc.tv ”
SUPPORT_URL=“https://www.osmc.tv ”
BUG_REPORT_URL=“https://www.osmc.tv ”
// Hardware
Hardware : BCM2835
Revision : a020d3
Model : Raspberry Pi 3 Model B Plus Rev 1.3
Checking Audio devices with alsa-utils
osmc@osmc:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi [vc4-hdmi], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
Lets install VNC Script
Checking Audio
osmc@osmc:~$ aplay -l
aplay: device_list:272: no soundcards found…
Kernal version
osmc@osmc:~$ uname -r -s -a
Linux osmc 5.10.78-2-osmc #1 SMP PREEMPT Wed Nov 17 03:44:59 UTC 2021 armv7l GNU/Linux
Adding your suggestion
osmc@osmc:~$ cat /boot/config-user.txt
[all]
snd-bcm2835.enable_compat_alsa=1
Rebooted
Added my fix in
1 Like
Okay my wrong same Kernel Version
1 Like
So there is an serious problem:
On Pi3 I confirm it even with the first Version for Kodi 19 Audio is missing with the fKMS driver. the fix from smooney works very well. Thanks for finding the bug, I need to write some routines to cover this stuff up.
Still unclear why nobody noticed it before you.
1 Like
So new version is online with support for dtparam since fKMS does not support audio trough HMDI by default
1 Like
so I follow only
for Raspi 4, nothing else to do?
I ask because I’m a bit confused by the quotes in the OP.
thx for doing all this
It should be enough, there had be some fixes for the RPi4 but atm. I know nothing what needed to do.
1 Like
Has anyone been able to get dispmanx_vnc working on OSMC on a Pi4? The script seems to do the job installing it and setting the fake-KMS driver, but after restarting my CEC remote stops working. VNC will connect but also no control. I turned the resolution down to 1920x1080p and that seems to have fixed the control over vnc, but my remote still will not work. Only after re-activating the normal KMS driver does my remote work, but then dispmanx_vncserver fails to start.
sam_nazarko:
That’s expected.
But is there a way to have both? Something I can manage with activating some lines inside the config.txt or else
Unfortunately this isn’t trivial.