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]="buildfix_kernel_5.8.patch"```
- dpkg --configure nvidia-340

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1896878

Title:
  Doesn't compile for groovy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1896878/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to