Hyperion issue with Kodi 19

Hey @hissingshark

I see that you have the most answers when it comes to hyperion, so hopefully you can help me. I had hyperion running on RPi3 with OSMC for close to 3 years with no issues.

I upgraded to OSMC Aug21 build a couple of days ago and hyperion had stopped working. In an effort to fix it I uninstalled my previous hyperion version and installed Hyperion.NG Alpha 10 using the apt server.

Below are the troubleshooting I performed after rebooting the Pi

osmc@osmc:~$ sudo systemctl status hyperion
* hyperion.service - Hyperion Systemd service
   Loaded: loaded (/etc/systemd/system/hyperion.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2021-08-13 23:14:59 AEST; 8min ago
 Main PID: 1083 (code=exited, status=1/FAILURE)

Aug 13 23:14:59 osmc systemd[1]: hyperion.service: Service RestartSec=100ms expired, scheduling restart.
Aug 13 23:14:59 osmc systemd[1]: hyperion.service: Scheduled restart job, restart counter is at 5.
Aug 13 23:14:59 osmc systemd[1]: Stopped Hyperion Systemd service.
Aug 13 23:14:59 osmc systemd[1]: hyperion.service: Start request repeated too quickly.
Aug 13 23:14:59 osmc systemd[1]: hyperion.service: Failed with result 'exit-code'.
Aug 13 23:14:59 osmc systemd[1]: Failed to start Hyperion Systemd service.

osmc@osmc:~$ /usr/bin/hyperiond /etc/hyperion/hyperion.config.json
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:
2021-08-13T23:26:11.873 hyperiond DB           : <ERROR> Driver not loaded Driver not loaded
2021-08-13T23:26:11.874 hyperiond MAIN         : <ERROR> Hyperion Daemon aborted: Failed to open database connection!
2021-08-13T23:26:11.874 hyperiond MAIN         : <ERROR> Hyperion aborted: Failed to open database connection!

osmc@osmc:~$ ls -l /usr/share/hyperion/bin
total 21576
-rwxr-xr-x 1 root root 2470008 Jul 18 07:50 hyperion-dispmanx
-rwxr-xr-x 1 root root 2473736 Jul 18 07:50 hyperion-framebuffer
-rwxr-xr-x 1 root root 2473556 Jul 18 07:50 hyperion-qt
-rwxr-xr-x 1 root root 2526988 Jul 18 07:50 hyperion-remote
-rwxr-xr-x 1 root root 2617708 Jul 18 07:50 hyperion-v4l2
-rwxr-xr-x 1 root root 9522224 Jul 18 07:50 hyperiond

osmc@osmc:~$ ls -l /usr/bin | grep hyperion
lrwxrwxrwx  1 root root         36 Aug 13 23:23 hyperion-aml -> /usr/share/hyperion/bin/hyperion-aml
lrwxrwxrwx  1 root root         41 Aug 13 23:23 hyperion-dispmanx -> /usr/share/hyperion/bin/hyperion-dispmanx
lrwxrwxrwx  1 root root         44 Aug 13 23:23 hyperion-framebuffer -> /usr/share/hyperion/bin/hyperion-framebuffer
lrwxrwxrwx  1 root root         35 Aug 13 23:23 hyperion-qt -> /usr/share/hyperion/bin/hyperion-qt
lrwxrwxrwx  1 root root         39 Aug 13 23:23 hyperion-remote -> /usr/share/hyperion/bin/hyperion-remote
lrwxrwxrwx  1 root root         37 Aug 13 23:23 hyperion-v4l2 -> /usr/share/hyperion/bin/hyperion-v4l2
lrwxrwxrwx  1 root root         36 Aug 13 23:23 hyperion-x11 -> /usr/share/hyperion/bin/hyperion-x11
lrwxrwxrwx  1 root root         36 Aug 13 23:23 hyperion-xcb -> /usr/share/hyperion/bin/hyperion-xcb
lrwxrwxrwx  1 root root         33 Aug 13 23:23 hyperiond -> /usr/share/hyperion/bin/hyperiond
osmc@osmc:~$

I am guessing QSqlDatabase: QSQLITE driver not loaded is the issue, but no clue how to proceed. Any help would be much appreciated.

Having gotten used to watching everything with ambilight not having hyperion is a bummer

My experience has been in compiling Hyperion.ng for the Vero4K. I’ve not used the RPi regularly for many years. As it is I have an RPi 3B+ up for testing other issues and can have a look.

I followed the apt instructions here.
Oddly, I do not have a hyperion.service file under /etc/systemd/system/, but a hyperiond@.service. So I do not know how you have been able to test using sudo systemctl status hyperion as you did?

It looks like they have an issue with their package dependencies. If you run:
sudo apt-get install libqt5sql5-sqlite
that will get rid of the SQLITE error.

However… although it has been compiled with

Avail Capt: dispmanx,v4l2,framebuffer,qt

only framebuffer is available. As tested in the webGUI Live Preview this works to show the console, but Kodi is not there. I expect previously that would have been the job of the dispmanx grabber. Not sure what they are planning to do to support the new video drivers.
EDIT:
This has already been asked about and Pi 4 Kodi 19 hyperion with internal grabber - #3 by jamieburchell suggests it will be an ongoing issue upstream. An external USB grabber may still be an option.

Thanks for the reply. I take it based on your reply and other topics here hyperion on kodi19 on RPi3 is a no go at this point. As you suggested I was able to get past the sql error and get the web GUI but nothing after that. I’ll go back to previous version of OSMC now

1 Like