JohnathanAmber Posted January 16, 2010 Report Share Posted January 16, 2010 (edited) Hey guys, I need to know how to install the latest NVIDIA drivers (190.53) without using the System > Administration > Install & Remove Software GUI utility. I've already downloaded the file: NVIDIA-Linux-x86_64-190.53-pkg2.run The reason I am asking is that I do not believe that they are installed properly. For instance, with other versions of Linux distros (i.e. Ubuntu, etc), when I make the background of the CLI transparent, I could see other windows behind it, right now I see a degraded copy of the background pictures that I currently have. Not to mention that it is choppy if I move the window around. Another thing is that with the background that I have, the gradients to other colors isn't smooth, you see layers. I have tried switching to the CLI: Alt+F7 Logged in. SU (switching user to ROOT) <entered root password> Navigating to the directory with the NVIDIA-Linux-x86_64-190.53-pkg2.run file. Executed: sh NVIDIA-Linux-x86_64-190.53-pkg2.run I do get the NVIDIA screen, however all of the spaces and formatting is incorrect. So, how do I install the latest version of the NVIDIA drivers? Thank you and God bless, Johnathan Edited January 16, 2010 by JohnathanAmber Quote Link to comment Share on other sites More sharing options...
scarecrow Posted January 16, 2010 Report Share Posted January 16, 2010 The above method is more or less correct, but after installing the nvidia driver you must reconfigure your video settings. With Mandriva you can always use the video control module of "mcc", but the simplest method is opening a root console and typing in #nvidia-xconfig --composite and then restart the x-server. You can do more customization, but usually this is enough to have 3D and composite effects running. Quote Link to comment Share on other sites More sharing options...
JohnathanAmber Posted January 16, 2010 Author Report Share Posted January 16, 2010 @scarecrow, Thank you for the reply. I opened a console and tried the command, and I get 'command not found' I would have expected another response other than 'command not found' if it is installed correctly. Please forgive me for not finishing my original post. Once I get the NVIDIA screen with the unformatted text, it won't let me finish the install. I get an error. I will have to rerun it again to post the error Will do shortly. Thank you and God bless, Johnathan Quote Link to comment Share on other sites More sharing options...
AussieJohn Posted January 16, 2010 Report Share Posted January 16, 2010 You opened a console but you did not go to root. Type in su then press enter and type in your root password, press enter, then type in the nvidia-xconfig --composite, press enter again. Cheers and welcome to MUB. John. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted January 16, 2010 Report Share Posted January 16, 2010 (edited) Normally, if the driver is properly installed, and tried to run the above command with non-root priviledges, you should get an error like "unable to write to file blabla" and not "command not found". What do you get if you run in a console (not necessarily root that time) $ which nvidia-xconfig If the driver installation was OK< then nvidia-xconfig should be either at /usr/bin or /usr/local/bin (it depends on the distro). Edited January 16, 2010 by scarecrow Quote Link to comment Share on other sites More sharing options...
JohnathanAmber Posted January 17, 2010 Author Report Share Posted January 17, 2010 (edited) Normally, if the driver is properly installed, and tried to run the above command with non-root priviledges, you should get an error like "unable to write to file blabla" and not "command not found". What do you get if you run in a console (not necessarily root that time) $ which nvidia-xconfig If the driver installation was OK< then nvidia-xconfig should be either at /usr/bin or /usr/local/bin (it depends on the distro). OK, here is the error that I have now: ERROR: The kernel header file '/lib/modules/2.6.31.6-desktop-1mnb/build/include/linux/version.h' does not exist. The most likely reason for this is that the kernel source files in '/lib/modules/2.6.31.6-desktop-1mnb/build' have not been configured. And when I run the above command I get: which: no nvidia-xconfig in (/usr/share/colorgcc:/usr/share/colorgcc:/usr/share/colorgcc:/bin:/usr/bin:/usr/local/bin:/usr/games:/usr/lib/qt4/bin:/home/johnathan/bin) Edited January 17, 2010 by JohnathanAmber Quote Link to comment Share on other sites More sharing options...
daniewicz Posted January 17, 2010 Report Share Posted January 17, 2010 You need to install (from mcc) the kernel source which matches the kernel you have installed. See this thread: https://mandrivausers.org/index.php?/topic/32376-nvidia-geforce-mx440/page__p__238887__hl__kernel%20header__fromsearch__1entry238887 Quote Link to comment Share on other sites More sharing options...
scarecrow Posted January 17, 2010 Report Share Posted January 17, 2010 Installing the whole kernel-source package is rather an overkill, putting in the right kernel-devel package is actually better. To find out which kernel you are running, so we can suggest the right remedy, please give us the output of uname -a Quote Link to comment Share on other sites More sharing options...
scarecrow Posted January 17, 2010 Report Share Posted January 17, 2010 (edited) Opps, wrong thread... Edited January 17, 2010 by scarecrow Quote Link to comment Share on other sites More sharing options...
JohnathanAmber Posted January 17, 2010 Author Report Share Posted January 17, 2010 You need to install (from mcc) the kernel source which matches the kernel you have installed. See this thread: https://mandrivausers.org/index.php?/topic/32376-nvidia-geforce-mx440/page__p__238887__hl__kernel%20header__fromsearch__1entry238887 I did install the kernel source. Here is the results: $ rpm -qa | grep kernelkernel-firmware-20090604-4mnb2 virtualbox-kernel-desktop-latest-3.0.8-1.20091209.1mdv2010.0 nvidia-current-kernel-desktop-latest-185.18.36-1.20091209.4mdv2010.0 kernel-desktop-2.6.31.6-1mnb-1-1mnb2 kernel-firmware-extra-20090723-1mnb2 kernel-source-2.6.31.6-1mnb-1-1mnb2 kernel-desktop-latest-2.6.31.6-1mnb2 virtualbox-kernel-2.6.31.5-desktop-1mnb-3.0.8-1mdv2010.0 kernel-desktop-2.6.31.5-1mnb-1-1mnb2 virtualbox-kernel-2.6.31.6-desktop-1mnb-3.0.8-1mdv2010.0 kernel-source-latest-2.6.31.6-1mnb2 nvidia-current-kernel-2.6.31.6-desktop-1mnb-185.18.36-4mdv2010.0 The above was installed prior to me rerunning the driver. Quote Link to comment Share on other sites More sharing options...
daniewicz Posted January 18, 2010 Report Share Posted January 18, 2010 You need a kernel and kernel and a kernel-devel packages that match. Here is what I have on my Mandriva 2008.1 system: kernel-desktop-2.6.24.7-3mnb kernel-desktop-devel-2.6.24.7-3mnb kernel-headers Note that the number 2.6.24.7 appears in both, hence the match. Quote Link to comment Share on other sites More sharing options...
JohnathanAmber Posted January 18, 2010 Author Report Share Posted January 18, 2010 You need a kernel and kernel and a kernel-devel packages that match. Here is what I have on my Mandriva 2008.1 system: kernel-desktop-2.6.24.7-3mnb kernel-desktop-devel-2.6.24.7-3mnb kernel-headers Note that the number 2.6.24.7 appears in both, hence the match. @daniewicz, Do these not match? Am I missing something? kernel-desktop-2.6.31.6-1mnb-1-1mnb2kernel-source-2.6.31.6-1mnb-1-1mnb2 kernel-desktop-latest-2.6.31.6-1mnb2 kernel-source-latest-2.6.31.6-1mnb2 So all I am missing is the kernel-devel? Quote Link to comment Share on other sites More sharing options...
JohnathanAmber Posted January 18, 2010 Author Report Share Posted January 18, 2010 OK, I have this now: kernel-2.6.31.6-1mnb-1-1mnb2 kernel-source-2.6.31.6-1mnb-1-1mnb2 kernel-desktop-2.6.31.5-1mnb-1-1mnb2 kernel-desktop-2.6.31.6-1mnb-1-1mnb2 kernel-desktop-devel-2.6.31.6-1mnb-1-1mnb2 kernel-desktop-latest-2.6.31.6-1mnb2 kernel-desktop-devel-latest-2.6.31.6-1mnb2 kernel-source-latest-2.6.31.6-1mnb2 So I assume that I will use the following? kernel-desktop-latest-2.6.31.6-1mnb2 kernel-desktop-devel-latest-2.6.31.6-1mnb2 kernel-source-latest-2.6.31.6-1mnb2 Quote Link to comment Share on other sites More sharing options...
daniewicz Posted January 18, 2010 Report Share Posted January 18, 2010 Do these not match? Am I missing something? Yes they match. My comment was regarding the mixing of 2.6.31.5 and 2.6.31.6 in an earlier post. So I assume that I will use the following? kernel-desktop-latest-2.6.31.6-1mnb2 kernel-desktop-devel-latest-2.6.31.6-1mnb2 kernel-source-latest-2.6.31.6-1mnb2 I am uncertain about the use of kernel packages with latest in them (only because my installed packages don't have those words). Quote Link to comment Share on other sites More sharing options...
scarecrow Posted January 18, 2010 Report Share Posted January 18, 2010 The packages ending with "latest" are not real packages- just metapackages, which fetch the newest existing real packages as a dependency. You will see that they are smaller than 200K each. You need just kernel-desktop-latest kernel-desktop-devel-latest The third package (kernel-source-latest) is for rolling your own kernel, yoy will not need it for compiling kernel modules. After installing these two packages, then first exit the x-server completely ( telinit 3 in a root console), and then do again the "sh NVID*.run" thingy. If asked about header places and such, leave the defaults in place. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.