View Single Post
Old 02-28-2011, 08:11 AM   #1
B_Lizzard
Member
B_Lizzard began at the beginning.
 
Posts: 10
Karma: 24
Join Date: Feb 2011
Device: Kindle 3
Getting SDL to work on DirectFB

So, I've gotten SDL compiled using DirectFB as a backend. SDL_ttf has some issue with TTF_OpenFont so I can't run nethack-newt, but fheroes2 only requires SDL and SDL_image, and seems to run well.

My problem is, I can't get anything to display on the screen. The game starts up, but the Kindle display only shows some brief garbled images here and there. I have DirectFB configured with what Amazon uses in /opt/amazon/ebook/config/wrs.ini. I've tried other configuration options but nothing seems to do the trick. I've also tried to run the game with /etc/init.d/framework stopped. No cigar.

Does anyone with more experience have any idea how to make this work? I don't really know how DirectFB works, so any help would be more than welcome.

EDIT: Of course, SDL over the normal Linux framebuffer was my original choice, but it can't be done because the fbcon driver for SDL needs VT support in the kernel.

Last edited by B_Lizzard; 02-28-2011 at 08:16 AM.
B_Lizzard is offline   Reply With Quote