10–20 second hang/freeze after resume from S3 sleep

Bug #2042428 reported by Mikko Rantalainen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-535 (Ubuntu)
New
Undecided
Unassigned

Bug Description

I'm using XFCE + picom for my graphical desktop and the system is using Nvidia GTX 1060 3 GB graphics adapter. Whenever the system is waking from S3 sleep, the graphical desktop freezes once for 10–20 seconds when I resize any existing window or launch a new program.

$ apt policy nvidia-driver-535
nvidia-driver-535:
  Installed: 535.113.01-0ubuntu0.22.04.3
  Candidate: 535.113.01-0ubuntu0.22.04.3
  Version table:
 *** 535.113.01-0ubuntu0.22.04.3 500
        500 http://fi.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages
        500 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages
        100 /var/lib/dpkg/status

It seems that Nvidia has published new version 535.129.03 at https://www.nvidia.com/download/driverResults.aspx/213194/en-us/ and its changelog mentions following:

- Fixed a bug that intermittently caused the display to freeze when resuming from suspend on some Ada GPUs.

The 1060 shouldn't be included in Ada family but I wouldn't be surprised if the underlying problem were the same.

Here's the picom command line I'm using in case it makes a difference:

picom --config /dev/null --log-file /dev/null --shadow -o 0.20 -r 8 -l -8 -t -8 --corner-radius 4 --backend glx --glx-no-stencil --glx-no-rebind-pixmap --no-use-damage --vsync --vsync-use-glfinish --shadow-exclude '_GTK_FRAME_EXTENTS@:c' --shadow-exclude "name ?= 'Thunderbird' && (window_type = 'utility' || window_type = 'popup_menu')" --no-fading-openclose --unredir-if-possible --unredir-if-possible-delay 500

The problem seems to happen even without using picom, but the use of picom seems to trigger the issue after every resume from S3. The problem is big enough to increase the S3 resume time for ~30 seconds in practice because the system is unusable until the freeze goes away.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: nvidia-driver-535 535.113.01-0ubuntu0.22.04.3
ProcVersionSignature: Ubuntu 6.2.0-1015.15~22.04.1-lowlatency 6.2.16
Uname: Linux 6.2.0-1015-lowlatency x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: XFCE
Date: Wed Nov 1 11:58:39 2023
EcryptfsInUse: Yes
InstallationDate: Installed on 2019-01-05 (1760 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: nvidia-graphics-drivers-535
UpgradeStatus: Upgraded to jammy on 2023-08-11 (82 days ago)
modified.conffile..etc.init.d.apport: [modified]
mtime.conffile..etc.init.d.apport: 2022-05-19T12:50:20.029158

Revision history for this message
Mikko Rantalainen (mira) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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