LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-27-2004, 10:53 AM   #1
liljim
Member
 
Registered: Mar 2004
Location: Louisiana
Distribution: Mandrake 10
Posts: 41

Rep: Reputation: 15
Nvidia GF4 MX440 running really slow


I have a inno 3d 128 meg ddr nvidia GeForce 4 4x agp card that runs super slow on mandrake 10.Screensavers are impossible to run,i can literally count the frames in the animation.This is with any 3d graphics,any ideas how to speed it up?
 
Old 03-27-2004, 11:22 AM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
you have to install the nvidia drivers which you get from the www.nvidia.com website ... by default when you install a distro you will be using the generic drivers that do not have 3d acceleration ..
 
Old 03-27-2004, 01:07 PM   #3
liljim
Member
 
Registered: Mar 2004
Location: Louisiana
Distribution: Mandrake 10
Posts: 41

Original Poster
Rep: Reputation: 15
Thanks...going dl them now
 
Old 03-27-2004, 02:18 PM   #4
vi0lat0r
Member
 
Registered: Aug 2003
Location: Lewisville, TX
Distribution: Kubuntu
Posts: 295

Rep: Reputation: 30
There are 2 requirements:

1) The NVidia Drivers
2) Your kernel's source

To find out your kernel make, type this in the terminal:

uname -r

To get your kernel's source package, simply type this in the terminal:

Code:
su
(it will ask for your root password, type it in)
Code:
urpmi kernel
It will come up with about 18 packages. Whatever kernel you are using, choose the corresponding src package. For example, I am using 2.6.4-1.tmb.5mdk, so the source I chose was 2.6.4-1.src.tmb (something like that...)

After you have done the above, you are set to begin the NVidia installation. Press CTRL + ALT + F1 to exit X. Then type

Code:
init 1
This will stop all of your system processes that are running. Then type

Code:
init 2
Now you are in the run level where you can install the driver. CD to the folder where the NVIDIA-Linux-BLAHBLAH.run is located.

For example:

Code:
cd /home/YOUR USERNAME/
Then type:

Code:
dir
It will show you all the files in the directory, including the one you need, NVIDIA-Linux-blah.run

Now type:

Code:
sh NVIDIA-Linux-x86-1.0-5336-pkg1.run
If that is not the name of your file, you probably have an older version and just replace it with your NVIDIA-Linux-BLAH package name.

It will start the installation. Choose Accept and press Enter. Go through the installation, pretty much answering "Yes" to anything that will get it installed. Meaning, if it says it can't find the module for the kernel and it asks to build a module, tell it yes. This is where your kernel's source comes into play ;-)

After it is done installing it will say Installation Successful (or something like that). You will still be in run level 2, so type the following to get back to your X enviroment:

Code:
init 5
It will load up to the login screen, unless you set it to automatically login, in which case you will start KDE or Gnome, whichever is your default. Now open KEdit. Choose to open a file, and browse to:

/etc/X11/XF86Config-4 (if XF86Config-4 exists, choose it. If not, choose XF86Config)

Now find where it says
Quote:
Section "Module"
Here is what mine looks like (I am also using GeForce4 MMX 440 128MB DDR):

Code:
Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
EndSection
All you should have to do is delete the ## in front of Load 'glx'

Find where it says Driver 'nv' or whatever for your graphics card, and replace it with:

Code:
    Driver "nvidia"
Save it, and you have now successfully installed and configured NVidia drivers. You should now restart your computer for the changes to take affect (you can restart X, but just go ahead and restart your computer... its easier)
 
Old 03-27-2004, 03:32 PM   #5
liljim
Member
 
Registered: Mar 2004
Location: Louisiana
Distribution: Mandrake 10
Posts: 41

Original Poster
Rep: Reputation: 15
Im running kernel 2.6.3-4mdk.When i ran urpmi kernel i only got 3 options to choose from,none of them had .src in the extension.I choose 2.6
.3-4 mdk and followed the rest of your instructions but im getting an error that the instalation couldnt find my kernel source or it wasnt installed.So now im back to square one...how do i install the kernel source into the default directory that everything looks for (im having the same trouble with a pctel modem finding source)?I "thought" i had installed the source by checking avaliable packages and doing a search for kernel source.I selected everything on the list but still nothing sees that there installed.
 
Old 03-27-2004, 05:02 PM   #6
vi0lat0r
Member
 
Registered: Aug 2003
Location: Lewisville, TX
Distribution: Kubuntu
Posts: 295

Rep: Reputation: 30
I suggest you remove your main, contrib, plf, and update sources. You can do this through GUI by going to the Menu -> System -> Configuration -> Packaging -> Software Media Manager

Now go to:
http://urpmi.org/easyurpmi/index.php

Choose the servers you want, and click proceed. It will show you 4 lines of script.

Open a terminal and type:

Code:
su
Now type your password

You are now Super User. Copy 1 line of the script and paste it into the terminal. Do this for each of the 4 lines of script the site gave you.

If it says it could not connect, just look and see what the corresponding server was for (whether it was Update, Main, Contrib, or PLF), and choose a different server for it. Once you have entered a source you don't have to enter it again.

Once all 4 of the urpmi sources have been added, type this:

Code:
updatedb
It might take anywhere from 10 seconds to 2 minutes. Once its complete, type:

Code:
urpmi kernel
And continue where that leaves off in my last post.
 
Old 03-27-2004, 06:42 PM   #7
liljim
Member
 
Registered: Mar 2004
Location: Louisiana
Distribution: Mandrake 10
Posts: 41

Original Poster
Rep: Reputation: 15
I dont have internet access in linux...currently fighting with a pctel amr modem.
 
Old 03-27-2004, 06:52 PM   #8
vi0lat0r
Member
 
Registered: Aug 2003
Location: Lewisville, TX
Distribution: Kubuntu
Posts: 295

Rep: Reputation: 30
Ok, what exactly is wrong with your modem? Is it not detecting it? Have you downloaded the drivers (in, I suppose, a seperate OS) but they are not working?

Can't really do much until we fix that problem :-)
 
Old 03-27-2004, 07:05 PM   #9
Pwnz3r
Member
 
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
Just a tip, dir is okay but in Linux ls also does the same thing and saves time. Not to mention, it stands for list and makes more sense than dir which stands for directory.

Well, cd to /usr/src and make sure you have a sym link to the kernel you are using. To do this, become root and cd to the /usr/src folder and type the following command.

Code:
ln -s 2.6.3-4mdk linux
After doing that then try installing the nvidia drivers. Mandrake is a pretty terrible when it comes to giving kernel sources out. They are never given by them but required almost all the time. That's one of the reasons I switched to Gentoo from Mandrake. But I suppose Mandrake made for a good learning experience.
 
Old 03-27-2004, 10:43 PM   #10
liljim
Member
 
Registered: Mar 2004
Location: Louisiana
Distribution: Mandrake 10
Posts: 41

Original Poster
Rep: Reputation: 15
Thanks Pwnz3r
I'll try that...


With the modem,i have the pctel-0.9.7-9 drivers that is giving me errors when i try to install.I ran across the same problem with the kernel source not being in the directory it needed to be in when i try to compile,i also got something about a modversion.h file not being there.I havent tried in a couple days so i dont remember the exact errors.Im dual booting with winxp for internet access and im obviously new to linux....The modem shows up as a sis with unknown module,my board chipset is sis735.I have a pci pctel modem that shows up the same way.I'll run the setup again and post the error.
 
Old 03-28-2004, 12:29 AM   #11
liljim
Member
 
Registered: Mar 2004
Location: Louisiana
Distribution: Mandrake 10
Posts: 41

Original Poster
Rep: Reputation: 15
Ok guys...i got mad and wiped out the drive...reinstalled mandrake 10.I had all kinds of stuff screwed up i think.Now im on a fresh install,i have kernel 2.4.25-2mdk running as default.I need to get my modem going and video drivers...where should i start?
 
Old 03-28-2004, 01:28 AM   #12
vi0lat0r
Member
 
Registered: Aug 2003
Location: Lewisville, TX
Distribution: Kubuntu
Posts: 295

Rep: Reputation: 30
First you need to get your modem working. What is the exact error you get when installing the drivers?
 
Old 03-28-2004, 01:57 AM   #13
liljim
Member
 
Registered: Mar 2004
Location: Louisiana
Distribution: Mandrake 10
Posts: 41

Original Poster
Rep: Reputation: 15
ok..beleive it or not,i got the video going with 2.6.3 BUT.....here's where im at...

the modem drivers i have is only for 2.4.x kernel,naturally when i try to install in 2.6 i get an error that its only for 2.4

When i tried in 2.4 i got an error saying modversion.h doesnt exist.

Now this is where i seem to be screwed...Since i installed the video drivers in 2.6,
2.4 wont load a gui.I got a bunch of errors saying it couldnt load nvidia module.I assume the solution is that i need pctel drivers that will work on a 2.6 kernel,so far i havent found any.

Meanwhile...my video works great,screensavers not run at top speed and i can play tux racer and other 3d games.Curious though...can i use my tv out now?I never found anything regarding it.Dont know where to look to enable it...Thank you for your help this far....i really appreciate it.
 
Old 03-28-2004, 02:04 AM   #14
vi0lat0r
Member
 
Registered: Aug 2003
Location: Lewisville, TX
Distribution: Kubuntu
Posts: 295

Rep: Reputation: 30
These should work, it says its for 2.6:

http://geocities.yahoo.com.br/ricardowongbr/pctel/

If that doesn't work take a look at the complete database:

http://pctelcompdb.sourceforge.net/display.php
 
Old 03-28-2004, 02:11 AM   #15
vi0lat0r
Member
 
Registered: Aug 2003
Location: Lewisville, TX
Distribution: Kubuntu
Posts: 295

Rep: Reputation: 30
I found this also, it has kernel source files for 2.6.3, PCTel modem, and Nvidia... might be worth a look:

http://rpm.pbone.net/index.php3/stat...lopment_Kernel
 
  


Reply



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
help editing xf86config for nvidia geforce mx440 after installing nvidia driver linguist Linux - Newbie 11 06-13-2006 06:31 AM
ASRock P4I65GV and NVidia MX440 running Linux toebbes Linux - Hardware 3 07-01-2005 03:19 AM
Slack 10 system running well, except slow graphics. NVidia? dark_prancer Linux - Newbie 6 05-13-2005 04:20 AM
SuSE 9.1 + Nvidia GF4 + TV-Out = Nightmare Mega Man X Linux - Hardware 2 07-10-2004 05:42 AM
nvidia gf4 mmx 440 tv out CleonII Linux - Hardware 1 05-15-2003 10:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:05 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
Open Source Consulting | Domain Registration