[OS] ODROID GameStation Turbo with Kodi for C1

Moderators: mdrjr, odroid

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby meveric » Thu Nov 24, 2016 2:03 am

can you try from a fresh installation again and see if it happens there as well?
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7670
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby DroidWolf » Sun Dec 04, 2016 2:44 pm

Hello!

I just wanted to say first and foremost thank you very much for all of your hard work. This is everything that I have been looking for. I do have a question though and it is probably a very simple one so I apologize for taking your time, but I am really new to linux and single board development so I hope you will go easy on me :P

Anyways, after much struggle wondering why my screen was completely black but I had audio when running games, I finally solved that issue by following along with this forum and updating my system. Now that everything appears to work just fine, I see that I am getting the message of Bios not found. I have a bios file from my PlayStation 1, 'scph1001.bin' and I was wondering where do I put it so that the PlayStation 1 emulator recognizes it and uses it? I have searched google for configuring bios files for retroarch and I have been unsuccessful at finding the proper location.

Thank you
DroidWolf
 
Posts: 1
Joined: Sun Dec 04, 2016 2:35 pm
languages_spoken: english
ODROIDs: C1

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby meveric » Sun Dec 04, 2016 8:16 pm

most BIOS files should be placed in /home/odroid/ROMS/
Put your file there and the emulator should find it automatically :)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7670
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Jojo » Fri Jan 06, 2017 11:34 pm

Jojo wrote:... I am preparing a gaming device for our holiday trip to Denmark during New Years Eve :) .


Thank you for an awesome time in Denmark with a lot of retro gaming!
IMG_20170102_114643.jpg
(530.01 KiB) Downloaded 479 times
How to ask questions the smart way:
http://www.catb.org/esr/faqs/smart-questions.html
Jojo
 
Posts: 430
Joined: Mon May 18, 2015 12:13 am
Location: Germany
languages_spoken: english, german
ODROIDs: C1, C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby meveric » Mon Jan 09, 2017 6:24 pm

yeah yeah.. dad's playing and the children have to watch :D
But it looks like a cozy place to do some retro gaming ;)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7670
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Jojo » Tue Jan 10, 2017 12:39 am

meveric wrote:yeah yeah.. dad's playing and the children have to watch :D

Thats not true, dude! She just does not like these kind of old games. She preferes Re-volt and Descent :twisted: !
How to ask questions the smart way:
http://www.catb.org/esr/faqs/smart-questions.html
Jojo
 
Posts: 430
Joined: Mon May 18, 2015 12:13 am
Location: Germany
languages_spoken: english, german
ODROIDs: C1, C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Nickman » Sat Mar 25, 2017 5:59 pm

I'm installing the Gamestation Turbo onto my C1 (finally) as I am typing this message.
Really excited about all the features you managed to cram in there meveric, thanks a lot!

Any idea when the new release is happening for the C1 (trough the update process)?
Moonlight is something I was hoping to be added to this awesome image and now you managed to integrated it which is awesome!
Nickman
 
Posts: 6
Joined: Tue Feb 25, 2014 5:34 am
languages_spoken: english
ODROIDs: ODROID-U2 ODROID-C1

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby meveric » Sun Mar 26, 2017 12:47 am

Nickman wrote:Any idea when the new release is happening for the C1 (trough the update process)?

Actually right now: viewtopic.php?p=184349#p184349
Nickman wrote:Moonlight is something I was hoping to be added to this awesome image and now you managed to integrated it which is awesome!

Moonlight already was and still is available through manual installation.
Just install moonlight-embedded if you use the starter from the menu you should already be good to go, although I'm not sure of the state of the C1 support, that one was always tricky to get to work and I might actually prepare some special update just for the C1 to get it to work properly.
Anyway I also have the Luna plugin available if you want to use it, point your Kodi to /usr/local/share/setup-ogst/Kodi/ and you'll find the Luna addon for Kodi in there. It's a separate program and needs to be started manually.

