System in question is running Kubuntu 16.04.3 LTS.
I installed the latest Nvidia drivers a few weeks ago after installing a GTX 1050. This system worked for a bit. It booted fine, games ran great.
Today I powered down the system to remove a blank hard drive I needed to put in another system, and rebooted. I received boot errors and had to go in the recovery console to remove that drive from /etc/fstab
. I rebooted again, and the system boots okay but X does not fully initialize. I get the Kubuntu logo and progress meter, then a blank screen with nothing other than the mouse cursor. I can ctrl+alt+F1 or ssh to get into a shell. All services seem to be running fine except for X.
I looked at a few questions on this site, but nothing seems to work.
Install Nvidia driver instead of nouveau
This system is definitely using the Nvidia drivers, not Noveau.
user@host:~# lshw -c video
*-display
description: VGA compatible controller
product: NVIDIA Corporation
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:35 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:f7000000-f707ffff
*-display UNCLAIMED
description: Display controller
product: Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm bus_master cap_list
configuration: latency=0
resources: memory:f7400000-f77fffff memory:d0000000-dfffffff ioport:f000(size=64)
The only other video controller is the Intel i7 gen3 integrated graphics. However, the monitor is plugged into the GTX 1050 and has been working fine for several weeks. There is no option to disable the CPU-integrated graphics in UEFI setup.
I did try blacklisting Noveau, but it did nothing so I backed out that change. As you can see above, the Nvidia driver is the one being used.
Ubuntu 16.04 + Nvidia Driver = Blank screen
The option for nomodeset
is already present in the grub configuration:
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-0a962b91-f511-4b4c-9248-ef00fe9a3768' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 0a962b91-f511-4b4c-9248-ef00fe9a3768
else
search --no-floppy --fs-uuid --set=root 0a962b91-f511-4b4c-9248-ef00fe9a3768
fi
linux /boot/vmlinuz-4.4.0-97-generic root=UUID=0a962b91-f511-4b4c-9248-ef00fe9a3768 ro quiet splash nomodeset $vt_handoff
initrd /boot/initrd.img-4.4.0-97-generic
}
I have not upgraded the kernel since September 19, which was before installing the Nvidia driver. When I installed it (ran the .run
file) I selected the option to install a binary kernel module that would automatically get used by new kernel versions installed after the driver.
This system does not dual boot: it is a dedicated Kubuntu system. I have rebooted multiple times since installing the Nvidia drivers without a problem. Every once in a while when logging out the screen seems to freeze for a little bit and gets corrupted, but eventually corrects itself. This particular problem does not correct itself. I booted it up earlier today and left it for around six hours. It was right where I left it when I returned home. If I try the trick where I boot into recovery mode then continue as normal, the same thing happens. If I use an older version of the kernel at boot, the same issue happens. I also tried removing the video card and reseating it in case I bumped it (although I am getting video through the card regardless), did not help.
I am not sure what to do next. Is there something else that will fix this, or what are my next steps to troubleshoot this problem?
.run
from Nvidia, and noveau does not support the GTX 1050, what else would I use? – Oct 15 '17 at 05:31