I have a Raspberry Pi with a GPIO display. I currently have it set up as a framebuffer device at /dev/fb1. Is there a way to make it my default or primary display for X windows? I'm ultimately trying to draw graphics to it, I was originally planning on using DirectFB and SDL, but DirectFB is in alpha for the pi. I've tried using SDL1.2 as well since it has Framebuffer support, but I can't figure out how to get SDL to choose a framebuffer device to draw to without using DirectFB.
I considered using SDL to prepare each frame of my simple GUI as a raw image and use mmap to blit it to /dev/fb1 instead of using SDL's built in draw functions, but I feel like this is a poor way to achieve my goal.
I think that if I can get xorg to use my framebuffer device as the primary monitor, I wouldn't have to worry about doing anything special to have SDL draw my image files. But I'm not really sure how xorg really works and if this is possible.
Any insight or help anyone has would greatly help! I've been butting heads with this problem for a week looking at different possibilities.