LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-28-2005, 06:25 PM   #1
davatar
Member
 
Registered: Dec 2004
Location: Washington State
Distribution: Slackware
Posts: 46

Rep: Reputation: 15
Slack 10.1 nvidia gf4 graphic acceleration issues


Hey, I'm having problems with 3D apps (games) on my 10.1 installation. I compiled 2.6.11.3 and everything is working fine, except when I play games I get about 6-7 fps, as if there were no hardware acceleration.

According to proc/drivers/nvidia/agp/status, AGP = Disabled due to an initialization failure. I have agpgart compiled as a module, and disabled in rc.modules. I'm using the nvidia driver's AGP capabilities. (Option "NvAgp" "1") in card section of xorg.conf. (Yes my motherboard's chipset is supported, I read the nvidia documentation.)

I have the latest nvidia drivers from nvidia's site and my card is a Geforce 4 mx420.

I receive no errors during boot, or in any logs, except that proc says AGP is disabled. Even when I use the agpgart module and disable "NvAgp" in xorg.conf, the games play very slowly.

Any ideas? Any other information you would like? (I have all required packages installed, such as SDL)

~Dav
 
Old 03-28-2005, 07:01 PM   #2
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
what is listed as the "Driver" in your xorg.conf? 'nividia' or 'nv' ? nvidia is the accelerated driver and will have to have a kernel module compiled for your kernel and have the nvidia-glx package installed.

I'm not sure you won't need you AGP driver installed in your kernel, or undisabled.

THe problem apears to be that you're not using any hardware acceleration at all.
 
Old 03-28-2005, 07:22 PM   #3
davatar
Member
 
Registered: Dec 2004
Location: Washington State
Distribution: Slackware
Posts: 46

Original Poster
Rep: Reputation: 15
Xorg.conf is set to use the "nvidia" driver, and I have DRI commented out, as the documentation suggests. (There was no glcore, which it mentions to comment out..) I also added the glx option, like it said to do. I have specified the correct amount of ram to use as well.

I disabled the NvAgp and now have agpgart running correctly. (sis_agp loaded alongside it, since my mobo chipset is SiS 735)

I do have the most recent nvidia driver installed, as I mentioned above, however I never downloaded any nvidia_glx package? Perhaps that is the issue? (Everything worked fine before I recompiled updated everything via slapt-get, and upgraded to 2.6.11.3.)

It's a very strange issue, as everything else is working correctly and I am receiving no errors or warnings during boot, or in any logs. (AGP is now "Enabled" according to /proc, after re-compiling 2.6.11.3 with agpgart as a module instead of built-in, and disabling NvAgp)

~Dav
 
Old 03-28-2005, 07:36 PM   #4
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
nvidia-glx is the xorg / xfree driver for userspace, it is required and probably your problem at least in part.
 
Old 03-28-2005, 08:30 PM   #5
davatar
Member
 
Registered: Dec 2004
Location: Washington State
Distribution: Slackware
Posts: 46

Original Poster
Rep: Reputation: 15
Alright, I will download that package and see if it fixes the issue. It just bugs me that I could run games fine before, and now I can't.

Another bit of information which is perhaps useful, when running "neverball," I receive the message
"neverball: /usr/lib/libGL.so.1: no version information available (required by neverball)"
And then the game runs, but slowly just as all other 3D apps.

Edit: Evidentally libGL.so.1 is part of the nvidia driver package. (There is also a libGL.so.1.0-7167 file in the same directory, corresponding to the version number of the nvidia drivers.)

Last edited by davatar; 03-28-2005 at 08:33 PM.
 
Old 03-28-2005, 08:38 PM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
also take a look at " /var/log/Xorg.0.log "
it contains warnings/errors from X and is many times helpfull .

egag
 
Old 03-28-2005, 08:50 PM   #7
davatar
Member
 
Registered: Dec 2004
Location: Washington State
Distribution: Slackware
Posts: 46

Original Poster
Rep: Reputation: 15
Thanks egag, I checked the log and found no errors, although I noticed that X loads a module called "fb." Is that frame buffer support? If so, could it be conflicting?
 
Old 03-28-2005, 09:49 PM   #8
davatar
Member
 
Registered: Dec 2004
Location: Washington State
Distribution: Slackware
Posts: 46

Original Poster
Rep: Reputation: 15
Well I discovered the problem, and everything's workin' great again.

I re-read a good portion of the Nvidia documentation and learned that problems with shared libraries (such as /usr/lib/libGL.so.x.y.z and other stuff that comes with the nvidia driver) often are the cause of slow-running OpenGL apps. I checked everything mentioned in the documentation about it but found no discrepencies.

That's when I remembered the SDL. I installed 4 packages manually, with "neverball", which comprised the sdl 1.2.6 release. Slapt-get, which I use to keep up to date, installed a single "sdl-1.2.8..." package, comprising the entire library, thus not removing/upgrading the 1.2.6. I uninstalled the 1.2.6 packages and re-installed the 1.2.8 from slapt-get, and everything's A-OK.

~Dav
 
  


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
Nvidia GF4 440MX SE TVout problem , help! DVDke Linux - Hardware 8 03-23-2005 10:52 AM
SuSE 9.1 + Nvidia GF4 + TV-Out = Nightmare Mega Man X Linux - Hardware 2 07-10-2004 06:42 AM
Nvidia GF4 MX440 running really slow liljim Linux - Hardware 18 03-28-2004 03:44 PM
nvidia gf4 mmx 440 tv out CleonII Linux - Hardware 1 05-15-2003 11:59 AM
GF4 - Need to turn on 3d acceleration seraphim Linux - Hardware 3 05-01-2003 07:13 PM


All times are GMT -5. The time now is 10:39 PM.

Main Menu
Advertisement
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