Hi guys,
I’m developing the game with Miguel, and i’m build one basic linux distro
based in debian like he was said for you.
My distro is working with framebuffer, and the game is running on xorg with
fluxbox (that is the smaller desktop enviroment that we can found) but we
are not like the result. It’s with 55fps maximum when some little stops on
animation. At windows it’s not happen.
I try some times to active DRI on xorg, but not with success. I try at xorg
and check with
$glxinfo | grep direct
direct rendering: No
We are using A7S8X-MX with onboard sis video card.
My xorg use sis generic driver and i cannot give a better video driver on
google.
The primary question is: how is the better way to run sdl games on linux?
Some people told that is without x, but how i can do it?
i modify my grub conf to start with vga=792 and it make the game run faster
(55fps). but i need open the game on fluxbox (xorg)…
Thank you for help us
Best Regards,
R?ben.
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.
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.
VESA BIOS Extensions - Wikipedia
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).On 10/19/06, DARKGuy . <dark.guy.2008 at gmail.com> wrote:
On 10/18/06, Paulo Pinto wrote:
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
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl