[GAMES] Performous

Post Reply
deuteragenie
Posts: 18
Joined: Fri Jun 07, 2019 4:56 pm
languages_spoken: english
Has thanked: 2 times
Been thanked: 0
Contact:

[GAMES] Performous

Unread post by deuteragenie » Fri Jun 07, 2019 8:32 pm

Hi,

Has anyone tried to compile/run performous (Karaoke game), see https://performous.org/ on Odroid N2 ?

I checked @meveric repository, but it does not seem to be available there.

User avatar
meveric
Posts: 10279
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 13 times
Been thanked: 103 times
Contact:

Re: [GAMES] Performous

Unread post by meveric » Sat Jun 08, 2019 2:12 am

performous is part of the Debian/Ubuntu repository and can be installed with apt.
Still since it's using a lot of "odd" dependencies I don't know if it will work out of the box.
SDL2 will probably try to create an OpenGL ES accelerated window which we do not have for X11 at the moment.
I tried with gl4es (installed monolibs-odroid) and started the game with:

Code: Select all

LIBGL_GL=21 LIBGL_FB=1 LD_LIBRARY_PATH=/usr/local/lib/monolibs/ performous
but it wasn't working.
To be honest, I'm not sure this game will run on the N2.
I will check on other platforms if it's working at all, but I'm not sure about that either.
gl4es had shader compile errors, maybe @ptitSeb can help fixing this.
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.

deuteragenie
Posts: 18
Joined: Fri Jun 07, 2019 4:56 pm
languages_spoken: english
Has thanked: 2 times
Been thanked: 0
Contact:

Re: [GAMES] Performous

Unread post by deuteragenie » Sat Jun 08, 2019 5:27 am

Thanks!

I also installed it from the bionic repository and got a shader compile error. Here are the relevant lines:
Shader color: 0:1: P0007: Language version "120" unkwown, this compiler only supports up to version '320 es'
terminate called after throwing an instance of 'std::runtime_error'
what(): core.vert: Shader compile error.
Further to this, after this error is emitted, the whole system becomes unresponsive and requires a reboot.

Running the application in debug mode also confirms the following:
GL_VENDOR : ARM
GL_VERSION OpenGL ES 3.2 git-c8adbf9...
GL_RENDERER: Mali-G52

For information: I got it to work under Ubuntu / X86, LUbuntu / X86 and Raspberry Pi 3 with the experimental OpenGL drivers enabled (was a just a bit too slow to be nice, but worked otherwise ok), so I presume this is an Odroid (N2) driver related issue.

User avatar
meveric
Posts: 10279
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 13 times
Been thanked: 103 times
Contact:

Re: [GAMES] Performous

Unread post by meveric » Sat Jun 08, 2019 5:50 am

Well since ODROIDs do not support OpenGL it's hard to say what needs to be done.
gl4es is a OpenGL to OpenGL ES wrapper, that's what I hoped for to work here.

But I just started it via MESA OpenGL (software rendering) where it's working.
But only with 6 FPS.
These users thanked the author meveric for the post:
deuteragenie (Sat Jun 08, 2019 6:13 am)
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.

deuteragenie
Posts: 18
Joined: Fri Jun 07, 2019 4:56 pm
languages_spoken: english
Has thanked: 2 times
Been thanked: 0
Contact:

Re: [GAMES] Performous

Unread post by deuteragenie » Sat Jun 08, 2019 6:23 am

Thanks!

The Rpi3 supports OpenGL ES 2.0 (Experimental), and I assume that ES 3.2 is a superset of ES 2.0.
So I was hoping for it to work "as-is". But maybe the Rpi3 supports at least some OpenGL as well. Not sure,

6 FPS with video ? FYI: Video playback can be disabled from the menu. It uses ffmpeg so there is a chance to have it HW accelerated.

Doesn't Mesa support OpenGL > OpenGL ES indirections? See https://www.mesa3d.org/opengles.html

User avatar
meveric
Posts: 10279
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 13 times
Been thanked: 103 times
Contact:

