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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-13-2004, 01:09 AM
|
#1
|
Member
Registered: Jul 2003
Location: US
Distribution: Mandrake 9.0 1st/9.1 2nd/Gentoo 1.4 now
Posts: 313
Rep:
|
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
|
|
|
01-13-2004, 01:54 AM
|
#2
|
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054
Rep:
|
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.
|
|
|
01-13-2004, 02:13 AM
|
#3
|
Member
Registered: Jul 2003
Location: US
Distribution: Mandrake 9.0 1st/9.1 2nd/Gentoo 1.4 now
Posts: 313
Original Poster
Rep:
|
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
|
|
|
01-13-2004, 02:35 AM
|
#4
|
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054
Rep:
|
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.
|
|
|
01-13-2004, 02:48 AM
|
#5
|
Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian, Ubuntu, Kubuntu, Fedora, CentOS, RHEL
Posts: 41
Rep:
|
Some versions of the NVIDIA drivers may have some issues. Which version are you currently using?
|
|
|
01-13-2004, 05:44 PM
|
#6
|
Member
Registered: Jul 2003
Location: US
Distribution: Mandrake 9.0 1st/9.1 2nd/Gentoo 1.4 now
Posts: 313
Original Poster
Rep:
|
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
|
|
|
01-17-2004, 04:39 PM
|
#7
|
LQ Newbie
Registered: Jan 2004
Distribution: Mandrake 9.2 (For Now)
Posts: 19
Rep:
|
I am having the same issue with cube.. caould you please let me know what you did to fix the problem on yours... Thanx
|
|
|
01-17-2004, 04:53 PM
|
#8
|
Member
Registered: Jul 2003
Location: US
Distribution: Mandrake 9.0 1st/9.1 2nd/Gentoo 1.4 now
Posts: 313
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 03:23 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|