LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Manjaro (https://www.linuxquestions.org/questions/manjaro-119/)
-   -   Mari0 on Pinebook Pro (https://www.linuxquestions.org/questions/manjaro-119/mari0-on-pinebook-pro-4175699026/)

wpeckham 08-11-2021 11:15 AM

Mari0 on Pinebook Pro
 
Greetings all,
I have a Pinebook Pro (AARCH64 architecture) running Manjaro 21.08 with the 5.13.7-1 Manjaro ARM kernel and XFCE 4.13/XFWM desktop.
I installed Mari0 using pacman,, but when it runs I get this error
Code:

WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement
libGL error: unable to load driver: rockchip_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: rockchip
libGL error: unable to load driver: rockchip_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: rockchip
Error: bad light userdata pointer
stack traceback:
        [string "boot.lua"]:637: in function <[string "boot.lua"]:633>
        [C]: at 0xffff9a6680d4
        [C]: in function 'require'
        [string "boot.lua"]:416: in function <[string "boot.lua"]:311>
        [C]: in function 'xpcall'
        [string "boot.lua"]:645: in function <[string "boot.lua"]:639>
        [C]: in function 'xpcall'

The rockchip_dri.so file is found at /usr/lib/dri/rockchip_dri.so

Any clues that might help me?

wpeckham 08-12-2021 02:38 PM

UPDATE
 
I checked a few of the webified instances where you can play online, and those also seem to be failing. My problem may not be my platform, exactly!

ondoho 08-13-2021 02:23 AM

I can check tonight on my Archlinux machine (not pinebook), but I have to run now... you could remind me if I forget.

ondoho 08-14-2021 07:07 AM

Quote:

Originally Posted by wpeckham (Post 6274737)
I checked a few of the webified instances where you can play online, and those also seem to be failing. My problem may not be my platform, exactly!

Hum. I installed mari0 and it runs just fine. No OpenGL errors.
This is an Archlinux desktop with Intel Corporation HD Graphics 530, i915 driver, OpenGL stuff is installed afaics.

Code:

mari0
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
shader (dotnbloom) is fucked up, yo:
    Cannot compile pixel shader code:
0:31(27): error: `gl_TexCoord' undeclared
0:31(27): error: type mismatch
0:31(27): error: operands to arithmetic operators must be numeric
0:31(21): error: no matching function for call to `fract(error)'; candidates are:
0:31(21): error:    float fract(float)
0:31(21): error:    vec2 fract(vec2)
0:31(21): error:    vec3 fract(vec3)
0:31(21): error:    vec4 fract(vec4)
0:31(16): error: no matching function for call to `dist(error, vec2)'; candidates are:
0:31(16): error:    float dist(vec2, vec2)
0:32(30): warning: `delta' used uninitialized

shader (scanline-3x) is fucked up, yo:
    Cannot compile pixel shader code:
0:31(21): error: `gl_TexCoord' undeclared
0:31(21): error: type mismatch
0:31(17): error: operands to arithmetic operators must be numeric
0:31(16): error: operands to arithmetic operators must be numeric
0:32(29): warning: `level' used uninitialized

shader (scanline-4x) is fucked up, yo:
    Cannot compile pixel shader code:
0:31(21): error: `gl_TexCoord' undeclared
0:31(21): error: type mismatch
0:31(17): error: operands to arithmetic operators must be numeric
0:31(16): error: operands to arithmetic operators must be numeric
0:32(29): warning: `level' used uninitialized


wpeckham 08-14-2021 08:00 AM

My PBP is running LUA 5.4.3 and LOVE 11.3-1. What versions do you have?


If it is not that I might be looking at the video driver or display environment.

ondoho 08-15-2021 12:39 AM

Same versions. mari0 itself is 1.6.2-3. It only depends on love, no optional dependencies.
love dependencies (also no optionals there):
Quote:

luajit freetype2 mpg123 openal libvorbis libmodplug sdl2 shared-mime-info
hicolor-icon-theme desktop-file-utils libtheora
Of those I'd say only sdl2 is likely to cause OpenGL errors:
Quote:

Version: 2.0.16-2
Dependencies: glibc libxext libxrender libx11 libgl libxcursor libibus hidapi libusb
One thing I don't understand:
Quote:

Originally Posted by wpeckham (Post 6274737)
I checked a few of the webified instances where you can play online, and those also seem to be failing. My problem may not be my platform, exactly!

Yet (at least part of) the error in post #1 is very platform-specific - so what (similar) errors are you seeing on the Web? Share a link? I should also be able to see that, yes?

BTW, love and mari0 store configuration in ~/.local/share, maybe try removing the love folder there.

wpeckham 08-15-2021 09:54 AM

Quote:

Originally Posted by ondoho (Post 6275309)
Same versions. mari0 itself is 1.6.2-3. It only depends on love, no optional dependencies.
love dependencies (also no optionals there):

Of those I'd say only sdl2 is likely to cause OpenGL errors:


One thing I don't understand:

Yet (at least part of) the error in post #1 is very platform-specific - so what (similar) errors are you seeing on the Web? Share a link? I should also be able to see that, yes?

BTW, love and mari0 store configuration in ~/.local/share, maybe try removing the love folder there.

Good suggestion, but that made no difference.
My SDL2 is 2.0.14

The game site I went to play it online was http://www.freewebarcade.com/game/mari0/ and the exception only stated
Quote:

PWERED BY EMSCRIPTEN.

Exception thrown, see Javascript console
I received a similar message at a couple of other sites.
If it only drops on Pinebook Pro running Manjaro, then it is likely to be something specific to my platform. I have run into very few such compatibility issues, but it is certainly possible.

ondoho 08-15-2021 12:43 PM

Quote:

Originally Posted by wpeckham (Post 6275400)
My SDL2 is 2.0.14

Assuming your system is fully upgraded, this is one of the small differences between Manjaro and ArchLinux. Might have a bearing on things.

Idea: install other love-based games, see if you get the same error. Or maybe just launch 'love' (it displays a moving "no game" screen).

wpeckham 08-15-2021 04:31 PM

Quote:

Originally Posted by ondoho (Post 6275443)
Assuming your system is fully upgraded, this is one of the small differences between Manjaro and ArchLinux. Might have a bearing on things.

Idea: install other love-based games, see if you get the same error. Or maybe just launch 'love' (it displays a moving "no game" screen).

Love 11.3 displays the no-game animation just fine. It must be something about Mari0 or the way it is starting. I will look up other games, and run some startup tests using this one.

Found it while testing the startup! There is a SNAP version or packaging of Mari0, and I must have installed it some while ago. That snap was blocking the startup of the one from the repos. Removing the snap and reinstalling using pacman resolved the issue.

Thank you!

ondoho 08-16-2021 01:21 AM

Glad you got it solved!

Xeratul 03-16-2023 01:41 AM

it looks a nice game actually,...

https://software.manjaro.org/package/mari0


All times are GMT -5. The time now is 11:31 AM.