1
votes

I'm currently working on a code that uses SDL to display video and as i'm working through ssh, i'm looking for something like a text driver (just need to avoid seing the video because it's so slow).

So what I need is a simple way to avoid screen init and all that stuff that keep my framerate below 15fps :)

Does anyone know something that might help me?

2

2 Answers

4
votes

I'm not sure if that's what you want. But try:

export SDL_VIDEODRIVER=dummy
3
votes

How about using aalib as video driver? This will output all graphics as ascii art. From the SDL FAQ:

Building SDL: make distclean; ./configure --enable-video-aalib ; make install Running your app: set the environment variable SDL_VIDEODRIVER to "aalib".

Cheers