Please note, that I haven't tested moonlight on the C1 recently, as my last attempts were quite frustrating and I got fed up with it.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7670
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Nickman » Sun Mar 26, 2017 5:54 am

So, I installed the latest C1 image and it booted up perfectly.
I then did the update instructions:
Code: Select all
apt-get update && apt-get upgrade && apt-get dist-upgrade


I got several errors during the calls and had to restart the update proces about 4 times because some packages did not want to update or some other command needed to be executed to resolve an issue until finally no more errors were shown (trough SSH).
Log: http://pastebin.com/vzE24QMb
Before this pastebin I also did an apt-get update on the console itself before doing it remote. After rebooting, kodi still started but I saw some missing images in the ubuntu menu bar. Exiting Kodi also gave me a black screen, thats the reason I switched to SSH. I don't have a log of this update though.

After rebooting the C1, it does not boot into graphical mode anymore, I get this screen:
https://snag.gy/c7gGNR.jpg

Any suggestions or do I just start over?

I'm using a SanDisk 32GB microSD card
Nickman
 
Posts: 6
Joined: Tue Feb 25, 2014 5:34 am
languages_spoken: english
ODROIDs: ODROID-U2 ODROID-C1

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby meveric » Sun Mar 26, 2017 8:31 am

Ok, I've checked your pastebin... up to 304 that was an issues with installed packages unrelated to an updated.
All packages that had issues here python and libreoffice are part of Debian itself and has nothing to do with me or my work.
All updates until 1074 look fine, no issues here.
1330 until 1333
Here is something going wrong. It seems there's still an old version 15.2 of Kodi installed which conflicts with the addons for Kodi 16 which is not surprising.
Kodi 16 should have been installed before Kodi-addons to avoid this issue :(
I didn't know Kodi 15 was still in use somewhere, but I guess I can change the kodi-addons package to require Kodi 16.
But that was at least fixed on the second run in line 1551.
rest looks fine and I can't see any issues here.

I'm not quite sure what could be the issue, here, the boot log at the end actually looks "fine" except for the video issue at the end.

Let me try to update my version of C1 to see if I get issues as well.

Edit:
ok found the problem, that was actually my bad I had a typo in one command which resulted in an empty entry in /etc/fstab.
If you can edit that file on another Linux/Mac you need to change UUID= to UUID=6E35-5356.

If you can't edit the file, you probably have to start with a clean image again.. the issue is fixed by now, but it only works for new updates.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7670
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Nickman » Mon Mar 27, 2017 12:49 am

I started from a clean image (as I could not access the file) and now it works!
Still had to restart 2 times to get everything trough but in the end everything seems to boot up just fine.
Gonna check out the emulators and moonlight soon to see if everything works smoothly.

Thanks for all the hard work Meveric!
Nickman
 
Posts: 6
Joined: Tue Feb 25, 2014 5:34 am
languages_spoken: english
ODROIDs: ODROID-U2 ODROID-C1

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Nickman » Thu Apr 20, 2017 3:45 am

So I've tried booting up moonlight and it seems to be going fine as it detects my PC and my game library (inside kodi with Luna or directly from the menu) but as soon as I want to launch steam I get a very short startup sound which stops after half a second and then nothing, the whole thing freezes.
When I look on my PC the gamestream seems to have started and the steam bigscreen mode is started but nothing on my TV.

Ive tried 1080p and 720p combinations with no difference.

Any suggestions on how to debug this or look for a solution Meveric?
Nickman
 
Posts: 6
Joined: Tue Feb 25, 2014 5:34 am
languages_spoken: english
ODROIDs: ODROID-U2 ODROID-C1

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby meveric » Thu Apr 20, 2017 6:18 am

I haven't really tried moonlight on the C1. There are a lot of permissions that need to be set to make it work.
And last time I tried I spend several days to get it to work and it wasn't working correctly and I got very frustrated.
It SHOULD work though. I just never got around to check what is needed to get it work.

If I have a little more time I'll check on it again to find out how to get it to work.
User avatar
meveric
 
Posts: 7670
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Jojo » Tue Jul 25, 2017 8:48 pm

Hi meveric,
could you somehow integrate the latest overclocking feature into your OGST image for the C1? You know there have been changes in february, IIRC. I think this could further improve gaming experiances on the C1. ATM, after update/upgrade/dist-upgrade, there is no possibility to change the max. CPU clock via boot.ini, as it works on the official image. Or did I miss something?

Greetings!

[edit]
oops, it was not february... anyway, here's the topic:
https://forum.odroid.com/viewtopic.php?t=24764
How to ask questions the smart way:
http://www.catb.org/esr/faqs/smart-questions.html
Jojo
 
Posts: 430
Joined: Mon May 18, 2015 12:13 am
Location: Germany
languages_spoken: english, german
ODROIDs: C1, C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby meveric » Tue Jul 25, 2017 10:04 pm

Since the Kernel is from end of March, but the CPU changes were already done in Nov. last year it's already included Kernel wise.

I checked the boot.ini and yes, I'm missing a couple of patches here. I'll look into it.
Not sure if I'm gonna update the Kernel though, the latest patches don't look very useful to me and amcapture was disabled, I'm not sure if that's a good thing. I know some where using the C1 for ambilight and it could be that they require this capture device. Therefore I just keep the Kernel the same for now.

Give me a little while to check on the boot.ini patches.. there were a couple of changes I need to integrate and test on OGST and Debian Jessie images.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7670
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Jojo » Tue Jul 25, 2017 10:34 pm

meveric wrote:Since the Kernel is from end of March, but the CPU changes were already done in Nov. last year it's already included Kernel wise.

I checked the boot.ini and yes, I'm missing a couple of patches here. I'll look into it.
Not sure if I'm gonna update the Kernel though, the latest patches don't look very useful to me and amcapture was disabled, I'm not sure if that's a good thing. I know some where using the C1 for ambilight and it could be that they require this capture device. Therefore I just keep the Kernel the same for now.

Give me a little while to check on the boot.ini patches.. there were a couple of changes I need to integrate and test on OGST and Debian Jessie images.

Great, thanks! Take your time, no hurry :) . I am ready for testing as well!
How to ask questions the smart way:
http://www.catb.org/esr/faqs/smart-questions.html
Jojo
 
