-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CoreELEC support #48
Comments
From moonlight-qt 5.0.0 and up there seem to be generic ARM packages available, so it might be possible. I own a ODROID-C2 so that might be comparable to the C4 for testing. I'll give it a try when I have some spare time :) edit: if you want to try for yourself, see this guide to install it on a Debian image to check if it can work with your hardware: https://github.com/moonlight-stream/moonlight-docs/wiki/Installing-Moonlight-Qt-on-ARM%E2%80%90based-Single-Board-Computers |
I tried this manual to install moonlight-qt on my C2 with Armbian, but my device isn't compatible with moonlight-qt. It starts but very quickly segfaults: moonlight-qt log
Can you try the same manual to see if it works with your C4 so we can check compatibility? |
Version 0.4.3 has an experimental Amlogic build, feel free to try it on LibreELEC Amlogic or CoreELEC. |
nice to see its coming for amlogic :) i tried it on coreelec NE kodi 20 version but actually whole system is aarch64 now. New kernel version NO too. So plugin compiled wrong version of moonlight-qt, i get exec error"
I will try coreelec old kernel version NG which is still arm. my build.log:
my moonlight-qt.log
os-release
|
CoreELEC seems to add a -ce suffix, I added a workaround for it in this version. Can you try if this helps? |
Oki, its build a lot :) i cant write build.log, cause after restart was deleted, my moolight-qt.log
|
Hi, With this version, on my CoreELEC-Amlogic-ng.arm-19.5-Matrix-Odroid_C4, seems to build ok, but i end up with wrong architecture binary: .../addon_data/plugin.program.moonlight-qt/moonlight-qt/bin # ldd moonlight-qt I think binaries in CoreELEC for ODROID-C4 are armhf not arm64, runs a 64-bit kernel, but userspace is 32-bit. |
After adding some workarounds on the scripts: on plugin.program.moonlight-qt/resources/bin/bootstrap_moonlight-qt.sh on plugin.program.moonlight-qt/resources/bin/get-platform.sh on plugin.program.moonlight-qt/resources/bin/kodi_hooks/ Now with all this changes, it built the the binaries for the correct architecture (armhf), but now i have this error when it tries to run moonlight: Platform amlogic (armhf) running coreelec 20.3 detected... |
I got some success getting amlogic to work. I removed some Pi-stuff from the 32-bit amlogic build and added quirks for known amlogic 64-bit kernels with 32-bit userspace. Also added hooks for CoreELEC. My ODROID-C2 is not supported anymore on CoreELEC but it is on LibreELEC and I got it running by forcing the dri card to /dev/dri/card0. There was already a similar quirk for the Pi 5 so I decided to replace that with an option in the settings menu to force a specific card. The C2 managed to stream on 720p fairly decent for such an old device, 1080p didn't work (black screen). Could you try the latest version and check if building ("Update moonlight to latest version") works better and get it running, optionally by forcing card0 or card1? |
With the new version i still get this error when i try to launch moonlight: moonlight-qt.log: Can you explain what you mean by forcing dri card? On CoreELEC i don't have any /dev/dri. |
There is a new setting "EGL card" in the settings screen of the plugin in Kodi. You can now select card0 or card1 there to overwrite the default behaviour in moonlight. It was needed for my C2. |
the same error no matter what card i choose
|
Yes, same as me: Platform amlogic (armhf) running coreelec 20.3 detected... Detected resolution 1920,2160... Seems CoreELEC doesn't have any dri devices: odroidc4:~ # ls -l /dev/dri/card0 odroidc4:~ # ls -l /dev/dri/card1 odroidc4:~ # ls -l /dev/dri |
Strange, can you try the LibreELEC Amlogic build? Not sure but it looks like CoreELEC is missing some functionality. |
my dri folder, so i have card 0, and error is the same. Iam using 20NE version.
|
Could you try the LibreELEC builds to figure out if this is software or hardware related? |
Any news on this feature? |
Hi,
Is there any possibility of a version for CoreELEC (ODROID-C4)?
The text was updated successfully, but these errors were encountered: