View previous topic :: View next topic |
Author |
Message |
e3k Guru
Joined: 01 Oct 2007 Posts: 513 Location: Inner Space
|
Posted: Thu Apr 11, 2013 6:27 pm Post subject: nvidia API mismatch after upgrading nvidia-drivers |
|
|
i did emerge -unD world today and nvidia-drivers-313.30 failed to install. in the error msg was a procedure:
Code: |
* # cd /usr/src/linux
* # make oldconfig
* # make modules_prepare
|
so i did it and emerged the drivers successfuly, but after pressing F7 to get back to X there was a blank screen.
/etc/init.d/xdm restart did not help.
i did then try to install an older version of nvidia-drivers but i had the same result: EE API mismatch (sorry i dont have the error in Xorg.0.old anymore)
i fixed this by recompiling the kernel and installing the previous version of nvidia-drivers-310.44 (no idea if i should try 313.30 again it is masked for now)
any idea what happened?
ps: here is some older post with the same error but other versions - https://forums.gentoo.org/viewtopic-t-881191-highlight-nvidia+api.html _________________
Flux & Contemplation - Portrait of an Artist in Isolation
|
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Thu Apr 11, 2013 10:09 pm Post subject: |
|
|
- emerge nvidia drivers v1
- modprobe nvidia / or reboot (so nvidia v1 loaded)
- emerge -u nvidia and you got v2
- startX : mismatch you have now v2 install while in memory you still have v1.
An example how to get your mismatch error:
The solve is so dawn easy :
Code: | rmmod nvidia (so unload v1)
modprobe nvidia (so load the v2)
startx (now happy as module in memory is for v2 and glx on disk is v2 too)
| Or the lazzy solve, reboot.
So when you emerge nvidia drivers and wish use it, unload the previous module and load the new version before starting X. |
|
Back to top |
|
|
e3k Guru
Joined: 01 Oct 2007 Posts: 513 Location: Inner Space
|
Posted: Fri Apr 12, 2013 7:46 am Post subject: |
|
|
ok thanks. will try your solution when i get that problem again. by the way the reboot did not help in my case (only after new kernel).
i was just curious because usually i build the new nvidia drivers and continue to use the pc normaly, i have the new drivers in memory when i start the pc next day. _________________
Flux & Contemplation - Portrait of an Artist in Isolation
|
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Fri Apr 12, 2013 8:50 am Post subject: |
|
|
I just gave you an example, the real explain to understand is that running module and currently install module must be same version.
Downgrading the drivers would make the same effect, with a running v2 and installed version v1.
e3k wrote: | i build the new nvidia drivers and continue to use the pc normaly |
Yes, as long as you don't try restarting X. |
|
Back to top |
|
|
e3k Guru
Joined: 01 Oct 2007 Posts: 513 Location: Inner Space
|
Posted: Fri Apr 12, 2013 9:00 am Post subject: |
|
|
Quote: | Yes, as long as you don't try restarting X. |
well i did not i just went from ctrl+alt+F1 to F7. usualy it worked fine but not this time. i tried to restart x afterwards. _________________
Flux & Contemplation - Portrait of an Artist in Isolation
|
|
Back to top |
|
|
|