I'm hoping this is something simple. I am writing an app for an embedded linux platform from my Ubuntu linux desktop. The app itself works fine under X11. I can also get it to work using the fbcon driver and /dev/fb0.
However, if I putenv("SDL_VIDEODRIVER=directfb");
i get the error "No available video device"
I'm still pretty new to SDL so I'm not sure what's going on. I have just installed libsdl on my ubuntu desktop using 'apt-get install libsdl'. So does the standard ubuntu SDL build not have support for DirectFB? Is there something else I need to install/setup/execute before this will work?
Or, more importantly, is there any point/advantage in trying to get DirectFB working when fbcon works fine? I thought that DirectFB would allow me to set video modes correctly and offer some form of hardware acceleration that fbcon will not.