LinHES Forums http://forums.linhes.org/ |
|
SOLVED: Installing latest nvidia drivers on R5E50 http://forums.linhes.org/viewtopic.php?f=5&t=13443 |
Page 1 of 5 |
Author: | samilliken [ Thu Jan 11, 2007 2:32 pm ] |
Post subject: | SOLVED: Installing latest nvidia drivers on R5E50 |
A distilled version of this has been added to the Wiki, so you may want to just go there. http://knoppmythwiki.org/index.php?page=UpdateNvidiaDrivers Since the kernel source wasn't included with R5E50 by default, it has been a bit difficult to install any nvidia drivers other than 8776 and 7184. Thanks to the post at http://mysettopbox.tv/phpBB2/viewtopic.php?t=13281 we now know how to get the source. However, that's not the complete picture on how to get the latest and greatest drivers installed. First, of course, follow the directions in the above post so that you have the /usr/src/linux-source-2.6.18-chw-13 directory. Now perform the following: cd /usr/src/linux-headers-2.6.18-chw-13 cp -r . ../linux-source-2.6.18-chw-13 This merges the kernel-headers with the kernel-source, since the source by itself doesn't have the configuration files that were used. Next, on my system at least, I had to at least partially make the kernel again, because certain kernel module scripts weren't in a usable state until you did that. So I did the following: cd /usr/src/linux-source-2.6.18-chw-13 make [wait about 20 seconds and then hit ctrl-c] Now we're ready to install the new driver. The easiest way to do this is the rename the startx script and reboot so that X is not even trying to boot up. mv /usr/bin/startx /usr/bin/startx.save reboot For some reason the NVidia install script isn't yanking out the original nvidia kernel module, so I manually pulled it out with this command: rmmod nvidia lsmod | grep nvidia The second command will let you verify that you no longer have the module loaded. Now we're actually ready to run the binary package from NVidia. It doesn't quite detect everything correctly, so issue the command as such: sh NVIDIA-Linux-x86-1.0-9746-pkg1.run \ --kernel-source-path=/usr/src/linux-source-2.6.18-chw-13 You will most likely get a message during the installation process that it had to make assumptions about the paths for X.org. The assumptions that it made are fine. Once the installer is finished you should be able to safely start X back up, but don't forget to rename your startx executable. mv /usr/bin/startx.save /usr/bin/startx As always, check the /var/log/Xorg.0.log file for hints as to what the problem may be. That's how I figured out that the original kernel module was still loaded! Scott Milliken[/url] |
Author: | MrFahrenheit [ Thu Jan 11, 2007 9:38 pm ] |
Post subject: | |
Thanks for this, i'm trying it right now. Is there an easy way to overwrite all the files when doing the cp -r? there's alot of files to hit y, enter, y, enter for. Edit -- Found my answer, if you do \cp -r you don't have to hit y constantly |
Author: | MrFahrenheit [ Thu Jan 11, 2007 11:04 pm ] |
Post subject: | |
after running these instructions, X fails to start and I have the following messages in dmesg: NVRM: API mismatch: the client has the version 1.0-9746, but NVRM: this kernel module has the version 1.0-8776. Please NVRM: make sure that this kernel module and all NVIDIA driver NVRM: components have the same version. I reinstalled fresh and followed the instructions again and got the same problem. Any ideas? |
Author: | MrFahrenheit [ Fri Jan 12, 2007 9:37 am ] |
Post subject: | |
Wow, I managed to really break my system. The second reboot after trying this, myth backand and frontend both seg fault when trying to start. Any idea what could cause that? |
Author: | samilliken [ Fri Jan 12, 2007 11:32 am ] |
Post subject: | |
If you type: Code: unalias cp
It will remove the need for you to verify overwrite (for the current session only). Once you log out and back in the alias will be back in place. Scott |
Author: | samilliken [ Fri Jan 12, 2007 11:34 am ] |
Post subject: | |
MrFahrenheit wrote: after running these instructions, X fails to start and I have the following messages in dmesg:
NVRM: API mismatch: the client has the version 1.0-9746, but NVRM: this kernel module has the version 1.0-8776. Please NVRM: make sure that this kernel module and all NVIDIA driver NVRM: components have the same version. I reinstalled fresh and followed the instructions again and got the same problem. Any ideas? Before you try to install 9746, verify that the old nvidia module was removed. I got this, too, and had to manually remove the old one first with: Code: rmmod nvidia
Scott |
Author: | MrFahrenheit [ Fri Jan 12, 2007 12:40 pm ] |
Post subject: | |
I made sure I did rmmod nvidia before hand. Should I do rmmod nvram as well (I think I tried that already but I don't remember anymore). Is there anything else I need to remove before running the install script? Thanks for the help so far. |
Author: | samilliken [ Fri Jan 12, 2007 1:34 pm ] |
Post subject: | |
MrFahrenheit wrote: Should I do rmmod nvram as well (I think I tried that already but I don't remember anymore).
Eek! No, nvram is the Non-Volatile RAM module and has nothing to do with nvidia. You have to get the system to the point where X has not even attempted to start (by renaming startx as a suggested way), the nvidia module has been removed (via rmmod) and the NVIDIA installer script can find the kernel source (via the --kernel-source-path parameter). Scott |
Author: | MrFahrenheit [ Fri Jan 12, 2007 7:15 pm ] |
Post subject: | |
Ok, tried this about 4 times now with the same results as I had before. Any other ideas as to what could be the problem? Here's the last chunk of my Xorg.0.log: Code: (II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32 (==) NVIDIA(0): RGB weight 888 (==) NVIDIA(0): Default visual is TrueColor (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0) (**) NVIDIA(0): Option "UseEdidDpi" "FALSE" (**) NVIDIA(0): Option "DPI" "100 x 100" (**) NVIDIA(0): Enabling RENDER acceleration (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X (EE) NVIDIA(0): log file that the GLX module has been loaded in your X (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If (EE) NVIDIA(0): you continue to encounter problems, Please try (EE) NVIDIA(0): reinstalling the NVIDIA driver. (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure (EE) NVIDIA(0): that there is a supported NVIDIA GPU in this system, and (EE) NVIDIA(0): that the NVIDIA device files have been created properly. (EE) NVIDIA(0): Please consult the NVIDIA README for details. (EE) NVIDIA(0): *** Aborting *** (II) UnloadModule: "nvidia" (II) UnloadModule: "ramdac" (II) UnloadModule: "wfb" (II) UnloadModule: "fb" (EE) Screen(s) found, but none have a usable configuration. |
Author: | MrFahrenheit [ Fri Jan 12, 2007 7:53 pm ] |
Post subject: | |
Ok, I think I've made some progress... There was an install-nvidia-debian being called from /etc/init.d/ that would automatically overwrite my installation of the latest nvidia drivers. Bad news is that now I'm just getting a crazy yellow screen. But progress is progress. Edit: OK, before installing the drivers, I ran update-rc.d -f install-nvidia-debian remove update-rc.d -f nvidia-glx remove update-rc.d -f nvidia-kernel remove After doing that, I installed the driver and now it looks like it works! Thanks for the help |
Author: | ErikU [ Sat Jan 13, 2007 4:23 am ] |
Post subject: | |
I am trying to do this and get the following: sh: NVIDIA-Linux-x86-1.0-9746-pkg1.run: No such file or directory Any thoughts? |
Author: | MrFahrenheit [ Sat Jan 13, 2007 7:55 pm ] |
Post subject: | |
you need to download the drivers from nVidia's website first. Run wget http://us.download.nvidia.com/XFree86/L ... 6-pkg1.run |
Author: | infinitenothing [ Sun Jan 14, 2007 5:37 am ] |
Post subject: | Re: SOLVED: Installing latest nvidia drivers on R5E50 |
samilliken wrote: Since the kernel source wasn't included...
Thanks for writing that up. I'm a bit new at all this and it solved a huge problem for me (no support for my card) |
Author: | spudgunman [ Mon Jan 15, 2007 9:51 pm ] |
Post subject: | |
so im following all this but i get errors that the NVIDIA script cant figure out the source version still i followed all directions on the post. |
Author: | MrFahrenheit [ Tue Jan 16, 2007 10:16 am ] |
Post subject: | |
Did you first download and extract the kernel source? Can you post the nvidia installer log file? |
Page 1 of 5 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |