Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 753629

Summary: x11-drivers/nvidia-drivers-455.38 modules do not load with kernel >5.8
Product: Gentoo Linux Reporter: Saul Peebsen <jaglover>
Component: Current packagesAssignee: David Seifert <soap>
Status: RESOLVED OBSOLETE    
Severity: normal CC: ionen, jstein, luke, waebbl-gentoo
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=747028
Whiteboard:
Package list:
Runtime testing required: ---

Description Saul Peebsen 2020-11-09 01:56:25 UTC
Kernel module nvidia_uvm fails to load with following error:
nvidia_uvm: Unknown symbol radix_tree_preloads (err -2)
nVidia announcement: "Due to an incompatibility issue, we advise customers to defer updating to Linux Kernel 5.9+ until mid-November when an NVIDIA Linux GPU driver update with Kernel 5.9+ support is expected to be available. Linux Kernel 5.9+ is incompatible with current and previous NVIDIA Linux GPU drivers."

Reproducible: Always

Steps to Reproduce:
1. Install kernel 5.9
2. Build nvidia modules
3. Load nvidia modules
Actual Results:  
Module nvidia loads, nvidia_uvm fails to load. As a result CUDA will not execute.

Expected Results:  
All modules load and are functional.
Comment 1 Ionen Wolkens gentoo-dev 2020-11-09 03:30:52 UTC
More precisely this bug applies to >=nvidia-drivers-450.80.02[uvm]

May be good to keep the bug open for reference until nvidia fix it but don't think much can done here, or at most "maybe" a ebuild warning when USE=uvm + kernel >=5.9.

It's possible to workaround by patching the kernel (see bug #747028 comment #8), not that a patch to circumvent license restrictions is something gentoo should add, but users are free to do what they want.

Otherwise, if you need USE=uvm / cuda / opencl / nvenc / etc..., do as nvidia advise. For common usage (games, vdpau) then 5.9 is known to be fine.
Comment 2 Ionen Wolkens gentoo-dev 2021-03-02 22:32:57 UTC
All in-tree modules now have full 5.10 support and I don't believe this is relevant anymore.