[SOLVED] Ubuntu 22.04 w/ nvidia A1000 unresponsive display

Welcome to my first post, be gentle :wink:

I have Dell Precision 7680 running Ubuntu 22.04 with an Nvidia A1000 for a workstation and play around with CUDA and the like ( eventually ). I have the nvidia drivers installed with ubuntu-drivers and currently on nvidia-driver-550.

Periodically my screens will go black and unresponsive, sometimes just my second screen ( hdmi ). Other odd behavior will occur where my second screen will stay frozen but the laptop screen stays responsive. It seems to be associated with the errors below. When the screens both go black a REISUB won’t restart the machine.

I haven’t go through the process of uninstalling the drivers, defaulting back to the integrated intel gpu, then retrying installing the drivers.

Has anyone come across similar issues? Any suggestion on how to troubleshoot or recover in real time vs a hard reboot? Tell me what logs or info would be helpful.

Error:

Sep 14 09:43:11 Leslie kernel: [167858.505248] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to apply atomic modeset.  Error code: -22
Sep 14 09:43:44 Leslie kernel: [167891.553454] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Sep 14 09:43:47 Leslie kernel: [167894.689449] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Sep 14 10:47:14 Leslie kernel: [171701.295825] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Sep 14 10:47:17 Leslie kernel: [171704.303618] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Sep 14 10:47:20 Leslie kernel: [171707.504719] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Sep 14 10:47:20 Leslie kernel: [171707.511915] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to apply atomic modeset.  Error code: -22

tl;dr; Switch your windowing system from wayland to xorg for Ubuntu 22.04.

After some digging around it seems that there is still a bug with the 550 driver and Wayland. Ubuntu currently defaults to Wayland and you’ll get that bug for Ubuntu 22.04 and the 550 driver. I’ve read that 555 and 560 don’t have this issue, but I’m using ubuntu-driver and it seems that these are at least not an option for 22.04 ( I did a quick check and it looks like it is available for 24.04 in the ppas). The simplest fix staying within the ubuntu ecosystem ( no externally managed driver ) is to toggle your system over to xorg. You can do that with the cog wheel at the log in screen.

1 Like