Ubuntu 20.04 Suspend resume fails if laptop lid is closed [modeset(G0): failed to set mode: No space left on device] (Razer Blade 15 laptop with nvidia proprietary driver)

Bug #1901695 reported by Chris Bainbridge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
New
Undecided
Unassigned

Bug Description

Steps to reproduce:

  - Boot docked laptop (i.e. lid closed, external monitors connected, USB keyboard plugged in)
  - Log in, click desktop menu item "Power off / logout -> suspend"
  - Laptop will suspend
  - Press key on USB keyboard to resume
  - Resume fails - external monitor shows black screen with cursor
  - (this used to work ok in Ubuntu 18.04)

Journal shows that Xorg failed:

Oct 27 12:06:37 blade /usr/lib/gdm3/gdm-x-session[2125]: (--) NVIDIA(GPU-0): DELL 2209WA (DFP-0): connected
Oct 27 12:06:37 blade /usr/lib/gdm3/gdm-x-session[2125]: (--) NVIDIA(GPU-0): DELL 2209WA (DFP-0): Internal TMDS
Oct 27 12:06:37 blade /usr/lib/gdm3/gdm-x-session[2125]: (--) NVIDIA(GPU-0): DELL 2209WA (DFP-0): 165.0 MHz maximum pixel clock
Oct 27 12:06:37 blade /usr/lib/gdm3/gdm-x-session[2125]: (--) NVIDIA(GPU-0):
Oct 27 12:06:37 blade /usr/lib/gdm3/gdm-x-session[2125]: (--) NVIDIA(GPU-0): DFP-1: disconnected
Oct 27 12:06:37 blade /usr/lib/gdm3/gdm-x-session[2125]: (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
Oct 27 12:06:37 blade /usr/lib/gdm3/gdm-x-session[2125]: (--) NVIDIA(GPU-0): DFP-1: 1440.0 MHz maximum pixel clock
Oct 27 12:06:37 blade /usr/lib/gdm3/gdm-x-session[2125]: (--) NVIDIA(GPU-0):
Oct 27 12:06:37 blade /usr/lib/gdm3/gdm-x-session[2125]: (--) NVIDIA(GPU-0): DELL 2209WA (DFP-2): connected
Oct 27 12:06:37 blade /usr/lib/gdm3/gdm-x-session[2125]: (--) NVIDIA(GPU-0): DELL 2209WA (DFP-2): Internal TMDS
Oct 27 12:06:37 blade /usr/lib/gdm3/gdm-x-session[2125]: (--) NVIDIA(GPU-0): DELL 2209WA (DFP-2): 165.0 MHz maximum pixel clock
Oct 27 12:06:37 blade /usr/lib/gdm3/gdm-x-session[2125]: (--) NVIDIA(GPU-0):
Oct 27 12:06:37 blade /usr/lib/gdm3/gdm-x-session[2125]: (II) NVIDIA(0): Setting mode "HDMI-0: nvidia-auto-select @1050x1680 +2102+0 {ViewPortIn=1050x1680, ViewPortOut=1680x1050+0+0, Rotation=90}, DP-1: nvidia-auto-select @1050x1680 +1050+0 {ViewPortIn=1050x1680, ViewPortOut=1680x1050+0+0, Rotation=90}"
...
Oct 27 12:06:41 blade /usr/lib/gdm3/gdm-x-session[1595]: (EE) modeset(G0): failed to set mode: No space left on device
Oct 27 12:06:41 blade /usr/lib/gdm3/gdm-x-session[1595]: (EE)
Oct 27 12:06:41 blade /usr/lib/gdm3/gdm-x-session[1595]: Fatal server error:
Oct 27 12:06:41 blade /usr/lib/gdm3/gdm-x-session[1595]: (EE) EnterVT failed for gpu screen 0
Oct 27 12:06:41 blade /usr/lib/gdm3/gdm-x-session[1595]: (EE)
Oct 27 12:06:41 blade /usr/lib/gdm3/gdm-x-session[1595]: (EE)
Oct 27 12:06:41 blade /usr/lib/gdm3/gdm-x-session[1595]: Please consult the The X.Org Foundation support
Oct 27 12:06:41 blade /usr/lib/gdm3/gdm-x-session[1595]: at http://wiki.x.org
Oct 27 12:06:41 blade /usr/lib/gdm3/gdm-x-session[1595]: for help.
Oct 27 12:06:41 blade /usr/lib/gdm3/gdm-x-session[1595]: (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
Oct 27 12:06:41 blade /usr/lib/gdm3/gdm-x-session[1595]: (EE)
Oct 27 12:06:41 blade /usr/lib/gdm3/gdm-x-session[1595]: (EE) Server terminated with error (1). Closing log file.

Tags: focal
affects: gnome-shell (Ubuntu) → xorg-server (Ubuntu)
Revision history for this message
Chris Bainbridge (chris-bainbridge) wrote :
Revision history for this message
Chris Bainbridge (chris-bainbridge) wrote :

Sounds somewhat similar to bug #1879893 but it appears that is supposed to be fixed now.

description: updated
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1791981, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

tags: added: focal
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.