[470.74] [REGRESSION] Full screen videos in Google Chrome freeze the system after suspend/resume

Steps to reproduce:

  1. Suspend/Resume
  2. Open any video hosting website (youtube, twitch, etc)
  3. Start playing video
  4. Go Full Screen

At this point the display turns completely black, mouse becomes invisible, audio stops, the system looks to be dead. Pressing “Alt + Tab” or “Esc” “fixes” the problem, only you can no longer watch the video full screen.

OS: Fedora 33/XFCE with no compositing
GPU: NVIDIA GTX 1660 Ti
Browser: Google Chrome, Version 93.0.4577.82 (Official Build) (64-bit)

Edit: after reboot the bug is gone. Yes, the regression is down to suspend/resume. Previous NVIDIA drivers didn’t have it. There are no messages in dmesg.

Xorg.log has some weird messages (I can’t say if I had them before):

[ 15807.593] (WW) NVIDIA(0): MetaMode "DP-2:nvidia-auto-select" could not be re-validated
[ 15807.593] (WW) NVIDIA(0):     against the current hardware configuration; removing.
[ 15807.593] (WW) NVIDIA(0): MetaMode "DP-2:2560x1440_120" could not be re-validated
[ 15807.593] (WW) NVIDIA(0):     against the current hardware configuration; removing.
[ 15807.593] (WW) NVIDIA(0): MetaMode "DP-2:2560x1440_100" could not be re-validated
[ 15807.593] (WW) NVIDIA(0):     against the current hardware configuration; removing.
[ 15807.593] (WW) NVIDIA(0): MetaMode "DP-2:2560x1440_60" could not be re-validated against
[ 15807.593] (WW) NVIDIA(0):     the current hardware configuration; removing.
[ 15807.593] (WW) NVIDIA(0): MetaMode "DP-2:1920x1080" could not be re-validated against
[ 15807.593] (WW) NVIDIA(0):     the current hardware configuration; removing.
[ 15807.593] (WW) NVIDIA(0): MetaMode "DP-2:1920x1080_100" could not be re-validated
[ 15807.593] (WW) NVIDIA(0):     against the current hardware configuration; removing.
[ 15807.593] (WW) NVIDIA(0): MetaMode "DP-2:1920x1080_60" could not be re-validated against
[ 15807.593] (WW) NVIDIA(0):     the current hardware configuration; removing.
[ 15807.593] (WW) NVIDIA(0): MetaMode "DP-2:1920x1080_60_0" could not be re-validated
[ 15807.593] (WW) NVIDIA(0):     against the current hardware configuration; removing.
[ 15807.593] (WW) NVIDIA(0): MetaMode "DP-2:1920x1080_50" could not be re-validated against
[ 15807.593] (WW) NVIDIA(0):     the current hardware configuration; removing.
[ 15807.594] (WW) NVIDIA(0): MetaMode "DP-2:1280x720" could not be re-validated against the
[ 15807.594] (WW) NVIDIA(0):     current hardware configuration; removing.
[ 15807.594] (WW) NVIDIA(0): MetaMode "DP-2:1280x720_50" could not be re-validated against
[ 15807.594] (WW) NVIDIA(0):     the current hardware configuration; removing.
[ 15807.594] (WW) NVIDIA(0): MetaMode "DP-2:1024x768" could not be re-validated against the
[ 15807.594] (WW) NVIDIA(0):     current hardware configuration; removing.
[ 15807.594] (WW) NVIDIA(0): MetaMode "DP-2:800x600" could not be re-validated against the
[ 15807.594] (WW) NVIDIA(0):     current hardware configuration; removing.
[ 15807.594] (WW) NVIDIA(0): MetaMode "DP-2:720x480" could not be re-validated against the
[ 15807.594] (WW) NVIDIA(0):     current hardware configuration; removing.
[ 15807.594] (WW) NVIDIA(0): MetaMode "DP-2:640x480" could not be re-validated against the
[ 15807.594] (WW) NVIDIA(0):     current hardware configuration; removing.
[ 15807.594] (WW) NVIDIA(0): MetaMode "DP-2:640x480_60_0" could not be re-validated against
[ 15807.594] (WW) NVIDIA(0):     the current hardware configuration; removing.
[ 15807.594] (WW) NVIDIA(0): MetaMode 
[ 15807.594] (WW) NVIDIA(0):     "DP-2:nvidia-auto-select{ViewPortIn=1920x1200,ViewPortOut=2304x1440+128+0}"
[ 15807.594] (WW) NVIDIA(0):     could not be re-validated against the current hardware
[ 15807.594] (WW) NVIDIA(0):     configuration; removing.
[ 15807.594] (WW) NVIDIA(0): MetaMode
[ 15807.594] (WW) NVIDIA(0):     "DP-2:nvidia-auto-select{ViewPortIn=1680x1050,ViewPortOut=2304x1440+128+0}"
[ 15807.594] (WW) NVIDIA(0):     could not be re-validated against the current hardware
[ 15807.594] (WW) NVIDIA(0):     configuration; removing.
[ 15807.594] (WW) NVIDIA(0): MetaMode
[ 15807.594] (WW) NVIDIA(0):     "DP-2:nvidia-auto-select{ViewPortIn=1600x1200,ViewPortOut=1920x1440+320+0}"
[ 15807.594] (WW) NVIDIA(0):     could not be re-validated against the current hardware
[ 15807.594] (WW) NVIDIA(0):     configuration; removing.
[ 15807.594] (WW) NVIDIA(0): MetaMode
[ 15807.594] (WW) NVIDIA(0):     "DP-2:nvidia-auto-select{ViewPortIn=1440x900,ViewPortOut=2304x1440+128+0}"
[ 15807.594] (WW) NVIDIA(0):     could not be re-validated against the current hardware
[ 15807.594] (WW) NVIDIA(0):     configuration; removing.
[ 15807.594] (WW) NVIDIA(0): MetaMode
[ 15807.594] (WW) NVIDIA(0):     "DP-2:nvidia-auto-select{ViewPortIn=1366x768,ViewPortOut=2560x1439+0+0}"
[ 15807.594] (WW) NVIDIA(0):     could not be re-validated against the current hardware
[ 15807.594] (WW) NVIDIA(0):     configuration; removing.
[ 15807.594] (WW) NVIDIA(0): MetaMode
[ 15807.594] (WW) NVIDIA(0):     "DP-2:nvidia-auto-select{ViewPortIn=1280x1024,ViewPortOut=1800x1440+380+0}"
[ 15807.594] (WW) NVIDIA(0):     could not be re-validated against the current hardware
[ 15807.594] (WW) NVIDIA(0):     configuration; removing.
[ 15807.594] (WW) NVIDIA(0): MetaMode
[ 15807.594] (WW) NVIDIA(0):     "DP-2:nvidia-auto-select{ViewPortIn=1280x800,ViewPortOut=2304x1440+128+0}"
[ 15807.594] (WW) NVIDIA(0):     could not be re-validated against the current hardware
[ 15807.594] (WW) NVIDIA(0):     configuration; removing.
[ 15807.594] (--) NVIDIA(0): No enabled display devices found; starting anyway because
[ 15807.594] (--) NVIDIA(0):     AllowEmptyInitialConfiguration is enabled
[ 15807.594] (II) NVIDIA(0): Setting mode "NULL"
 15807.623] (II) event1  - Power Button: is tagged by udev as: Keyboard
[ 15807.623] (II) event1  - Power Button: device is a keyboard
[ 15807.624] (II) event0  - Power Button: is tagged by udev as: Keyboard
[ 15807.624] (II) event0  - Power Button: device is a keyboard
[ 15807.624] (II) event18 - Logitech USB Keyboard: is tagged by udev as: Keyboard
[ 15807.624] (II) event18 - Logitech USB Keyboard: device is a keyboard
[ 15807.625] (II) event19 - Logitech USB Keyboard Consumer Control: is tagged by udev as: Keyboard
[ 15807.625] (II) event19 - Logitech USB Keyboard Consumer Control: device is a keyboard
[ 15807.626] (II) event20 - Logitech USB Keyboard System Control: is tagged by udev as: Keyboard
[ 15807.626] (II) event20 - Logitech USB Keyboard System Control: device is a keyboard
[ 15807.627] (II) event21 - Logitech G203 Prodigy Gaming Mouse: is tagged by udev as: Mouse
[ 15807.627] (II) event21 - Logitech G203 Prodigy Gaming Mouse: device is a pointer
[ 15807.628] (II) event22 - Logitech G203 Prodigy Gaming Mouse Keyboard: is tagged by udev as: Keyboard
[ 15807.628] (II) event22 - Logitech G203 Prodigy Gaming Mouse Keyboard: device is a keyboard
[ 15807.630] (--) NVIDIA(GPU-0): DFP-2: disconnected
[ 15807.630] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[ 15807.630] (--) NVIDIA(GPU-0): DFP-2: 2660.0 MHz maximum pixel clock
[ 15807.630] (--) NVIDIA(GPU-0): 
[ 15814.491] (--) NVIDIA(GPU-0): LG Electronics LG ULTRAGEAR (DFP-2): connected
[ 15814.491] (--) NVIDIA(GPU-0): LG Electronics LG ULTRAGEAR (DFP-2): Internal DisplayPort
[ 15814.491] (--) NVIDIA(GPU-0): LG Electronics LG ULTRAGEAR (DFP-2): 2660.0 MHz maximum pixel clock
[ 15814.491] (--) NVIDIA(GPU-0): 
[ 15814.494] (II) NVIDIA(0): Setting mode "DP-2: nvidia-auto-select @2560x1440 +0+0 {AllowGSYNC=Off, ViewPortIn=2560x1440, ViewPortOut=2560x1440+0+0}"
[ 16015.320] (EE) event18 - Logitech USB Keyboard: client bug: event processing lagging behind by 33ms, your system is too slow
[ 16514.796] (EE) event18 - Logitech USB Keyboard: client bug: event processing lagging behind by 24ms, your system is too slow
[ 16762.809] (EE) event18 - Logitech USB Keyboard: client bug: event processing lagging behind by 32ms, your system is too slow
[ 17175.310] (EE) event18 - Logitech USB Keyboard: client bug: event processing lagging behind by 12ms, your system is too slow
[ 18212.644] (EE) event18 - Logitech USB Keyboard: client bug: event processing lagging behind by 21ms, your system is too slow
[ 18212.644] (EE) event18 - Logitech USB Keyboard: WARNING: log rate limit exceeded (5 msgs per 60min). Discarding future messages.
[ 20232.987] (EE) event18 - Logitech USB Keyboard: client bug: event processing lagging behind by 16ms, your system is too slow
[ 20235.994] (EE) event18 - Logitech USB Keyboard: client bug: event processing lagging behind by 30ms, your system is too slow
[ 20774.582] (--) NVIDIA(GPU-0): DFP-2: disconnected
[ 20774.582] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[ 20774.582] (--) NVIDIA(GPU-0): DFP-2: 2660.0 MHz maximum pixel clock
[ 20774.582] (--) NVIDIA(GPU-0): 
[ 20774.612] (II) NVIDIA(0): Setting mode "NULL"
[ 20775.642] (--) NVIDIA(GPU-0): LG Electronics LG ULTRAGEAR (DFP-2): connected
[ 20775.642] (--) NVIDIA(GPU-0): LG Electronics LG ULTRAGEAR (DFP-2): Internal DisplayPort
[ 20775.642] (--) NVIDIA(GPU-0): LG Electronics LG ULTRAGEAR (DFP-2): 2660.0 MHz maximum pixel clock
[ 20775.642] (--) NVIDIA(GPU-0): 
[ 20775.649] (II) NVIDIA(0): Setting mode "DP-2: nvidia-auto-select @2560x1440 +0+0 {AllowGSYNC=Off, ViewPortIn=2560x1440, ViewPortOut=2560x1440+0+0}"
[ 20860.921] (--) NVIDIA(GPU-0): DFP-2: disconnected
[ 20860.921] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[ 20860.921] (--) NVIDIA(GPU-0): DFP-2: 2660.0 MHz maximum pixel clock
[ 20860.921] (--) NVIDIA(GPU-0): 
[ 20860.947] (II) NVIDIA(0): Setting mode "NULL"
[ 20861.977] (--) NVIDIA(GPU-0): LG Electronics LG ULTRAGEAR (DFP-2): connected
[ 20861.977] (--) NVIDIA(GPU-0): LG Electronics LG ULTRAGEAR (DFP-2): Internal DisplayPort
[ 20861.977] (--) NVIDIA(GPU-0): LG Electronics LG ULTRAGEAR (DFP-2): 2660.0 MHz maximum pixel clock
[ 20861.977] (--) NVIDIA(GPU-0): 
[ 20861.981] (II) NVIDIA(0): Setting mode "DP-2: nvidia-auto-select @2560x1440 +0+0 {AllowGSYNC=Off, ViewPortIn=2560x1440, ViewPortOut=2560x1440+0+0}"
[ 20885.321] (--) NVIDIA(GPU-0): DFP-2: disconnected
[ 20885.321] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[ 20885.321] (--) NVIDIA(GPU-0): DFP-2: 2660.0 MHz maximum pixel clock
[ 20885.321] (--) NVIDIA(GPU-0): 
[ 20885.348] (II) NVIDIA(0): Setting mode "NULL"
[ 20886.405] (--) NVIDIA(GPU-0): LG Electronics LG ULTRAGEAR (DFP-2): connected
[ 20886.405] (--) NVIDIA(GPU-0): LG Electronics LG ULTRAGEAR (DFP-2): Internal DisplayPort
[ 20886.405] (--) NVIDIA(GPU-0): LG Electronics LG ULTRAGEAR (DFP-2): 2660.0 MHz maximum pixel clock
[ 20886.405] (--) NVIDIA(GPU-0): 
[ 20886.414] (II) NVIDIA(0): Setting mode "DP-2: nvidia-auto-select @2560x1440 +0+0 {AllowGSYNC=Off, ViewPortIn=2560x1440, ViewPortOut=2560x1440+0+0}"
[ 20990.972] (EE) event18 - Logitech USB Keyboard: client bug: event processing lagging behind by 11ms, your system is too slow
[ 21235.587] (EE) event18 - Logitech USB Keyboard: client bug: event processing lagging behind by 28ms, your system is too slow
[ 21456.296] (EE) event18 - Logitech USB Keyboard: client bug: event processing lagging behind by 30ms, your system is too slow
[ 21456.296] (EE) event18 - Logitech USB Keyboard: WARNING: log rate limit exceeded (5 msgs per 60min). Discarding future messages.
[ 21607.677] (II) event1  - Power Button: device removed
[ 21607.689] (II) event0  - Power Button: device removed
[ 21607.702] (II) event18 - Logitech USB Keyboard: device removed
[ 21607.771] (II) UnloadModule: "libinput"
[ 21607.771] (II) UnloadModule: "libinput"
[ 21607.771] (II) UnloadModule: "libinput"
[ 21607.771] (II) UnloadModule: "libinput"
[ 21607.771] (II) UnloadModule: "libinput"
[ 21607.771] (II) UnloadModule: "libinput"
[ 21607.771] (II) UnloadModule: "libinput"
[ 21607.771] (II) UnloadModule: "libinput"
[ 21607.926] (II) NVIDIA(GPU-0): Deleting GPU-0
[ 21607.928] (II) Server terminated successfully (0). Closing log file.

I’ve updated to Fedora 35, Linux 5.14.11 and the issue persists.

Not only monitor turns black, HDMI audio streaming via the monitor stops as well.

I’ve found a workaround and that is disabling “Allow G-Sync/G-Sync compatible”.

Firefox is not affected but it’s running at the native refresh rate.

The issue has been fixed in beta drivers 495.29.05