[SDL] How to run OpenGl on linux framebuffer

Stephane Marchesin stephane.marchesin at wanadoo.fr
Sat Nov 11 03:37:19 PST 2006


Nuno Santos wrote:
> Hi,
>
> Which steps do i need to follow in order to have a opengl sdl 
> application running on the linux framebuffer?
>
> Is there any tutorial around to do this?
>
>   
It's not really "which steps" but rather "which chipsets/drivers support 
it".

You can only have opengl over the framebuffer with the free DRI drivers, 
and even then it requires some hacking, both on the driver and on the 
SDL side.
It used to work for me on a radeon 7000, it doesn't any more, but here's 
the SDL patch :
http://icps.u-strasbg.fr/~marchesin/sdl/sdl_fb_miniglx.patch

Stephane





More information about the SDL mailing list