[RECALBOX] New version 4.1 supports C2 and XU4

Moderators: meveric, mdrjr, odroid

[RECALBOX] New version 4.1 supports C2 and XU4

Unread postby substring » Sat Oct 14, 2017 12:12 am

Hi everyone !

I'm really really glad to announce the Odroid community that the new version of Recalbox 4.1 supports the Odroid C2 and XU4 after a year of development ! The version will be available at 8pm CET on this 13th of October 2017.

Recalbox is a retrogaming emulation OS built from scratch using Linux. It is made as an embedded system based on Buildroot. You can emulate almost any known system up to Nintendo 64. To get a full list, go to https://github.com/recalbox/recalbox-os/wiki/Board-Compatibility-%28EN%29. Its main focus is easyness of installation and use, to be as plug'n'play as possible for non IT people !

So tonight (that is 13th of October 2017), at 8pm CET, browse to http://archive.recalbox.com and download the .img file for your board. I'll answer any question here or you can join the recalbox forum/irc to share your experience.

Last word: Recalbox is free and open source !
substring
 
Posts: 35
Joined: Fri Jun 23, 2017 5:28 am
languages_spoken: english, french
ODROIDs: C2, XU4

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby memeka » Sat Oct 14, 2017 4:26 am

@substring

I’ve tested sdl2, emulationstation (sdl2), retroarch and kodi with GBM backend (on drm/kms) with kernel 4.9 odroid xu4.
Would you be interested to use that, instead of fbdev/x11 on kernel 3.10?
Is there another emulator that uses its own video system, not sdl2?
User avatar
memeka
 
Posts: 3769
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby substring » Sat Oct 14, 2017 5:50 am

@memeka that's something quite interesting IF it's worth it ...

The only real thing missing on XU4 is hardware video decoding, and yes we're still on kernel 3.10. The only emulator i think that doesn't use SDL2 is moonlight, which crashoverride has somehow made working on V4L2 as far as i remember ... And maybe kodi also

What are the pros of using GBM instead of fbdev ?
substring
 
Posts: 35
Joined: Fri Jun 23, 2017 5:28 am
languages_spoken: english, french
ODROIDs: C2, XU4

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby memeka » Sat Oct 14, 2017 6:14 am

GBM will have support in the future, fbdev only works with that specific kernel version which has a hack for it - e.g. GBM driver version currently is r12p0 and works with kernel 4.9 (and I tested 4.14rc4 and it works too).
How is hw video decoding missing on XU4? I can use it with kodi just fine... (and gstreamer too, and even ffmpeg, although ffmpeg is doing slow copy of buffers after decoding)
User avatar
memeka
 
Posts: 3769
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby substring » Sat Oct 14, 2017 6:31 am

The fact is that we are too few people in the team to handle everything. For now, i'm a bit lost between all "video decoders" between vdpau, gstreamer etc ... Regarding gstreamer, I really don't know much about it, can't even tell if it can render in fbdev. And I do think i must have missed some valuable parts of the XU4 (the C2 was much easier).
substring
 
Posts: 35
Joined: Fri Jun 23, 2017 5:28 am
languages_spoken: english, french
ODROIDs: C2, XU4

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby memeka » Sat Oct 14, 2017 6:50 am

Where do you want to do video decoding and is not working?
Can you put a list of things you would want for xu4 but didn’t do?
User avatar
memeka
 
Posts: 3769
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby substring » Sat Oct 14, 2017 7:29 am

Ok, here is what I'm missing on XU4, all on fbdev :
- moonlight hw decoding -> crashoverride told me it's impossible
- kodi hw video decoding

Everything else rather fine ! I'll give a try to the 4.9 kernel in a few weeks and see how it works with Recalbox
substring
 
Posts: 35
Joined: Fri Jun 23, 2017 5:28 am
languages_spoken: english, french
ODROIDs: C2, XU4

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby odroid » Sat Oct 14, 2017 9:23 am

Kodi 17.3 works on fbdev/kernel 3.10 at least.
https://wiki.odroid.com/odroid-xu4/appl ... kodi_fbdev
It uses the hardware acceleration to play 1080p videos.

Please note 4.9 kernel GPU performance is slightly lower than 3.10.
User avatar
odroid
Site Admin
 
Posts: 25323
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby linuxest » Sat Oct 14, 2017 11:02 am

I installed 4.1 on my XU4. It booted beautifully and I could play some preinstalled free games. I'll try some psx and n64 games early next week since i have to find my xbox360 joystick.
linuxest
 
