Skip to content

Instantly share code, notes, and snippets.

@parkerlreed
Last active April 11, 2023 03:39
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parkerlreed/2449dcdc67a1cd9d41aff7d461f58148 to your computer and use it in GitHub Desktop.
Save parkerlreed/2449dcdc67a1cd9d41aff7d461f58148 to your computer and use it in GitHub Desktop.
Games/programs using SDL2 which work with the KMS/DRM output
SDL2
-------------------------------------------
nxegine-evo
freegemas
mari0 (because love uses SDL2)
scrcpy
darkplaces-sdl
gzddom (git)
opentyrian (hg sdl2 branch)
cataclysm-dda (tiles binary)
d{1..2}x-rebirth (Descent 1 and 2. sdl2=1 scons option on compile)
openspades (Ace of Spades. Software mode only)
xonotic-sdl
Ion Maiden
Eduke32
Prey (2006) (https://github.com/MrAlert/sdlcl)
dosbox-x (Cannot get scaling to work https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=dosbox-x-sdl2)
SDL2 but not supported
-------------------------------------------
vkquake (only OpenGL context allowed)
native
-------------------------------------------
retroarch (run from tty)
mpv (-vo=drm)
@Gaboose
Copy link

Gaboose commented Feb 6, 2021

Nice list! Tried Löve2D and nxengine-evo so far and they work great on Raspberry Pi Zero without a DE installed.

Not SDL2, but omxplayer also works with kms/drm (or /dev/fb0, not sure) to play video. Some more programs that use /dev/fb0 (i.e. works from tty): https://archive.fosdem.org/2020/schedule/event/fbdev/attachments/slides/3595/export/events/attachments/fbdev/slides/3595/fosdem_2020_nicolas_caramelli_linux_framebuffer.pdf

@oemsysadm
Copy link

Nice list! Tried Löve2D and nxengine-evo so far and they work great on Raspberry Pi Zero without a DE installed.

Not SDL2, but omxplayer also works with kms/drm (or /dev/fb0, not sure) to play video. Some more programs that use /dev/fb0 (i.e. works from tty): https://archive.fosdem.org/2020/schedule/event/fbdev/attachments/slides/3595/export/events/attachments/fbdev/slides/3595/fosdem_2020_nicolas_caramelli_linux_framebuffer.pdf

Hey from a couple years later, how did you make love2d run withou X on a rpi zero?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment