Page 1 of 16

batocera.linux

Posted: Thu Jan 02, 2020 12:15 am
by nadenislamarre
For information,

i should receive an odroid go advance in the coming days.
thanks to hardkernel.
I will port batocera.linux on it. (http://batocera.org).
It should be amazing.

i will feedback quickly here as far as i have more information.

Re: batocera.linux

Posted: Wed Jan 08, 2020 5:31 am
by nadenislamarre
I'm happy to annouce you that i received my odroid go advance today, and while i prepared an image some days ago, i was able to boot batocera on it.

first, i would like to congratulate hardkernel. the odroid go advance is really nice to build and to play with with a good finition.
almost all is already working out of the box : pads, power, network, emulators, ...
it boots quickly in around 5-8 seconds, and about 2 seconds to shutdown via the power button.
i've done a small video to demonstrate things.

my current issues :
- screen rotation is not ok (only in framebuffer console, but not on es/games)
- no sound (probably just a simple configuration issue)
- kodi video playing is crashing kodi (not yet analyzed)
- battery percentage display (i will do a small patch to display it)

susan34 from batocera.

Re: batocera.linux

Posted: Wed Jan 08, 2020 5:38 am
by nadenislamarre

Re: batocera.linux

Posted: Wed Jan 08, 2020 6:34 am
by nadenislamarre
- got sound working now.

Re: batocera.linux

Posted: Wed Jan 08, 2020 6:49 am
by kelbot
Looking good! I'm excited.

Re: batocera.linux

Posted: Wed Jan 08, 2020 9:45 am
by odroid
Wow! Very snappy and nice development.

N64 Mario Kart emulation looks great!
Do you use arm-64bit Dynarec on mupen64plus?

BTW, I hope you can find an easy way to rotate the screen by referring the LibGo2.
viewtopic.php?f=194&t=37203

Re: batocera.linux

Posted: Wed Jan 08, 2020 10:39 am
by rooted
That was quick, looking forward to some n64 emulation.

Re: batocera.linux

Posted: Wed Jan 08, 2020 9:38 pm
by nadenislamarre
for the n64, i've played only a bit with the fps enabled, mario kart is at 100% but i've to wait to be in the final conditions.
007 is more around 70%, thus not in full screen. it depends on games.

@odroid : you confirm that i've to patch each rendering program, one by one ?
i made tests maybe 2 years ago, and i didn't get good result on aarch64 dynarec on mupen. here, i'm using kernel aarch64 + userland 32 which leads to good results.

Re: batocera.linux

Posted: Thu Jan 09, 2020 3:14 am
by NativeCode
Despite the emulator is interpreted, Mario Kart 64 runs full speed. That's good news indeed.

Re: batocera.linux

Posted: Thu Jan 09, 2020 6:58 am
by nadenislamarre
2 remaining issues :

- screen rotation is not ok in some emulators:
=> ok now for es
=> ok now for retroarch
=> to be fixed in kodi
=> partially ok in mupen64
=> to be fixed in ppsspp
- make fixes cleanly done in the batocera logic (currently, it is just to confirm it is fixable easyly)

fixed:
- kodi video playing is crashing kodi (not yet analyzed) => some preview crashed in fact, but videos are working correctly, i will probably bump kodi and hope it will fix
- battery percentage display (i will do a small patch to display it) => now displayed in menu > information
- no sound (probably just a simple configuration issue) => fixed

Re: batocera.linux

Posted: Thu Jan 09, 2020 7:01 am
by rooted
nadenislamarre wrote:2 remaining issues :

- screen rotation is not ok in some emulators:
=> ok now for es
=> ok now for retroarch
=> to be fixed in kodi
=> partially ok in mupen64
=> to be fixed in ppsspp
- make fixes cleanly done in the batocera logic (currently, it is just to confirm it is fixable easyly)

fixed:
- kodi video playing is crashing kodi (not yet analyzed) => some preview crashed in fact, but videos are working correctly, i will probably bump kodi and hope it will fix
- battery percentage display (i will do a small patch to display it) => now displayed in menu > information
- no sound (probably just a simple configuration issue) => fixed
Have you tried streaming online videos from Kodi?

Re: batocera.linux

Posted: Thu Jan 09, 2020 9:03 pm
by nadenislamarre
from my nas. network is working via a wifi dongle.

Re: batocera.linux

Posted: Thu Jan 09, 2020 9:07 pm
by odroid
Multi-players mode via wireless network will be a great shock. ;)

