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

Bug 708208

Summary: x11-drivers/nvidia-drivers: patches for kernel 5.5
Product: Gentoo Linux Reporter: Rafal Lalik <rafallalik>
Component: Current packagesAssignee: Jeroen Roovers (RETIRED) <jer>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for 440.44 for kernel 5.5

Description Rafal Lalik 2020-02-04 12:03:12 UTC
Created attachment 611554 [details, diff]
Patch for 440.44 for kernel 5.5

Hi, I have prepared patches for nvidia modules versions 418.88 (not in tree anymore but it is the last my card is supported so I use it) and 440.40 (which is based on patch 418.88 but one hunk was removed) to make it working with gentoo-sources-5.5.*.

In src_prepare add following lines:

    if use kernel_linux && kernel_is ge 5 5; then
        einfo "Patching files for kernels higher than 5.4"
        eapply ${FILESDIR}/${P}-linux_5.5_comp.patch
    fi

before command 'default'

I did not test it with two other versions in the tree: 430.64-r1 and 435.21-r1, but either version of the patches should be working.

Regards,
RafaƂ
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2020-02-04 12:07:05 UTC

*** This bug has been marked as a duplicate of bug 706774 ***