LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Manjaro
User Name
Password
Manjaro This forum is for the discussion of Manjaro Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 08-11-2021, 11:15 AM   #1
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,667

Rep: Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711
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?
 
Old 08-12-2021, 02:38 PM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,667

Original Poster
Rep: Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711
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!
 
Old 08-13-2021, 02:23 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
I can check tonight on my Archlinux machine (not pinebook), but I have to run now... you could remind me if I forget.
 
Old 08-14-2021, 07:07 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by wpeckham View Post
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
 
Old 08-14-2021, 08:00 AM   #5
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,667

Original Poster
Rep: Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711
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.
 
Old 08-15-2021, 12:39 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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 View Post
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.
 
Old 08-15-2021, 09:54 AM   #7
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,667

Original Poster
Rep: Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711
Quote:
Originally Posted by ondoho View Post
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.
 
Old 08-15-2021, 12:43 PM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by wpeckham View Post
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).
 
Old 08-15-2021, 04:31 PM   #9
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,667

Original Poster
Rep: Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711Reputation: 2711
Quote:
Originally Posted by ondoho View Post
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!

Last edited by wpeckham; 08-15-2021 at 04:41 PM.
 
Old 08-16-2021, 01:21 AM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Glad you got it solved!
 
Old 03-16-2023, 01:41 AM   #11
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,658

Rep: Reputation: 255Reputation: 255Reputation: 255
it looks a nice game actually,...

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Destination Linux 131 - Endeavour OS, Deepin, OnlyOffice, Silverblue, Pinebook Pro, Ubuntu Mate, GPD LXer Syndicated Linux News 0 07-25-2019 06:41 AM
LXer: Linux 5.2, Debian 10, Pinebook Pro, Mageia, Whonix, GRUB, Valve, Zorin, Mint | This Week in Linux 73 LXer Syndicated Linux News 0 07-10-2019 06:43 AM
Video : New PINE64 Products. PineBook Pro, PinePhone, PineCam, PineH64 NicoD SBC Linux - Embedded & Single-board computer 2 02-06-2019 04:37 PM
LXer: Free and Open Source Game Mari0 Released (Mario Meets Portal) LXer Syndicated Linux News 0 03-04-2012 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Manjaro

All times are GMT -5. The time now is 09:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration