[SDL] How to run OpenGl on linux framebuffer

Nuno Santos developer at imaginando.net
Sat Nov 11 02:55:50 PST 2006


Yes,

I have read something about it.

I have a nvidia, so i supposed it doesnt work for them.

My idea is to run SDL without the X.

Somebody has told me about a thin X layer that can be use to emulate X 
but it doesnt go into the windows at all.

Does any body knows something about this?

Cheers,

Nuno

Stephane Marchesin escreveu:
> 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
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
>   





More information about the SDL mailing list