CActiveAESink error after Kodi Matrix upgrade

Hi all,

I’ve upgraded to Kodi Matrix yesterday by error without noticing its had been released. I usually run apt-get update && apt-get dist-upgrade to get the host up-to-date and secured.

Well now things are messy. I can’t get Kodi available anymore on the TV.

I have a RPI 3B with a bluetooth USB dongle plugged-in.

I’ve fixed the problem related to Kodi19 upgrade mentioned in [How-to] set up Bluetooth audio

Logs are uploaded here: https://paste.osmc.tv/eqepixokoq

After creating those logs, I’ve followed the instructions from Kodi v19 troubleshooting FAQ but Kodi logs are still complaining verbosely.

My Kodi logs get full of

2021-08-10 23:50:20.459 T:20164    INFO <general>: CActiveAESink::OpenSink - initialize sink
2021-08-10 23:50:20.459 T:20164   ERROR <general>: CActiveAESink::OpenSink - no sink was returned
2021-08-10 23:50:20.459 T:20163   ERROR <general>: ActiveAE::InitSink - returned error

twice per seconds.

Also, I’ve an error about config-user.txt file:

août 10 23:41:40 osmc mediacenter[20095]: mv: impossible de préserver l'appartenance pour '/boot/config-user.txt': Opération non permise

If any of you has an idea, please let me know. :slight_smile:

Regarding audio, please read this and remove the older bluetooth packages, including pulseaudio

That error is normal as there is no user permission possible on the Boot partition.

1 Like

I did it already.

Anyway:

osmc@osmc:~$ sudo apt-get remove --purge a2dp-app-osmc pulseaudio-module-bluetooth pulseaudio
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package a2dp-app-osmc

osmc@osmc:~$ sudo apt-get remove --purge pulseaudio-module-bluetooth pulseaudio
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'pulseaudio' is not installed, so not removed
Package 'pulseaudio-module-bluetooth' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  python-apt python-certifi python-chardet python-dbus python-idna python-pexpect python-pil python-ptyprocess python-requests python-unidecode python-urllib3
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Better try another dist-upgrade.

That’s an old package I had to install long time ago, that cannot be upgraded:

osmc@osmc:~$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  python-apt python-certifi python-chardet python-dbus python-idna python-pexpect python-pil python-ptyprocess python-requests python-unidecode python-urllib3
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
  wireless-firmware-osmc
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
osmc@osmc:~$ apt show wireless-firmware-osmc
Package: wireless-firmware-osmc
Origin: OSMC
Version: 1.1.5
Essential: No
Architecture: all
Maintainer: Sam G Nazarko <email@samnazarko.co.uk>
Priority: optional
Section: libs
Filename: pool/main/w/wireless-firmware-osmc/wireless-firmware-osmc_1.1.5_all.deb
Size: 2656912
SHA256: 83848d8c79d4c826192e70fb529dea0b33c79704a8afa9bc49b828e37f2cf234
SHA1: 02c536cdeddcf85516fb893748eb5680f281194a
MD5sum: 13401ca009f89d5734e4b55b5912a888
Description: Wireless firmware (proprietary) for OSMC
Description-md5: 84bdd754306d839befe26413bc453697
Installed-Size: 6586

Package: wireless-firmware-osmc
Status: hold ok installed
Priority: optional
Section: libs
Installed-Size: 6586
Origin: OSMC
Maintainer: Sam G Nazarko <email@samnazarko.co.uk>
Architecture: all
Version: 1.1.3
Conffiles:
 /lib/firmware/mt7610u_sta.dat e19e5a7b22e798e3d2997a09cdb86a40 obsolete
Description: Wireless firmware (proprietary) for OSMC
Description-md5: 84bdd754306d839befe26413bc453697

If you want me to provide any other extra information, let me know.

Also I have error repeatedly in journalctl:

[...]
Aug 14 23:07:13 osmc kernel: [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:140:crtc-4] flip_done timed out
Aug 14 23:07:23 osmc kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:140:crtc-4] flip_done timed out
Aug 14 23:07:33 osmc kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:91:plane-5] flip_done timed out
Aug 14 23:07:43 osmc kernel: [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:140:crtc-4] flip_done timed out
Aug 14 23:07:54 osmc kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:140:crtc-4] flip_done timed out
Aug 14 23:08:04 osmc kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:91:plane-5] flip_done timed out
Aug 14 23:08:14 osmc kernel: [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:140:crtc-4] flip_done timed out
Aug 14 23:08:24 osmc kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:140:crtc-4] flip_done timed out
Aug 14 23:08:35 osmc kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:91:plane-5] flip_done timed out

Do you guys think I should reinstall completely, or may I still have a chance to fix the issue without reinstalling? Then, what could I do to help you to help me?

Suggest a reinstall. You can take a backup with MyOSMC and restore it should be fine for your issue.

I don’t have access to OSMC interface at all, I’ll make a SD Card dd clone instead.

Anyway, thanks for your help. :+1: