Nvidia drivers / kernel mismatch? [Solved]

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

Nvidia drivers / kernel mismatch? [Solved]

Postby skippy204 » Fri Oct 27, 2017 17:35

Hello;

I installed Sabyon on a new computer. Booted into the OS. All working good.

Executed:
Code: Select all
equo update
equo upgrade --ask --purge
equo conf update
equo libtest
equo deptest
equo cleanup


reboot the system

X no longer works.

dmesg tells me:

Code: Select all
API mismatch: the client has the version 384.90 but this kernel module has the version 370.28. Please make sure that this kernel module and all NVIDIA driver components are the same version.


So I'm thinking this is a mismatch between the Nvidia drivers in the kernel and the Nividia drivers installed with the nvidia-drivers package. Maybe I need to update the kernel (which I've never done on a Sabyon box).

I went to

https://wiki.sabayon.org/index.php?titl ... ng_Entropy

and attempted to follow that. However

Code: Select all
 # equo install --ask linux-sabayon


gives me a long list of packages followed by "no packages found"

and

Code: Select all
quo search nvidia-drivers


gives me these versions, neither of which match what I think the kernel is looking for.

Code: Select all
384.90
340.102-r1


Am I correctly identifying the problem? How can I go about resolving?

Thank you much!
Last edited by skippy204 on Wed Nov 08, 2017 20:34, edited 1 time in total.
skippy204
Baby Hen
 
Posts: 9
Joined: Mon Apr 04, 2016 19:17

Re: Nvidia drivers / kernel mismatch?

Postby sabayonino » Sat Oct 28, 2017 0:05

which kernel version do you have installed or running ?

To install nvidia kernel modules on running kernel :
Code: Select all
# equo i  nvidia-drivers#$(uname -r) --ask


PS : There are nvidia-drivers legacy for older nvidia GPUs (x11-drivers/nvidia-drivers-340-*)


reboot and goodluck :roll:
[Che Cos'è Il Calcolo Distribuito (BOINC)

BOINC ready ! Sabayon+BOINC = BILD ,my Sabayon spin :cyclops: - Ready to crunch for the Science everywhere :)
User avatar
sabayonino
Sagely Hen
 
Posts: 3143
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Nvidia drivers / kernel mismatch?

Postby skippy204 » Sat Oct 28, 2017 0:48

Kernel is 4.8.0

Code: Select all
# equo i  nvidia-drivers#$(uname -r) --ask


returns

Code: Select all
no packages found.
skippy204
Baby Hen
 
Posts: 9
Joined: Mon Apr 04, 2016 19:17

Re: Nvidia drivers / kernel mismatch?

Postby sabayonino » Sat Oct 28, 2017 11:35

kernel 4.8 (and its modules) was dropped time ago
Code: Select all
# $ equo s linux-sabayon -qv
sys-kernel/linux-sabayon-3.10.107
sys-kernel/linux-sabayon-3.18.73
sys-kernel/linux-sabayon-4.1.43
sys-kernel/linux-sabayon-4.11.12
sys-kernel/linux-sabayon-4.12.14
sys-kernel/linux-sabayon-4.13.6
sys-kernel/linux-sabayon-4.4.91
sys-kernel/linux-sabayon-4.9.56


if you want latest nvidia-drivers consider to upgrade to available kernels

kernel-switcher can help you to do this
See available kernels
Code: Select all
# kernel-switcher list


Switch to kernel (its modules will be installed)
Code: Select all
# kernel-switch <new-kernel-to-instal>l


I.e. : switch to the latest available kernel on repository : (4.13.6)
Consider to switch to one (or more than one) of these kernels according your hardware specs
Code: Select all
#kernel-switcher switch  sys-kernel/linux-sabayon-4.13.6 --ask


Look at the new nvidia-drivers installation


more details of kernel-switcher tool :
Code: Select all
# kernel-switcher --help
[Che Cos'è Il Calcolo Distribuito (BOINC)

BOINC ready ! Sabayon+BOINC = BILD ,my Sabayon spin :cyclops: - Ready to crunch for the Science everywhere :)
User avatar
sabayonino
Sagely Hen
 
Posts: 3143
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Nvidia drivers / kernel mismatch?

Postby skippy204 » Wed Nov 08, 2017 20:33

Thank you for all that.

I got the kernel updated and and synced with Nvidia.

Problem solved. Now on to the next problem which I'm about to post about.
skippy204
Baby Hen
 
Posts: 9
Joined: Mon Apr 04, 2016 19:17


Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 1 guest

cron