Ubuntu 18.04 crashes on Boot with Geforce GTX 1070

Most times when I start my PC it crashes on boot, after 1-2 restarts it works. I have tried to update to newest kernel and latest nvidia driver in the past, but the issues remained.

Currently I am using Ubuntu 18.04.1 LTS with kernel 4.20.3-042003-generic. I have the graphic card GeForce GTX 1070/PCIe/SSE2. I am using nvidia-driver-415.

I know that the latest driver is version 418.43, but I don’t know how to install it on Ubuntu. In the official PPA sudo add-apt-repository ppa:graphics-drivers/ppa the latest driver is 415.

Here is a screenshot of the error from my log boot.

The problematic line is this one:

kernel: nvidia-modeset: ERROR: GPU:0: Idling display engine timed out: 0x0000927c:0:0

Any ideas how I can fix it?

Here is the full log of my last boot:

ukuu.desktop[2925]: ----------------------------------------------------------------------
    ukuu.desktop[2925]: Found installed: 4.15.0.45.47
    ukuu.desktop[2925]: Found installed: 4.15.0-44.47
    ukuu.desktop[2925]: Found installed: 4.15.0-45.48
    ukuu.desktop[2925]: Found installed: 4.20.3-042003.201901171122
    ukuu.desktop[2925]: ----------------------------------------------------------------------
    ukuu.desktop[2925]: No updates found
    kernel: nvidia-modeset: ERROR: GPU:0: Idling display engine timed out: 0x0000927c:0:0
    kernel: nvidia-modeset: ERROR: GPU:0: Idling display engine timed out: 0x0000927c:0:0
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): BenQ BL2706HT (DFP-0): connected
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): BenQ BL2706HT (DFP-0): Internal TMDS
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): BenQ BL2706HT (DFP-0): 165.0 MHz maximum pixel clock
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0):
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): BenQ BL2706HT (DFP-1): connected
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): BenQ BL2706HT (DFP-1): Internal TMDS
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): BenQ BL2706HT (DFP-1): 0.0 MHz maximum pixel clock
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0):
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): DFP-2: disconnected
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): DFP-2: 1440.0 MHz maximum pixel clock
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0):
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): DFP-3: disconnected
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0):
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): DFP-4: disconnected
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): DFP-4: 1440.0 MHz maximum pixel clock
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0):
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): DFP-5: disconnected
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): DFP-5: 165.0 MHz maximum pixel clock
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0):
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): DFP-6: disconnected
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): DFP-6: 1440.0 MHz maximum pixel clock
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0):
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): DFP-7: disconnected
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): DFP-7: Internal TMDS
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0): DFP-7: 165.0 MHz maximum pixel clock
    /usr/lib/gdm3/gdm-x-session[1587]: (--) NVIDIA(GPU-0):
    gsd-media-keys[2892]: g_variant_get_va: assertion 'value != NULL' failed
    gsd-media-keys[2892]: g_variant_unref: assertion 'value != NULL' failed
    org.gnome.Shell.desktop[2651]: current session already has an ibus-daemon.
    dbus-daemon[1317]: [system] Activating via systemd: service name='org.freedesktop.GeoClue2' unit='geoclue.service' requested by ':1.88' (uid=1000 pid=2651 comm="/usr/bin/gnome-shell 
    systemd[1]: Starting Location Lookup Service...
    dbus-daemon[1317]: [system] Successfully activated service 'org.freedesktop.GeoClue2'
    systemd[1]: Started Location Lookup Service.
    polkitd(authority=local)[1411]: Registered Authentication Agent for unix-session:1 (system bus name :1.88 [/usr/bin/gnome-shell], object path /org/freedesktop/PolicyKit1/Authenticati
    gnome-shell[2651]: Telepathy is not available, chat integration will be disabled.
    gnome-shell[2651]: JS WARNING: [/usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com/appIcons.js 1028]: unreachable code after return statement
    dropbox[2964]: Unable to connect to the Notification Watcher: Timeout was reached
    update-notifier[3287]: Unable to connect to the Notification Watcher: Timeout was reached
    gsd-xsettings[2841]: Failed to get current display configuration state: Timeout was reached

Whoups… can an admin delete this? My questions was submitted twice. When I clicked on submit first I got a timeout, didnt know it really submitet it. Sorry.

This rather sounds like a hardware fault, maybe some thermal defect so it only works when warm. The line

BenQ BL2706HT (DFP-1): 0.0 MHz maximum pixel clock

is also suspicious, 0.0MHz pixel clock doesn’t sound right. Does it reliably work when you remove that specific monitor or connect it to a different output, using a different cable?

How do I find out which of monitors is DFP-1 ? I am using 2 identical monitors, one is connected with a hdmi cable and one with a dvi cable.

Do you think my graphic card is defect? If so, is there any way to prove if its defecet? I just bought it a couple of month ago.

Use xrandr to see which connector changes to disconnected when you pull one of the monitors. Are you using any type of converters? It’s unclear right now whether the card is defect or something else like monitor, cables, converters. You could also just switch monitors at the card’s connectors and then see if the the failure changes.