SDL on Linux is SLOWWWwwwwww!!!!!
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
Do you have hardware acceleration setup in linux?
http://druidgames.cjb.net/ (If my website isn''t down, it''s a miracle!)
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
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
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:
Edited by - Dactylos on June 9, 2001 10:21:18 AM
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement