LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices



Reply
 
Search this Thread
Old 02-06-2007, 03:39 AM   #1
wildar
Member
 
Registered: Jan 2007
Distribution: Mandriva 2008, Mandrake 2005, Ubuntu 8.04.1
Posts: 239

Rep: Reputation: 30
Nvidia for Mandriva 2007 success story


Wrestled with Nvidia driver for Mandriva 2007 most of the night, but finally got it working. It's not that hard once I figured out what rpms to install. I'm posting this so others might save themselves some time and trouble.

First I set urpmi and configured for the plf servers. Easiest way to do this is to visit http://easyurpmi.zarb.org/ and follow the instructions.

I made sure to select some PLF (Penguin Liberation Front) servers during step 2! The Nvidia drivers for Mandriva 2007 are kept there!

At step 3, I copy paste the results of step 2 into a file, made it executable, ran the script and configured urpmi. Initially had trouble here, so I mv /etc/urpmi/urpmi.cfg someplace else and ran the script again without problem.

Once urpmi was set I did the following:
Code:
  # urpmi kernel-source-2.6.17.5mdv nvidia dkms-nvidia
Switched to console screen using ctrl-alt-f1

Logged in as root and did 'init 3' to bring down Xorg

Run XFdrake, selected my Nvidia GeForce 6800 card, selected options I wanted, tested, saved and exited.

Log out of root, logged in as my user, then did startx. IT WORKS!

Now I can run all the 3D stuff and I even have NVIDIA Settings in my Configuration branch of my K menu.

That's my story. Wont guarantee it's fool proof but it worked for me so hoping it'll help some of you out there.

Note: The turning point for me in all this was installing the kernel-source rpms.

Linux Forever!

Last edited by wildar; 02-06-2007 at 03:45 AM.
 
Old 02-06-2007, 06:51 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
This should be very useful

- there seem to be quite a few folk trying mandriva right now and running into the mandriva (value subtracted) business model. Many of them are having trouble with nvidia cards, or installing stuff in general.
 
Old 02-06-2007, 10:32 AM   #3
Ixthusdan
Member
 
Registered: Jun 2006
Location: Mishawaka, IN USA
Distribution: Open Suse
Posts: 194
Blog Entries: 1

Rep: Reputation: 32
The Mandriva business model in no way affects the functionality of Mandriva Linux. Nvidia has always been rather easy to do in Mandriva. The recent addition of dkms in the kernel has simplified it, not made it harder. All of the rpm's are available by configuring the sources. Even the kernel source is installed by simply typing "urpmi nvidia" in a console. Nvidia specifically is better because there is no longer a need to install outside of the x environment, for example. One does have to make some edits in a the /etc/X11/xorg.conf file, but following the installation instructions is pretty straight forward. Again, I am making no defense of the Mandriva business model; but it is a very easy-to-use distro which I have had since version 7.0.
 
Old 02-07-2007, 12:41 AM   #4
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Oh lets not disparage M's business model: making it easy for folk to give you money is always good business and Mandriva is genuinely easy for newbies to install and run from scratch.

It has just traditionally been tough to add anything (or to find out how) for any non-paid variety (or if you are not a club member). There have been vast improvements in recent releases, unfortunately searches tend to lead one to older notes.

On the subject of the nvidia drivers for eg.
http://club.mandriva.com/xwiki/bin/v...ardwareHgforce
... still has comment about editing /etc/X11/xorg.conf

The same article points to an independent NZ wiki for more up to date information: http://www.wlug.org.nz/NvidiaDriver ... which doesn't exist. (It should be: http://wiki.linux.net.nz/NvidiaDriverHowto but even that is not specific.)

Below are about urpmi and repositories.
http://addmedia.notix.net/
http://www.howtoforge.com/perfect_setup_mandrake_10_2
 
Old 02-07-2007, 01:24 AM   #5
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
I agree with the above. Mandriva is in business to make money by providing support to their customers. Those of us who choose to use the free version should expect no official help from Mandriva, and should in fact be appreciative that they provide links to Mandriva Linux related Newsgroups and forums which contains a link to the page for the Mandriva mailing lists. Between the listed newsgroups, forums (one of which is here), mailing lists and IRC there is an abundance of help for both experienced and new users.
 
Old 02-07-2007, 02:15 AM   #6
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 551

Rep: Reputation: 30
My problem is how to shut off the X Window program before installation for my graphics cards ?

Please show some guidline to newbies.

Let linux shine over the world.

Vista OS is rubbish.
 
Old 02-07-2007, 02:33 AM   #7
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 551

Rep: Reputation: 30
Thanks for your help.
 
Old 02-07-2007, 04:28 PM   #8
Ixthusdan
Member
 
Registered: Jun 2006
Location: Mishawaka, IN USA
Distribution: Open Suse
Posts: 194
Blog Entries: 1

Rep: Reputation: 32
http://www.mandrivausers.org has been offering better support than Mandriva for years. No, no one getrs paid anything. It is just a linux community.

Go to your /etc/inittab in an editor. Near the bottom of the file is a line
"x:5:respawn:/etc/X11/prefdm -nodaemon"
Change the "5" to "3" and reboot. You will boot only to console. To start x from here, simply type "startx" after login, of course.
 
Old 02-07-2007, 05:52 PM   #9
werfer
Member
 
Registered: Sep 2003
Posts: 52

Rep: Reputation: 15
I don't really get why they do this - I, for example, have an Elsa Gladiac 511 Twin with a GeForce2 MX 400 Chipset. When I installed, it automatically snatched the GeForce2 DDR generic driver and booted in graphic mode. However, when I try to change the resolution from 1024x768 to something a little more appropriate, he tells me he's done it - but hasn't!

I'll go and follow your links now to read my night away (thanks for the links), but I do think they should stop pretending it was so easy to configure the damn system, with just a few clicks - because it isn't! Ans with Mandriva, I run into these problems every single time. Don't get me wrong, I love the look&feel of this distri, but graphics just kills me.
 
Old 02-07-2007, 06:32 PM   #10
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
Mandriva just released a kernel update to fix a few issues. I have been using an old nVidia card here for a while, and I expected to have to go find a new driver package for the new kernel. This was not necessary so there is joy in mudtown today! I have the 'dkms-nvidia_legacy-7184-4plf2007.0.i586' package installed from plf (appropriate for my old card), and when I booted the new kernel for the first time, the system built a new module for it during startup. How cool is that? No more putzing around with ./configure, make, make install. The plf package takes care of the whole thing for me. I'll have to send a 'Nicely Done!' to the plf community for that. One caveat here. I did install the new kernel-sources package when I installed the new kernel. It is my guess that things would not have worked so well if I had not. Also, the new kernel package is 'kernel-2.6.17.10mdv-1-1mdv2007.0.i586' and the standard variants.
 
Old 02-07-2007, 08:48 PM   #11
rickst29
LQ Newbie
 
Registered: Dec 2006
Posts: 15

Rep: Reputation: 0
Lightbulb shutdown X using 'telinit 3' as root, also HOWTO using NVidia's OWN software

Quote:
Originally Posted by Peter_APIIT
My problem is how to shut off the X Window program before installation for my graphics cards ?

Please show some guidline to newbies.
1) Open a terminal window (xterm, konsole, whatever).
2) "su" to root. enter PW, of course
3) after your prompt comes back, 'telinit 3'

This command 'telinit 3' makes your system terminate the GUI stuff (which is runlevel 5), and go into a mode where you can login as any user, but GUI video is shutdown. If you log in as 'root', then you're ready to rock and roll.

BTW, I do not mess around with these sometimes out-of-date DKMS packages. It's quite fast to install NVidia's own software (the current one for modern cards is "NVIDIA-Linux-x86-1.0-9746-pkg1.run, their website shows an older 'legacy' version for TNT2 and other older cards).

download it. make it executable.
Start MCC, and install the kernel-sources-stripped_xxxxxxxx RPM which matches your running Kernel: For example, if you DID update to 2.6.17.8 after it was created in January, the RPM you want is: "kernel-sources-stripped-2.6.17.8mdv-1-1mdv2007.0"

If you didn't update your kernel after installing 2007.0, then it's a "2.6.17.5" something-or-other.

Now switch to runlevel 3, as above.
After logging in as root, change to the directory where you saved the file and execute it. Accept the license. It'll offer to look for a valid 'header file' at Nvidia's web site.... but it won't find one.
Next it will offer to compile and install the package. Confirm "OK".

When finished, it will offer to try updating your xorg.conf. This has always worked fine for me, go ahead and confirm it.

Now enter "shutdown -r now", when your computer restarts, you should see the latest and greatest NVidia driver in charge. BTW, this also provides a nice program "/usr/bin/nvidia-settings" to adjust colors, sizes, refresh rates, and all the parameters hidden deep in the NVidia card's guts.

Now, in case it DOESN'T come up (has never happened to me):

If it DOESN'T come up with a good GUI, just swap back to the saved xorg.conf (in /etc/X11), then start cutting parts out of the nvidia-created one and inserting them into a NEW DRAFT. With vim or emacs, you can create your new xorg.conf right within the text-mode runlevel. If you gotta have a GUI editor (???!!!) then save the 'bad Nvidia one, overwrite xorg.conf with the saved one, restart the computer, and do your edits after it comes up with the old xorg driver in charge.
 
Old 02-07-2007, 08:50 PM   #12
rickst29
LQ Newbie
 
Registered: Dec 2006
Posts: 15

Rep: Reputation: 0
ernie, you get "kernel-sources-stripped-2.6.17.10mdv-1-1mdv2007.0" (or whatever they called the 17.10 version of Sources stripped), follow my instructions with NVidia and you don't need to wait on PLF.
 
Old 02-08-2007, 06:41 AM   #13
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 551

Rep: Reputation: 30
I have shutdown the X Windows program. After that, it display an error messages which is no kernel interface is suitable to your kernel version. I installed x86_64 on my pc.


Thanks for your help.
 
Old 02-09-2007, 10:18 AM   #14
Ixthusdan
Member
 
Registered: Jun 2006
Location: Mishawaka, IN USA
Distribution: Open Suse
Posts: 194
Blog Entries: 1

Rep: Reputation: 32
You must download the correct driver at the Nvidia site. Or, you can use dkms if your sources are configure correctly. You must use x86_64 files for any software installation. They are available from Nvidia.
 
Old 02-09-2007, 05:47 PM   #15
rickst29
LQ Newbie
 
Registered: Dec 2006
Posts: 15

Rep: Reputation: 0
Wink lxthusdan has it right.

That "no kernel interface found" is, IIRC, the "missing headers"-type message I was referring to (if you're using NVidia). After you confirm it, confirm that you DO want to compile.

But you WILL have to use 64-bit NVidia software, AND the correct "sources-stripped" version to match the IA-64 Kernel you're actually running when you do the compile.

This is only a guess as to your problem, I don't use 64-bit because 3rd party proprietary stuff (Adobe, NVidia, etc.) sems to be a lot more error prone and messy in 64-bit. (And in some cases, they Develop and release 32-bit versions much sooner). Although my boxes are capable, the performance increase is way too small for me to bother with... at THIS time.
 
  


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
success story here with slackware! hellbound201 LinuxQuestions.org Member Success Stories 5 11-11-2004 04:58 PM
My success story. HolyLiaison LinuxQuestions.org Member Success Stories 1 02-08-2004 04:57 PM
Success Story! Xshare LinuxQuestions.org Member Success Stories 3 01-25-2004 08:05 PM
CS like success story PingouinShark Linux - Games 2 10-08-2003 05:17 PM


All times are GMT -5. The time now is 06:07 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