Posts: 430
Joined: Mon May 18, 2015 12:13 am
Location: Germany
languages_spoken: english, german
ODROIDs: C1, C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby meveric » Sat Jul 29, 2017 7:18 pm

Pushed an update that should take care of the changes of the boot.ini: viewtopic.php?p=198050#p198050
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7670
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Jojo » Mon Jul 31, 2017 4:23 pm

meveric wrote:Pushed an update that should take care of the changes of the boot.ini: viewtopic.php?p=198050#p198050

That's great, thank you!
I will give it a try when I am back home and report back the results.

Greetings

[EDIT]
I just made a complete system update/upgrade and I can confirm, that the overclocking feature is available and working. Currently I am running my C1 OGST at 1,73 GHz stable under full load on all cores.
I didn't have time to make intensive tests regarding gaming performance, but I expect it to be slightly better.
[/EDIT]
How to ask questions the smart way:
http://www.catb.org/esr/faqs/smart-questions.html
Jojo
 
Posts: 430
Joined: Mon May 18, 2015 12:13 am
Location: Germany
languages_spoken: english, german
ODROIDs: C1, C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Meeuuh9455 » Tue Aug 08, 2017 4:57 pm

Hi meveric,

I test your GameStation/ debian build for thé C1 : you made an awesome job..

I've just a problem with emulationstation (i know you're not a fan) but it always crash on all emulator exit.. i test n'est compil from github but same result. Do you have an Idea?

Regards
Meeuuh9455
 
Posts: 30
Joined: Wed Mar 30, 2016 8:01 pm
languages_spoken: english, french
ODROIDs: C1 (openelec), C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby meveric » Tue Aug 08, 2017 5:28 pm

What do you mean by it crashes?
That it get killed and starts all over again and does not go back to where you left?
Or does it crash with an error and you have to start it manually again?
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7670
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Meeuuh9455 » Tue Aug 08, 2017 5:40 pm

It crash when i exit a game with an error (msg font error on terminal) and i've to restart it.. (i dont use tour restant script for the moment)

I installed last year emulationstation on intel nuc (debian stretch) but i didn't have this problem.. the thing is emulation is better on Linux arm than Linux x86
Meeuuh9455
 
Posts: 30
Joined: Wed Mar 30, 2016 8:01 pm
languages_spoken: english, french
ODROIDs: C1 (openelec), C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby meveric » Tue Aug 08, 2017 8:56 pm

I rarely use EmulationStation, so I haven't seen that issue yet.
Have you updated the image with the latest packages via apt-get?
I'll try later to see if I can replicate the issue, still issues with C1 rarely can be fixed due to the different issues the C1 has it's very different to all other boards.
Still I see what I can find, or if I can replicate this issue at all.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7670
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Meeuuh9455 » Tue Aug 08, 2017 11:34 pm

Yes, i've updated the image and compile an other version from github.
So i will try other web search with error code.
Regards
Meeuuh9455
 
Posts: 30
Joined: Wed Mar 30, 2016 8:01 pm
languages_spoken: english, french
ODROIDs: C1 (openelec), C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby meveric » Wed Aug 09, 2017 3:23 am

just tested EmulationStation on my C1.
Worked without any issue. No crash. It hung a few times and got restarted by my script but aside from that everything is fine.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7670
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Meeuuh9455 » Wed Aug 09, 2017 4:33 am

Thanks you for tour feedback.. the problem is about my config..

The error is the same as un this subject :
viewtopic.php?t=23549

"root/sources/Games/EmulationStation/es-core/src/resources/Font.cpp:536: void Font::renderTextCache(TextCache*): Assertion `*it->textureIdPtr != 0' failed."
Meeuuh9455
 
Posts: 30
Joined: Wed Mar 30, 2016 8:01 pm
languages_spoken: english, french
ODROIDs: C1 (openelec), C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby meveric » Wed Aug 09, 2017 5:13 am

As far as I remember on the C2 thread this was the fbdev version of EmulationStation that was causing issues, due to the lack of proper X11 drivers at that time.
The C1 has X11 drivers and shouldn't have that issue.
But I made some changes on SDL2 recently, maybe that caused some issue, that's why I try again with the current version of SDL2...

.... time passes by ....

Yep it seems the new SDL2 version causes an issue here o_O
I'll try to compile EmulationStation against the new SDL2 2.0.5 and see what happens.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7670
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby meveric » Wed Aug 09, 2017 7:09 am

Ok, I've uploaded a new version of EmulationStation (actually with quite some changes) and that should work fine with SDL 2.0.5.
viewtopic.php?p=198932#p198932
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7670
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Meeuuh9455 » Wed Aug 09, 2017 3:15 pm

Thank you on behalf of debian and odroid.. :)

I will test this tonight.

edit :
i've now an other error on exit a game :
Lvl0: Error créatine SDL Windows
Could not create GLES Windows surface...

An Idea??
Meeuuh9455
 
Posts: 30
Joined: Wed Mar 30, 2016 8:01 pm
languages_spoken: english, french
ODROIDs: C1 (openelec), C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Jojo » Mon Sep 04, 2017 7:11 am

Hi meveric,

after a long time I updated my C1-OGST. First I thought that everything would be fine - until I wanted to start a SNES game.

Problem: the previous default core "Snes9x next" seems to be missing now (retroarch says "core can not be loaded" and "No core"). I tried switching to another core, but the only SNES core left was the "Snes9x" (w/o "next"). This core has much worse performance than the previous one.
Can you give me any hints how to fix that? The image is still configured in 32 bpp mode, nothing changed here.

Thanks and greetings!
How to ask questions the smart way:
http://www.catb.org/esr/faqs/smart-questions.html
Jojo
 
Posts: 430
Joined: Mon May 18, 2015 12:13 am
Location: Germany
languages_spoken: english, german
ODROIDs: C1, C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby meveric » Mon Sep 04, 2017 7:38 am

can you check /home/odroid/.config/retroarch/retroarch.cfg
Check for libretro_directory it should say:
Code: Select all
libretro_directory = "/usr/local/share/retroarch/cores/"

previously it was libretro_directory = "/usr/local/share/retroarch/cores/good"
but that is no longer used, so make sure it's the correct path.

Also you can use apt-cache search libretro snes to check the currently available SNES cores.
snes9x2002 was previously known as pocketsnes and is probably the fastest
snes9x2010 was previously known as snes9x-next they kinda renamed all cores.

If you want to change the core you have to edit /usr/local/bin/snes-xbmc and exchange the name of the core.
I should probably install snes9x2002 by default as well and make a switch for the C1 to load the snes9x2002 instead.

Although, I rebuild all cores with higher optimization.. I haven't tested all of them on the C1 yet though.. can you give me an example of a game that runs too slow so I can try it with the new cores?
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7670
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Jojo » Tue Sep 05, 2017 4:19 pm

Hi meveric,

thanks a lot for your support! Sadly, I totally forget to test these things yesterday evening. I hope I will be able to give it a try today evening. In any case I will report my results.

meveric wrote:Although, I rebuild all cores with higher optimization.. I haven't tested all of them on the C1 yet though.. can you give me an example of a game that runs too slow so I can try it with the new cores?

One of the games, that runs slower is Super Mario Kart. It is not too slow, but it runs just not as fluent as it did before. Anyway, let me check my core configuration.

Greetings!
How to ask questions the smart way:
http://www.catb.org/esr/faqs/smart-questions.html
Jojo
 
Posts: 430
Joined: Mon May 18, 2015 12:13 am
Location: Germany
languages_spoken: english, german
ODROIDs: C1, C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Meeuuh9455 » Tue Sep 05, 2017 11:05 pm

Hi,

For me libretro snesx 2010 works great if i select openal audio plugin and i stop pulseaudio (or add load-module module-udev-detect tsched=0 in /etc/pulse/default.pa).

I've got performance problem with libretro mupen64plus (choppy sound and game slow).
But when the sound is disabled, its works fine.. i don't know if it's a configuration problem or if it's a lack of cpu..
Did someone use it?
Regards,
Meeuuh9455
 
Posts: 30
Joined: Wed Mar 30, 2016 8:01 pm
languages_spoken: english, french
ODROIDs: C1 (openelec), C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby meveric » Tue Sep 05, 2017 11:36 pm

N64 is very demanding, even on the XU4 which is 4 times as fast as the C1 it's not always working full speed.
Using the mupen64plus standalone will probably give you best results.
I will update both mupen64plus libretro core as well as mupen64plus standalone soon, as both got a few optimizations from me and should work a little better now, but generally the C1 is a rather slow board CPU wise (at least compares to other ODROIDs) and it's expected to run slow on demanding emulators such as N64.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7670
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Meeuuh9455 » Tue Sep 05, 2017 11:52 pm

Ok, thank you for your feedback.

I'll test mupen64plus and wait the libretro update.

Regards,
Meeuuh9455
 
Posts: 30
Joined: Wed Mar 30, 2016 8:01 pm
languages_spoken: english, french
ODROIDs: C1 (openelec), C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby meveric » Wed Sep 06, 2017 6:49 am

I checked on the new mupen64plus standalone and libretro core on the C1 and once again, the C1 sucks ;)
I have sound delay, but that could be a configuration issue.
N64 generally didn't work very well.. mupen64plus could play Super Mario 64 at full speed, but that was about it.. Other games were not working as good.

@Jojo
I couldn't reproduce the issue with SNES emulator.. neither the default one nor the new ones had speed issues with Super Mario Kart.
Although I tried it in 1024x600 at the moment, but still.. as long as you don't try it at 1080p it should work fine with the stock snes9x core.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7670
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Meeuuh9455 » Wed Sep 06, 2017 5:19 pm

meveric wrote:I checked on the new mupen64plus standalone and libretro core on the C1 and once again, the C1 sucks ;)
I have sound delay, but that could be a configuration issue.
N64 generally didn't work very well.. mupen64plus could play Super Mario 64 at full speed, but that was about it.. Other games were not working as good.


Ok. I tested again actual mupenplus and libretro core, and i have got better result with libretro.
I've compiled retropie on debian my intel nuc and i will compare the gfx/input plugin difference...
Meeuuh9455
 
Posts: 30
Joined: Wed Mar 30, 2016 8:01 pm
languages_spoken: english, french
ODROIDs: C1 (openelec), C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby meveric » Wed Sep 06, 2017 6:45 pm

Meeuuh9455 wrote:Ok. I tested again actual mupenplus and libretro core, and i have got better result with libretro.

That's most likely a falsely configured mupen64plus emulator, in all cases and all boards I've tried mupen64plus had always the better results.
Especially in higher resolutions.
The new libretro core I have is rather good on the XU4, but only if you render in 640x480 or below resolution (scaled to 1080p).
mupen64plus has the same performance in 1080p render resolution.

Meeuuh9455 wrote:I've compiled retropie on debian my intel nuc and i will compare the gfx/input plugin difference...

Input shouldn't matter at all.. RSP and GFX are the plugins that define quality and speed.
RSP = HLE or CXD4
GFX = rice, GLideN64, glide64mk2

The current mupen64plus core for retroarch should be based on the old GLupeN64 core which was entirely build around GLideN64 as far as I remember.

The old libretro core was renamed to parallel_n64 and is based on the ParaLLEl engine and the old GFX cores, Glide64, glN64 and rice, angrylion, together with "ParaLLEl" which was developed for Vulkan support.
Still the core is hard to compile and often causes issues, or doesn't compile/link at all. So it's rather hard to say if it's working at all.

Still especially on the C1 not everything is working correctly due to issues with the color depth not even all GPU Cores will work at all.

Overall N64 is really messy, especially on ARM.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7670
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Meeuuh9455 » Wed Sep 06, 2017 9:36 pm

You're right. My results are better with libretro, because i use lower (upscaled) resolution.
It doesn't work for me under mupenplus. That's why i found libretro better.

I read the same things about N64 emulation under arm, because i was looking for an other emulator.. i understood than parallel/vulkan support was for new gpu/pc graphics card.. no??
Meeuuh9455
 
Posts: 30
Joined: Wed Mar 30, 2016 8:01 pm
languages_spoken: english, french
ODROIDs: C1 (openelec), C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby meveric » Thu Sep 07, 2017 12:36 am

Meeuuh9455 wrote:You're right. My results are better with libretro, because i use lower (upscaled) resolution.
It doesn't work for me under mupenplus. That's why i found libretro better.

The C1 has major issues with color depth, or better with the Alpha Channel and how it's handled. Some application can't run in 32bit, as the screen will stay black due to the alpha channel issue.
One solution is to change the color depth in the boot.ini.
Mupen64plus standalone for example only runs in 16 bpp. And only rice and glide64mk2 are working.
Other ODROIDs don't have this issue, it's kinda unique to the C1.

Also on my tests, even 640x480, or 320x240 resolution in mupen64plus was slower than 1024x600 in mupen64plus libretro. You could hear it instantly on the sound issues.
Mario 64 had laggy sound even on 320x240 in libretro for me, while on mupen64plus it was working full speed in higher resolution.
But as I said, not many games are actually working fluently.

