I can confirm Kai-Heng Feng's comment, installing apt package nvidia-384 works fine.
My system has kernel versions 4.13.0-25-generic and 4.13.0-32-generic, with the additional headers and extras packages for both. When I install packages nvidia-387 or nvidia-390, the next boot results in a black screen and the need to reboot to root console to fix this situation by uninstalling the package. However, installing nvidia-384 results in the ability to boot to gnome desktop normally. After doing so with either kernel, I can confirm the nvidia driver is loaded from the output of: $ lspci -k | grep -A 2 -E "(VGA|3D)" Then, if I run: $ __GL_SYNC_TO_VBLANK=0 glxgears I see that the framerate for my 1080 ti card is over 28K fps (vs a lower rate when the nouveau driver is loaded). Finally -- I had no trouble booting to desktop after removing the apt package and installing the proprietary driver package version 390.25 (same minor version as the apt package) provided directly from nvidia's website for Linux 64-bit. I'm not recommending this, but pointing out that the driver scripts and software from the vendor do not have the problem exhibited by the apt package for versions 387 and 390, so there is most likely some problem with the post-install commands customized by the apt packages. I've reverted to the nvidia-384 apt package for the time being. If you do try the installer from the nvidia website, however, be sure you have 'cc' configured to run gcc and not clang, or else the compilation of the kernel module will fail. (I couldn't get around this by setting env vars) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1742302 Title: Kernel 4.13.0-25 broke nvidia driver Status in linux package in Ubuntu: Confirmed Bug description: After updating to linux-image-4.13.0-25-generic the binary nvidia driver 387.22 cannot be built. As a result the system does not boot into the desktop environment (in my case, KDE). I've attached the driver build log. ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: linux-image-4.13.0-25-generic 4.13.0-25.29 ProcVersionSignature: Ubuntu 4.13.0-21.24-generic 4.13.13 Uname: Linux 4.13.0-21-generic x86_64 NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia ApportVersion: 2.20.7-0ubuntu3.7 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: lastique 3049 F.... pulseaudio /dev/snd/controlC2: lastique 3049 F.... pulseaudio /dev/snd/controlC3: lastique 3049 F.... pulseaudio /dev/snd/controlC1: lastique 3049 F.... pulseaudio CurrentDesktop: KDE Date: Wed Jan 10 02:00:46 2018 InstallationDate: Installed on 2015-05-01 (984 days ago) InstallationMedia: Kubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422) MachineType: System manufacturer System Product Name ProcFB: ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.13.0-21-generic root=UUID=a03f1835-52f9-4409-9da7-fe45770637ae ro quiet splash nomdmonddf nomdmonisw RelatedPackageVersions: linux-restricted-modules-4.13.0-21-generic N/A linux-backports-modules-4.13.0-21-generic N/A linux-firmware 1.169.1 RfKill: 0: hci0: Bluetooth Soft blocked: no Hard blocked: no SourcePackage: linux UpgradeStatus: Upgraded to artful on 2017-11-03 (67 days ago) dmi.bios.date: 11/09/2012 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 3603 dmi.board.asset.tag: To be filled by O.E.M. dmi.board.name: P8Z68-V PRO dmi.board.vendor: ASUSTeK Computer INC. dmi.board.version: Rev 1.xx dmi.chassis.asset.tag: Asset-1234567890 dmi.chassis.type: 3 dmi.chassis.vendor: Chassis Manufacture dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr3603:bd11/09/2012:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP8Z68-VPRO:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion: dmi.product.family: To be filled by O.E.M. dmi.product.name: System Product Name dmi.product.version: System Version dmi.sys.vendor: System manufacturer To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1742302/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp