How to run OpenGl on linux framebuffer

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?

best regards

Nuno

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

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

Nuno Santos wrote:

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.

You can run SDL without X using the framebuffer, but you won’t have
access to OpenGL.

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?

Such a thing doesn’t exist for all I know.

Stephane

Nuno Santos wrote:

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.

You can run SDL without X using the framebuffer, but you won’t have
access to OpenGL.

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?

Such a thing doesn’t exist for all I know.

Stephane

I thought there was a patch to sdl at some point to use the osmesa library
to enable software rendering for all graphics drivers that didn’t have opengl
support. This would even work with aalib etc…

What I am currently using is glut with software rendering which works on
any framebuffer device, but that isn’t sdl, sorry.On Sat, Nov 11, 2006 at 01:38:34PM +0100, Stephane Marchesin wrote:


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Hi Sean,

Can you give me more information about that?

I was only working with SDL because it provided me the framebuffer
graphic support.

I’m curious about that.

Best regards,

NunoEm Nov 11, 2006, ?s 10:19 PM, Sean D’Epagnier escreveu:

On Sat, Nov 11, 2006 at 01:38:34PM +0100, Stephane Marchesin wrote:

Nuno Santos wrote:

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.

You can run SDL without X using the framebuffer, but you won’t have
access to OpenGL.

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?

Such a thing doesn’t exist for all I know.

Stephane

I thought there was a patch to sdl at some point to use the osmesa
library
to enable software rendering for all graphics drivers that didn’t
have opengl
support. This would even work with aalib etc…

What I am currently using is glut with software rendering which
works on
any framebuffer device, but that isn’t sdl, sorry.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl