gilcu2
December 3, 2024, 10:10am
1
EOS updated. After suspending it wake up in few seconds. Also keyboard cycling off to on all the time.
Some data:
$ inxi -M
Machine:
Type: Laptop System: ASUSTeK product: ProArt P16 H7606WV_H7606WV v: 1.0
serial: <superuser required>
Mobo: ASUSTeK model: H7606WV v: 1.0 serial: <superuser required>
UEFI: American Megatrends LLC. v: H7606WV.312 date: 11/03/2024
$ uname -a
Linux XXXX 6.12.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 22 Nov 2024 16:04:27 +0000 x86_64 GNU/Linux
Kernel parameters:
nowatchdog rw root=UUID=7c9448d6-f4d5-4415-a5da-1e7895ef8f28 resume=UUID=be9b57cd-d456-4eb6-8288-aed9bfa2eb50 acpi_osi='Windows 2015' acpi.ec_no_wakeup=1 nv
me_load=YES nvidia-drm.modeset=1 NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp nvidia-drm.fbdev=1 systemd.machine_id=b1e3189007a648bc84e1e23a
ac3246fc
$ journalctl --grep=suspend
Dez 03 10:26:14 AsusRey systemd-logind[891]: The system will suspend now!
Dez 03 10:26:16 AsusRey systemd[1]: Starting NVIDIA system suspend actions...
Dez 03 10:26:16 AsusRey suspend[3907]: nvidia-suspend.service
Dez 03 10:26:16 AsusRey logger[3907]: <13>Dec 3 10:26:16 suspend: nvidia-suspend.service
Dez 03 10:26:19 AsusRey systemd[1]: nvidia-suspend.service: Deactivated successfully.
Dez 03 10:26:19 AsusRey systemd[1]: Finished NVIDIA system suspend actions.
Dez 03 10:26:19 AsusRey systemd[1]: nvidia-suspend.service: Consumed 1.880s CPU time, 2.5G memory peak.
Dez 03 10:26:19 AsusRey systemd[1]: Starting System Suspend...
Dez 03 10:26:19 AsusRey systemd-sleep[3934]: in suspend-then-hibernate operations or setups with encrypted home directories.
Dez 03 10:26:19 AsusRey systemd-sleep[3934]: Performing sleep operation 'suspend'...
Dez 03 10:26:19 AsusRey kernel: PM: suspend entry (s2idle)
Dez 03 10:26:33 AsusRey kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Dez 03 10:26:33 AsusRey kernel: queueing ieee80211 work while going to suspend
Dez 03 10:26:33 AsusRey kernel: PM: suspend exit
Dez 03 10:26:33 AsusRey systemd-sleep[3934]: System returned from sleep operation 'suspend'.
Dez 03 10:26:35 AsusRey systemd[1]: systemd-suspend.service: Deactivated successfully.
Dez 03 10:26:35 AsusRey systemd[1]: Finished System Suspend.
Dez 03 10:26:35 AsusRey systemd[1]: systemd-suspend.service: Consumed 1.548s CPU time, 3M memory peak.
Dez 03 10:26:35 AsusRey systemd[1]: Reached target Suspend.
Dez 03 10:26:35 AsusRey systemd-logind[891]: Operation 'suspend' finished.
Dez 03 10:26:35 AsusRey systemd[1]: Stopped target Suspend.
Dez 03 10:26:35 AsusRey logger[4058]: <13>Dec 3 10:26:35 suspend: nvidia-resume.service
Any idea of what else to do? I have tried what I have found about Kernel parameters, disabling ACPI wakeup.
Thanks
Reynaldo
xircon
December 3, 2024, 8:57pm
2
Can you post the graphics hardware?
inxi -G
Also, please use code tags, it improves readability:
Use three tildes:
~~~
Text here…
~~~
becomes:
Text here...
or use three backticks ```
```
Becomes…
```
Becomes...
I prefer backticks because I don’t need to hold shift.
Here is mine as an example:
inxi -G 20:52:53
Graphics:
Device-1: NVIDIA GA104M [GeForce RTX 3070 Mobile / Max-Q] driver: nvidia
v: 565.57.01
Device-2: Bison Integrated Camera driver: uvcvideo type: USB
Display: wayland server: X.org v: 1.21.1.14 with: Xwayland v: 24.1.4
compositor: kwin_wayland driver: X: loaded: nvidia unloaded: modesetting
gpu: nvidia resolution: 1920x1080
API: EGL v: 1.5 drivers: nvidia,swrast
platforms: gbm,wayland,x11,surfaceless,device
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 565.57.01
renderer: NVIDIA GeForce RTX 3070 Laptop GPU/PCIe/SSE2
API: Vulkan v: 1.3.295 drivers: nvidia surfaces: xcb,xlib,wayland
gilcu2
December 4, 2024, 3:50am
3
Hi Xircon, thanks. Here the graphics hardware
Graphics:
Device-1: NVIDIA AD107M [GeForce RTX 4060 Max-Q / Mobile] driver: nvidia
v: 565.57.01
Device-2: Advanced Micro Devices [AMD/ATI] Strix [Radeon 880M / 890M]
driver: amdgpu v: kernel
Device-3: Shinetech ASUS FHD webcam driver: hid-sensor-hub,usbhid,uvcvideo
type: USB
Device-4: Anker PowerConf C300 driver: snd-usb-audio,uvcvideo type: USB
Display: wayland server: X.org v: 1.21.1.14 with: Xwayland v: 24.1.4
compositor: kwin_wayland driver: X: loaded: amdgpu,nvidia
unloaded: modesetting dri: radeonsi gpu: nvidia,amdgpu resolution:
1: 2560x1440 2: 1920x1080 3: 1707x1067
API: EGL v: 1.5 drivers: nvidia,radeonsi,swrast
platforms: gbm,wayland,x11,surfaceless,device
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 565.57.01
renderer: NVIDIA GeForce RTX 4060 Laptop GPU/PCIe/SSE2
API: Vulkan v: 1.3.295 drivers: nvidia surfaces: xcb,xlib,wayland
xircon
December 4, 2024, 9:29am
4
You need to follow this:
https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks
Point 10.
Are you using grub or systemd-boot?
I use systemd-boot and this is what I have:
create:
## File: /etc/modprobe.d/nvidia-power-management.conf
options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp
options nvidia_drm modeset=1
options nvidia_drm fbdev=1
options nvidia NVreg_EnableGpuFirmware=0
Enable the three services and reboot. Suspend was not working for months due to a kernel regression, so make sure you are up to date.
I also appear to have these entries in my /etc/kernel/cmdline
on systemd-boot:
NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp nvme_load=YES nowatchdog rw root=UUID=f09efc4c-076f-4045-8558-eba26796d1cf resume=UUID=048e428b-52bc-413d-9c2a-5f8d5320d5e4 nvidia-drm.modeset=1
Can’t remember why! Old and full of cold, courtesy of my job (I work for the NHS in UK - too many sick people!!!)
gilcu2:
ProArt P16
Have you checked the Arch wiki entry for the Asus Zenbook UM5606 ? It shares the same Ryzen 9 AI HX 370 processor. Chipset drivers and such might be pretty similar.
There is an specific linux-mainline-UM5606 patched kernel available for the UM5606.
Furthermore, according to their github commits asusctl should support the ProArt P16 as well, at least it has been tested on a P16 as well. I don’t know if the rog-control-center app would support it. Might be worth a look at.
gilcu2
December 5, 2024, 4:12pm
6
Hi Xircon, like that the modprobe configuration made the magic. Sleep is working.
Thanks very much
Reynaldo
system
Closed
December 24, 2024, 7:38am
7
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.