[Ubuntu-x-swat] [Bug 1997178] Re: Black screen after wake from S3 suspend on Nvidia proprietary driver redux

2022-11-21 Thread Jesse Johnson
Tested and confirmed that wake from sleep results in a black screen 100%
of the time on 5.15.0-53-generic, but only ~10% of the time on
5.15.0-52-generic. Thus on the surface it seems 5.15.0-53-generic caused
a regression.

** Package changed: xorg (Ubuntu) => linux (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1997178

Title:
   Black screen after wake from S3 suspend on Nvidia proprietary driver
  redux

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1997178/+subscriptions


___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1997178] Re: Black screen after wake from S3 suspend on Nvidia proprietary driver redux

2022-11-20 Thread Jesse Johnson
** Attachment added: "journalctl log of sleep-wake-forced reboot around Nov 20 
10:28:37"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1997178/+attachment/5631722/+files/reboot.txt

** Description changed:

  When resuming from suspend in Ubuntu 22.04 with proprietary Nvidia
  driver 515, screen is black, and never changes after 10 minutes of
  waiting.
  
  However journalctl shows activity after wake (see attached log excerpt,
- where wake occurs around Nov 20 10:28:37). This makes me think the issue
- is around Nvidia driver <-> Linux kernel communication.
+ where wake occurs around Nov 20 10:28:37 with black screen, followed by
+ forced REISUB reboot a couple minutes later when screen failed to
+ update). This makes me think the issue is around Nvidia driver <-> Linux
+ kernel communication.
  
  I [previously
  reported](https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1987134)
  similar black screen after wake behavior that seemed resolve with a
  Linux kernel update, but subsequent Linux kernel and Nvidia driver
  updates steadily regressed back to the previous behavior. The most
  recent kernel update from a few days ago (5.15.0-53-generic) never wakes
  from suspend (so far out of 5 trials). Previous few kernels where
  regression was first noticed it was 50/50 odds of successful wake, so
  most recent kernel is a noticeable regression.
  
- Important note: most recent kernel (5.15.0-53) upgrade freezed mid-
- upgrade (first time this has happened to me on Linux in at least 5
+ Important note: most recent kernel (5.15.0-53) upgrade freezed system
+ mid-upgrade (first time this has happened to me on Linux in at least 5
  years!). Damaged GRUB and Nvidia DKMS, requiring reinstallation of GRUB,
  the kernel, Nvidia drivers, and a GRUB update (in that order).
  
  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: xorg 1:7.7+23ubuntu2
  ProcVersionSignature: Ubuntu 5.15.0-53.59-generic 5.15.64
  Uname: Linux 5.15.0-53-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  .proc.driver.nvidia.capabilities.gpu0: Error: path was not a regular file.
  .proc.driver.nvidia.capabilities.mig: Error: path was not a regular file.
  .proc.driver.nvidia.gpus..0d.00.0: Error: path was not a regular file.
  .proc.driver.nvidia.registry: Binary: ""
  .proc.driver.nvidia.suspend: suspend hibernate resume
  .proc.driver.nvidia.suspend_depth: default modeset uvm
  .proc.driver.nvidia.version:
-  NVRM version: NVIDIA UNIX x86_64 Kernel Module  515.65.01  Wed Jul 20 
14:00:58 UTC 2022
-  GCC version:  gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04)
+  NVRM version: NVIDIA UNIX x86_64 Kernel Module  515.65.01  Wed Jul 20 
14:00:58 UTC 2022
+  GCC version:  gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04)
  ApportVersion: 2.20.11-0ubuntu82.1
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Nov 20 11:20:45 2022
  DistUpgraded: Fresh install
  DistroCodename: jammy
  DistroVariant: ubuntu
  DkmsStatus: nvidia/515.65.01, 5.15.0-53-generic, x86_64: installed
  ExtraDebuggingInterest: Yes, including running git bisection searches
  GpuHangFrequency: Several times a week
  GpuHangReproducibility: Occurs more often under certain circumstances
  GpuHangStarted: Within the last week or two
  GraphicsCard:
-  NVIDIA Corporation GM204 [GeForce GTX 970] [10de:13c2] (rev a1) (prog-if 00 
[VGA controller])
-Subsystem: PNY GM204 [GeForce GTX 970] [196e:1131]
+  NVIDIA Corporation GM204 [GeForce GTX 970] [10de:13c2] (rev a1) (prog-if 00 
[VGA controller])
+    Subsystem: PNY GM204 [GeForce GTX 970] [196e:1131]
  InstallationDate: Installed on 2022-08-17 (95 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
  ProcEnviron:
-  TERM=xterm-256color
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=
-  LANG=en_US.UTF-8
-  SHELL=/usr/bin/zsh
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=
+  LANG=en_US.UTF-8
+  SHELL=/usr/bin/zsh
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-53-generic 
root=UUID=70074436-a9a5-4212-9b57-7600a7dc6843 ro quiet splash vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  Title: Xorg freeze
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/29/2021
  dmi.bios.release: 5.17
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: P4.70
  dmi.board.name: X470 Taichi Ultimate
  dmi.board.vendor: ASRock
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: