SDL2 Framebuffer support?

So, what would take to get SDL2 to support the fbdev? I was able to get my code working using SDL 1.2, so I can continue to use that, but it’s a pity not to be able to stay with the latest version.

I’m developing a display using a BeagleBone Black and an attached LCD. There’s some kind of X and desktop/window manager, but I couldn’t figure out how to make SDL2 work with that (various reports of there being no OpenGL, etc.). Performance is not terribly important, as the display shows mostly numbers and graphs that update over minutes, not seconds. Text render quality is more important, and SDL_ttf 2.0 seems to be doing a decent job.

Just thought I’d put all that out there.

Thanks!–
Rick

DirectFB was functional last time i checked. color.z -> color.a if you try
to enable. ./configure --help (| grep -i directfb ).

I’m pro fb driver too :slight_smile:

Hmm. I need this on the BeagleBone Black. I don’t know if it supports DirectFB, nor how to enable it.On Jun 21, 2014, at 08:34 , Juan Manuel Borges Ca?o wrote:

DirectFB was functional last time i checked. color.z -> color.a if you try to enable. ./configure --help (| grep -i directfb ).

I’m pro fb driver too :slight_smile:


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Rick

If the BeagleBone Black supports OpenGL ES, you might be able to get it
working similar to the Raspberry Pi port.

It’s also probably not hard to get it working with software on the
framebuffer console, it just won’t be very fast and nobody has done that
yet.On Sat, Jun 21, 2014 at 12:37 PM, Rick Mann wrote:

Hmm. I need this on the BeagleBone Black. I don’t know if it supports
DirectFB, nor how to enable it.

On Jun 21, 2014, at 08:34 , Juan Manuel Borges Ca?o < juanmabcmail at gmail.com> wrote:

DirectFB was functional last time i checked. color.z -> color.a if you
try to enable. ./configure --help (| grep -i directfb ).

I’m pro fb driver too :slight_smile:


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Rick


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

If the BeagleBone Black supports OpenGL ES, you might be able to get it working similar to the Raspberry Pi port.

Sadly, OpenGL ES is not yet working on the BBB (still waiting on TI to do something).

It’s also probably not hard to get it working with software on the framebuffer console, it just won’t be very fast and nobody has done that yet.

Software-only is fine for my purposes. But I couldn’t get SDL2 to work with whatever the current setup has going on. Debian on the BBB displays a desktop with the attached LCD, and there’s some kind of X and window manager, but I couldn’t get SDL2 to work.

SDL 1.2 seems to do exactly what I want, so I’ll use that for now, just a pity I can’t use 2.On Jun 21, 2014, at 13:18 , Sam Lantinga wrote:

On Sat, Jun 21, 2014 at 12:37 PM, Rick Mann <@Rick_Mann> wrote:
Hmm. I need this on the BeagleBone Black. I don’t know if it supports DirectFB, nor how to enable it.

On Jun 21, 2014, at 08:34 , Juan Manuel Borges Ca?o wrote:

DirectFB was functional last time i checked. color.z -> color.a if you try to enable. ./configure --help (| grep -i directfb ).

I’m pro fb driver too :slight_smile:


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Rick


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Rick