Here are some instructions to try (I haven't actually tried them verbatim yet so expect problems...).
If you aren't on Buster already, you can start from this image:
https://packages.pyra-handheld.com/rootfs/buster/mate.img.7z
Run:
Code:
sudo apt-get update
sudo apt-get install linux-image-5.6.15-letux-lpae-dave dri3wsegl-pyra xserver-xorg-video-armsoc-omap5
Reboot, and replace /etc/X11/xorg.conf.d/10-fbturbo.conf with the following content (you will need to be root to edit this file):
Code:
Section "Device"
Identifier "Pyra FBDEV"
Driver "omap5"
Option "DRICard" "2" # must point to the /dev/dri/cardX corresponding to omapdrm because detection can sometimes fail
Option "DriverName" "omapdrm"
Option "SoftEXA" "false" # will disable etnaviv acceleration. CPU only EXA is actually faster, but let all the work to A15 core
Option "TilerRotation" "270"
EndSection
Finally, reboot again, and you will now have 3D and X11 playing together. Download a gl4es build from
ds0.me/libGL.so.zip and extract it somewhere (for the sake of below, /home/david/gl4es).
Then, in a terminal, run
Code:
export LD_LIBRARY_PATH=/opt/omap5-sgx-ddk-um-linux/lib/:/home/david/gl4es DRI3_VSYNC=1
glxgears
Make sure that glxgears runs smoothly. If you are connected over SSH or serial, rather than a terminal window on the Pyra itself, you will need to add DISPLAY=:0 XAUTHORITY=~/.Xauthority to the export command.
Finally, in the same terminal, run SuperTux:
Code:
sudo apt-get install supertux
/usr/games/supertux2
Let me know how you get on with this
I do apologise that it isn't as user-friendly as it could be, but it's still a work in progress.
Addendum:
- when I say reboot, I really mean "turn off and on again", soft reboots are still in the progress of being fixed and a patch isn't included in that kernel yet
- if you get spurious '+' button presses, run "sudo rfkill block wwan"