Ubuntu 22.04 NVidia driver causes 30-sec freezes

Bug #2039496 reported by Jonathan Keatley
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)

Bug Description

I have an Ubuntu 22.04.3 system running on AMD hardware with a GeForce RTX 3050 graphics card. When I install cuda and cuda-drivers higher than cuda=12.0.1-1 and cuda-drivers=525.125.06-1, I randomly experience 30-second freezes in the gnome-shell when I run either Chromium or Firefox. It doesn't happen every time, but pretty often. When I installed cuda 12.2.2-1 and cuda-drivers 535.104.12-1 and all their dependencies, then autoremoved, then rebooted, I launched Chromium and instantly got a 30-second freeze. During the freeze, I can move the mouse and see the pointer moving, but nothing else on the screen changes, and all interactions are frozen. The clock seconds in the top bar don't update until exactly 30 seconds after they stopped -- that's how I know it is consistently 30 seconds. I can't faithfully reproduce the freeze with anything that I've been able to discern, but interaction with either Firefox or Chromium will produce this freeze often enough to be pretty annoying. I don't know if there is any other bad effect going on besides the freeze.

To mitigate this, I have put a hold on cuda and cuda-drivers at 12.0.1-1 and 525.125.06-1 respectively, but I would like to be able to upgrade, and I thought I would tackle it now.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-shell 42.9-0ubuntu2
ProcVersionSignature: Ubuntu 6.2.0-34.34~22.04.1-generic 6.2.16
Uname: Linux 6.2.0-34-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Oct 16 15:59:25 2023
DisplayManager: gdm3
InstallationDate: Installed on 2023-06-10 (128 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
RelatedPackageVersions: mutter-common 42.9-0ubuntu5
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jonathan Keatley (jckeatley) wrote :
Revision history for this message
Jonathan Keatley (jckeatley) wrote :

Output of 'dmesg' command.

Revision history for this message
Jonathan Keatley (jckeatley) wrote :
Revision history for this message
Jonathan Keatley (jckeatley) wrote :
affects: ubuntu → gnome-shell (Ubuntu)
tags: added: nvidia
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.