LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-13-2004, 12:09 AM   #1
linksocc
Member
 
Registered: Jul 2003
Location: US
Distribution: Mandrake 9.0 1st/9.1 2nd/Gentoo 1.4 now
Posts: 313

Rep: Reputation: 30
Unhappy sdl games are slow extremely slow


Here is the problem, I'm trying to play a game called cube, at first I saw it was so slow I couldn't even move using a intel celeron 1.3 ghz cpu with 256 of ram in gentoo 1.4, then I tried another sdl game called neverball and it was the same, can somebody give me an advise in how to get sdl to work with hardware acceleration using nvida drivers for a geforce 2 card
 
Old 01-13-2004, 12:54 AM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
did you install nvidia drivers (drivers from the nvidia's site)? i don't think the open source nvidia drivers have 3d acceleration built in. if you did, have you edited your XF86Config (or XF86Config-4) file to tell it to use the nvidia drivers?

i played cube the other night and was getting ~96 fps on my laptop nvidia geforce2 go card. the game actually gave me headache and made me nauseus.
 
Old 01-13-2004, 01:13 AM   #3
linksocc
Member
 
Registered: Jul 2003
Location: US
Distribution: Mandrake 9.0 1st/9.1 2nd/Gentoo 1.4 now
Posts: 313

Original Poster
Rep: Reputation: 30
I'm using nvidia's drivers and I'm getting around 970.800 FPS in glxgears with 24 bit display and a resolution of 1152x864, (I can play quake 3 with all the settings to the max and a resolution of 1024x768 with no problems at all) so the problem is with SLD and the use of opengl
 
Old 01-13-2004, 01:35 AM   #4
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
the only real thing i could suggest is trying a different version of sdl and/or opengl. don't really know of any configuration that you can really do with them.
 
Old 01-13-2004, 01:48 AM   #5
JOPS
Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian GNU/Linux, JOWNIX GNU/Linux
Posts: 41

Rep: Reputation: 15
Some versions of the NVIDIA drivers may have some issues. Which version are you currently using?
 
Old 01-13-2004, 04:44 PM   #6
linksocc
Member
 
Registered: Jul 2003
Location: US
Distribution: Mandrake 9.0 1st/9.1 2nd/Gentoo 1.4 now
Posts: 313

Original Poster
Rep: Reputation: 30
thanks for your answers but the problem was with compiling libsdl with alsa support, now that I compiled libsdl without alsa and using oss emulation games run with no problems at all
 
Old 01-17-2004, 03:39 PM   #7
timcrafton
LQ Newbie
 
Registered: Jan 2004
Distribution: Mandrake 9.2 (For Now)
Posts: 19

Rep: Reputation: 0
I am having the same issue with cube.. caould you please let me know what you did to fix the problem on yours... Thanx
 
Old 01-17-2004, 03:53 PM   #8
linksocc
Member
 
Registered: Jul 2003
Location: US
Distribution: Mandrake 9.0 1st/9.1 2nd/Gentoo 1.4 now
Posts: 313

Original Poster
Rep: Reputation: 30
Well.. I'm using gentoo linux and I just did this
Code:
USE="-alsa oss" emerge libsdl
and that solved my problem but you have to be using gentoo linux for this to work maybe someone can post how to do it compiling it from from source
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wine extremely slow!!!!!!!!!!!! augu2000 Linux - Software 3 11-01-2005 06:18 PM
ProFTPD extremely slow newuser455 Linux - Software 1 08-27-2005 05:31 PM
OpenGL is extremely slow stonehurstX11 Linux - General 2 05-26-2005 06:33 PM
games suddenly extremely slow wijnands Linux - Newbie 6 04-06-2004 03:40 AM
KDE extremely slow? totalcommand Linux - Newbie 1 08-18-2001 10:59 PM


All times are GMT -5. The time now is 05:57 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration