Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 779997 - >=x11-drivers/nvidia-drivers-460.56 API mismatch
Summary: >=x11-drivers/nvidia-drivers-460.56 API mismatch
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ionen Wolkens
URL: https://forums.gentoo.org/viewtopic-p...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-04 14:30 UTC by Red
Modified: 2021-04-04 20:57 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Red 2021-04-04 14:30:39 UTC
Versions 460.56 and 460.67 of x11-drivers/nvidia-drivers fail to start at boot with the following error in syslog:

NVRM: API mismatch: the client has the version 460.56, but
NVRM: this kernel module has the version 460.39.  Please
NVRM: make sure that this kernel module and all NVIDIA driver
NVRM: components have the same version.

Downgrading to 460.39-r1 solved the problem.

True of both 5.4.109 and 5.10.24 kernels.

See forum post for more information:

https://forums.gentoo.org/viewtopic-p-8595198.html

Reproducible: Always
Comment 1 Ionen Wolkens gentoo-dev 2021-04-04 20:57:08 UTC
Think the message is already clear that you're loading the wrong module, NVIDIA drivers needing to match libraries been a requirement since the early 2000s (nothing new, ask upstream if you want new libraries to work with old drivers).

I don't see any reason to include nvidia-drivers on an initramfs as it's not needed for bringing up filesystems. This also doesn't seem to be an issue with gentoo-kernel{-bin,}[initramfs]

The newer ebuilds (since 460.67) already have a warning in the ebuild about mismatch and I expect users with custom setups to know how to handle it:

    ewarn "Currently loaded NVIDIA modules do not match the newly installed"
    ewarn "libraries and will lead to GPU-using application issues."

This warning is also included in 390.141-r1 and 450.104.04-r1 LTS branches and will be stabled sometime later this month (460.39/56 are due for removal after a grace period).