Re: [GAMES] Performous

Unread post by meveric » Sat Jun 08, 2019 6:59 am

deuteragenie wrote:
Sat Jun 08, 2019 6:23 am
Thanks!

The Rpi3 supports OpenGL ES 2.0 (Experimental), and I assume that ES 3.2 is a superset of ES 2.0.
So I was hoping for it to work "as-is". But maybe the Rpi3 supports at least some OpenGL as well. Not sure,
The experimental drivers from RPi3 are not OpenGL ES 2.0 but OpenGL 2.0 and that makes all the difference.
deuteragenie wrote:
Sat Jun 08, 2019 6:23 am
Doesn't Mesa support OpenGL > OpenGL ES indirections? See https://www.mesa3d.org/opengles.html
MESA is not used for ODROIDs, the MESA driver are not supported at all, therefore everything on MESA is simply emulated via CPU.
We have our own drivers libMali.so which is the OpenGL ES drivers, but they are not used by MESA, as MESA has it's own OpenGL and OpenGL ES drivers.
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
AreaScout
Posts: 998
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: german, english
ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
N1, Go, VU5A, Show2, CloudShell2,
H2, N2, VU7A, VuShell
Has thanked: 11 times
Been thanked: 28 times
Contact:

Re: [GAMES] Performous

Unread post by AreaScout » Sat Jun 08, 2019 4:08 pm

deuteragenie wrote:
Sat Jun 08, 2019 5:27 am
Thanks!

I also installed it from the bionic repository and got a shader compile error. Here are the relevant lines:
Shader color: 0:1: P0007: Language version "120" unkwown, this compiler only supports up to version '320 es'
terminate called after throwing an instance of 'std::runtime_error'
what(): core.vert: Shader compile error.
Further to this, after this error is emitted, the whole system becomes unresponsive and requires a reboot.

Running the application in debug mode also confirms the following:
GL_VENDOR : ARM
GL_VERSION OpenGL ES 3.2 git-c8adbf9...
GL_RENDERER: Mali-G52

For information: I got it to work under Ubuntu / X86, LUbuntu / X86 and Raspberry Pi 3 with the experimental OpenGL drivers enabled (was a just a bit too slow to be nice, but worked otherwise ok), so I presume this is an Odroid (N2) driver related issue.
Try to use #version 310 es or #version 100, using 320 es shader version does fail on XU4 too mabe that's the same for N2 ?

RG

deuteragenie
Posts: 18
Joined: Fri Jun 07, 2019 4:56 pm
languages_spoken: english
Has thanked: 2 times
Been thanked: 0
Contact:

Re: [GAMES] Performous

Unread post by deuteragenie » Sat Jun 08, 2019 6:00 pm

For information. In the app, the offending shaders have this header:

#version 330 core

See here: https://github.com/performous/performou ... /core.vert

User avatar
AreaScout
Posts: 998
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: german, english
ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
N1, Go, VU5A, Show2, CloudShell2,
H2, N2, VU7A, VuShell
Has thanked: 11 times
Been thanked: 28 times
Contact:

Re: [GAMES] Performous

Unread post by AreaScout » Sat Jun 08, 2019 9:32 pm

deuteragenie wrote:
Sat Jun 08, 2019 6:00 pm
For information. In the app, the offending shaders have this header:

#version 330 core

See here: https://github.com/performous/performou ... /core.vert
Ok then it's something only ptitSeb can fix

deuteragenie
Posts: 18
Joined: Fri Jun 07, 2019 4:56 pm
languages_spoken: english
Has thanked: 2 times
Been thanked: 0
Contact:

Re: [GAMES] Performous

Unread post by deuteragenie » Sun Jun 16, 2019 4:19 pm

Some updates: I updated the shaders and context to switch the game from OpenGL to OpenGLES. Compiles ok under i386.
Now I need to re-compile it on Odroid N2... and test-run it.

Post Reply

Return to “Games and Emulators”

Who is online

Users browsing this forum: No registered users and 1 guest