@dino99 This is not fixed with nvidia-340. I have Xubuntu 14.04 with nvidia-340 and nvidia-304-uvm installed from the xorg-edgers PPA. It seems nvidia- libopencl1-340 depends on nvidia-340-uvm. I just installed the 3.19.3 vivid kernel from here:
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.19.3-vivid/ And got the usual error: Unpacking linux-image-3.19.3-031903-generic (3.19.3-031903.201503261036) ... Setting up linux-headers-3.19.3-031903 (3.19.3-031903.201503261036) ... Setting up linux-headers-3.19.3-031903-generic (3.19.3-031903.201503261036) ... Examining /etc/kernel/header_postinst.d. run-parts: executing /etc/kernel/header_postinst.d/dkms 3.19.3-031903-generic /boot/vmlinuz-3.19.3-031903-generic Error! Bad return status for module build on kernel: 3.19.3-031903-generic (x86_64) Consult /var/lib/dkms/nvidia-340/340.76/build/make.log for more information. I tried examining /var/lib/dkms/nvidia-340/340.76/build/make.log, but the file does not exist. The usual: $ sudo dpkg-reconfigure nvidia-340 and: $ sudo dpkg-reconfigure nvidia-340-uvm seem to have worked: $ sudo dpkg-reconfigure nvidia-340 Stopping nvidia-persistenced nvidia-persistenced: no process found Done. Removing all DKMS Modules Done. update-initramfs: deferring update (trigger activated) update-initramfs: Generating /boot/initrd.img-3.16.0-33-generic INFO:Enable nvidia-340 DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad Loading new nvidia-340-340.76 DKMS files... Building for 3.16.0-33-generic and 3.19.3-031903-generic Building for architecture x86_64 Building initial module for 3.16.0-33-generic Done. nvidia_340: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/3.16.0-33-generic/updates/dkms/ depmod.... DKMS: install completed. Building initial module for 3.19.3-031903-generic Done. nvidia_340: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/3.19.3-031903-generic/updates/dkms/ depmod.... DKMS: install completed. $ sudo dpkg-reconfigure nvidia-340-uvm Removing all DKMS Modules Done. Loading new nvidia-340-uvm-340.76 DKMS files... Building for 3.16.0-33-generic and 3.19.3-031903-generic Building for architecture x86_64 Building initial module for 3.16.0-33-generic Done. nvidia-340-uvm: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/3.16.0-33-generic/updates/dkms/ depmod.... DKMS: install completed. Building initial module for 3.19.3-031903-generic Done. nvidia-340-uvm: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/3.19.3-031903-generic/updates/dkms/ depmod.... DKMS: install completed. ** Changed in: nvidia-graphics-drivers-340 (Ubuntu) Status: New => Confirmed ** Changed in: nvidia-graphics-drivers-331 (Ubuntu) Status: Invalid => Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nvidia-graphics-drivers-331 in Ubuntu. https://bugs.launchpad.net/bugs/1268257 Title: nvidia-331-updates 331.38-0ubuntu3: nvidia-331-updates kernel module failed to build, with only error: "objdump: '... .tmp_nv.o': No such file" Status in NVIDIA Drivers Ubuntu: New Status in nvidia-graphics-drivers-331 package in Ubuntu: Confirmed Status in nvidia-graphics-drivers-331-updates package in Ubuntu: Invalid Status in nvidia-graphics-drivers-340 package in Ubuntu: Confirmed Status in nvidia-graphics-drivers-340-updates package in Ubuntu: New Status in nvidia-graphics-drivers-346 package in Ubuntu: Fix Released Status in nvidia-graphics-drivers-346-updates package in Ubuntu: Fix Released Bug description: **WARNING:** This bug has been widely reported and has *many* automatic subscribers. Please be considerate. **If you need help:** try searching and asking on http://discourse.ubuntu.com or http://ubuntuforums.org or contacting a nearby user group (see http://loco.ubuntu.com or search for "LUG" in your area). Link back to this bug for clarity. --- This seems to fix it (at least for one version upgrade) for many people $ sudo dpkg-reconfigure nvidia-331 after that... $ sudo dpkg-reconfigure nvidia-331-uvm (some users may be on the versions of these packages suffixed with -updates ) --- **If you want to unsubscribe:** see https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics- drivers-331-updates/+bug/1268257/+subscribe. You can also change your settings so you don't get comments but do get notified when the bug is solved - see https://askubuntu.com/questions/576523 for details. **If you want to comment:** Please consider if you have something meaningful to contribute to the 2500+ people who will get an email. **If you are an Ubuntu developer:** thanks for looking into this! :D ---- Nvidia kernel module failed to build on kernel 3.13.0-2 Yesterday when the new kernel was pushed, the dkms process failed. ProblemType: Package DistroRelease: Ubuntu 14.04 Package: nvidia-331-updates 331.20-0ubuntu9 ProcVersionSignature: Ubuntu 3.12.0-7.15-generic 3.12.4 Uname: Linux 3.12.0-7-generic x86_64 ApportVersion: 2.13.1-0ubuntu1 Architecture: amd64 DKMSKernelVersion: 3.13.0-2-generic Date: Sun Jan 12 01:28:35 2014 InstallationDate: Installed on 2013-11-03 (69 days ago) InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1) PackageVersion: 331.20-0ubuntu9 SourcePackage: nvidia-graphics-drivers-331-updates Title: nvidia-331-updates 331.20-0ubuntu9: nvidia-331-updates kernel module failed to build UpgradeStatus: Upgraded to trusty on 2013-12-29 (13 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1268257/+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