Skip to main content

Questions tagged [sdl]

SDL stands for Simple DirectMedia Layer. It is a cross-platform media library written in C, that allows users to simply access grapics, sound, and other input devices.

1 vote
0 answers
785 views

I wrote an emulator and I have a piece of code that syncs audio/video using elapsed time and remaining bytes to play on audio buffer. This works very well. If I remove that piece of code emulator runs ...
Francesco's user avatar
  • 111
0 votes
1 answer
10k views

I have manually installed RetroPie, using the terminal and some tutorials.. Finally ready to start everything up... and then get this error: Error Creating SDL window! Could not get EGL display ...
Maurice L's user avatar
0 votes
0 answers
116 views

I've been developing a game in C using SDL2. It works fine on a Raspberry Pi 3B+. On a Raspberry Pi 4 with 4 GB of RAM, it fails to load one of the graphics because "textures are limited to 4096x4096" ...
David Bolton's user avatar
0 votes
0 answers
597 views

I am trying the simple libvlc demo with libsdl2 from LibVLC Sample Code SDL but I am having issues when running the compiled binary. I get a "Couldn't find matching render driver" error from ...
Paiku Han's user avatar
  • 101
2 votes
1 answer
610 views

Up to and including Raspbian Stretch, I could use a hacked SDL library called SDL12-kms-dispmanx by a developer called vanfanel to run SDL 1.2 code from the console without X. (See here: https://...
TeaRex's user avatar
  • 23
1 vote
0 answers
131 views

I have made quite a lot of games in Ruby2D. I can play them on my PC, laptop. Ruby2D is a lot of fun and works very fast! But for some strange reason I can't get Ruby2D window working on a Raspberry ...
15 Volts's user avatar
  • 147
2 votes
2 answers
530 views

Apparently as someone just joining the community, I cannot ask for clarification on answers. There is no way to message a user, so I'm posting a new question relating to the following post. How can I ...
Stettin's user avatar
  • 131
1 vote
1 answer
250 views

I am trying to run and SDL hardware-accelerated app, PICO,-8 over VNC, and thanks to this community I am making progress! One solution is to use RealVNC with the experimental DirectCapture feature ...
J Mac's user avatar
  • 133
1 vote
1 answer
1k views

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 ...
J Mac's user avatar
  • 133
0 votes
1 answer
1k views

The code bellow just polling mouse events and draw lines between the previous and last mouse coordinates in case of left mouse button pressed down, nothing special and its using only fast integer ...
john_who_is_doe's user avatar
0 votes
2 answers
517 views

When I try to play an audio file using avplay on a raspberry pi3 running raspbian jessie, I get the following error. pi@raspberrypi:~/sounds $ /usr/bin/avplay clip1.wav avplay version 11.9-6:11.9-1~...
Alex Ryan's user avatar
  • 185
1 vote
0 answers
204 views

I'm trying to add RetroFE (using SDL2) to RetroPie as an alternative to EmulationStation. Unfortunately the emulators launch behind the front-end. I've tried hiding the window, minimizing it, etc., ...
Pieter Hulshoff's user avatar
0 votes
1 answer
310 views

I have a RPi 3B with Retropie 4.1 all updated to the latest binaries. I had installed minecraft from the RetroPie-Setup and since then I am getting SDL warnings logged into the console that read "The ...
AtomicFireball's user avatar
0 votes
1 answer
2k views

I migrated a small SDL2 project to my raspberry pi and the performance was just awful. On frames with less textures to render, it runs beyond 60fps. Otherwise, the CPU skyrockets to >90% and the ...
user59319's user avatar
0 votes
1 answer
99 views

I've been using a raspberry pi for two years for coding ( mostly in c++, using SDL2 ). Now feeling I have a sufficient grasp of this library, I would like to try out it's mobile utilities to get stuff ...
Yk Cheese's user avatar

15 30 50 per page