RetroELEC Emulationstation/RetroArch/Kodi image for XU4

escalade
Posts: 120
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 19 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Thu Nov 21, 2019 7:04 am

New image is out, download here.

Code: Select all

- Kodi 18.5 GBM
- Emulationstation (GLESv1/SDL2) and RetroArch (GLESv3/glcore) on Weston/Wayland
- Starts up with Kodi, but can be changed through kernel command line options frontend=ra/frontend=emulationstation/frontend=kodi/frontend=none
- Polished and simplified systemd units for a smoother startup
- Latest 5.4 kernel from @memeka with optimized and minimalized kernel configuration
- Latest libretro cores
- Fixed Emulationstation menu items, working terminal etc.
- Skyscraper
- glmark2
- Antimicro is included but not started by default
I did manage to get Sway up and running with @memeka's gbm compatibility hack and using output transform "flip180" to reverse the image, but there was other issues. I've settled for Weston as it does the job well and seems the most compatible/stable on ARM. Let me know what you guys think, I'm quite happy with the functionality in this build. Next up is submitting all the changes I've done lately, but it's quite the job and time is limited. Will keep hacking on this for sure :)
Last edited by escalade on Mon Dec 02, 2019 4:52 pm, edited 5 times in total.
Maintainer of RetroELEC (XU4 support!)

User avatar
memeka
Posts: 4395
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 1 time
Been thanked: 42 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by memeka » Thu Nov 21, 2019 7:47 am

@escalade: did you try CAGE compositor?
https://github.com/Hjdskes/cage
it's also based on wlroots, so I was curious if it has the same issue - meaning the issue is with wlroots, or sway?

escalade
Posts: 120
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 19 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Thu Nov 21, 2019 9:23 am

I know about it but haven't tried. Worth a shot, I'll have a look tomorrow. Also, I could get RetroArch/Emulationstation running fine, but things like glmark2-es-wayland and weston-terminal was a no go on Sway.
Maintainer of RetroELEC (XU4 support!)

frtorres
Posts: 4
Joined: Fri Nov 29, 2019 5:02 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by frtorres » Fri Nov 29, 2019 6:24 am

escalade wrote:
Thu Nov 21, 2019 7:04 am
New image is out, download here.

Code: Select all

- Kodi 18.5 GBM
- Emulationstation (GLESv1/SDL2) and RetroArch (GLESv3/glcore) on Weston/Wayland
- Starts up with Kodi, but can be changed through kernel command line options frontend=ra/frontend=emulationstation/frontend=kodi/frontend=none
- Polished and simplified systemd units for a smoother startup
- Latest 5.4 kernel from @memeka with optimized and minimalized kernel configuration
- Latest libretro cores
- Fixed Emulationstation menu items, working terminal etc.
- Skyscraper
- glmark2
- Antimicro is included but not started by default
I did manage to get Sway up and running with @memeka's gbm compatibility hack and using output transform "flip180" to reverse the image, but there was other issues. I've settled for Weston as it does the job well and seems the most compatible/stable on ARM. Let me know what you guys think, I'm quite happy with the functionality in this build. Next up is submitting all the changes I've done lately, but it's quite the job and time is limited. Will keep hacking on this for sure :)
First of all, my first message for a big thank you for this XU4 Build. Today I installed and booted kodi ok in a 4K Sony Bravia TV.

Some questions:

1. Is there a chance to have this kodi build working on a 4K display?.. beyond current 1920x1080@60Hz Resolution?
2. I am interested in having my XU4 board to record Dvb-T2 streams (local air TV) in LibreElec. Is it possible to have dvb-t2 drivers available in LibreElec raspberry builds?

Thanks again for this build. :!:

Francisco

User avatar
memeka
Posts: 4395
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 1 time
Been thanked: 42 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by memeka » Fri Nov 29, 2019 7:00 am

1. No. XU4 is limited to 1080p.
Actually most (all?) 4K devices use kodi at 1080p and only show video at 4K. This is because GPU which is used to show Kodi struggles with 4K, but video is bypassing GPU and displayed directly on the output. But in the case of XU4 the output is also limited to 1080p.

escalade
Posts: 120
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 19 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Fri Nov 29, 2019 9:42 am

@francisco

You have any details what kernel driver and kodi plugin u need?

@memeka

I tried Cage, couldn't get it to run at all it just crashes.
Maintainer of RetroELEC (XU4 support!)

escalade
Posts: 120
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 19 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Mon Dec 02, 2019 12:59 am

New image is out:

Code: Select all

- Linux 5.4.1
- Systemd 244
- Latest Xwayland git brings multi buffering
- Updated puae and vice libretro cores gives 1 less frame input lag
- Default to KMS for vice/puae/fuse cores as EDID refresh rate switch won't activate in Wayland
- Activated a NEON optimization for puae-libretro
- Fixed installing addons from LibreELEC repository
- Added audiodecoder.sidplay to Kodi
These users thanked the author escalade for the post (total 2):
odroid (Mon Dec 02, 2019 10:24 am) • rooted (Mon Dec 02, 2019 3:38 pm)
Maintainer of RetroELEC (XU4 support!)

frtorres
Posts: 4
Joined: Fri Nov 29, 2019 5:02 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by frtorres » Tue Dec 03, 2019 4:14 am

memeka wrote:
Fri Nov 29, 2019 7:00 am
1. No. XU4 is limited to 1080p.
Actually most (all?) 4K devices use kodi at 1080p and only show video at 4K. This is because GPU which is used to show Kodi struggles with 4K, but video is bypassing GPU and displayed directly on the output. But in the case of XU4 the output is also limited to 1080p.
Thanks @memeka.

I was using SPMC and android kodi build with kodi interface at 4k.

Unfortunately, AFAIK SPMC is not currently maintained.

It is true in kodi... 1080p. Lets see what happens. Thanks for your feedback

Chromoris
Posts: 7
Joined: Wed Jul 26, 2017 7:57 am
languages_spoken: english, dutch
ODROIDs: Odroid XU4 + Cloudshell
Has thanked: 0
Been thanked: 0
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by Chromoris » Wed Dec 04, 2019 10:12 pm

I no longer see a separate Kodi folder/build. Is this no longer required?

escalade
Posts: 120
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 19 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Wed Dec 04, 2019 10:43 pm

Yes, I decided to make things a bit simpler and build less images. Kodi is now included.
Maintainer of RetroELEC (XU4 support!)

frtorres
Posts: 4
Joined: Fri Nov 29, 2019 5:02 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by frtorres » Thu Dec 05, 2019 10:29 pm

escalade wrote:
Fri Nov 29, 2019 9:42 am
@francisco

You have any details what kernel driver and kodi plugin u need?

@memeka

I tried Cage, couldn't get it to run at all it just crashes.
Thanks escalade for your response.

Yes I have this DVB-T2 adapter: TBS 5520SE DVB-S2X/ Digital TV Tuner USB Box for Live TV. There are drivers that were included in LibreELEC distro.

Please consider these links:

Original linux drivers from OEM:
https://www.tbsdtv.com/download/index.html?path=4&id=43

Drivers from cvh team member (Libreelec), using these drivers to be included in Libreelec
http://cvh.libreelec.tv/

Latest Libreelec versions usually have a DVB Drivers Configuration Addon to install these cvh drivers with a proper kernel.

Hope this helps.

I can test an image with these drivers. Thanks in advance for considering this.

Best Regards, Francisco.

escalade
Posts: 120
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 19 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Fri Dec 06, 2019 2:31 am

Looks like I forgot to enable DVB drivers in my image, can you try the latest? I've added crazycat, digital_devices, dvb-latest and dvb-firmware as in the Generic build.
Maintainer of RetroELEC (XU4 support!)

frtorres
Posts: 4
Joined: Fri Nov 29, 2019 5:02 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by frtorres » Sat Dec 07, 2019 6:24 am

escalade wrote:
Fri Dec 06, 2019 2:31 am
Looks like I forgot to enable DVB drivers in my image, can you try the latest? I've added crazycat, digital_devices, dvb-latest and dvb-firmware as in the Generic build.

Thanks escalade. I will test it. (RetroELEC-OdroidXU3.arm-9.1-devel-20191205173858-ea8d1e1.img.gz)

Did you include VDR Backend, present in kodi "Services Menu"? Dvb Utils normally present in LibreElec are also important (just to make sure). :|

Best Regards, Francisco.

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 1 guest