OSMC's September update is here with Debian 11 (Bullseye) - OSMC

If you run upgrades via the command line, then you need to upgrade twice. For users that update via My OSMC, the migration between repository version and the additional upgrade then needed will be handled automatically.

This kernel is specific to your device (Raspberry Pi). We do not track the upstream Debian kernel for reasons outlined above. There are many downstream patches to enable hardware acceleration and other features on your Raspberry Pi device.

I would love Wireguard, which was released in Linux 5.6 (already 2.5 years old).

Don’t you rebase patches (like for hardware acceleration) to newer releases?

Kernel.org lists 2 stable and 6 longterm releases, 4.9.328 being the oldest available.

Do you have a roadmap to use a more recent Kernel tree?

Thanks for your work!

Wireguard support is already present in our 4.9 kernel for some time.

You ported Wireguard to 4.9? And that’s easier than porting hardware acceleration to a modern longterm release?

Is the source for your Kernel somewhere public? I’d love to have a look at it. Thanks.

Took the opportunity to do a complete wipe and clean install on my Vero 4K+. Everything working lovely. Very well done and huge thanks to everyone involved.

1 Like

Kernel sources are available at: GitHub - osmc/vero3-linux.
They are also available via APT, if for example, you want the sources exactly for the kernel you are running.

It would be a huge undertaking. There are already efforts to upstream and mainline support for AMLogic SoCs, but this doesn’t offer feature parity and there are a number of limitations. If any SoC manufacturer relied on a completely upstream kernel, their product would be obsolete by the time it hit the market.

The Raspberry Pi is the same – while they work hard to upstream their support (which also does them a favour as there is less to maintain downstream); they still use a downstream kernel and without this downstream kernel we would have similar video playback limitations.

Our next target will likely be based on Linux 5.4 or later.

With that said, I can see that AMLogic are still maintaining their 4.9 kernel, with commits as recent as the start of this month. They also backport critical security fixes where necessary, and we can do the same.

2 Likes

Thanks for the link. But where do you see Wireguard in your kernel?

A search shows nothing: Search ¡ wireguard ¡ GitHub
Compare to Linus version: Search ¡ wireguard ¡ GitHub

There should at last be linux/drivers/net/wireguard at master ¡ torvalds/linux ¡ GitHub, no?

Yesterday night i have tryed to OPEN a Twitch Livestream:
I open that livestream from my Android Tablet and after that by YATSE i have shared this content to my Pi2 (you know it’s possible by installing yatse addon).

After about 30 seconds i see the livestream it’s correctly played on my TV but the audio it’s out of sync… it’s passed about 2 minutes and BAANG… Kodi goes in crash whit SAD Face.

I wait in front of my TV Kodi has restart… i have tryed again to re-share this livestream from tablet and audio it’s ever on out-of-sync but kodi never crash again. I can see this livestream for about one hours whitout any issue.

This same KODI CRASH whit SAD Face sometimes append also to me in the pass when i try to open a Youtube livestream… problably there’s some misconfiguration on my Pi2 OSMC Setup on DASH files or somethigs similar.

After this crash usually i try to look on previous kodi.log (kodi.old.log) and apparently there’s no info about this crash.
Problably if i can reproduce that whit the debug log enabled it’s better but how i descripted sometimes goes in crash other times no… lol.
If i see this issue happend whit more frequency i try to look deep inside :slight_smile:

osmc@osmc-vero4k:~$ cat /boot/config-4.9.269-9-osmc | grep WIRE
CONFIG_WIREGUARD=m

osmc@osmc-vero4k:~$ ls -lah /lib/modules/4.9.269-9-osmc/kernel/net/wireguard/wireguard.ko 
-rw-r--r-- 1 root root 172K Sep 16 21:55 /lib/modules/4.9.269-9-osmc/kernel/net/wireguard/wireguard.ko

osmc@osmc-vero4k:~$ lsmod | grep wire
wireguard             122880  0
ip6_udp_tunnel         16384  1 wireguard
udp_tunnel             16384  1 wireguard
1 Like

Here: vero3-linux/net/wireguard at osmc-openlinux-4.9 ¡ osmc/vero3-linux ¡ GitHub

My only complaint is I can no longer browse to my Synology NAS for backups. It’s not a big deal but somewhat annoying and I don’t want to reenable SMB1.

You can “add network location” in Kodi instead of going to “windows network (SMB)” and once you add your NAS (ie the machine, not an individual share) you can then browse that network location the same as you could before.

Hi -
did an update from KODI menu of OSMC and it broke when it rebooted I think complaining about arm64 on my Rasberry Pi 4. ‘http:\mirrordirector.raspbian.org/raspbian bullseye InRelease’ doesn’t support architecture ‘arm64’
I could not start kodi. Is my /etc/apt/sources.list correct?

*sudo rm -r /var/lib/apt/lists/*
then 
 sudo apt-get clean
 sudo apt-get update
 sudo apt-get install --reinstall rbp4-mediacenter-osmc

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 armv7-network-osmc : Depends: nfs-common but it is not going to be installed
                      Depends: curl
 rbp4-device-osmc : Depends: armv7-diskmount-osmc but it is not going to be installed
 rbp4-mediacenter-osmc : Depends: libsmbclient but it is not going to be installed
                         Depends: samba-common-bin but it is not going to be installed
                         Depends: libcurl4 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


**osmc@osmc:/$ sudo apt --fix-broken install**
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  armv7-libbluray-osmc armv7-librtmp-osmc armv7-libshairplay-osmc armv7-libsqlite-osmc dirmngr dvb-firmware-osmc dvb-tools gir1.2-packagekitglib-1.0 git-man
  gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libaacs0 libaom0 libarchive13 libasound2 libasound2-data libass9 libassuan0
  libasyncns0 libavahi-compat-libdnssd1 libavc1394-0 libavcodec58 libavformat58 libavresample4 libavutil56 libbluray2 libbs2b0 libcaca0 libcairo2 libcdio-cdda2
  libcdio-paranoia2 libcdio18 libchromaprint1 libcodec2-0.8.1 libcroco3 libcrossguid0 libdc1394-22 libdvbcsa1 libdvbv5-0 liberror-perl libevent-2.1-6 libfftw3-double3
  libflac8 libflite1 libfribidi0 libfstrcmp0 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgif7 libgme0 libgsm1 libhdhomerun4 libiec61883-0 libiso9660-11
  libjack-jackd2-0 libjansson4 libksba8 liblilv-0-0 libmad0 libmariadb3 libmicrohttpd12 libmp3lame0 libmpg123-0 libmysofa0 libnfs12 libnorm1 libnpth0 libnspr4 libnss3
  libogg0 libopenal-data libopenal1 libopenjp2-7 libopenmpt0 libopus0 libpackagekit-glib2-18 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpcrecpp0v5
  libpgm-5.2-0 libpixman-1-0 libplist3 libpostproc55 libpulse0 libpython-dev libpython-stdlib libpython2-dev libpython2-stdlib libpython2.7 libpython2.7-dev
  libpython2.7-minimal libpython2.7-stdlib libraw1394-11 librsvg2-2 librubberband2 libsamplerate0 libsdl2-2.0-0 libserd-0-0 libshine3 libsnappy1v5 libsndfile1
  libsndio7.0 libsodium23 libsord-0-0 libsoxr0 libspeex1 libsratom-0-0 libssh-4 libssh-gcrypt-4 libswresample3 libswscale5 libtag1v5-vanilla libtdb1 libtevent0
  libtheora0 libtinyxml2.6.2v5 libtwolame0 liburiparser1 libusb-1.0-0 libva-drm2 libva-x11-2 libva2 libvdpau1 libvidstab1.1 libvorbis0a libvorbisenc2 libvorbisfile3
  libvpx5 libwavpack1 libwayland-cursor0 libwayland-egl1 libx264-155 libx265-165 libxcursor1 libxinerama1 libxrandr2 libxss1 libxtst6 libxv1 libxvidcore4 libyajl2
  libzmq5 libzvbi-common libzvbi0 mariadb-common mediacenter-addon-osmc mediacenter-eventclients-common-osmc mediacenter-send-osmc mediacenter-skin-osmc mysql-common
  pinentry-curses python-apt-common python2 python2-dev python2-minimal python2.7 python2.7-dev python2.7-minimal python3-apt python3-pexpect python3-ptyprocess
  python3-unidecode rbp2-libcec-osmc rbp2-mesa-osmc samba-common tdb-tools
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  curl libcurl4 libevent-2.1-7 libnfsidmap2 nfs-common
Suggested packages:
  open-iscsi watchdog
The following packages will be REMOVED:
  rbp4-device-osmc
The following NEW packages will be installed:
  curl libcurl4 libevent-2.1-7 libnfsidmap2 nfs-common
0 upgraded, 5 newly installed, 1 to remove and 131 not upgraded.
Need to get 0 B/983 kB of archives.
After this operation, 1802 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 32542 files and directories currently installed.)
Removing rbp4-device-osmc (1.0.8) ...
WARNING: You have tried to remove a package that is essential to OSMC's operation.
To undo these changes, run 'sudo apt-get -f install'.
dpkg: error processing package rbp4-device-osmc (--remove):
 installed rbp4-device-osmc package pre-removal script subprocess returned error exit status 1
Errors were encountered while processing:
 rbp4-device-osmc
E: Sub-process /usr/bin/dpkg returned an error code (1)

sudo cat /etc/apt/sources.list 

deb  http://ftp.debian.org/debian bullseye main contrib non-free
deb  http://ftp.debian.org/debian/ bullseye-updates main contrib non-free
deb  http://security.debian.org/ bullseye-security main contrib non-free
deb  http://apt.osmc.tv bullseye main


 **sudo apt-get update**
Hit:1 http://mirrordirector.raspbian.org/raspbian bullseye InRelease
Hit:2 http://security.debian.org bullseye-security InRelease
Hit:3 http://httpredir.debian.org/debian buster-backports InRelease
Hit:4 http://ftp.debian.org/debian bullseye InRelease
Hit:5 http://ftp.debian.org/debian bullseye-updates InRelease
Hit:6 http://ftp.fau.de/osmc/osmc/apt bullseye InRelease
Hit:7 http://ftp.fau.de/osmc/osmc/apt buster-devel InRelease

Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'mirrordirector.raspbian.org/raspbian bullseye InRelease' doesn't support architecture 'arm64'

 **sudo apt-get dist-upgrade**
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 armv7-network-osmc : Depends: nfs-common but it is not installed
                      Depends: curl
 rbp4-device-osmc : Depends: armv7-diskmount-osmc but it is not installed
                    Depends: rbp4-mediacenter-osmc but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

This is not correct and you have both Buster and Bullseye repositories enabled which will cause problems.

Where is it coming from??? - I have checked my sources.list…!

deb  http://ftp.debian.org/debian bullseye main contrib non-free
deb  http://ftp.debian.org/debian/ bullseye-updates main contrib non-free
deb  http://security.debian.org/ bullseye-security main contrib non-free
deb  http://apt.osmc.tv bullseye main

You may have additional sources in /etc/apt/sources.list.d

Yes - these I will rename them and try again

osmc@osmc:/$ ls /etc/apt/sources.list.d/
bullseye-testing-docker.list  debian-backports.list  osmc-devel.list


osmc@osmc:/$ cat /etc/apt/sources.list.d/debian-backports.list
deb http://httpredir.debian.org/debian buster-backports main contrib non-free

osmc@osmc:/$ cat /etc/apt/sources.list.d/bullseye-testing-docker.list
deb http://mirrordirector.raspbian.org/raspbian/ bullseye main

osmc@osmc:/$ cat /etc/apt/sources.list.d/osmc-devel.list
deb http://apt.osmc.tv buster-devel main


This will cause problems with your system. You should reinstall OSMC if you have already attempted an upgrade.

Oh dear!.. what I was trying to avoid… So many things setup its going to be time consuming… OK - thanks very much for your help btw. I thought just get the sources.list right and try again…