I have managed to work nvidia binary drivers version 340.102 with kernel 4.15 with patch https://pastebin.com/raw/fVJVvQy7 , which is mentioned on https://devtalk.nvidia.com/default/topic/1026911/linux/4-15-rc1 -patches-for-384-98-and-340-104.
My nvidia m720 graphics is working again on Ubuntu 18.04. 1. Install prerequisites # apt-get install build-essential libc6:i386 2. Download nvidia binary drivers from http://www.nvidia.com/content /DriverDownload-March2009/confirmation.php?url=/XFree86/Linux- x86_64/340.104/NVIDIA-Linux-x86_64-340.104.run&lang=us&type=TITAN 3. Download patch for nvidia binary drivers in same directory # wget -O nv_patch_340.104_linux_kernel_4.15 https://pastebin.com/raw/fVJVvQy7 4. Boot ubuntu in single mode https://linuxconfig.org/how-to-boot- ubuntu-18-04-into-emergency-and-rescue-mode (How to access emergency.target at boot) 5. Enter root password 6. Unload nouveau driver # rmmod nouveau 7. Blacklist nouveau driver # echo "blacklist nouveau" > /etc/modprobe.d/blacklist-nouveau.conf # echo "options nouveau modeset=0" >> /etc/modprobe.d/blacklist-nouveau.conf File /etc/modprobe.d/blacklist-nouveau.conf should have following entries: blacklist nouveau options nouveau modeset=0 8. Update initial ramdisk # update-initramfs -u 9. Go to directory which contains downloaded nvidia-340 binary driver and set executable attribute # chmod +x NVIDIA-Linux-x86_64-340.104.run 10. Apply the patch to driver (maybe this could be done after downloading kernel 4.15 patch - have not tried it ...) # ./NVIDIA-Linux-x86_64-340.104.run --apply-patch nv_patch_340.104_linux_kernel_4.15 This will build custom NVIDIA binary driver package with name NVIDIA- Linux-x86_64-340.104-custom.run 11. Set executable attribute for custom driver package # chmod +x NVIDIA-Linux-x86_64-340.104-custom.run 12. Install the driver with command # ./NVIDIA-Linux-x86_64-340.104-custom.run Ignore errors and enable DKMS 13. Reboot computer # reboot Nvidia driver 340.120 should be loaded now and graphics fully working. This method is to complicated so I will also try methods mention in #112 and #113. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to mesa in Ubuntu. https://bugs.launchpad.net/bugs/1752053 Title: nvidia-390 fails to boot graphical display To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1752053/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp