[Bug 1953674] Re: Screen does not wake up from suspend/does not wake up

2022-04-01 Thread Launchpad Bug Tracker
*** This bug is a duplicate of bug 1946303 ***
https://bugs.launchpad.net/bugs/1946303

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: nvidia-graphics-drivers-510 (Ubuntu)
   Status: New => Confirmed

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

Title:
  Screen does not wake up from suspend/does not wake up

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-470/+bug/1953674/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1953674] Re: Screen does not wake up from suspend/does not wake up

2022-02-09 Thread Ciro Santilli 六四事件 法轮功
*** This bug is a duplicate of bug 1946303 ***
https://bugs.launchpad.net/bugs/1946303

OK, now noticed that my error lines are exactly the same as:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-
drivers-470/+bug/1946303 it's just I wasn't getting the logs
consistently before I had updated my firmware. Let's close as dupe.

** This bug has been marked a duplicate of bug 1946303
   No video after wake from S3 due to Nvidia driver crash

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

Title:
  Screen does not wake up from suspend/does not wake up

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-470/+bug/1953674/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1953674] Re: Screen does not wake up from suspend/does not wake up

2022-02-09 Thread Ciro Santilli 六四事件 法轮功
*** This bug is a duplicate of bug 1946303 ***
https://bugs.launchpad.net/bugs/1946303

Then, re-enabled Wayland with NVIDIA purged, and suspend works there.

Then, re-installed and reenabled NVIDIA 510 (which blakclists Wayland
and puts me in X11 since no Wayland support yet), and boom problem is
back exactly as before, same nv_* traces and ACPI errors (I didn't see
the ACPI errors when I had disabled NVIDIA, so it looks like it is
causing those as well).

So 100% certain now that the bug is in NVIDIA drivers.

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

Title:
  Screen does not wake up from suspend/does not wake up

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-470/+bug/1953674/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1953674] Re: Screen does not wake up from suspend/does not wake up

2022-02-09 Thread Ciro Santilli 六四事件 法轮功
Dumping a bit more debug log before I forget:

I disabled NVIDIA from the software & updates. If I try to suspend:

- it immediately wakes up into lock screen
- I can't login anymore: after password, goes into black kernel log screen as 
in boot

That was in Wayland, the new default. So I blacklist wayland, reboot to
X11, and now when trying to suspend:

- it immediately wakes up into lock screen
- but I can login

Possible threads:

- 
https://askubuntu.com/questions/1151709/suspend-not-working-in-ubuntu-18-04-and-19-04
- 
https://askubuntu.com/questions/1133919/ubuntu-18-04-2-immediately-wakes-up-from-suspend

Notably https://askubuntu.com/a/1363662/52975 says CUDA might still be a
problem! So I now purged Everything from NVIDIA, I noticed that I had
nvidia-opencl-dev:amd64 installed ii, and the graphics stuff installed
rc, and immediately after purge suspend works again on X11!

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

Title:
  Screen does not wake up from suspend/does not wake up

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-470/+bug/1953674/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1953674] Re: Screen does not wake up from suspend/does not wake up

2022-02-08 Thread Ciro Santilli 六四事件 法轮功
I should also mention, I'm seeing a bunch of non-nvidia ACPI errors of
type:

Feb 09 06:58:43.863108 ciro-p51 kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: 
Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] 
(20210331/nsarguments-61)
Feb 09 06:58:44.131354 ciro-p51 kernel: ACPI BIOS Error (bug): Could not 
resolve symbol [\_SB.PCI0.LPCB.EC.HKEY.DEVT.PEGS], AE_NOT_FOUND 
(20210331/psargs-330)
Feb 09 06:58:44.131544 ciro-p51 kernel: 
Feb 09 06:58:44.131575 ciro-p51 kernel: No Local Variables are initialized for 
Method [DEVT]
Feb 09 06:58:44.131609 ciro-p51 kernel: 
Feb 09 06:58:44.131631 ciro-p51 kernel: Initialized Arguments for Method 
[DEVT]:  (1 arguments defined for method invocation)
Feb 09 06:58:44.131663 ciro-p51 kernel:   Arg0:   e4c8db84 
   Integer 00D3
Feb 09 06:58:44.131689 ciro-p51 kernel: 
Feb 09 06:58:44.131715 ciro-p51 kernel: ACPI Error: Aborting method 
\_SB.PCI0.LPCB.EC.HKEY.DEVT due to previous error (AE_NOT_FOUND) 
(20210331/psparse-529)
Feb 09 06:58:44.131739 ciro-p51 kernel: ACPI Error: Aborting method 
\_SB.PCI0.LPCB.EC._Q4F due to previous error (AE_NOT_FOUND) 
(20210331/psparse-529)
Feb 09 06:58:44.335085 ciro-p51 kernel: ACPI BIOS Error (bug): Could not 
resolve symbol [\_SB.PCI0.LPCB.EC.HKEY.DEVT.PEGS], AE_NOT_FOUND 
(20210331/psargs-330)
Feb 09 06:58:44.335230 ciro-p51 kernel: 
Feb 09 06:58:44.335459 ciro-p51 kernel: No Local Variables are initialized for 
Method [DEVT]

that could be potential root cause. Gonna try to disable nvidia now and
see.

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

Title:
  Screen does not wake up from suspend/does not wake up

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-470/+bug/1953674/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1953674] Re: Screen does not wake up from suspend/does not wake up

2022-02-08 Thread Ciro Santilli 六四事件 法轮功
Repro on 510. Stack traces that happens some times:

Feb 09 06:30:47.610121 ciro-p51 kernel: WARNING: CPU: 0 PID: 18016 at
/var/lib/dkms/nvidia/510.47.03/build/nvidia/nv.c:3935
nv_restore_user_channels+0xce/0xe0 [nvidia]

Feb 09 06:30:47.610508 ciro-p51 kernel: Call Trace:
Feb 09 06:30:47.610527 ciro-p51 kernel:  
Feb 09 06:30:47.610547 ciro-p51 kernel:  nv_set_system_power_state+0x22b/0x3e0 
[nvidia]
Feb 09 06:30:47.610566 ciro-p51 kernel:  nv_procfs_write_suspend+0xe9/0x140 
[nvidia]
Feb 09 06:30:47.610598 ciro-p51 kernel:  proc_reg_write+0x5a/0x90
Feb 09 06:30:47.610619 ciro-p51 kernel:  ? __cond_resched+0x1a/0x50
Feb 09 06:30:47.610637 ciro-p51 kernel:  vfs_write+0xc3/0x250
Feb 09 06:30:47.610658 ciro-p51 kernel:  ksys_write+0x67/0xe0
Feb 09 06:30:47.610675 ciro-p51 kernel:  __x64_sys_write+0x19/0x20
Feb 09 06:30:47.610693 ciro-p51 kernel:  do_syscall_64+0x61/0xb0
Feb 09 06:30:47.610709 ciro-p51 kernel:  ? exit_to_user_mode_prepare+0x37/0xb0
Feb 09 06:30:47.610728 ciro-p51 kernel:  ? syscall_exit_to_user_mode+0x27/0x50
Feb 09 06:30:47.610746 ciro-p51 kernel:  ? __x64_sys_newfstatat+0x1c/0x20
Feb 09 06:30:47.610765 ciro-p51 kernel:  ? do_syscall_64+0x6e/0xb0
Feb 09 06:30:47.610796 ciro-p51 kernel:  ? syscall_exit_to_user_mode+0x27/0x50
Feb 09 06:30:47.610813 ciro-p51 kernel:  ? do_syscall_64+0x6e/0xb0
Feb 09 06:30:47.610842 ciro-p51 kernel:  ? asm_exc_page_fault+0x8/0x30
Feb 09 06:30:47.610860 ciro-p51 kernel:  
entry_SYSCALL_64_after_hwframe+0x44/0xae

Feb 09 06:30:47.611093 ciro-p51 kernel: WARNING: CPU: 0 PID: 18016 at
/var/lib/dkms/nvidia/510.47.03/build/nvidia/nv.c:4152
nv_set_system_power_state+0x2d0/0x3e0 [nvidia]

Feb 09 06:30:47.611469 ciro-p51 kernel:  nv_procfs_write_suspend+0xe9/0x140 
[nvidia]
Feb 09 06:30:47.611484 ciro-p51 kernel:  proc_reg_write+0x5a/0x90
Feb 09 06:30:47.611499 ciro-p51 kernel:  ? __cond_resched+0x1a/0x50
Feb 09 06:30:47.611517 ciro-p51 kernel:  vfs_write+0xc3/0x250
Feb 09 06:30:47.611533 ciro-p51 kernel:  ksys_write+0x67/0xe0
Feb 09 06:30:47.611550 ciro-p51 kernel:  __x64_sys_write+0x19/0x20
Feb 09 06:30:47.611568 ciro-p51 kernel:  do_syscall_64+0x61/0xb0
Feb 09 06:30:47.611597 ciro-p51 kernel:  ? exit_to_user_mode_prepare+0x37/0xb0
Feb 09 06:30:47.611615 ciro-p51 kernel:  ? syscall_exit_to_user_mode+0x27/0x50
Feb 09 06:30:47.611632 ciro-p51 kernel:  ? __x64_sys_newfstatat+0x1c/0x20
Feb 09 06:30:47.611647 ciro-p51 kernel:  ? do_syscall_64+0x6e/0xb0
Feb 09 06:30:47.611665 ciro-p51 kernel:  ? syscall_exit_to_user_mode+0x27/0x50
Feb 09 06:30:47.611680 ciro-p51 kernel:  ? do_syscall_64+0x6e/0xb0
Feb 09 06:30:47.611698 ciro-p51 kernel:  ? asm_exc_page_fault+0x8/0x30
Feb 09 06:30:47.611715 ciro-p51 kernel:  
entry_SYSCALL_64_after_hwframe+0x44/0xae


** Attachment added: "dmesg2"
   
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-510/+bug/1953674/+attachment/5559877/+files/dmesg2

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

Title:
  Screen does not wake up from suspend/does not wake up

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-470/+bug/1953674/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1953674] Re: Screen does not wake up from suspend/does not wake up

2022-02-08 Thread Ciro Santilli 六四事件 法轮功
** Also affects: nvidia-graphics-drivers-510 (Ubuntu)
   Importance: Undecided
   Status: New

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

Title:
  Screen does not wake up from suspend/does not wake up

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-470/+bug/1953674/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1953674] Re: Screen does not wake up from suspend/does not wake up

2022-02-04 Thread Ciro Santilli 六四事件 法轮功
I found that if I unplug the power cord, the problem seems to happen
every time, making repro much easier.

I updated my firmware to see if it helped, and it didn't, but I saw for
the first time some clear nv* stack traces from previous session where
the problem occurred, some Google hits on the bottom symbol
"nv_set_system_power_state":

- 
https://forums.developer.nvidia.com/t/kernel-5-6-system-freeze-when-resuming-from-suspend-or-hibernate/121630/2
- https://github.com/pop-os/nvidia-graphics-drivers/issues/90
- 
https://www.reddit.com/r/archlinux/comments/kosqsr/nvidiaresumeservice_taints_kernel/
 

