View previous topic :: View next topic |
Author |
Message |
dark_teferi Tux's lil' helper
Joined: 07 Aug 2003 Posts: 138 Location: AZ
|
Posted: Wed Dec 06, 2006 6:07 am Post subject: Trying to update to nvidia-drivers... :( [Solved] |
|
|
So...I was a little late on the transition from nvidia-glx/nvidia-kernel to nvidia-drivers.
Fueled by my ambition to upgrade to firefox 2.0, I decided to try to upgrade to those drivers, but after doing a LONG process of emerge -up world'ing, i emerge -C nvidia-glx nvidia-kernel and emerged nvidia-drivers. When i tried to do "startx", I got.. Quote: | Failed to initialize the GLX module; please check in your X log file that the GLX module has been loaded in your X server, and that the module is the NVIDIA GLX module. If you Contiue to encounter problems, Please try reinstalling the NVIDIA driver.
Error: API Mismatch: the NVIDIA kernel module has the version 1.0-8762, but this X module has the version 1.0-9631. Please make sure that the kernel module and all NVIDIA driver components have the same version.
Failed to initialize the NVIDIA kernel module! Please ensure that there is a supported NVIDIA GPU in this syhstem, and that the NVIDIA decide files have been created properly. Please consult the NVIDIA readme for details. |
I figured "oh, my video card must not be recent enough to use nvidia-drivers (I have a GeForce 6600 GS) and so I tried nvidia-legacy-drivers, except I got the same thing in that quote except without the GLX error, but the kernel module version was 1.0.8762 and the X module was 1.0.7184
I am really at a loss at what to do. :-/ Please help. _________________ "Rain from this storm leaves you pinned to the ground like an insect"
Last edited by dark_teferi on Wed Dec 06, 2006 7:29 am; edited 2 times in total |
|
Back to top |
|
|
keyson l33t
Joined: 10 Jun 2003 Posts: 830 Location: Sweden
|
Posted: Wed Dec 06, 2006 6:17 am Post subject: |
|
|
Hi.
When you have upgraded the nvidia driver you must stop X
Code: | /etc/init.d/xdm stop |
Then you have to remove the loaded kernel module (the old one)
check that it is gone
Then load the newly build. Best is to do a depmode also.
Code: |
depmod -a
modprobe nvidia
|
Now check that it is loaded.
Now start up X
Code: | /etc/init.d/xdm start |
That is why you have a mismatch between the glx and the kernel module.
EDIT: fixed the depmod
Last edited by keyson on Wed Dec 06, 2006 6:33 am; edited 1 time in total |
|
Back to top |
|
|
dark_teferi Tux's lil' helper
Joined: 07 Aug 2003 Posts: 138 Location: AZ
|
Posted: Wed Dec 06, 2006 6:21 am Post subject: |
|
|
I do not have a depmode command, but I have a depmod command. Is it the same thing?
EDIT:
wow i feel retarded. Thanks guys all I had to do was rmmod nvidia and then reload it.
Thanks. _________________ "Rain from this storm leaves you pinned to the ground like an insect" |
|
Back to top |
|
|
keyson l33t
Joined: 10 Jun 2003 Posts: 830 Location: Sweden
|
Posted: Wed Dec 06, 2006 6:22 am Post subject: |
|
|
Yes sorry.
I do this all the time. It should not be an e on the end.
so depmod it is. |
|
Back to top |
|
|
dracozny Tux's lil' helper
Joined: 04 May 2004 Posts: 86
|
Posted: Thu Dec 28, 2006 7:06 pm Post subject: similar situation |
|
|
got similar fault i fixed the glx error by
Code: |
# eselect opengl set nvidia
Switching to nvidia OpenGL interface... done
|
but then i get a new error when atarting X
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 "NoLogo" "TRUE"
(**) NVIDIA(0): Option "NvAGP" "2"
(**) NVIDIA(0): Option "UseEdidFreqs" "FALSE"
(**) NVIDIA(0): Enabling RENDER acceleration
(**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID has been
(**) NVIDIA(0): disabled on all display devices.
(**) NVIDIA(0): Use of AGPGART requested
(EE) NVIDIA(0): Failed to load the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "ramdac"
(II) UnloadModule: "fb"
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:
no screens found
|
Code: |
# modprobe nvidia
FATAL: Error inserting nvidia (/lib/modules/2.6.15-gentoo-r1/video/nvidia.ko): Invalid module format
|
any ideas?
just found a post which suggests that I need to build a new kernel as it was previously compiled with gcc 3.4 and the modules are with gcc 4.1 _________________ I do not think there is any thrill that can go through the human heart like that felt by the inventor as he sees some creation of the brain unfolding to success... Such emotions make a man forget food, sleep, friends, love, everything.
-Nikola Tesla- |
|
Back to top |
|
|
|