Doesn't compile for groovy

Bug #1896878 reported by satmandu
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-340 (Ubuntu)
Confirmed
Undecided
Alberto Milone

Bug Description

dkms.conf can be changed to just use

PATCH[0]="kernel-5.7.patch"
PATCH[1]="buildfix_kernel_5.8.patch"

with patches from archlinux:
https://aur.archlinux.org/cgit/aur.git/tree/buildfix_kernel_5.8.patch?h=nvidia-340xx
and
https://gitlab.manjaro.org/packages/extra/linux57-extramodules/nvidia-340xx/-/raw/master/kernel-5.7.patch?inline=false

Except that the kernel-5.7 patch needs to be modified to remove the dkms.conf section therein, and the kernel/ paths for files needs to be removed.

A fixed kernel-5.7.patch file is attached.

Revision history for this message
satmandu (satadru-umich) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers-340 (Ubuntu):
status: New → Confirmed
Revision history for this message
Rüdiger Kupper (ruediger.kupper) wrote :

Please, can this be fixed in time? Users on hardware that requires this driver have no other option: either this works or they are left with an anusable system (like myself right now).
This is a »leave-Ubuntu«-impulse for everyone affected.
Please!! Fix this.

Revision history for this message
Rüdiger Kupper (ruediger.kupper) wrote :

@satmandu: buildfix_kernel_5.8.patch is no longer accessible via the link you mention. Is this the same patch as mentioned here? (002-kernel-5.8.patch)
https://aur.archlinux.org/packages/nvidia-340xx

Revision history for this message
Rüdiger Kupper (ruediger.kupper) wrote :

Answering my own question:
No, this was the wrong file. I extracted the right one from the gut repository here:
https://aur.archlinux.org/pkgbase/nvidia-340xx/

Needed to adjust the paths in the .patch file, but now it works. Attaching the adjusted patch.

Revision history for this message
Rüdiger Kupper (ruediger.kupper) wrote :
tags: added: rls-gg-incoming
Revision history for this message
Rüdiger Kupper (ruediger.kupper) wrote :

Here's how to resolve the issue:

- put the two patches above into /usr/src/nvidia-340-340.108/patches/
- modify /usr/src/nvidia-340-340.108/dkms.conf:
  - remove any PATCH[] lines
  - add
    PATCH[0]="kernel-5.7.patch"
    PATCH[1]="0002-kernel-5.8.patch"
- dpkg --configure nvidia-340

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "patch for kernel-5.8" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Changed in nvidia-graphics-drivers-340 (Ubuntu):
assignee: nobody → Alberto Milone (albertomilone)
Revision history for this message
satmandu (satadru-umich) wrote :
Revision history for this message
Rüdiger Kupper (ruediger.kupper) wrote :

This patch needa the /kernel/ path prefixes removed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.