```
Feb 04 18:20:31.898413 ciro-p51 kernel: NVRM: GPU at PCI::01:00: 
GPU-18af74bb-7c72-ff70-e447-87d48378ea20
Feb 04 18:20:31.898542 ciro-p51 kernel: NVRM: Xid (PCI::01:00): 79, 
pid=22170, GPU has fallen off the bus.
Feb 04 18:20:31.898584 ciro-p51 kernel: NVRM: GPU :01:00.0: GPU has fallen 
off the bus.
Feb 04 18:20:31.946749 ciro-p51 kernel: NVRM: A GPU crash dump has been 
created. If possible, please run
NVRM: nvidia-bug-report.sh as root to 
collect this data before
NVRM: the NVIDIA kernel module is 
unloaded.
Feb 04 18:20:31.958038 ciro-p51 kernel: [ cut here ]
Feb 04 18:20:31.958115 ciro-p51 kernel: WARNING: CPU: 3 PID: 22170 at 
/var/lib/dkms/nvidia/470.86/build/nvidia/nv.c:3967 
nv_restore_user_channels+0xce/0xe0 [nvidia]
Feb 04 18:20:31.958135 ciro-p51 kernel: Modules linked in: ccm xt_conntrack 
nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlink nf_conntrack 
nf_defrag_ipv6 nf_defrag_ipv4 xfrm_user xfrm_algo nft_counter xt_addrtype 
nft_compat nf_tables libcrc32c nfnetlink br_netfilter bridge stp llc bnep 
overlay binfmt_misc nls_iso8859_1 essiv authenc intel_rapl_msr mei_hdcp 
intel_rapl_common intel_tcc_cooling snd_ctl_led x86_pkg_temp_thermal 
intel_powerclamp snd_hda_codec_realtek coretemp snd_hda_codec_generic 
snd_hda_codec_hdmi iwlmvm kvm_intel snd_hda_intel snd_intel_dspcfg mac80211 
snd_seq_midi snd_intel_sdw_acpi btusb kvm snd_hda_codec btrtl btbcm 
snd_seq_midi_event btintel snd_rawmidi libarc4 uvcvideo snd_hda_core rapl 
input_leds intel_cstate iwlwifi serio_raw snd_hwdep wmi_bmof 
intel_wmi_thunderbolt efi_pstore thinkpad_acpi videobuf2_vmalloc snd_seq 
videobuf2_memops snd_pcm ee1004 bluetooth videobuf2_v4l2 nvram videobuf2_common 
platform_profile ledtrig_audio cfg80211 videodev mei_me joydev ecdh_generic 
snd_seq_device mc
Feb 04 18:20:31.959003 ciro-p51 kernel:  ecc mei intel_pch_thermal snd_timer 
snd soundcore mac_hid acpi_pad nvidia_uvm(POE) sch_fq_codel msr parport_pc 
ppdev lp parport ip_tables x_tables autofs4 dm_crypt zfs(PO) zunicode(PO) 
zzstd(O) zlua(O) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) 
hid_logitech_hidpp hid_logitech_dj hid_generic usbhid nvidia_drm(POE) 
nvidia_modeset(POE) nvidia(POE) crct10dif_pclmul crc32_pclmul rtsx_pci_sdmmc 
ghash_clmulni_intel drm_kms_helper syscopyarea aesni_intel sysfillrect 
sysimgblt fb_sys_fops crypto_simd cec rc_core cryptd nvme psmouse e1000e 
intel_lpss_pci i2c_i801 nvme_core rtsx_pci ahci drm i2c_smbus intel_lpss 
libahci idma64 xhci_pci xhci_pci_renesas wmi i2c_hid_acpi i2c_hid video hid 
pinctrl_sunrisepoint
Feb 04 18:20:31.959027 ciro-p51 kernel: CPU: 3 PID: 22170 Comm: nvidia-sleep.sh 
Tainted: P   OE 5.13.0-28-generic #31-Ubuntu
Feb 04 18:20:31.959045 ciro-p51 kernel: Hardware name: LENOVO 
20HHCTO1WW/20HHCTO1WW, BIOS N1UET82W (1.56 ) 08/12/2021
Feb 04 18:20:31.959060 ciro-p51 kernel: RIP: 
0010:nv_restore_user_channels+0xce/0xe0 [nvidia]
Feb 04 18:20:31.959076 ciro-p51 kernel: Code: 0c 38 d3 be 01 00 00 00 4c 89 ef 
e8 fc a6 00 00 48 89 df e8 f4 0b 38 d3 ba 02 00 00 00 4c 89 ee 4c 89 e7 e8 a4 
b2 9c 00 eb 93 <0f> 0b eb c6 41 be 51 00 00 00 eb 9e 66 0f 1f 44 00 00 0f 1f 44 
00
Feb 04 18:20:31.959094 ciro-p51 kernel: RSP: 0018:b8a047c63d88 EFLAGS: 
00010206
Feb 04 18:20:31.959116 ciro-p51 kernel: RAX: 0003 RBX: 
8b82c3359800 RCX: b8a047c63d20
Feb 04 18:20:31.959133 ciro-p51 kernel: RDX: 0087 RSI: 
0246 RDI: 8b82dc01cec8
Feb 04 18:20:31.959146 ciro-p51 kernel: RBP: b8a047c63db0 R08: 
 R09: 0001
Feb 04 18:20:31.959181 ciro-p51 kernel: R10: 8b83755fd000 R11: 
8b83755fd000 R12: 8b8359a13000
Feb 04 18:20:31.959197 ciro-p51 kernel: R13: 8b82c3359800 R14: 
0003 R15: 8b82c3359d28
Feb 04 18:20:31.959212 ciro-p51 kernel: FS:  7ff21ed04740() 
GS:8b8a13d8() knlGS:
Feb 04 18:20:31.959241 ciro-p51 kernel: CS:  0010 DS:  ES:  CR0: 
80050033
Feb 04 18:20:31.959257 ciro-p51 kernel: CR2: 7f8f2b192730 CR3: 
0001d0fec006 CR4: 003706e0
Feb 04 18:20:31.959290 ciro-p51 kernel: DR0:  DR1: 
 DR2: 
Feb 04 18:20:31.959311 ciro-p51 kernel: DR3:  DR6: 
fffe0ff0 D

[Bug 1953674] Re: Screen does not wake up from suspend/does not wake up

2022-01-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: nvidia-graphics-drivers-470 (Ubuntu)
   Status: New => Confirmed

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

Title:
  Screen does not wake up from suspend/does not wake up

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-470/+bug/1953674/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1953674] Re: Screen does not wake up from suspend/does not wake up

2021-12-08 Thread Ciro Santilli 六四事件 法轮功
Other bugs about wakeup not working, but I don't reproduce their main
error messages:

- 
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-460/+bug/1911055
- 
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-470/+bug/1946303

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

Title:
  Screen does not wake up from suspend/does not wake up

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-470/+bug/1953674/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs