MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
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.
- 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.
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.
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.
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.
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
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.
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.
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-220.127.116.11mdv-1-1mdv2007.0.i586' and the standard variants.
shutdown X using 'telinit 3' as root, also HOWTO using NVidia's OWN software
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 18.104.22.168 after it was created in January, the RPM you want is: "kernel-sources-stripped-22.214.171.124mdv-1-1mdv2007.0"
If you didn't update your kernel after installing 2007.0, then it's a "126.96.36.199" 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.
ernie, you get "kernel-sources-stripped-188.8.131.52mdv-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.
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.
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.