The problem in line 16 obviously is in "PATCH{7]" which has wrong
brackets.

Tho it needs to be fixed in /usr/src/nvidia-340-340.108/dkms.conf
instead which is the source for the mentioned file in the build tree.

If you already successfully installed the version where the patch didn't
apply, you will most probably need to remove and unbuild the module to
try the build again.

Something like:

dkms remove -m nvidia-340/340.108 -k all
dkms unbuild -m nvidia-340/340.108 -k all
dkms install -m nvidia-340/340.108 -k all

should do the trick. Not tested tho, just our of my memory

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-340 in Ubuntu.
https://bugs.launchpad.net/bugs/1872950

Title:
  Nvidia 340.108 fails to install with kernels 5.5 onward

Status in nvidia-graphics-drivers-340 package in Ubuntu:
  Fix Committed
Status in nvidia-graphics-drivers-340 source package in Groovy:
  Fix Committed

Bug description:
  SRU request:

  [Impact]

   * Installing the 340 driver will fail when running Linux 5.7 or
  newer.

  [Test Case]

   * Install nvidia-340 from -proposed.

   * Check that the modules was built and installed, using the
     following command:

     dkms status

  [Regression Potential]

   * The driver once built and installed could be not working and lead
  to have the desktop not starting for example. Check that you get a
  desktop loaded and decent performances

  ____

  Hi developers,

  thanks for your great work on porting legacy drivers to Ubuntu.

  Anyway I have to complain in not seeing Nvidia 340.108 driver for
  kernels 5.5 and 5.6 yet, leaving users stuck on kernel 5.4,
  because Nvidia 340.108 fails to install with kernels 5.5 and 5.6.

  Archlinux already has a driver for Kernel 5.6 via AUR
  (https://aur.archlinux.org/packages/nvidia-340xx/) and Debian SID has
  one for kernel 5.5.

  So, the question is: when will we see a new version in repositories?

  Bye and have a nice day.

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to