Posts: 39
Joined: Tue Nov 08, 2016 6:35 pm
languages_spoken: english
ODROIDs: 1 x HC1 and 2 x C2s with HiFi-Shield 2
And some RPi3 boards

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby substring » Sat Oct 14, 2017 4:21 pm

odroid wrote:Kodi 17.3 works on fbdev/kernel 3.10 at least.
https://wiki.odroid.com/odroid-xu4/appl ... kodi_fbdev
It uses the hardware acceleration to play 1080p videos.

Recalbox is based on Buildroot, but not the hardkernel's one. We need to bump buildroot first to get Kodi. This is expected in the coming weeks. One question though : how does VPU decoding work with kodi ?
substring
 
Posts: 35
Joined: Fri Jun 23, 2017 5:28 am
languages_spoken: english, french
ODROIDs: C2, XU4

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby memeka » Sat Oct 14, 2017 4:39 pm

There is a kodi branch with hw acceleration support for odroid, you need to add a compile flag to enable it.
Similarly, I have a branch with xu4 hw acceleration and gbm support :)

@odroid - with r12 drivers on gbm and kernel 4.9, performance might be better.
It needs testing :)
User avatar
memeka
 
Posts: 3769
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby crashoverride » Sun Oct 15, 2017 12:35 pm

substring wrote:- moonlight hw decoding -> crashoverride told me it's impossible

I don't remember saying its "impossible". I will need to find the link of the discussion.

memeka wrote:r12 drivers on gbm and kernel 4.9

Is there a Mali driver with GBM enabled? Since the emulators all use GLES, that would be required.

Using KMS/GBM + Mali, moonlight should be workable.
crashoverride
 
Posts: 3113
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby memeka » Sun Oct 15, 2017 12:43 pm

crashoverride wrote:Is there a Mali driver with GBM enabled? Since the emulators all use GLES, that would be required.

Using KMS/GBM + Mali, moonlight should be workable.

check https://developer.arm.com/products/soft ... user-space for latest wayland driver.
current one is r12p0: https://developer.arm.com/-/media/Files ... 3866dfad85
User avatar
memeka
 
Posts: 3769
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby substring » Tue Oct 17, 2017 4:07 am

crashoverride wrote:
substring wrote:- moonlight hw decoding -> crashoverride told me it's impossible

I don't remember saying its "impossible". I will need to find the link of the discussion.

viewtopic.php?p=194187#p194187
Alright you did not say it is impossible. But i think your dev is notworking on fbdev, so in my case, it means "impossible"

memeka wrote:r12 drivers on gbm and kernel 4.9

Is there a Mali driver with GBM enabled? Since the emulators all use GLES, that would be required.

Using KMS/GBM + Mali, moonlight should be workable.[/quote]
I'm not using wayland, just pure framebuffer
substring
 
Posts: 35
Joined: Fri Jun 23, 2017 5:28 am
languages_spoken: english, french
ODROIDs: C2, XU4

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby crashoverride » Tue Oct 17, 2017 1:17 pm

substring wrote:I'm not using wayland, just pure framebuffer

This was also my confusion since I don't use wayland either.
crashoverride
 
Posts: 3113
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby memeka » Tue Oct 17, 2017 2:16 pm

gbm does not use wayland (wayland uses gbm tho`)
this is why the r12p0 wayland driver from arm has both gbm and wayland extensions
User avatar
memeka
 
Posts: 3769
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby fnkngrv » Sat Oct 21, 2017 2:27 am

So I take it this still doesn't support the more recent themes or features found in other frontends for themes? Every "custom" theme that I try just gives the white screen of death. Also is the boot video supposed to go all pxelated for the lat few seconds before you are at the ES system screen?
fnkngrv
 
Posts: 31
Joined: Fri Aug 18, 2017 2:09 pm
languages_spoken: english
ODROIDs: none yet...looking to pick up XU4

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby odroid » Wed Oct 25, 2017 6:16 pm

Odroid Xu4 Running Recalbox 4.1 N64 Dreamcast PSP Emulator Test by ETA PRIME
https://www.youtube.com/watch?v=3J_yUKQk0dA
User avatar
odroid
Site Admin
 
Posts: 25323
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby substring » Sat Oct 28, 2017 8:01 am

fnkngrv wrote:So I take it this still doesn't support the more recent themes or features found in other frontends for themes? Every "custom" theme that I try just gives the white screen of death. Also is the boot video supposed to go all pxelated for the lat few seconds before you are at the ES system screen?

That is because of the VRAM assigned to Emulationstation. This will be solved in the coming weeks, just time for us to finish most problematic bugs with the release of Recalbox 4.1. The other point is about themes compatibility with Retropie which we can''t guarantee due to systems naming.

Regarding ES featureswe still have a few tricks up our sleeve, we wouldn't go "all in" for our first stable after a year of work ;)
substring
 
Posts: 35
Joined: Fri Jun 23, 2017 5:28 am
languages_spoken: english, french
ODROIDs: C2, XU4

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby fnkngrv » Thu Nov 09, 2017 1:57 pm

substring wrote:
fnkngrv wrote:So I take it this still doesn't support the more recent themes or features found in other frontends for themes? Every "custom" theme that I try just gives the white screen of death. Also is the boot video supposed to go all pxelated for the lat few seconds before you are at the ES system screen?

That is because of the VRAM assigned to Emulationstation. This will be solved in the coming weeks, just time for us to finish most problematic bugs with the release of Recalbox 4.1. The other point is about themes compatibility with Retropie which we can''t guarantee due to systems naming.

Regarding ES featureswe still have a few tricks up our sleeve, we wouldn't go "all in" for our first stable after a year of work ;)



good to know and thanks for the reply :-)
fnkngrv
 
Posts: 31
Joined: Fri Aug 18, 2017 2:09 pm
languages_spoken: english
ODROIDs: none yet...looking to pick up XU4

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby memeka » Fri Dec 01, 2017 11:57 am

@substring

reicast on kernel 4.14 using GBM (actually reicast on SDL2 which uses DRM/KMS + GBM GLES2) running Soulcalibur:

Code: Select all
reicast git/n - 9.92 (0.00) - 100.72 - V: 50.36 (1.00, PAL480i50.00) R: 44.37+5.98 VTX: 0.00 , MIPS: 0.00
reicast git/n - 10.08 (0.00) - 99.11 - V: 49.55 (1.00, PAL480i50.00) R: 45.59+3.96 VTX: 0.00 , MIPS: 0.00
reicast git/n - 10.04 (0.00) - 99.54 - V: 49.77 (1.00, PAL480i50.00) R: 43.30+6.47 VTX: 0.00 , MIPS: 0.00
reicast git/n - 9.87 (0.00) - 101.25 - V: 50.62 (1.00, PAL480i50.00) R: 46.65+3.97 VTX: 0.00 , MIPS: 0.00
reicast git/n - 10.08 (0.00) - 99.19 - V: 49.59 (1.00, PAL480i50.00) R: 40.66+8.92 VTX: 0.00 , MIPS: 0.00
reicast git/n - 10.06 (0.00) - 99.36 - V: 49.68 (1.00, PAL480i50.00) R: 43.72+5.96 VTX: 0.00 , MIPS: 0.00
reicast git/n - 9.97 (0.00) - 100.23 - V: 50.11 (1.00, PAL480i50.00) R: 46.67+3.43 VTX: 0.00 , MIPS: 0.00
reicast git/n - 10.00 (0.00) - 99.99 - V: 49.99 (1.00, PAL480i50.00) R: 46.99+2.99 VTX: 0.00 , MIPS: 0.00


User avatar
memeka
 
Posts: 3769
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby substring » Wed Dec 06, 2017 6:04 am

@memeka

The game looks "slow", like 50Hz instead of 60Hz ...

But you're messing my brain ... Odroid told me they don't support GBM in their drivers .. who's right ?
substring
 
Posts: 35
Joined: Fri Jun 23, 2017 5:28 am
languages_spoken: english, french
ODROIDs: C2, XU4

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby memeka » Wed Dec 06, 2017 7:31 am

@substring the game indeed runs at 50Hz, because it's a version that runs at 50Hz (PAL480i50.00). I need to find a ROM at 60Hz.

GBM is not present in the HK drivers, but it is in the ARM r12p0 wayland drivers. So you can download them from the ARM website.
You can also ask HK for more recent GBM drivers, I think they have license for it implicitly and can update their drivers to have GBM. But in my testing performance in GBM is similar in r12p0 and more recent drivers, so you can use ARM driver.
User avatar
memeka
 
Posts: 3769
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby substring » Thu Dec 07, 2017 5:55 pm

@memeka I didn't even ask but ... That video from reicast, was it using a recompiled version of Recalbox or just your own tests ?

Regarding Recalbox, we have a (long) way to go before switching to 4.14 :
- painlessly switch to a squashfs root fs for better stability (it's reaching the end I hope)
- update Buildroot to the latest stable version (this one will be long ...), this is needed to allow the use of recent kernel (Buildroot versions are quite strict regarding kernel headers version, I don't want to mess around with this)

I guess I'll switch to 4.14 with the Buildroot bump. Regarding GBM ... prolly a little later as there is a board we'd like to support that has despicable performance with fbdev and will need GBM.

Now an off topic consideration as I saw you did an awesome job leading the way to 4.14 : yesterday, a Recalbox dev reported that his XU4Q (that updated to 4.14 with the normal Ubuntu updates) started to heat up and the thermal paste was like boiling. He burnt himself pretty hard touching the rad. His board was just on and idle, he wasn't even using it. Did that ever occur to you ?
substring
 
Posts: 35
Joined: Fri Jun 23, 2017 5:28 am
languages_spoken: english, french
ODROIDs: C2, XU4

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby memeka » Thu Dec 07, 2017 6:16 pm

@substring

It was on Ubuntu 17.10, not Recalbox. I compiled reicast with support for sdl2; also had latest sdl2 compiled which has support for drm/kms. with this setup, i tried reicast on both wayland and drm/kms (via sdl2).

I don't have a XU4Q, but I never noticed my XU4+fan getting extremely hot. But according to the kernel sources, this is what should happen:

@60C - fan runs at about 1/2 speed (nothing happens on XU4Q)
@70C - fan runs at about 3/4 speed (nothing happens on XU4Q)
@80C - fan runs at almost fullspeed (nothing happens on XU4Q)
@85C - CPU seed reduced for A15 cores from 2GHz to 1.6GHz
@90C - CPU speed reduced for A15 cores to 1.2GHz
@95C - CPU speed reduced for A15 cores to 600MHz, A7 cores to 1.2GHz
@115C - shutdown

So it's very possible for the XU4Q to be running at 90C, but probably not higher. Not sure about the thermal paste specs...
Of course this should happen only when the board being on load.

In my case, with Gnome3 loaded but idle, the fans don't run ... so the temp is under 60C.
But when starting anything, the fans start to run a bit.
E.g. on reicast on GBM they would run, stop, run again etc. Reicast uses like 60% CPU (out of 800%) ... so it looks like it stays under 80C for sure. Under wayland probably around 70C but I did not really test.
When compiling using 8 cores, fans are on all the time, sometimes CPU speed reduces. Exynos5422 is indeed a hot SoC...
User avatar
memeka
 
Posts: 3769
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby substring » Thu Dec 07, 2017 9:45 pm

@memeka OK, thank you for all those details :)
substring
 
Posts: 35
Joined: Fri Jun 23, 2017 5:28 am
languages_spoken: english, french
ODROIDs: C2, XU4

Re: [RECALBOX] New version 4.1 supports C2 and XU4

Unread postby sikotik » Tue Dec 12, 2017 5:05 am

memeka wrote:@substring

reicast on kernel 4.14 using GBM (actually reicast on SDL2 which uses DRM/KMS + GBM GLES2) running Soulcalibur:

Code: Select all
reicast git/n - 9.92 (0.00) - 100.72 - V: 50.36 (1.00, PAL480i50.00) R: 44.37+5.98 VTX: 0.00 , MIPS: 0.00
reicast git/n - 10.08 (0.00) - 99.11 - V: 49.55 (1.00, PAL480i50.00) R: 45.59+3.96 VTX: 0.00 , MIPS: 0.00
reicast git/n - 10.04 (0.00) - 99.54 - V: 49.77 (1.00, PAL480i50.00) R: 43.30+6.47 VTX: 0.00 , MIPS: 0.00
reicast git/n - 9.87 (0.00) - 101.25 - V: 50.62 (1.00, PAL480i50.00) R: 46.65+3.97 VTX: 0.00 , MIPS: 0.00
reicast git/n - 10.08 (0.00) - 99.19 - V: 49.59 (1.00, PAL480i50.00) R: 40.66+8.92 VTX: 0.00 , MIPS: 0.00
reicast git/n - 10.06 (0.00) - 99.36 - V: 49.68 (1.00, PAL480i50.00) R: 43.72+5.96 VTX: 0.00 , MIPS: 0.00
reicast git/n - 9.97 (0.00) - 100.23 - V: 50.11 (1.00, PAL480i50.00) R: 46.67+3.43 VTX: 0.00 , MIPS: 0.00
reicast git/n - 10.00 (0.00) - 99.99 - V: 49.99 (1.00, PAL480i50.00) R: 46.99+2.99 VTX: 0.00 , MIPS: 0.00

I built almost the entirety of retropie on my XU4 using 16.04 with the 4.14 kernel and the wayland drivers. I have not been successful in getting Reicast to run in this configuration.
I haven't gotten around to Kodi yet.
sikotik
 
Posts: 4
Joined: Wed Feb 22, 2017 6:05 am
languages_spoken: english
ODROIDs: xu4


Return to Games and Emulators

Who is online

Users browsing this forum: No registered users and 1 guest