Hi, I'm developing a Linux application that should do graphics without X. It's not a game, but I think my question is highly relevant for game-programmers. So I hope it's not off-topic.
I excluded some solutions.
- (S)VGALib is not usable with modern graphics cards/firmware.
- SFML needs X.
- Coding the hardware framebuffer directly (without using the FB device driver) is not portable across graphics cards and doesn't provide any advantage.
I have narrowed down my options to (a) framebuffer device, (b) SDL1.2 and (c) SDL2.
(a) I can't find thorough information on how to use the FB. Do I need to read the linux kernel sources for this?
(b) and (c) Is SDL without X possible? What are the differences between 1.2 and 2? Do I need to buy a book to learn coding for SDL?
Any further recommendations?
Greetings
Peter