Re: batocera.linux

Posted: Thu Jan 09, 2020 9:19 pm
by AreaScout
    @nadenislamarre

    How did you get the screen from retroarch rotated ?

    RG

    Re: batocera.linux

    Posted: Fri Jan 10, 2020 2:21 am
    by nadenislamarre
    multiplayer mode is ok. up to five.

    Re: batocera.linux

    Posted: Fri Jan 10, 2020 2:23 am
    by nadenislamarre
    ra has an option to rotate. unfortunatly the menu is not rotated

    Re: batocera.linux

    Posted: Fri Jan 10, 2020 3:20 am
    by AreaScout
      This is a nightmare, everyone tells me that RA has an option to rotate the screen but I can't find it :shock: , it's not there or I am to dump for that menu entry, it should be under video settings, I already enabled 'show advanced settings' -> nothing !

      Well even if it would work for me too, the menu is not rotating, I know that but still I would like to try it :(

      RG

      Re: batocera.linux

      Posted: Fri Jan 10, 2020 9:42 pm
      by nadenislamarre
      ill sent you tonight the values once at home.

      Re: batocera.linux

      Posted: Sat Jan 11, 2020 5:35 am
      by nadenislamarre
      Hi,

      day 2.
      i've cleaned the modifications so that it can be included into batocera.
      the code is now merged officially into batocera.

      the pr is here : https://github.com/batocera-linux/batoc ... 1139/files
      @AreaScout : https://github.com/batocera-linux/batoc ... 42710e93R5

      An image is here for testers : https://batocera.org/upgrades/odroidgoa/beta/last/
      included emulators are listed here : https://batocera.org/upgrades/odroidgoa ... eport.html

      And a new video is available here :
      https://www.youtube.com/watch?v=dy6U3nmU924


      Sound is now working.
      You can select speakers or headphones.
      central keys (3 and 4) are used to control volume (- and +)
      Rotation is ok in es, partially in retroarch.
      battery percentage is now available in the information menu

      Remaining issues:
      - rotation is partially resolved
      - work not finnished on kodi
      - the battery sometimes indicates 0%. weird.

      Nicolas

      Re: batocera.linux

      Posted: Sat Jan 11, 2020 5:46 am
      by HHanzo
      When you test FBA for CPS3 and Dreamcast? it seems can be played there

      Re: batocera.linux

      Posted: Sat Jan 11, 2020 6:03 am
      by AreaScout
        @nadenislamarre

        Yes but video_rotation="1" doesn't do anything for my RetroArch build, I think it's how I have build RetroArch, must take a closer look again on it when I have time

        RG

        Re: batocera.linux

        Posted: Sat Jan 11, 2020 7:56 am
        by nadenislamarre
        n64 rotation fixed.

        Re: batocera.linux

        Posted: Sat Jan 11, 2020 12:32 pm
        by Slaminger
        Is the method to connect wifi the same as the test image from crash?

        Re: batocera.linux

        Posted: Sat Jan 11, 2020 5:03 pm
        by nadenislamarre
        this image is a pure batocera image. no link with the others.

        Re: batocera.linux

        Posted: Sun Jan 12, 2020 12:08 am
        by Slaminger
        nadenislamarre wrote:
        Sat Jan 11, 2020 5:03 pm
        this image is a pure batocera image. no link with the others.
        Is it possible I can activate wifi here? The com port connection didn't work.

        Re: batocera.linux

        Posted: Sun Jan 12, 2020 4:26 am
        by nadenislamarre
        it seems a bug was introduced in batocera in the last versions (while there is the same issue on rpi3 too). i will fix the wifi bug and come back with a new image.

        Re: batocera.linux

        Posted: Sun Jan 12, 2020 4:51 am
        by nadenislamarre
        ok it looks like the man porting odroid go advanced introduced a bug ;-( . easy to fix ;-)

        Re: batocera.linux

        Posted: Sun Jan 12, 2020 5:33 am
        by Slaminger
        nadenislamarre wrote:
        Sun Jan 12, 2020 4:51 am
        ok it looks like the man porting odroid go advanced introduced a bug ;-( . easy to fix ;-)
        Awesome, thank you very much. I've been testing this image, many things are working nicely. I've also been having the same issues with screen rotation on retroarch/lakka.

        Re: batocera.linux

        Posted: Sun Jan 12, 2020 6:43 am
        by Slaminger
        Also when I use batocera my battery goes red. It was at 3 bars now red. It happened last night too but I thought maybe it was just a bug. But today I used that sd again and my battery was at 3/4 bars. After using batocera for about 15 minutes and then going back to the test image, red battery again

        Re: batocera.linux

        Posted: Mon Jan 13, 2020 12:00 am
        by nadenislamarre
        i've updated the image this morning. the wifi is now fixed. the n64 rotation too.

        Re: batocera.linux

        Posted: Mon Jan 13, 2020 12:03 am
        by nadenislamarre
        @Slaminger the battery kernel indication looks weird. i've regularly stange values. however, i get similar issues with the base image delivered with the odroidgo advance. i don't know what to think about that issue for the moment. most of the time, the battery indicates 0% but is working.
        on lakka, did you manage to rotate the menu ?

        Re: batocera.linux

        Posted: Mon Jan 13, 2020 12:04 am
        by nadenislamarre
        psp rotation is now ok (on my test image). however, i get issues with psp:
        - sometimes instead of fullscreen, i've 1/4 of the screen. not searched yet why. it looks random.
        - left and right are respondnig with a delay in psp (and only in psp) (i precise i use ppsspp)

        Re: batocera.linux

        Posted: Mon Jan 13, 2020 1:56 am
        by Slaminger
        nadenislamarre wrote:
        Mon Jan 13, 2020 12:03 am
        @Slaminger the battery kernel indication looks weird. i've regularly stange values. however, i get similar issues with the base image delivered with the odroidgo advance. i don't know what to think about that issue for the moment. most of the time, the battery indicates 0% but is working.
        on lakka, did you manage to rotate the menu ?
        Not yet no, I've only just started using the lakka image, I do have retro arena looking proper however.

        Re: batocera.linux

        Posted: Mon Jan 13, 2020 2:01 am
        by Slaminger
        Slaminger wrote:
        Mon Jan 13, 2020 1:56 am
        nadenislamarre wrote:
        Mon Jan 13, 2020 12:03 am
        @Slaminger the battery kernel indication looks weird. i've regularly stange values. however, i get similar issues with the base image delivered with the odroidgo advance. i don't know what to think about that issue for the moment. most of the time, the battery indicates 0% but is working.
        on lakka, did you manage to rotate the menu ?
        Not yet no, I've only just started using the lakka image, I do have retro arena looking proper however. I also noticed that after installing gnome desktop into the base image the battery worked, showed proper level, shows an icon when charging

        Re: batocera.linux

        Posted: Mon Jan 13, 2020 2:05 am
        by Slaminger
        nadenislamarre wrote:
        Mon Jan 13, 2020 12:04 am
        psp rotation is now ok (on my test image). however, i get issues with psp:
        - sometimes instead of fullscreen, i've 1/4 of the screen. not searched yet why. it looks random.
        - left and right are respondnig with a delay in psp (and only in psp) (i precise i use ppsspp)
        Did you use the same psp crash used? Or sdl?

        Re: batocera.linux

        Posted: Mon Jan 13, 2020 3:06 am
        by nadenislamarre
        - PPSSPPSDL
        - connman which uses basic linux commands
        what do you call com port ?
        i just connect via ssh over the wifi without issue.
        f4 doesn't shutdown es.

        Re: batocera.linux

        Posted: Mon Jan 13, 2020 3:06 am
        by nadenislamarre
        - image updated with psp rotation fixed.

        Re: batocera.linux

        Posted: Mon Jan 13, 2020 3:26 am
        by Slaminger
        nadenislamarre wrote:
        Mon Jan 13, 2020 3:06 am
        - PPSSPPSDL
        - connman which uses basic linux commands
        what do you call com port ?
        i just connect via ssh over the wifi without issue.
        f4 doesn't shutdown es.
        I found the setting in the menu. On test image we needed to use uart adapter to connect to comport on pc to set up wifi. I tried that same method. I got wifi working. I know you used ppssppsdl but I think crash compiled his specific to this device. You might want to try that exact file

        Re: batocera.linux

        Posted: Mon Jan 13, 2020 4:43 am
        by nadenislamarre
        @crash which ppsspp version did you use please ?
        @Slaminger : sorry, i forgot that crash was a name, i was not sure to have understood

        Re: batocera.linux

        Posted: Mon Jan 13, 2020 5:04 am
        by Slaminger
        nadenislamarre wrote:
        Mon Jan 13, 2020 4:43 am
        @crash which ppsspp version did you use please ?
        @Slaminger : sorry, i forgot that crash was a name, i was not sure to have understood
        I will try it with crashoverride psppsdl and let you know if it helps. Once I locate the file, i can't see it, I found everything but psp in batocera

        Re: batocera.linux

        Posted: Mon Jan 13, 2020 10:25 am
        by crashoverride
        nadenislamarre wrote:
        Mon Jan 13, 2020 4:43 am
        @crash which ppsspp version did you use please ?
        https://github.com/OtherCrashOverride/ppsspp-go2

        Re: batocera.linux

        Posted: Wed Jan 15, 2020 6:20 am
        by nadenislamarre

        Re: batocera.linux

        Posted: Wed Jan 15, 2020 2:53 pm
        by Slaminger
        Have you been able to run Dreamcast?

        Re: batocera.linux

        Posted: Thu Jan 16, 2020 2:53 am
        by nadenislamarre
        not yet. a simple error i think, but i'm on the ppsspp for the moment.

        Re: batocera.linux

        Posted: Thu Jan 16, 2020 6:45 am
        by nadenislamarre
        ppsspp working correctly now.

        Re: batocera.linux

        Posted: Thu Jan 16, 2020 9:26 am
        by meveric
        Slaminger wrote:
        Wed Jan 15, 2020 2:53 pm
        Have you been able to run Dreamcast?
        I already had flycast (libretro) running on my ODROID Go Advance, but performance was not the best.
        Around 40 FPS only. It was playable though, was playing Border Down the sound was very bad but the gameplay was not too bad actually.
        But it was also not running on an optimized build so I guess a little bit more performance is possible.

        Re: batocera.linux

        Posted: Thu Jan 16, 2020 3:49 pm
        by nadenislamarre
        new image bulit and pushed with psp working.

        Re: batocera.linux

        Posted: Thu Jan 16, 2020 9:00 pm
        by jutleys
        Anywhere where we can download the image and test it?

        Re: batocera.linux

        Posted: Thu Jan 16, 2020 9:32 pm
        by esprit

        Re: batocera.linux

        Posted: Thu Jan 16, 2020 10:54 pm
        by jutleys
        Hi thanks I found it great image and impressed only thing I am struggling on at the moment how is the file structure to get screenshot working to show up what files need to be in what folder etc thanks

        Update i figured it out just want to say your work so far is simply amazing keep it up how about some Pico8 love? added

        https://youtu.be/GAxcJCoEqhA