LibreELEC.tv icon indicating copy to clipboard operation
LibreELEC.tv copied to clipboard

BROKEN: Hyperion-NG

Open CvH opened this issue 4 years ago • 1 comments

Hyperion NG is the successor of Hyperion. It just supports legacy renders so currently no support for anything else then X11.

I played already far too much over the current year to make it work. It builds but won't run.

LibreELEC:~/.kodi/addons/service.hyperion-ng/bin # QT_DEBUG_PLUGINS=1 ./hyperiond
QFactoryLoader::QFactoryLoader() ignoring "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3" since plugins are disabled in static builds
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
  • the patches are based on the patches that are done for AML at CE (looks super hacky, but works)
  • currently I use X11 because XCB doesn't build for qtbase
  • it never run yet, so no idea if stuff is still missing
  • likewise some stuff is at the pr that is not necessary, can't really remember what I added over the year

What to do to make it work ? Likewise qtbase is broken, maybe it would just run if someone gets qt building with xcb. XCB could be activated at hyperion with -DENABLE_XCB=ON. I was stuck at some random qt errors that I can't fix. Maybe someone has more luck.

CvH avatar Nov 19 '20 14:11 CvH

According to https://github.com/hyperion-project/hyperion.ng/blob/master/CrossCompileHowto.md you need:

  • qtbase5-dev
  • libqt5serialport5-dev
  • libqt5svg5-dev = missing package -> create a qtsvg package like you did for serialport

and since xcb is disabled https://github.com/LibreELEC/LibreELEC.tv/blob/master/packages/addons/addon-depends/qtbase/package.mk#L46 it should be enabled too https://doc.qt.io/qt-5/linux-requirements.html

For xcb it's quite possible that you need some or all of these packages too: https://github.com/SupervisedThinking/LibreELEC-RR/tree/master-rr/packages/supervisedthinking/x11/util

SupervisedThinking avatar Jan 27 '21 15:01 SupervisedThinking