Meeuuh9455 wrote:I read the same things about N64 emulation under arm, because i was looking for an other emulator.. i understood than parallel/vulkan support was for new gpu/pc graphics card.. no??

Vulkan is a new graphics API same as DirectX, OpenGL, OpenGL ES, etc..
Vulkan is suppose to be universal. Code that is written in Vulkan should work the same on Windows, Linux, Mac, Android, iOS, etc. as long as the GPU supports Vulkan an applications should work nearly the same on all systems with none or only minimal changes for these systems.
But therefore a GPU must be Vulkan compatible, and a requirement for Vulkan is at least OpenGL ES 3.1 support.
The ODROID C1 has mearly OpenGL ES 2.0 support, and therefore will never have Vulkan support.

Technically the ODROID XU4 has OpenGL ES 3.1 support but currently there are no Vulkan drivers for it either.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7670
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Jojo » Fri Sep 08, 2017 5:40 am

Dammit! Somehow I managed to trash the boot partition of my SD card :roll: . Can you give me a hand how to recover it? Actually, it is just completely empty. I have a backup, but this is from before several updates/upgrades. Is there a way to copy the necessary files there manually?

Greetings
How to ask questions the smart way:
http://www.catb.org/esr/faqs/smart-questions.html
Jojo
 
Posts: 430
Joined: Mon May 18, 2015 12:13 am
Location: Germany
languages_spoken: english, german
ODROIDs: C1, C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby meveric » Fri Sep 08, 2017 6:11 am

Since it's a fat partition you can plug it into any other PC and copy the correct files there again.
Let me know if you don't have the files, I can probably upload it somewhere.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7670
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Jojo » Fri Sep 08, 2017 8:53 pm

meveric wrote:Since it's a fat partition you can plug it into any other PC and copy the correct files there again.
Let me know if you don't have the files, I can probably upload it somewhere.

That would be highly appceciated! I already tried the content of the boot partition of my old backup, but this does not boot (expected). Of course I can try to restore the files by myself, if you can tell me how ;) .

Thanks!
How to ask questions the smart way:
http://www.catb.org/esr/faqs/smart-questions.html
Jojo
 
Posts: 430
Joined: Mon May 18, 2015 12:13 am
Location: Germany
languages_spoken: english, german
ODROIDs: C1, C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Jojo » Sun Sep 10, 2017 8:08 pm

Hi,

I have figured out a plan how to repair this by myself: I would set up a complete new system on another SD card, do a full update/upgrade/dist-upgrade, and then copy the boot partition content of this freshly upgraded system onto the boot-partition of my original system's boot partition. Is there a chance that this will work or did I miss something?

Greetings
How to ask questions the smart way:
http://www.catb.org/esr/faqs/smart-questions.html
Jojo
 
Posts: 430
Joined: Mon May 18, 2015 12:13 am
Location: Germany
languages_spoken: english, german
ODROIDs: C1, C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby meveric » Sun Sep 10, 2017 10:17 pm

Yes that would work..
But I also just finished uploading my bootfs. You can download it from here: https://oph.mdrjr.net/meveric/other/C1/BOOT.7z
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7670
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Jojo » Mon Sep 11, 2017 1:30 am

Thanks a ton for your support! I tried your files (just copied them to the boot partition), but sadly the C1 still doesn't boot. The blue LED is on constantly. What about the driver modules? Might there be some kind of incompatibility?

Greetings

[edit]
one step further: I missed to cope the device tree file to the boot partition. Now it boot up until it hangs somewhere... I'll check that
How to ask questions the smart way:
http://www.catb.org/esr/faqs/smart-questions.html
Jojo
 
Posts: 430
Joined: Mon May 18, 2015 12:13 am
Location: Germany
languages_spoken: english, german
ODROIDs: C1, C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby meveric » Mon Sep 11, 2017 2:11 am

Ah sorry, I forgot the device tree file :(

Technically kernel and /lib/modules need to match, but as long as you have /lib/modules/3.10.104 it should be fine.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7670
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Jojo » Mon Sep 11, 2017 4:24 am

meveric wrote:Ah sorry, I forgot the device tree file :(

No problem, I have to say, that I am a little bit proud to have it found by myself ;) .

Anyway, actually, I don't get it booting up again. Neither with my original SD card, nor with a cloned one. Atm, I am glad to have access to the main file system, so I think I am going to try to flash a completely new image and replace the boot content with yours and the file system content with that from my actual SD card. Actually, its a real mess. One more reason to make backups more regularly... :roll: .

Greetings
How to ask questions the smart way:
http://www.catb.org/esr/faqs/smart-questions.html
Jojo
 
Posts: 430
Joined: Mon May 18, 2015 12:13 am
Location: Germany
languages_spoken: english, german
ODROIDs: C1, C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby meveric » Mon Sep 11, 2017 5:01 am

let me know if you need anything else..
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7670
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby Jojo » Thu Sep 14, 2017 12:12 am

Yesss, I got it working again! I think I had a corrupted device tree file, which kept my system with your boot files from booting up.
So I went for the long road: set up a complete new system on a second SD card, apt-get update/upgrade/dist-upgrade, and then copied the all files from this boot partition to the boot partition of my original SD card. And voilà, it works again :D !

About the cores (my original question was about before trashing everything ;) ): I found, that there was only one SNES core file in retroarch's target directory. For some reason, I found that the other SNES cores were inside my Download directory :? . I just copied them into the retroarchs directory and that seemd to do the trick.

Now only two "problems" left:
1. when I try to run a game from retroarch's "Load recent" menu, it tries to start the game with the core it had been started with before. How do I tell retroarch to also start "Load recent" games with another core?
2. when starting retroarch by my desktop shortcut, it still says "No core" and I have to select my desired core every time I start retroarch. How do I set a core to be the default core loaded on startup? Editing "/usr/local/bin/snes-xbmc" as you mentioned did not work.

THANKS and greetings!
How to ask questions the smart way:
http://www.catb.org/esr/faqs/smart-questions.html
Jojo
 
Posts: 430
Joined: Mon May 18, 2015 12:13 am
Location: Germany
languages_spoken: english, german
ODROIDs: C1, C2

Re: [OS] ODROID GameStation Turbo with Kodi for C1

Unread postby meveric » Thu Sep 14, 2017 7:04 am

Jojo wrote:1. when I try to run a game from retroarch's "Load recent" menu, it tries to start the game with the core it had been started with before. How do I tell retroarch to also start "Load recent" games with another core?

Sadly that's not possible as far as I know, but if you start the same game with different cores, it should be listed multiple times under recent.
Maybe this would be a feature to suggest the retroarch guys to include in one of their next versions.
Jojo wrote:2. when starting retroarch by my desktop shortcut, it still says "No core" and I have to select my desired core every time I start retroarch.

If you start retroarch without any arguments it's always booting into a blank emulator.
In earlier versions there was an option: libretro_path which was pointing to the last core that was used, and this also started that core once you started retroarch, but I think that option was removed in later versions.

Jojo wrote:How do I set a core to be the default core loaded on startup?

I don't think that is supported anymore as it will scan the cores folder for available cores, and when you select a rom, it will ask what core it should use to start it with.

Jojo wrote:Editing "/usr/local/bin/snes-xbmc" as you mentioned did not work.

Editing snes-xbmc only works if you start a game with that command, not if you start retroarch itself.
You should use snes-xbmc <Path-to-ROM-file> to start the rom with the respective core, as snes-xbmc will start retroarch together with the core it's suppose to use
Code: Select all
retroarch -L <Path-to-libretro-core> <Path-to-ROM-file>
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7670
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

PreviousNext

Return to Projects

Who is online

Users browsing this forum: No registered users and 3 guests