You are not logged in.

#1 2024-11-27 15:24:09

SalvatoreSantoro
Member
Registered: 2024-11-05
Posts: 3

Nvidia suspension problems using Sway

Hi, i'm using Sway with an Nvidia RTX 2060 (nvidia-open drivers with MODULES=(... nvidia nvidia_modeset nvidia_uvm nvidia_drm ...) configured in /etc/mkinitcpio.conf) on a HP Omen 015 laptop, i configured the suspension like this in my sway config file

" exec swayidle -w timeout 900 'systemctl suspend' "

The problem is that sometimes (it isn't consistent it just seems random) when the computer goes in supend mode it fails to resume itself (the screen just stays black)

I'm posting here the journalctl of the last time this happened (the logs continues but i'm just truncating it)
the timeline bottom-up, thanks for your attention.

journalctl wrote:

nov 27 16:05:10 archlinux kernel:  nv_procfs_write_suspend+0xef/0x170 [nvidia ff172805925f7a9d870e06bb1e75698fe2e8cd0b]
nov 27 16:05:10 archlinux kernel:  nv_set_system_power_state+0x14f/0x480 [nvidia ff172805925f7a9d870e06bb1e75698fe2e8cd0b]
nov 27 16:05:10 archlinux kernel:  nvkms_suspend+0x2d/0x50 [nvidia_modeset 75bf6c18b93e0e0b62192a2bda6ad3ec8f1fef8e]
nov 27 16:05:10 archlinux kernel:  nvKmsSuspend+0x68/0xa0 [nvidia_modeset 75bf6c18b93e0e0b62192a2bda6ad3ec8f1fef8e]
nov 27 16:05:10 archlinux kernel:  nvFreeCoreChannelEvo+0x7e/0x240 [nvidia_modeset 75bf6c18b93e0e0b62192a2bda6ad3ec8f1fef8e]
nov 27 16:05:10 archlinux kernel:  nvRmUnregisterBacklight+0x19/0x30 [nvidia_modeset 75bf6c18b93e0e0b62192a2bda6ad3ec8f1fef8e]
nov 27 16:05:10 archlinux kernel:  nvkms_unregister_backlight+0x1b/0x30 [nvidia_modeset 75bf6c18b93e0e0b62192a2bda6ad3ec8f1fef8e]
nov 27 16:05:10 archlinux kernel:  backlight_device_unregister.part.0+0x84/0xb0
nov 27 16:05:10 archlinux kernel:  __mutex_lock.constprop.0+0x31e/0x620
nov 27 16:05:10 archlinux kernel: RSP: 002b:00007ffe862b3ab8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
nov 27 16:05:10 archlinux kernel: RIP: 0033:0x76d48b7927a4
nov 27 16:05:10 archlinux kernel:  entry_SYSCALL_64_after_hwframe+0x76/0x7e
nov 27 16:05:10 archlinux kernel:  ? clear_bhb_loop+0x25/0x80
nov 27 16:05:10 archlinux kernel:  ? clear_bhb_loop+0x25/0x80
nov 27 16:05:10 archlinux kernel:  ? clear_bhb_loop+0x25/0x80
nov 27 16:05:10 archlinux kernel:  ? do_user_addr_fault+0x36c/0x620
nov 27 16:05:10 archlinux kernel:  ? handle_mm_fault+0x1bb/0x2c0
nov 27 16:05:10 archlinux kernel:  ? count_memcg_events.constprop.0+0x1a/0x30
nov 27 16:05:10 archlinux kernel:  ? __count_memcg_events+0x53/0xf0
nov 27 16:05:10 archlinux kernel:  ? do_syscall_64+0x8e/0x190
nov 27 16:05:10 archlinux kernel:  ? syscall_exit_to_user_mode+0x37/0x1c0
nov 27 16:05:10 archlinux kernel:  do_syscall_64+0x82/0x190
nov 27 16:05:10 archlinux kernel:  ksys_write+0x6d/0xf0
nov 27 16:05:10 archlinux kernel:  vfs_write+0xf5/0x450
nov 27 16:05:10 archlinux kernel:  proc_reg_write+0x57/0xa0
nov 27 16:05:10 archlinux kernel:  nv_procfs_write_suspend+0xef/0x170 [nvidia ff172805925f7a9d870e06bb1e75698fe2e8cd0b]
nov 27 16:05:10 archlinux kernel:  nv_set_system_power_state+0x14f/0x480 [nvidia ff172805925f7a9d870e06bb1e75698fe2e8cd0b]
nov 27 16:05:10 archlinux kernel:  nvkms_suspend+0x2d/0x50 [nvidia_modeset 75bf6c18b93e0e0b62192a2bda6ad3ec8f1fef8e]
nov 27 16:05:10 archlinux kernel:  nvKmsSuspend+0x68/0xa0 [nvidia_modeset 75bf6c18b93e0e0b62192a2bda6ad3ec8f1fef8e]
nov 27 16:05:10 archlinux kernel:  nvFreeCoreChannelEvo+0x7e/0x240 [nvidia_modeset 75bf6c18b93e0e0b62192a2bda6ad3ec8f1fef8e]
nov 27 16:05:10 archlinux kernel:  nvRmUnregisterBacklight+0x19/0x30 [nvidia_modeset 75bf6c18b93e0e0b62192a2bda6ad3ec8f1fef8e]
nov 27 16:05:10 archlinux kernel:  nvkms_unregister_backlight+0x1b/0x30 [nvidia_modeset 75bf6c18b93e0e0b62192a2bda6ad3ec8f1fef8e]
nov 27 16:05:10 archlinux kernel:  backlight_device_unregister.part.0+0x84/0xb0
nov 27 16:05:10 archlinux kernel:  __mutex_lock.constprop.0+0x31e/0x620
nov 27 16:05:10 archlinux kernel:  schedule_preempt_disabled+0x15/0x30
nov 27 16:05:10 archlinux kernel:  schedule+0x27/0xf0
nov 27 16:05:10 archlinux kernel:  ? __slab_free+0xdf/0x2f0
nov 27 16:05:10 archlinux kernel:  __schedule+0x3b0/0x12b0
nov 27 16:05:10 archlinux kernel:  <TASK>
nov 27 16:03:07 archlinux kernel: Call Trace:
nov 27 16:03:07 archlinux kernel: task:nvidia-sleep.sh state:D stack:0     pid:43865 tgid:43865 ppid:1      flags:0x00004002
nov 27 16:03:07 archlinux kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
nov 27 16:03:07 archlinux kernel:       Tainted: G           OE      6.12.1-arch1-1 #1
nov 27 16:03:07 archlinux kernel: INFO: task nvidia-sleep.sh:43865 blocked for more than 122 seconds.
nov 27 16:03:07 archlinux kernel:  </TASK>
nov 27 16:03:07 archlinux kernel:  ret_from_fork_asm+0x1a/0x30
nov 27 16:03:07 archlinux kernel:  ? __pfx_kthread+0x10/0x10
nov 27 16:03:07 archlinux kernel:  ret_from_fork+0x31/0x50
nov 27 16:03:07 archlinux kernel:  ? __pfx_kthread+0x10/0x10
nov 27 16:03:07 archlinux kernel:  kthread+0xcf/0x100
nov 27 16:03:07 archlinux kernel:  _main_loop+0x95/0x150 [nvidia_modeset 75bf6c18b93e0e0b62192a2bda6ad3ec8f1fef8e]
nov 27 16:03:07 archlinux kernel:  nvkms_kthread_q_callback+0x140/0x160 [nvidia_modeset 75bf6c18b93e0e0b62192a2bda6ad3ec8f1fef8e]
nov 27 16:03:07 archlinux kernel:  down_read+0x48/0xa0
nov 27 16:03:07 archlinux kernel:  ? __pfx__main_loop+0x10/0x10 [nvidia_modeset 75bf6c18b93e0e0b62192a2bda6ad3ec8f1fef8e]
nov 27 16:03:07 archlinux kernel:  rwsem_down_read_slowpath+0x26f/0x4e0
nov 27 16:03:07 archlinux kernel:  schedule_preempt_disabled+0x15/0x30
nov 27 16:03:07 archlinux kernel:  schedule+0x27/0xf0
nov 27 16:03:07 archlinux kernel:  __schedule+0x3b0/0x12b0
nov 27 16:03:07 archlinux kernel:  <TASK>
nov 27 16:03:07 archlinux kernel: Call Trace:
nov 27 16:03:07 archlinux kernel: task:nvidia-modeset/ state:D stack:0     pid:219   tgid:219   ppid:2      flags:0x00004000
nov 27 16:03:07 archlinux kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
nov 27 16:03:07 archlinux kernel:       Tainted: G           OE      6.12.1-arch1-1 #1
nov 27 16:03:07 archlinux kernel: INFO: task nvidia-modeset/:219 blocked for more than 122 seconds.

Last edited by SalvatoreSantoro (2024-11-27 15:27:18)

Offline

Board footer

Powered by FluxBB