[SDL] The Basic Linux Basic

DARKGuy . dark.guy.2008 at gmail.com
Wed Oct 18 19:35:57 PDT 2006


Agreed with Paulo.

In my own personal opinion by experience:

You don't need Framebuffer unless your game runs in it, which isn't X but
say... when you can make the terminal have background images, or
bootscreens... that's what Framebuffer is in a practical way: a video mode
without X (isn't hardware-accelerated and not very optimized for graphics
speed as X is).

DRI, as I see it, is a way to get direct access to the video card's hardware
(and thus, get awesome hardware acceleration, in 2D too though it's mostly
used and required for 3D), so that's a good option and works wonderfully for
newer video cards.

VESA is an old MS-DOS mode that was used for high-res graphics. It wasn't
very fast with alpha blending and all that flashy stuff that we're used to
see in newer 2D games, but it allowed to run stuff at 1280x1024 (and even
higher) fast enough with a CPU that supported it back in the time. Right
now, I'd see VESA as a compatible video mode for those old video cards which
can't or don't support DRI, have bad drivers, or stuff like that. It would
be a good idea to include it as the most compatible (but slower, maybe)
option.

On 10/18/06, Paulo Pinto <pjmlp at progtools.org> wrote:
>
> Oi Miguel,
>
> You only need the framebuffer driver if you are going to run the
> game without X.
>
> DRI is one of the possible ways for XWindows 3D drivers to access
> the kernel and make X run optimized on local machines.
>
> http://dri.sourceforge.net/doc/DRIintro.html
>
> As for VESA, it is an old graphics standard that started still
> in the old DOS days when graphic card manufacters were trying to
> standardise access to the graphic cards APIs.
> http://en.wikipedia.org/wiki/VESA_BIOS_Extensions
>
>
> If you are building a distro just to make your game playable, like
> those old Amiga games, the framebuffer seems a better option.
>
> However keep in mind that it doesn't support as many graphic cards
> as X.
>
> Cheers,
> Paulo
>
> Miguel wrote:
> > Hi.
> >
> > I´m building a dedicated linux distro to my 2DGame.
> > We´re programing this game totally in SDL, without OpenGL.
> > I´ve used Ansi C ( Not C++ )
> >
> > And the words "DRI", "FrameBuffer", "XOrg" and "Vesa" are concepts that
> cause
> > me some confusion. Mainly when treated togheter or superficially.
> >
> > So, my question is:
> >
> > My SDL dedicated machine/linux need to have... What?
> > - kernel-compiled FrameBuffer ?
> > - XOrg ?
> > - DRI ?
> >
> > I hope somebody can understand my confuse problem (in my poor english).
> >
> >
> >
> > Thank you.
> >
> >
> > _______________________________________________
> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20061018/5a9f624b/attachment.html 


More information about the SDL mailing list