Production Pyra photos/videos/thoughts thread


jakko

Still Fresh
Joined
Feb 4, 2020
Messages
17
Is the keyboard layout in X11 ok again?

If that's the case, there might be different settings for virtual console and for X11. You could check the following things:

Code:
cat /etc/default/keyboard
This one is used in the virtual console.

Code:
gsettings get org.mate.peripherals-keyboard-xkb.kbd layouts
gsettings get org.mate.peripherals-keyboard-xkb.kbd options
gsettings get org.mate.peripherals-keyboard-xkb.kbd model
Those three commands should give information about keyboard layout in MATE.
 

Grench

Forum Addict!
Joined
Oct 3, 2008
Messages
6,622
Slide show of the opening screen closed out. Errors in command line menu.

LibGL error: MESA-LOADER: failed to retrieve device information
LibGL error: unable to load driver: omapdrm_dri.so
LibGL error: driver pointer missing
LibGL error: failed to load driver: omapdrm

Getting there - but still missing something.
 

Grench

Forum Addict!
Joined
Oct 3, 2008
Messages
6,622
Is the keyboard layout in X11 ok again?

If that's the case, there might be different settings for virtual console and for X11. You could check the following things:

Code:
cat /etc/default/keyboard
This one is used in the virtual console.

Code:
gsettings get org.mate.peripherals-keyboard-xkb.kbd layouts
gsettings get org.mate.peripherals-keyboard-xkb.kbd options
gsettings get org.mate.peripherals-keyboard-xkb.kbd model
Those three commands should give information about keyboard layout in MATE.
The keyboard errors I was getting above where when booting to full-on command line with no graphics. Now that I have graphics and Mate is alive, the keyboard mapping seems to be fine and I can type | {}[] and all sorts of characters. Apparently a good chunk of the Fn layer mappings are handled by the DE?
Post automatically merged:

Did you run the `export` command before running supertux?
export command? Not seeing it in the other post. Any additional syntax for that?
https://pyra-handheld.com/boards/th...eos-thoughts-thread.99139/page-7#post-1676896
Post automatically merged:

Oh - I see it now. Yes I did run that before I loaded the mesa package - need it run again now that I ahve that installed I take it?
 

Grench

Forum Addict!
Joined
Oct 3, 2008
Messages
6,622
I reran the export string and glxgears again - and noticed that there is the same collection of four errors that I noted above from attempting Supertux2.
 

Robert Taylor

Very Active Member
Joined
Jun 7, 2017
Messages
211
did you run supertux2 from the terminal you ran export in or menu?

you should run it from the temrinal you ran the export command in.
 
  • Like
Reactions: rSl

Grench

Forum Addict!
Joined
Oct 3, 2008
Messages
6,622
Found it. Error exists between keyboard and screen. I had left the 3 off of DRI3.
Testing.
Post automatically merged:

Supertux2 still in slideshow mode and generating the errors:
LibGL error: MESA-LOADER: failed to retrieve device information
LibGL error: unable to load driver: omapdrm_dri.so
LibGL error: driver pointer missing
LibGL error: failed to load driver: omapdrm
Post automatically merged:

I'm on Central time. Time for the midday cessation of activities for the consumption of mass quantities. I'll be back on after a bit.
 

daveshah

Well-Known Member
Joined
Aug 17, 2008
Messages
261
Location
(Old) Hampshire, UK
Is libGL.so.1 in the `/home/.../gl4es` folder and did you change `david` to your own username?
Post automatically merged:

If everything is working correctly and gl4es used rather than soft OpenGL you should see as output:

Code:
LIBGL: Initialising gl4es
LIBGL: v1.1.3 built on Jun  7 2020 21:34:13
LIBGL: Using GLES 2.0 backend
LIBGL: loaded: libGLESv2.so
LIBGL: loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Full NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax  detected and used
LIBGL: Extension GL_EXT_draw_buffers  detected and used
LIBGL: FBO are in core, and so used
 
  • Like
Reactions: rSl

Grench

Forum Addict!
Joined
Oct 3, 2008
Messages
6,622
Is libGL.so.1 in the `/home/.../gl4es` folder and did you change `david` to your own username?
Post automatically merged:

If everything is working correctly and gl4es used rather than soft OpenGL you should see as output:

Code:
LIBGL: Initialising gl4es
LIBGL: v1.1.3 built on Jun  7 2020 21:34:13
LIBGL: Using GLES 2.0 backend
LIBGL: loaded: libGLESv2.so
LIBGL: loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Full NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax  detected and used
LIBGL: Extension GL_EXT_draw_buffers  detected and used
LIBGL: FBO are in core, and so used
I included 'david' - I figured this was your own version of code to later be pulled into the main Pyra kernel. Doh!

Fixing and testing...
 

Grench

Forum Addict!
Joined
Oct 3, 2008
Messages
6,622
I ran:
# export LD_LIBRARY_PATH=/opt/omap5-sgx-ddk-um-linux/lib/:/home/grench/gl4es DRI3_VSYNC=1

And still get:
$ Supertux2
Slide show with errors:
LibGL error: MESA-LOADER: failed to retrieve device information
LibGL error: unable to load driver: omapdrm_dri.so
LibGL error: driver pointer missing
LibGL error: failed to load driver: omapdrm

So close, but seems to be missing something.
 

daveshah

Well-Known Member
Joined
Aug 17, 2008
Messages
261
Location
(Old) Hampshire, UK
Can you run 'ldd /usr/games/supertux2' (after running the export command) and make sure in the output that libGL.so.1 is pointing to the copy you put in that folder?
 

Grench

Forum Addict!
Joined
Oct 3, 2008
Messages
6,622
The instructions have a download link to libGL.so.1 to put in that folder.
Ahh - I see it now. I had thought all of the commands were in the code boxes.

So - installing Chromium on my Pyra (no web browser by default) so I can download the file directly to it.
 

Grench

Forum Addict!
Joined
Oct 3, 2008
Messages
6,622
Chromium installed, zip file downloaded, extracted, folder created, file copied.
home/grench/gl4es/libGL.so.1 now exists.
Ran the export command as:
# export LD_LIBRARY_PATH=/opt/omap5-sgx-ddk-um-linux/lib/:/home/grench/gl4es DRI3_VSYNC=1
Should that have or not have created a file in the folder? I see no signs or feedback from running the export command. How do I know it was successful or not?
 
Top