veldenb / plugin.program.moonlight-qt

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

Addon update failed on RPI5 with error: No such file or directory #50

Closed danielgallik closed 8 months ago

danielgallik commented 9 months ago

I have clean install of LibreELEC (11.0.4) on RPi5. Then I installed docker and moonlight, but on first moonlight start it fails with error: screenshot00000

I checked path from error in logs: "Updating moonlight-qt finished with 776 lines of output and exit-code 0: cp: cannot stat '/usr/lib/aarch64-linux-gnu/libGL.so*': No such file or directory" Directory "aarch64-linux-gnu" not exists. I am not sure if it is problem because of RPi5, or I am missing some dependency.

veldenb commented 9 months ago

Rpi 5 support is still somewhat experimental and I don't own one for testing. I added the libgl dependency, can you try if this version works better?

danielgallik commented 9 months ago

I reinstalled addon, but still the same issue. I will try to manually install the lib.

veldenb commented 9 months ago

Can you send your build.log? You should be able to find it here: /storage/.kodi/userdata/addon_data/plugin.program.moonlight-qt/build.log

danielgallik commented 9 months ago

build.log I recorded also new error log, the issue at 2023-12-27 16:26:37.271 T:14739: 01_KODI.log

veldenb commented 9 months ago

Looks like Docker tries to use 32-bit arm instead of 64-bit. Can you try the latest version? It includes a change to enforce 64-bit.

danielgallik commented 9 months ago

This one finally fixed the installation process, great job and I have a new problem. Moonlight is updated now, but when I start it than whole system crashes and restarts itself.

veldenb commented 9 months ago

Hard to tell, anything in your moonlight-qt.log? You'll find it here: /storage/.kodi/userdata/addon_data/plugin.program.moonlight-qt/moonlight-qt.log.

danielgallik commented 9 months ago

nothing usefull, also I did not found anything abount this crash in kodi logs moonlight-qt.log 01_KODI.log 01_KODI_CRASH.log

veldenb commented 9 months ago

Might be a driver related issue, have you tried the LibreELEC 12 nightly builds? Others seem to have more progress there, apart from issue https://github.com/veldenb/plugin.program.moonlight-qt/issues/49. But that should be fixed in the upcoming nightly.

veldenb commented 8 months ago

I'm closing this because the remaining issue seems driver/hardware related and not the the plugin itself. It looks like LibreELEC 12 works better with the Pi5: https://github.com/veldenb/plugin.program.moonlight-qt/issues/49