veldenb / plugin.program.moonlight-qt

A launcher and updater for running Moonlight-qt on LibreELEC.
GNU General Public License v3.0
86 stars 11 forks source link

Generic x86_64 device: Qt Warning: Could not find the Qt platform plugin "eglfs" in "" #44

Open beralt85 opened 8 months ago

beralt85 commented 8 months ago

General info

Behaviour

After trying to start the plugin, kodi crashes.

Expected behaviour

Moonlight-qt should run/configure/update itself

Further information

Available platform plugins are: xcb.

bootstrap_moonlight-qt.sh: line 148: 1037556 Aborted ./moonlight-qt "$@" Running as unit: run-rae3c3b6b545c4061a396636cc801de60.service



## Ideas for solution

I am not sure if the required qt plugin `eglfs` is supposed to be installed  by `bootstrap_moonlight_qt.sh`, or if it looking for system packages. If the latter, I might simply need to install some additional packages or manually build qt?
veldenb commented 8 months ago

I think eglfs is currently not available in the pre-build x86 moonlight-qt, see also https://github.com/moonlight-stream/moonlight-qt/commit/b1c8005d1adfbde4301ddc1121d9b5851a4c98e7. I have opened a issue to get this supported: https://github.com/moonlight-stream/moonlight-qt/issues/971

The only way that I'm aware of to get eglfs working on x86 is by building moonlight yourself. You could try to install Qt-libraries (see here) but if it works it will probably use the software decoder instead of the hardware decoder.

beralt85 commented 8 months ago

Hey veldenb, thanks a lot for the information and your work. Installing the Qt libraries as in the Dockerfile in your link on the host system had no effect (in fact, all of them besides libxcursor were already installed). Since I will need Hardware acceleration to work to make it worthwhile, I think I have no other option than to wait for an upstream fix. Since I have no experience with developing kodi plugins, even if I build moonlight-qt myself, I wouldn't be sure of how to get it integrated in kodi. Thanks already, let me know if I can help with any testing.