Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708208 - x11-drivers/nvidia-drivers: patches for kernel 5.5
Summary: x11-drivers/nvidia-drivers: patches for kernel 5.5
Status: RESOLVED DUPLICATE of bug 706774
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-04 12:03 UTC by Rafal Lalik
Modified: 2020-02-04 12:07 UTC (History)
0 users

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


Attachments
Patch for 440.44 for kernel 5.5 (nvidia-drivers-440.44-linux_5.5_comp.patch,18.15 KB, patch)
2020-02-04 12:03 UTC, Rafal Lalik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 ***