1

I am trying to run an SDL-based application, PICO-8, on a headless Raspberry Pi 3. When I run it locally, everything works fine as it should. When I try to run it via either RealVNC or SSH X11 Forwarding, nothing appears.

This SDL Application is know to run in full screen mode.

Currently, I believe the solution lies down one of two paths: 1) RealVNC with experimental DirectCapture enabled - this succeeded in opening the application in the VNC Viewer, but without any functional keyboard 2) X11VNC - googling seems to show this might be promising, but I have not been able to get it to succeed in even showing the application like RealVNC.

Thoughts?

J Mac
  • 133
  • 5

1 Answers1

1

SDL uses hardware acceleration by default, so the screen cannot be exported. You can create a start skript which forces the x11 video driver:

export SDL_VIDEODRIVER=x11
/your/sdl/app

See SDL_envvars

It's similar for media players which use hardware acceleration by default. To export the screen, you have to configure their video driver option.

Janka
  • 1,736
  • 9
  • 11