🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

SDL on Linux is SLOWWWwwwwww!!!!!

Started by
4 comments, last by Balrog 23 years ago
Why? I''m working on a project using SDL. I''m actually working on Windows, and all is going right. When I compiled my project on Linux (Mandrake 8.0) this is so Slow that the mouse movements where drawn after 1 or 2 seconds, WHY? Visit my project at: http://sourceforge.net/projects/gemrb
Visit my project at:http://sourceforge.net/projects/gemrb
Advertisement
Do you have hardware acceleration setup in linux?

Resist Windows XP''s Invasive Production Activation Technology!
http://druidgames.cjb.net/ (If my website isn''t down, it''s a miracle!)
Yes, I Have!

It is not a very powerful Accelerator (Diamond Viper V330) but it usually works fine. Maybe depends on my Hardware that is not big enough to run Linux Mandrake 8.0 Correctly. I have a PII - 350Mhz with 128Mb.

....... :-(

Visit my project at:

http://sourceforge.net/projects/gemrb
Visit my project at:http://sourceforge.net/projects/gemrb
Check if you''re buffering the mouse.

if you are try polling it instead, like this:

int x, y, buttons;

buttons = SDL_GetMouseState(&x, &y);
// OR
buttons = SDL_GetMouseRelativeState(&x, &y);

After careful deliberation, I have come to the conclusion that Nazrix is not cool. I am sorry for any inconvienience my previous mistake may have caused. We now return you to the original programming

After careful deliberation, I have come to the conclusion that Nazrix is not cool. I am sorry for any inconvienience my previous mistake may have caused. We now return you to the original programming

Perhaps not so helpful, but...

Excerpt from the SDL FAQ:

Q:
I have an accelerated video card, but SDL tells me that that I have
zero video memory and no acceleration!


A:
Not all display targets can make use of hardware acceleration.
In particular, this is the case for the X11 target which always
presents you with a software framebuffer. Your video memory will always
be reported to be zero if no acceleration is available.



Edited by - Dactylos on June 9, 2001 10:21:18 AM
I tried any of the two methods and the result is the same. I don''t know what to do!!!!!!!!!!!! :-(

Visit my project at:

http://sourceforge.net/projects/gemrb
Visit my project at:http://sourceforge.net/projects/gemrb

This topic is closed to new replies.

Advertisement