Nvidia freezes sometimes

I have a laptop with nvidia + intel GPU, and the nvidia card freezes sometimes (e.g. with blender) for like 10 seconds. When it does it, I get this in dmesg:

[ 1197.150647] i915 0000:00:02.0: [drm] GPU HANG: ecode 12:1:f19f3ffc, in .blender-wrappe [9425]
[ 1197.182516] i915 0000:00:02.0: [drm] GPU HANG: ecode 12:10:85def5fa, in .blender-wrappe [9425]
[ 1197.182528] i915 0000:00:02.0: [drm] .blender-wrappe[9425] context reset due to GPU hang
[ 1204.752747] i915 0000:00:02.0: [drm] GPU HANG: ecode 12:1:85dffdfb, in .blender-wrappe [9425]
[ 1204.752763] i915 0000:00:02.0: [drm] .blender-wrappe[9425] context reset due to GPU hang
[ 1212.960763] i915 0000:00:02.0: [drm] GPU HANG: ecode 12:1:f19f3ffc, in .blender-wrappe [9425]
[ 1212.989490] i915 0000:00:02.0: [drm] GPU HANG: ecode 12:10:85def5fa, in .blender-wrappe [9425]
[ 1212.989514] i915 0000:00:02.0: [drm] .blender-wrappe[9425] context reset due to GPU hang
[ 1220.564573] i915 0000:00:02.0: [drm] GPU HANG: ecode 12:1:85dffdfb, in .blender-wrappe [9425]
[ 1220.564619] i915 0000:00:02.0: [drm] .blender-wrappe[9425] context reset due to GPU hang
[ 1665.244046] SCSI subsystem initialized
[ 3761.677855] NVRM: failed to allocate vmap() page descriptor table!
[ 3761.677863] NVRM: osMapSystemMemory: failed to create system memory kernel mapping!
[ 3761.677867] NVRM: nvAssertOkFailedNoLog: Assertion failed: Failure: Generic Error [NV_ERR_GENERIC] (0x0000FFFF) returned from memdescMap(*ppMemdescRadix3, 0, allocSize, NV_TRUE, NV_PROTECT_WRITEABLE, &pVaKernel, &pPrivKernel) @ kernel_gsp.c:4485
[ 3761.703533] NVRM: nvAssertOkFailedNoLog: Assertion failed: Failure: Generic Error [NV_ERR_GENERIC] (0x0000FFFF) returned from kgspCreateRadix3(pGpu, pKernelGsp, &pKernelGsp->pSRRadix3Descriptor, NULL, NULL, gspfwSRMeta.sizeOfSuspendResumeData) @ kernel_gsp_tu102.c:1219
[ 3761.715950] nvidia 0000:01:00.0: can't suspend (nv_pmops_runtime_suspend [nvidia] returned -5)
[ 3782.829379] NVRM: Error in service of callback 
[ 3919.301982] zsh[42110]: segfault at 10 ip 0000000000479ddd sp 00007fffed5bff10 error 4 in zsh[79ddd,412000+a1000] likely on CPU 8 (core 24, socket 0)
[ 3919.301996] Code: 85 ff 74 08 85 f6 0f 84 91 01 00 00 45 31 e4 89 c2 81 e2 ff ff bf ff 89 53 10 a9 00 00 00 01 75 0c 48 8b 43 20 89 ee 48 89 df <ff> 50 10 48 83 7b 30 00 74 08 48 89 df e8 b1 ac ff ff 4d 85 e4 74
[ 4965.159418] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe B (start=272391 end=272392) time 391 us, min 1431, max 1439, scanline start 1419, end 1421

I’m using this conf:

{ inputs, config, pkgs, lib, ... }:
{
  hardware.nvidia.prime = {
    offload.enable = true;
    offload.enableOffloadCmd = true;
    intelBusId = "PCI:0:2:0";
    nvidiaBusId = "PCI:1:0:0";
  };
  hardware.graphics = {
    enable = true;
    extraPackages = with pkgs; [nvidia-vaapi-driver];
  };

  services.xserver.videoDrivers = [ "nvidia" ];
  hardware.nvidia.open = true; 
}

Any idea how to fix this?

That looks… Weird? Are you starting blender with nvidia-offload? Looks like the iGPU hangs (presumably it can’t keep up with rendering).

What’s weird is the nvidia errors that follow, it looks like it tries to suspend, presumably to conserve power.

This might be unrelated to the issues with the iGPU, but perhaps the hang is noticeable because the driver is supposed to forward stuff to the iGPU or such and gets hung up failing to suspend the GPU or such?

That said, your configuration looks perfectly fine. This is most definitely a driver bug or hardware issue. You’ll find more useful help on the nvidia forums than around here. But these are the things I would try:

  • Enable powermanagement and powermanagement.finegrained
    • I don’t think it will solve this, but those options should anyway be on on laptops, and I guess there’s a chance the powermanagement daemon handles these suspends too?
  • Use the nvidia GPU to actually run blender via nvidia-offload
    • I assume blender uses cuda and manages offloading tasks to the GPU itself, though, so perhaps this would just break everything

Good luck, this one looks pretty hard to solve.

Thanks a lot for the answer. I tried it with both, but I think the above error message was without nvidia-offload (but not 100% sure)… But I tried to replicate it today with a more precise try… and I cannot reproduce it anymore, no idea why! The only thing is that the very first render (EEVE) takes quite long when not using nvidia-offload (~8s for a simple cube), but I’m wondering if it is not because it needs to wakeup the card, as subsequent runs are much faster (~0.5s).

Also, sleep mode even seem to work (yesterday, my laptop failed to go to sleep, so it was staying warm in its case…)…

I’ll get back here if it occurs again, especially if I can find a precise way to reproduce… in which case I may consider to fill a bug upstream. Thanks!

So I tried to enable nvidia.powermanagement{.,finegrained} and even if I’ve not obtained the same bug, I still have issues with sleep mode. If I just close my lid, the laptop goes to sleep, but if I go to sleep mode by clicking the button but with the lid open (typically when I have my external monitor plugged), it goes to sleep and wake up a few minutes later… This is really annoying (also I’m afraid to burn my screen if the same picture is printed during hours). In the log, the interesting thing seems to be:

avril 18 12:28:57 bestosprec kernel: pci 0000:00:08.0: Setting to D3hot
avril 18 12:28:57 bestosprec kernel: NVRM: RmHandleDNotifierEvent: RmHandleDNotifierEvent: Failed to handle ACPI D-Notifier event, status=0x11
avril 18 12:28:57 bestosprec kernel: i915 0000:00:02.0: [drm] GT0: GuC firmware i915/mtl_guc_70.bin version 70.36.0
avril 18 12:28:57 bestosprec kernel: spd5118 0-0050: Failed to write b = 0: -6
avril 18 12:28:57 bestosprec kernel: spd5118 0-0050: PM: dpm_run_callback(): spd5118_resume [spd5118] returns -6
avril 18 12:28:57 bestosprec kernel: spd5118 0-0050: PM: failed to resume async: error -6
avril 18 12:28:57 bestosprec kernel: i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
avril 18 12:28:57 bestosprec kernel: i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
avril 18 12:28:57 bestosprec kernel: i915 0000:00:02.0: [drm] GT0: GUC: RC enabled
avril 18 12:28:57 bestosprec kernel: i915 0000:00:02.0: [drm] GT1: GuC firmware i915/mtl_guc_70.bin version 70.36.0
avril 18 12:28:57 bestosprec kernel: i915 0000:00:02.0: [drm] GT1: HuC firmware i915/mtl_huc_gsc.bin version 8.5.4
avril 18 12:28:57 bestosprec kernel: i8042 kbd 00:03: activated
avril 18 12:28:57 bestosprec kernel: i8042 aux 00:04: activated
avril 18 12:28:57 bestosprec kernel: NVRM: RmHandleDNotifierEvent: RmHandleDNotifierEvent: Failed to handle ACPI D-Notifier event, status=0x11
avril 18 12:28:57 bestosprec kernel: nvme nvme0: D3 entry latency set to 10 seconds
avril 18 12:28:57 bestosprec kernel: i915 0000:00:02.0: [drm] GT1: GUC: submission enabled
avril 18 12:28:57 bestosprec kernel: i915 0000:00:02.0: [drm] GT1: GUC: SLPC enabled
avril 18 12:28:57 bestosprec kernel: i915 0000:00:02.0: [drm] GT1: GUC: RC enabled
avril 18 12:28:57 bestosprec kernel: nvme nvme0: 16/0/0 default/read/poll queues

Is it ringing a bell?

I also see a bit above:

plasmashell[3166]: The cached device pixel ratio value was stale on window update.  Please file a QTBUG which explains how to reproduce.

Full log

avril 18 11:47:34 bestosprec kded6[3123]: Registering ":1.77/StatusNotifierItem" to system tray
avril 18 11:47:34 bestosprec rtkit-daemon[2418]: Successfully made thread 6205 of process 6030 owned by '1000' RT at priority 10.
avril 18 11:47:36 bestosprec rtkit-daemon[2418]: Successfully made thread 6274 of process 6030 owned by '1000' RT at priority 10.
avril 18 11:47:36 bestosprec plasmashell[3166]: file:///nix/store/n4p9523zdb0xn7r0dca4gvk96hzf15g9-plasma-workspace-6.3.4/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/delegates/DelegatePopup.qml:147:17: Q>
avril 18 11:47:36 bestosprec plasmashell[3166]: file:///nix/store/n4p9523zdb0xn7r0dca4gvk96hzf15g9-plasma-workspace-6.3.4/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/delegates/DelegatePopup.qml:147:17: Q>
avril 18 11:47:43 bestosprec systemd-timesyncd[5666]: Timed out waiting for reply from 194.177.34.116:123 (3.nixos.pool.ntp.org).
avril 18 11:47:54 bestosprec systemd-timesyncd[5666]: Timed out waiting for reply from 213.251.128.249:123 (0.nixos.pool.ntp.org).
avril 18 11:47:58 bestosprec plasmashell[3166]: The cached device pixel ratio value was stale on window update.  Please file a QTBUG which explains how to reproduce.
avril 18 11:48:00 bestosprec systemd-logind[2108]: The system will suspend now!
avril 18 11:48:00 bestosprec ModemManager[3337]: <msg> [sleep-monitor-systemd] system is about to suspend
avril 18 11:48:00 bestosprec dbus-daemon[2016]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.8' (uid=0 pid=2148 comm="/nix/>
avril 18 11:48:00 bestosprec systemd[1]: Starting Network Manager Script Dispatcher Service...
avril 18 11:48:00 bestosprec plasmashell[3166]: The cached device pixel ratio value was stale on window update.  Please file a QTBUG which explains how to reproduce.
avril 18 11:48:00 bestosprec dbus-daemon[2016]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
avril 18 11:48:00 bestosprec systemd[1]: Started Network Manager Script Dispatcher Service.
avril 18 11:48:00 bestosprec kernel: wlp0s20f3: deauthenticating from 00:c8:8b:f5:87:7f by local choice (Reason: 3=DEAUTH_LEAVING)
avril 18 11:48:00 bestosprec wpa_supplicant[2299]: nl80211: send_event_marker failed: Source based routing not supported
avril 18 11:48:00 bestosprec wpa_supplicant[2299]: wlp0s20f3: CTRL-EVENT-DISCONNECTED bssid=00:c8:8b:f5:87:7f reason=3 locally_generated=1
avril 18 11:48:00 bestosprec wpa_supplicant[2299]: wlp0s20f3: CTRL-EVENT-DSCP-POLICY clear_all
avril 18 11:48:00 bestosprec avahi-daemon[2013]: Withdrawing address record for fe80::91c5:4194:c2f5:b98b on wlp0s20f3.
avril 18 11:48:00 bestosprec avahi-daemon[2013]: Leaving mDNS multicast group on interface wlp0s20f3.IPv6 with address fe80::91c5:4194:c2f5:b98b.
avril 18 11:48:00 bestosprec avahi-daemon[2013]: Interface wlp0s20f3.IPv6 no longer relevant for mDNS.
avril 18 11:48:00 bestosprec wpa_supplicant[2299]: wlp0s20f3: PMKSA-CACHE-REMOVED 00:c8:8b:f5:87:7f 0
avril 18 11:48:00 bestosprec avahi-daemon[2013]: Interface wlp0s20f3.IPv4 no longer relevant for mDNS.
avril 18 11:48:00 bestosprec avahi-daemon[2013]: Leaving mDNS multicast group on interface wlp0s20f3.IPv4 with address 130.190.84.42.
avril 18 11:48:00 bestosprec wpa_supplicant[2299]: wlp0s20f3: PMKSA-CACHE-REMOVED 00:c8:8b:f5:87:70 0
avril 18 11:48:00 bestosprec wpa_supplicant[2299]: wlp0s20f3: PMKSA-CACHE-REMOVED 00:c8:8b:f5:9b:90 0
avril 18 11:48:00 bestosprec wpa_supplicant[2299]: wlp0s20f3: PMKSA-CACHE-REMOVED 00:c8:8b:f5:9b:9f 0
avril 18 11:48:00 bestosprec wpa_supplicant[2299]: wlp0s20f3: PMKSA-CACHE-REMOVED 00:c8:8b:57:a4:1f 0
avril 18 11:48:00 bestosprec wpa_supplicant[2299]: wlp0s20f3: PMKSA-CACHE-REMOVED 00:c8:8b:ff:38:3f 0
avril 18 11:48:00 bestosprec wpa_supplicant[2299]: wlp0s20f3: PMKSA-CACHE-REMOVED 00:c8:8b:ff:2d:7f 0
avril 18 11:48:00 bestosprec avahi-daemon[2013]: Withdrawing address record for 130.190.84.42 on wlp0s20f3.
avril 18 11:48:00 bestosprec avahi-daemon[2013]: Joining mDNS multicast group on interface wlp0s20f3.IPv4 with address 130.190.84.42.
avril 18 11:48:00 bestosprec avahi-daemon[2013]: New relevant interface wlp0s20f3.IPv4 for mDNS.
avril 18 11:48:00 bestosprec avahi-daemon[2013]: Registering new address record for 130.190.84.42 on wlp0s20f3.IPv4.
avril 18 11:48:00 bestosprec avahi-daemon[2013]: Withdrawing address record for 130.190.84.42 on wlp0s20f3.
avril 18 11:48:00 bestosprec avahi-daemon[2013]: Leaving mDNS multicast group on interface wlp0s20f3.IPv4 with address 130.190.84.42.
avril 18 11:48:00 bestosprec avahi-daemon[2013]: Interface wlp0s20f3.IPv4 no longer relevant for mDNS.
avril 18 11:48:00 bestosprec systemd[1]: Stopped target Host and Network Name Lookups.
avril 18 11:48:00 bestosprec systemd[1]: Stopping Host and Network Name Lookups...
avril 18 11:48:00 bestosprec systemd[1]: Stopped target User and Group Name Lookups.
avril 18 11:48:00 bestosprec systemd[1]: Stopping User and Group Name Lookups...
avril 18 11:48:00 bestosprec systemd[1]: Stopping Name Service Cache Daemon (nsncd)...
avril 18 11:48:00 bestosprec systemd[1]: nscd.service: Deactivated successfully.
avril 18 11:48:00 bestosprec systemd[1]: Stopped Name Service Cache Daemon (nsncd).
avril 18 11:48:00 bestosprec systemd[1]: nscd.service: Consumed 280ms CPU time, 5.1M memory peak, 30K incoming IP traffic, 15.1K outgoing IP traffic.
avril 18 11:48:00 bestosprec avahi-daemon[2013]: Got SIGHUP, reloading.
avril 18 11:48:00 bestosprec avahi-daemon[2013]: No service file found in /etc/avahi/services.
avril 18 11:48:00 bestosprec systemd[1]: Starting Name Service Cache Daemon (nsncd)...
avril 18 11:48:00 bestosprec systemd[1]: Stopping Network Time Synchronization...
avril 18 11:48:00 bestosprec systemd[1]: Started Name Service Cache Daemon (nsncd).
avril 18 11:48:00 bestosprec nsncd[6415]: Apr 18 09:48:00.231 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"
avril 18 11:48:00 bestosprec systemd[1]: Reached target Host and Network Name Lookups.
avril 18 11:48:00 bestosprec systemd[1]: Reached target User and Group Name Lookups.
avril 18 11:48:00 bestosprec systemd[1]: systemd-timesyncd.service: Deactivated successfully.
avril 18 11:48:00 bestosprec systemd[1]: Stopped Network Time Synchronization.
avril 18 11:48:00 bestosprec systemd[1]: systemd-timesyncd.service: Consumed 50ms CPU time, 2.6M memory peak, 1.4K incoming IP traffic, 2.1K outgoing IP traffic.
avril 18 11:48:00 bestosprec systemd[1]: Starting Network Time Synchronization...
avril 18 11:48:00 bestosprec systemd-timesyncd[6450]: Disabling NSCD because DNSSEC validation is turned off
avril 18 11:48:00 bestosprec systemd[1]: Started Network Time Synchronization.
avril 18 11:48:00 bestosprec nm-dispatcher[6422]: Done!
avril 18 11:48:00 bestosprec wpa_supplicant[2299]: p2p-dev-wlp0s20: CTRL-EVENT-DSCP-POLICY clear_all
avril 18 11:48:00 bestosprec wpa_supplicant[2299]: p2p-dev-wlp0s20: CTRL-EVENT-DSCP-POLICY clear_all
avril 18 11:48:00 bestosprec wpa_supplicant[2299]: nl80211: deinit ifname=p2p-dev-wlp0s20 disabled_11b_rates=0
avril 18 11:48:00 bestosprec kscreenlocker_greet[6351]: qml: The backend got an unknown wallpaper provider type. The wallpaper will now fall back to the default. Please check your wallpaper configuration!
avril 18 11:48:00 bestosprec wpa_supplicant[2299]: wlp0s20f3: CTRL-EVENT-DSCP-POLICY clear_all
avril 18 11:48:00 bestosprec kscreenlocker_greet[6351]: qml: The backend got an unknown wallpaper provider type. The wallpaper will now fall back to the default. Please check your wallpaper configuration!
avril 18 11:48:00 bestosprec wpa_supplicant[2299]: wlp0s20f3: CTRL-EVENT-DSCP-POLICY clear_all
avril 18 11:48:00 bestosprec wpa_supplicant[2299]: nl80211: deinit ifname=wlp0s20f3 disabled_11b_rates=0
avril 18 11:48:00 bestosprec kscreenlocker_greet[6351]: qml: The backend got an unknown wallpaper provider type. The wallpaper will now fall back to the default. Please check your wallpaper configuration!
avril 18 11:48:00 bestosprec systemd[1]: Starting NVIDIA system suspend actions...
avril 18 11:48:00 bestosprec systemd[1]: Starting Pre-Sleep Actions...
avril 18 11:48:00 bestosprec systemd[1]: pre-sleep.service: Deactivated successfully.
avril 18 11:48:00 bestosprec systemd[1]: Finished Pre-Sleep Actions.
avril 18 11:48:00 bestosprec systemd[1]: Reached target Sleep.
avril 18 11:48:00 bestosprec kernel: .ibus-ui-gtk3-w[3571]: segfault at 0 ip 0000000000000000 sp 00007ffd99efe0d8 error 14 likely on CPU 18 (core 6, socket 0)
avril 18 11:48:00 bestosprec kernel: Code: Unable to access opcode bytes at 0xffffffffffffffd6.
avril 18 11:48:00 bestosprec systemd-coredump[6480]: Process 3571 (.ibus-ui-gtk3-w) of user 1000 terminated abnormally with signal 11/SEGV, processing...
avril 18 11:48:00 bestosprec systemd[1]: Created slice Slice /system/drkonqi-coredump-processor.
avril 18 11:48:00 bestosprec systemd[1]: Created slice Slice /system/systemd-coredump.
avril 18 11:48:00 bestosprec systemd[1]: Started Process Core Dump (PID 6480/UID 0).
avril 18 11:48:00 bestosprec systemd[1]: Started Pass systemd-coredump journal entries to relevant user for potential DrKonqi handling.
avril 18 11:48:00 bestosprec systemd-timesyncd[6450]: Network configuration changed, trying to establish connection.
avril 18 11:48:00 bestosprec systemd-timesyncd[6450]: Network configuration changed, trying to establish connection.
avril 18 11:48:00 bestosprec systemd-timesyncd[6450]: Network configuration changed, trying to establish connection.
avril 18 11:48:00 bestosprec systemd-timesyncd[6450]: Network configuration changed, trying to establish connection.
avril 18 11:48:00 bestosprec systemd-timesyncd[6450]: Network configuration changed, trying to establish connection.
avril 18 11:48:00 bestosprec plasmashell[3166]: file:///nix/store/n4p9523zdb0xn7r0dca4gvk96hzf15g9-plasma-workspace-6.3.4/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/delegates/DelegatePopup.qml:147:17: Q>
avril 18 11:48:00 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.47 path=/MediaEndpoint/A2DPSource/ldac
avril 18 11:48:00 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.47 path=/MediaEndpoint/A2DPSink/aptx_hd
avril 18 11:48:00 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.47 path=/MediaEndpoint/A2DPSource/aptx_hd
avril 18 11:48:00 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.47 path=/MediaEndpoint/A2DPSink/aptx
avril 18 11:48:00 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.47 path=/MediaEndpoint/A2DPSource/aptx
avril 18 11:48:00 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.47 path=/MediaEndpoint/A2DPSink/aac
avril 18 11:48:00 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.47 path=/MediaEndpoint/A2DPSource/aac
avril 18 11:48:00 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.47 path=/MediaEndpoint/A2DPSink/opus_g
avril 18 11:48:00 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.47 path=/MediaEndpoint/A2DPSource/opus_g
avril 18 11:48:00 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.47 path=/MediaEndpoint/A2DPSink/sbc
avril 18 11:48:00 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.47 path=/MediaEndpoint/A2DPSource/sbc
avril 18 11:48:00 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.47 path=/MediaEndpoint/A2DPSource/aptx_ll_1
avril 18 11:48:00 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.47 path=/MediaEndpoint/A2DPSource/aptx_ll_0
avril 18 11:48:00 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.47 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
avril 18 11:48:00 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.47 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
avril 18 11:48:00 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.47 path=/MediaEndpoint/A2DPSource/faststream
avril 18 11:48:00 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.47 path=/MediaEndpoint/A2DPSource/faststream_duplex
avril 18 11:48:00 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.47 path=/MediaEndpoint/A2DPSink/opus_05
avril 18 11:48:00 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.47 path=/MediaEndpoint/A2DPSource/opus_05
avril 18 11:48:00 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.47 path=/MediaEndpoint/A2DPSink/opus_05_duplex
avril 18 11:48:00 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.47 path=/MediaEndpoint/A2DPSource/opus_05_duplex
avril 18 11:48:00 bestosprec plasmashell[3166]: file:///nix/store/n4p9523zdb0xn7r0dca4gvk96hzf15g9-plasma-workspace-6.3.4/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/delegates/DelegatePopup.qml:147:17: Q>
avril 18 11:48:00 bestosprec plasmashell[3166]: file:///nix/store/n4p9523zdb0xn7r0dca4gvk96hzf15g9-plasma-workspace-6.3.4/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/delegates/DelegatePopup.qml:147:17: Q>
avril 18 11:48:00 bestosprec systemd-coredump[6502]: [🡕] Process 3571 (.ibus-ui-gtk3-w) of user 1000 dumped core.
                                                     
                                                     Module /nix/store/md7vqs2sng1wv3hp11hyl2jy8mg4kasd-ibus-1.5.31/libexec/.ibus-ui-gtk3-wrapped without build-id.
                                                     Module libgcc_s.so.1 without build-id.
                                                     Module libstdc++.so.6 without build-id.
                                                     Module libdconfsettings.so without build-id.
                                                     Module libcap.so.2 without build-id.
                                                     Module libbrotlicommon.so.1 without build-id.
                                                     Module libdatrie.so.1 without build-id.
                                                     Module libxml2.so.2 without build-id.
                                                     Module libjson-glib-1.0.so.0 without build-id.
                                                     Module libexpat.so.1 without build-id.
                                                     Module libbrotlidec.so.1 without build-id.
                                                     Module libbz2.so.1 without build-id.
                                                     Module libXdmcp.so.6 without build-id.
                                                     Module libXau.so.6 without build-id.
                                                     Module libpcre2-8.so.0 without build-id.
                                                     Module libselinux.so.1 without build-id.
                                                     Module libffi.so.8 without build-id.
                                                     Module libjpeg.so.62 without build-id.
                                                     Module libxcb-shm.so.0 without build-id.
                                                     Module libxcb-render.so.0 without build-id.
                                                     Module libXrender.so.1 without build-id.
                                                     Module libpng16.so.16 without build-id.
                                                     Module libgraphite2.so.3 without build-id.
                                                     Module libfreetype.so.6 without build-id.
                                                     Module libthai.so.0 without build-id.
                                                     Module libXinerama.so.1 without build-id.
                                                     Module libXrandr.so.2 without build-id.
                                                     Module libXcomposite.so.1 without build-id.
                                                     Module libXdamage.so.1 without build-id.
                                                     Module libXcursor.so.1 without build-id.
                                                     Module libXfixes.so.3 without build-id.
                                                     Module libtinysparql-3.0.so.0 without build-id.
                                                     Module libepoxy.so.0 without build-id.
                                                     Module libfribidi.so.0 without build-id.
                                                     Module libfontconfig.so.1 without build-id.
                                                     Module libpangoft2-1.0.so.0 without build-id.
                                                     Module libXext.so.6 without build-id.
                                                     Module libxcb.so.1 without build-id.
                                                     Module libxkbcommon.so.0 without build-id.
                                                     Module libharfbuzz.so.0 without build-id.
                                                     Module libpango-1.0.so.0 without build-id.
                                                     Module libpangocairo-1.0.so.0 without build-id.
                                                     Module libz.so.1 without build-id.
                                                     Module libdbusmenu-glib.so.4 without build-id.
                                                     Module libdbusmenu-gtk3.so.4 without build-id.
                                                     Module libnotify.so.4 without build-id.
                                                     Module libibus-1.0.so.5 without build-id.
                                                     Module libXi.so.6 without build-id.
                                                     Module libX11.so.6 without build-id.
                                                     Stack trace of thread 3571:
                                                     #0  0x0000000000000000 n/a (n/a + 0x0)
                                                     ELF object binary architecture: AMD x86-64
avril 18 11:48:00 bestosprec systemd[1]: systemd-coredump@0-6480-0.service: Deactivated successfully.
avril 18 11:48:00 bestosprec kded6[3123]: Service  ":1.59" unregistered
avril 18 11:48:01 bestosprec drkonqi-coredump-processor[6503]: "/nix/store/md7vqs2sng1wv3hp11hyl2jy8mg4kasd-ibus-1.5.31/libexec/.ibus-ui-gtk3-wrapped" 3571 "/var/lib/systemd/coredump/core.\\x2eibus-ui-gtk3-w.1000.fcf39fab63>
avril 18 11:48:01 bestosprec systemd[2831]: Started Launch DrKonqi for a systemd-coredump crash (PID 6503/UID 0).
avril 18 11:48:01 bestosprec plasmashell[3166]: file:///nix/store/n4p9523zdb0xn7r0dca4gvk96hzf15g9-plasma-workspace-6.3.4/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/delegates/DelegatePopup.qml:147:17: Q>
avril 18 11:48:01 bestosprec drkonqi-coredump-launcher[6571]: Unable to find file for pid 3571 expected at "kcrash-metadata/.ibus-ui-gtk3-wrapped.fcf39fab63784b23a18b3d610d10b205.3571.ini"
avril 18 11:48:01 bestosprec drkonqi-coredump-launcher[6571]: Nothing handled the dump :O
avril 18 11:48:01 bestosprec systemd[1]: drkonqi-coredump-processor@0-6480-0.service: Deactivated successfully.
avril 18 11:48:02 bestosprec plasmashell[3166]: The cached device pixel ratio value was stale on window update.  Please file a QTBUG which explains how to reproduce.
avril 18 11:48:02 bestosprec plasmashell[3166]: file:///nix/store/n4p9523zdb0xn7r0dca4gvk96hzf15g9-plasma-workspace-6.3.4/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/delegates/DelegatePopup.qml:147:17: Q>
avril 18 11:48:02 bestosprec plasmashell[3166]: file:///nix/store/n4p9523zdb0xn7r0dca4gvk96hzf15g9-plasma-workspace-6.3.4/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/delegates/DelegatePopup.qml:147:17: Q>
avril 18 11:48:02 bestosprec plasmashell[3166]: file:///nix/store/n4p9523zdb0xn7r0dca4gvk96hzf15g9-plasma-workspace-6.3.4/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/delegates/DelegatePopup.qml:147:17: Q>
avril 18 11:48:02 bestosprec plasmashell[3166]: file:///nix/store/n4p9523zdb0xn7r0dca4gvk96hzf15g9-plasma-workspace-6.3.4/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/delegates/DelegatePopup.qml:147:17: Q>
avril 18 11:48:02 bestosprec plasmashell[3166]: file:///nix/store/n4p9523zdb0xn7r0dca4gvk96hzf15g9-plasma-workspace-6.3.4/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/delegates/DelegatePopup.qml:147:17: Q>
avril 18 11:48:02 bestosprec systemd[1]: nvidia-suspend.service: Deactivated successfully.
avril 18 11:48:02 bestosprec systemd[1]: Finished NVIDIA system suspend actions.
avril 18 11:48:02 bestosprec systemd[1]: nvidia-suspend.service: Consumed 1.968s CPU time, 1.8M memory peak, 40K read from disk.
avril 18 11:48:02 bestosprec systemd[1]: Starting System Suspend...
avril 18 11:48:03 bestosprec systemd[1]: user@1000.service: Unit now frozen-by-parent.
avril 18 11:48:03 bestosprec systemd[1]: user-175.slice: Unit now frozen-by-parent.
avril 18 11:48:03 bestosprec systemd[1]: session-2.scope: Unit now frozen-by-parent.
avril 18 11:48:03 bestosprec systemd[1]: user-1000.slice: Unit now frozen-by-parent.
avril 18 11:48:03 bestosprec systemd[1]: user.slice: Unit now frozen.
avril 18 11:48:03 bestosprec systemd-sleep[6619]: Successfully froze unit 'user.slice'.
avril 18 11:48:03 bestosprec systemd-sleep[6619]: Performing sleep operation 'suspend'...
avril 18 11:48:03 bestosprec kernel: PM: suspend entry (s2idle)
avril 18 11:48:03 bestosprec systemd[1]: systemd-timedated.service: Deactivated successfully.
avril 18 11:48:07 bestosprec kernel: Filesystems sync: 4.930 seconds
avril 18 12:28:57 bestosprec kernel: Freezing user space processes
avril 18 12:28:57 bestosprec kernel: Freezing user space processes completed (elapsed 0.001 seconds)
avril 18 12:28:57 bestosprec kernel: OOM killer disabled.
avril 18 12:28:57 bestosprec kernel: Freezing remaining freezable tasks
avril 18 12:28:57 bestosprec kernel: Freezing remaining freezable tasks completed (elapsed 0.000 seconds)
avril 18 12:28:57 bestosprec kernel: printk: Suspending console(s) (use no_console_suspend to debug)
avril 18 12:28:57 bestosprec kernel: e1000e: EEE TX LPI TIMER: 00000011
avril 18 12:28:57 bestosprec kernel: ACPI: EC: interrupt blocked
avril 18 12:28:57 bestosprec kernel: ACPI: EC: interrupt unblocked
avril 18 12:28:57 bestosprec kernel: pci 0000:00:08.0: Setting to D3hot
avril 18 12:28:57 bestosprec kernel: NVRM: RmHandleDNotifierEvent: RmHandleDNotifierEvent: Failed to handle ACPI D-Notifier event, status=0x11
avril 18 12:28:57 bestosprec kernel: i915 0000:00:02.0: [drm] GT0: GuC firmware i915/mtl_guc_70.bin version 70.36.0
avril 18 12:28:57 bestosprec kernel: spd5118 0-0050: Failed to write b = 0: -6
avril 18 12:28:57 bestosprec kernel: spd5118 0-0050: PM: dpm_run_callback(): spd5118_resume [spd5118] returns -6
avril 18 12:28:57 bestosprec kernel: spd5118 0-0050: PM: failed to resume async: error -6
avril 18 12:28:57 bestosprec kernel: i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
avril 18 12:28:57 bestosprec kernel: i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
avril 18 12:28:57 bestosprec kernel: i915 0000:00:02.0: [drm] GT0: GUC: RC enabled
avril 18 12:28:57 bestosprec kernel: i915 0000:00:02.0: [drm] GT1: GuC firmware i915/mtl_guc_70.bin version 70.36.0
avril 18 12:28:57 bestosprec kernel: i915 0000:00:02.0: [drm] GT1: HuC firmware i915/mtl_huc_gsc.bin version 8.5.4
avril 18 12:28:57 bestosprec kernel: i8042 kbd 00:03: activated
avril 18 12:28:57 bestosprec kernel: i8042 aux 00:04: activated
avril 18 12:28:57 bestosprec kernel: NVRM: RmHandleDNotifierEvent: RmHandleDNotifierEvent: Failed to handle ACPI D-Notifier event, status=0x11
avril 18 12:28:57 bestosprec kernel: nvme nvme0: D3 entry latency set to 10 seconds
avril 18 12:28:57 bestosprec kernel: i915 0000:00:02.0: [drm] GT1: GUC: submission enabled
avril 18 12:28:57 bestosprec kernel: i915 0000:00:02.0: [drm] GT1: GUC: SLPC enabled
avril 18 12:28:57 bestosprec kernel: i915 0000:00:02.0: [drm] GT1: GUC: RC enabled
avril 18 12:28:57 bestosprec kernel: nvme nvme0: 16/0/0 default/read/poll queues
avril 18 12:28:57 bestosprec kernel: mei_gsc_proxy 0000:00:16.0-0f73db04-97ab-4125-b893-e904ad0d5464: bound 0000:00:02.0 (ops i915_gsc_proxy_component_ops [i915])
avril 18 12:28:57 bestosprec kernel: OOM killer enabled.
avril 18 12:28:57 bestosprec kernel: Restarting tasks ... done.
avril 18 12:28:57 bestosprec kernel: random: crng reseeded on system resumption
avril 18 12:28:57 bestosprec zed[2037]: Exiting
avril 18 12:28:57 bestosprec systemd[1]: zfs-zed.service: Deactivated successfully.
avril 18 12:28:57 bestosprec systemd[1]: Starting Refresh fwupd metadata and update motd...
avril 18 12:28:57 bestosprec systemd[1]: Starting Logrotate Service...
avril 18 12:28:57 bestosprec systemd-timesyncd[6450]: Network configuration changed, trying to establish connection.
avril 18 12:28:57 bestosprec systemd-timesyncd[6450]: Network configuration changed, trying to establish connection.
avril 18 12:28:57 bestosprec systemd-timesyncd[6450]: Network configuration changed, trying to establish connection.
avril 18 12:28:57 bestosprec systemd-timesyncd[6450]: Network configuration changed, trying to establish connection.
avril 18 12:28:57 bestosprec systemd-sleep[6619]: System returned from sleep operation 'suspend'.
avril 18 12:28:57 bestosprec bluetoothd[2014]: Controller resume with wake event 0x0
avril 18 12:28:57 bestosprec kernel: PM: suspend exit
avril 18 12:28:57 bestosprec systemd[1]: user@1000.service: Unit now thawed.
avril 18 12:28:57 bestosprec systemd[1]: user-175.slice: Unit now thawed.
avril 18 12:28:57 bestosprec systemd[1]: user.slice: Unit now thawed.
avril 18 12:28:57 bestosprec systemd[1]: user-1000.slice: Unit now thawed.
avril 18 12:28:57 bestosprec systemd[1]: session-2.scope: Unit now thawed.
avril 18 12:28:57 bestosprec systemd-sleep[6619]: Successfully thawed unit 'user.slice'.
avril 18 12:28:57 bestosprec systemd[1]: systemd-suspend.service: Deactivated successfully.
avril 18 12:28:57 bestosprec systemd[1]: Finished System Suspend.
avril 18 12:28:57 bestosprec systemd[1]: Stopped target Sleep.
avril 18 12:28:57 bestosprec systemd[1]: Reached target Suspend.
avril 18 12:28:57 bestosprec systemd-logind[2108]: Operation 'suspend' finished.
avril 18 12:28:57 bestosprec ModemManager[3337]: <msg> [sleep-monitor-systemd] system is resuming
avril 18 12:28:57 bestosprec systemd[1]: Starting NVIDIA system resume actions...
avril 18 12:28:57 bestosprec systemd[1]: Starting Post-Resume Actions...
avril 18 12:28:57 bestosprec systemd[1]: logrotate.service: Deactivated successfully.
avril 18 12:28:57 bestosprec systemd[1]: Finished Logrotate Service.
avril 18 12:28:57 bestosprec systemd[1]: Stopped target Suspend.
avril 18 12:28:57 bestosprec kdeconnectd[3360]: 2025-04-18T12:28:57 default: Error sending UDP packet: QAbstractSocket::NetworkError
avril 18 12:28:58 bestosprec kernel: e1000e 0000:00:1f.6 enp0s31f6: NIC Link is Down
avril 18 12:28:58 bestosprec kdeconnectd[3360]: 2025-04-18T12:28:58 kdeconnect.core: Failed to open any MDNS client sockets
avril 18 12:28:58 bestosprec systemd[1]: zfs-zed.service: Scheduled restart job, restart counter is at 1.
avril 18 12:28:58 bestosprec systemd[1]: Started ZFS Event Daemon (zed).
avril 18 12:28:58 bestosprec zed[6769]: ZFS Event Daemon 2.3.1-1 (PID 6769)
avril 18 12:28:58 bestosprec zed[6769]: Processing events since eid=8
avril 18 12:28:58 bestosprec kernel: iwlwifi 0000:00:14.3: Not valid error log pointer 0x0024B5C0 for RT uCode
avril 18 12:28:58 bestosprec kernel: iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x1f
avril 18 12:28:58 bestosprec kernel: iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
avril 18 12:28:58 bestosprec kernel: iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x80
avril 18 12:28:58 bestosprec kernel: iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
avril 18 12:28:58 bestosprec kernel: iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4
avril 18 12:28:58 bestosprec systemd[1]: nvidia-resume.service: Deactivated successfully.
avril 18 12:28:58 bestosprec systemd[1]: Finished NVIDIA system resume actions.
avril 18 12:28:58 bestosprec wireplumber[3059]: spa.bluez5.midi: org.bluez.GattManager1.RegisterApplication() failed: GDBus.Error:org.bluez.Error.AlreadyExists: Already Exists
avril 18 12:28:58 bestosprec bluetoothd[2014]: Endpoint registered: sender=:1.113 path=/MediaEndpoint/A2DPSource/ldac

Check if you can reproduce that if you completely disable the nvidia driver first (i.e., blacklist the kernel module). It looks like it might be unrelated to the nvidia driver at a glance.

If it is the nvidia driver, it’s a driver bug and you’re probably stuck for now, nvidia is kinda notorious for issues with sleep.

Thanks. In fact, I’m wondering if it is not a mix of 2 issues. When I was running NixOS’s installer (running nouveau’s driver), I already had the bug that it may sleep for like 5mn and then suddently wake up (and I think it is what we observe above), so you must be right that the above logs may be unrelated to nvidia. Do you have any suggesting what it might be caused by and how to fix it then?

Yet, yesterday I observed another bug where the system was not even sleeping for a few seconds, and the logs clearly mention nvidia, notably /nix/store/…-nvidia-x11-570.133.07-6.12.23/bin/nvidia-sleep.sh: line 45: echo: write error: Input/output error:

avril 21 22:46:37 bestosprec systemd-logind[2108]: The system will suspend now!
avril 21 22:46:37 bestosprec ModemManager[3337]: <msg> [sleep-monitor-systemd] system is about to suspend
avril 21 22:46:37 bestosprec dbus-daemon[2016]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.8' (uid=0 pid=2148 comm="/nix/store/4bywivanfabyaz9ffw26fwbasp3ns52v-networ" label="kernel")
avril 21 22:46:37 bestosprec systemd[1]: Starting Network Manager Script Dispatcher Service...
avril 21 22:46:37 bestosprec dbus-daemon[2016]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
avril 21 22:46:37 bestosprec systemd[1]: Started Network Manager Script Dispatcher Service.
avril 21 22:46:37 bestosprec kernel: wlp0s20f3: deauthenticating from f8:ab:05:09:2f:e0 by local choice (Reason: 3=DEAUTH_LEAVING)
avril 21 22:46:37 bestosprec wpa_supplicant[2299]: nl80211: send_event_marker failed: Source based routing not supported
avril 21 22:46:37 bestosprec wpa_supplicant[2299]: wlp0s20f3: CTRL-EVENT-DISCONNECTED bssid=f8:ab:05:09:2f:e0 reason=3 locally_generated=1
avril 21 22:46:37 bestosprec wpa_supplicant[2299]: wlp0s20f3: CTRL-EVENT-DSCP-POLICY clear_all
avril 21 22:46:37 bestosprec avahi-daemon[2013]: Withdrawing address record for 2001:861:3381:7880:2faf:10f3:b12e:df03 on wlp0s20f3.
avril 21 22:46:37 bestosprec avahi-daemon[2013]: Withdrawing address record for 2001:861:3381:7880:6d17:f37a:2a7:140d on wlp0s20f3.
avril 21 22:46:37 bestosprec avahi-daemon[2013]: Leaving mDNS multicast group on interface wlp0s20f3.IPv6 with address 2001:861:3381:7880:6d17:f37a:2a7:140d.
avril 21 22:46:37 bestosprec avahi-daemon[2013]: Joining mDNS multicast group on interface wlp0s20f3.IPv6 with address fe80::50ca:5a00:8aa6:da9c.
avril 21 22:46:37 bestosprec avahi-daemon[2013]: Registering new address record for fe80::50ca:5a00:8aa6:da9c on wlp0s20f3.*.
avril 21 22:46:37 bestosprec avahi-daemon[2013]: Withdrawing address record for fe80::50ca:5a00:8aa6:da9c on wlp0s20f3.
avril 21 22:46:37 bestosprec avahi-daemon[2013]: Leaving mDNS multicast group on interface wlp0s20f3.IPv6 with address fe80::50ca:5a00:8aa6:da9c.
avril 21 22:46:37 bestosprec avahi-daemon[2013]: Interface wlp0s20f3.IPv6 no longer relevant for mDNS.
avril 21 22:46:37 bestosprec avahi-daemon[2013]: Interface wlp0s20f3.IPv4 no longer relevant for mDNS.
avril 21 22:46:37 bestosprec avahi-daemon[2013]: Leaving mDNS multicast group on interface wlp0s20f3.IPv4 with address 192.168.1.12.
avril 21 22:46:37 bestosprec avahi-daemon[2013]: Withdrawing address record for 192.168.1.12 on wlp0s20f3.
avril 21 22:46:37 bestosprec avahi-daemon[2013]: Joining mDNS multicast group on interface wlp0s20f3.IPv4 with address 192.168.1.12.
avril 21 22:46:37 bestosprec avahi-daemon[2013]: New relevant interface wlp0s20f3.IPv4 for mDNS.
avril 21 22:46:37 bestosprec avahi-daemon[2013]: Registering new address record for 192.168.1.12 on wlp0s20f3.IPv4.
avril 21 22:46:37 bestosprec avahi-daemon[2013]: Withdrawing address record for 192.168.1.12 on wlp0s20f3.
avril 21 22:46:37 bestosprec avahi-daemon[2013]: Leaving mDNS multicast group on interface wlp0s20f3.IPv4 with address 192.168.1.12.
avril 21 22:46:37 bestosprec avahi-daemon[2013]: Interface wlp0s20f3.IPv4 no longer relevant for mDNS.
avril 21 22:46:37 bestosprec systemd[1]: Stopped target Host and Network Name Lookups.
avril 21 22:46:37 bestosprec systemd[1]: Stopping Host and Network Name Lookups...
avril 21 22:46:37 bestosprec systemd[1]: Stopped target User and Group Name Lookups.
avril 21 22:46:37 bestosprec systemd[1]: Stopping User and Group Name Lookups...
avril 21 22:46:37 bestosprec systemd[1]: Stopping Name Service Cache Daemon (nsncd)...
avril 21 22:46:37 bestosprec systemd[1]: nscd.service: Deactivated successfully.
avril 21 22:46:37 bestosprec systemd[1]: Stopped Name Service Cache Daemon (nsncd).
avril 21 22:46:37 bestosprec systemd[1]: nscd.service: Consumed 401ms CPU time, 4.8M memory peak, 560K memory swap peak, 88K read from disk, 552K written to disk, 183.2K incoming IP traffic, 92.9K outgoing IP traffic.
avril 21 22:46:37 bestosprec avahi-daemon[2013]: Got SIGHUP, reloading.
avril 21 22:46:37 bestosprec avahi-daemon[2013]: No service file found in /etc/avahi/services.
avril 21 22:46:37 bestosprec systemd[1]: Starting Name Service Cache Daemon (nsncd)...
avril 21 22:46:37 bestosprec systemd[1]: Stopping Network Time Synchronization...
avril 21 22:46:37 bestosprec nsncd[305152]: Apr 21 20:46:37.532 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"
avril 21 22:46:37 bestosprec systemd[1]: Started Name Service Cache Daemon (nsncd).
avril 21 22:46:37 bestosprec systemd[1]: Reached target Host and Network Name Lookups.
avril 21 22:46:37 bestosprec systemd[1]: Reached target User and Group Name Lookups.
avril 21 22:46:37 bestosprec systemd[1]: systemd-timesyncd.service: Deactivated successfully.
avril 21 22:46:37 bestosprec systemd[1]: Stopped Network Time Synchronization.
avril 21 22:46:37 bestosprec systemd[1]: systemd-timesyncd.service: Consumed 117ms CPU time, 2.7M memory peak, 744K memory swap peak, 552K read from disk, 744K written to disk, 516B incoming IP traffic, 382B outgoing IP traffic.
avril 21 22:46:37 bestosprec systemd[1]: Starting Network Time Synchronization...
avril 21 22:46:37 bestosprec wpa_supplicant[2299]: p2p-dev-wlp0s20: CTRL-EVENT-DSCP-POLICY clear_all
avril 21 22:46:37 bestosprec wpa_supplicant[2299]: p2p-dev-wlp0s20: CTRL-EVENT-DSCP-POLICY clear_all
avril 21 22:46:37 bestosprec wpa_supplicant[2299]: nl80211: deinit ifname=p2p-dev-wlp0s20 disabled_11b_rates=0
avril 21 22:46:37 bestosprec wpa_supplicant[2299]: wlp0s20f3: CTRL-EVENT-DSCP-POLICY clear_all
avril 21 22:46:37 bestosprec wpa_supplicant[2299]: wlp0s20f3: CTRL-EVENT-DSCP-POLICY clear_all
avril 21 22:46:37 bestosprec wpa_supplicant[2299]: nl80211: deinit ifname=wlp0s20f3 disabled_11b_rates=0
avril 21 22:46:37 bestosprec systemd-timesyncd[305177]: Disabling NSCD because DNSSEC validation is turned off
avril 21 22:46:37 bestosprec systemd[1]: Started Network Time Synchronization.
avril 21 22:46:37 bestosprec nm-dispatcher[305159]: Done!
avril 21 22:46:37 bestosprec kscreenlocker_greet[305094]: qml: The backend got an unknown wallpaper provider type. The wallpaper will now fall back to the default. Please check your wallpaper configuration!
avril 21 22:46:37 bestosprec systemd[1]: Starting NVIDIA system suspend actions...
avril 21 22:46:38 bestosprec kernel: ------------[ cut here ]------------
avril 21 22:46:38 bestosprec kernel: WARNING: CPU: 13 PID: 305193 at /build/source/kernel-open/nvidia/nv.c:4347 nv_set_system_power_state+0x320/0x4c0 [nvidia]
avril 21 22:46:38 bestosprec kernel: Modules linked in: uas usb_storage exfat mmc_block rpmb_core ch341 serpent_avx2 serpent_avx_x86_64 serpent_sse2_x86_64 serpent_generic twofish_generic twofish_avx_x86_64 twofish_x86_64_3way twofish_x86_64 twofish_common xts sd_mod scsi_mod scsi_common qrtr ccm nft_chain_nat xt_MASQUERADE xfrm_user xfrm_algo xt_addrtype rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device af_packet cmac algif_hash algif_skcipher af_alg bnep dm_crypt xt_conntrack ip6t_rpfilter ipt_rpfilter xt_pkttype xt_LOG nf_log_syslog xt_tcpudp nft_compat cbc encrypted_keys trusted asn1_encoder tee nf_tables sch_fq_codel uinput nvidia_uvm(O) typec_displayport xe drm_gpuvm drm_exec gpu_sched drm_suballoc_helper snd_hda_codec_realtek snd_hda_codec_generic snd_hda_scodec_component snd_ctl_led dell_pc platform_profile nvidia_drm(O) nvidia_modeset(O) nls_iso8859_1 nls_cp437 vfat snd_sof_pci_intel_mtl fat snd_sof_intel_hda_generic soundwire_intel soundwire_cadence dell_rbtn nvidia(O) snd_sof_intel_hda_common snd_soc_hdac_hda
avril 21 22:46:38 bestosprec kernel:  snd_sof_intel_hda_mlink snd_sof_intel_hda snd_hda_codec_hdmi i915 snd_sof_pci snd_sof_xtensa_dsp snd_sof iwlmvm snd_sof_utils snd_hda_ext_core snd_soc_acpi_intel_match soundwire_generic_allocation intel_uncore_frequency intel_uncore_frequency_common snd_soc_acpi soundwire_bus x86_pkg_temp_thermal intel_powerclamp snd_soc_core loop snd_compress r8153_ecm mac80211 ac97_bus cdc_ether xt_nat usbnet snd_pcm_dmaengine nf_nat nf_conntrack hid_sensor_custom snd_hda_intel nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c crc32c_generic snd_intel_dspcfg snd_intel_sdw_acpi hid_sensor_hub br_netfilter snd_hda_codec coretemp veth crct10dif_pclmul crc32_pclmul ofpart polyval_clmulni tun cmdlinepart polyval_generic uvcvideo snd_hda_core tap ghash_clmulni_intel spi_nor sha512_ssse3 iTCO_wdt intel_ishtp_hid dell_laptop macvlan sha256_ssse3 drm_buddy snd_hwdep dell_wmi intel_pmc_bxt libarc4 8250_dw hid_multitouch spd5118 mtd mei_gsc_proxy watchdog drm_display_helper sha1_ssse3 videobuf2_vmalloc dell_wmi_ddv iwlwifi btusb aesni_intel
avril 21 22:46:38 bestosprec kernel:  snd_pcm e1000e uvc bridge btrtl gf128mul videobuf2_memops dell_smbios processor_thermal_device_pci cec dell_wmi_sysman btintel videobuf2_v4l2 crypto_simd r8152 snd_timer videobuf2_common joydev cryptd firmware_attributes_class processor_thermal_device intel_gtt tpm_crb drm_ttm_helper btbcm dcdbas dell_wmi_descriptor evdev wmi_bmof intel_rapl_msr dell_smm_hwmon videodev rapl btmtk mii intel_cstate mc cfg80211 ucsi_acpi intel_lpss_pci bluetooth libphy wacom mousedev ti_usb_3410_5052 intel_uncore ttm typec_ucsi intel_ish_ipc ptp psmouse i2c_algo_bit processor_thermal_wt_hint snd i2c_i801 stp processor_thermal_rfim intel_lpss intel_ishtp pps_core i2c_hid_acpi processor_thermal_rapl crc16 intel_pmc_core video input_leds mei_me idma64 llc roles i2c_smbus spi_intel_pci tpm_tis int3403_thermal tiny_power_button onboard_usb_dev mei soundcore spi_intel i2c_mux rfkill 8250_pci virt_dma i2c_hid rtc_cmos mac_hid acpi_tad tpm_tis_core intel_vpu vboxnetflt(O) typec intel_vsec pmt_telemetry button int3400_thermal
avril 21 22:46:38 bestosprec kernel:  intel_hid intel_rapl_common battery acpi_thermal_rel pinctrl_meteorlake igen6_edac sparse_keymap pmt_class wmi vboxnetadp(O) acpi_pad processor_thermal_wt_req processor_thermal_power_floor edac_core processor_thermal_mbox int340x_thermal_zone ac serio_raw vboxdrv(O) kvm_intel kvm fuse efi_pstore configfs nfnetlink efivarfs tpm libaescfb ecdh_generic ecc rng_core dmi_sysfs ip_tables x_tables autofs4 hid_generic usbhid hid sdhci_pci cqhci sdhci xhci_pci thunderbolt nvme atkbd led_class libps2 xhci_hcd vivaldi_fmap mmc_core nvme_core crc32c_intel nvme_auth i8042 serio dm_mod dax zfs(PO) spl(O)
avril 21 22:46:38 bestosprec kernel: CPU: 13 UID: 0 PID: 305193 Comm: nvidia-sleep.sh Tainted: P        W  O       6.12.23 #1-NixOS
avril 21 22:46:38 bestosprec kernel: Tainted: [P]=PROPRIETARY_MODULE, [W]=WARN, [O]=OOT_MODULE
avril 21 22:46:38 bestosprec kernel: Hardware name: Dell Inc. Precision 3591/0KTW71, BIOS 1.13.0 02/07/2025
avril 21 22:46:38 bestosprec kernel: RIP: 0010:nv_set_system_power_state+0x320/0x4c0 [nvidia]
avril 21 22:46:38 bestosprec kernel: Code: 00 00 48 85 ed 75 d3 e9 b4 fd ff ff 90 0f 0b 90 e9 ec fd ff ff 48 8b 3d 96 1f 42 00 4c 89 f6 e8 86 05 6c e3 e9 eb fe ff ff 90 <0f> 0b 90 4c 89 ef e8 f5 61 09 e4 4d 85 f6 74 0d e8 7b f9 12 00 84
avril 21 22:46:38 bestosprec kernel: RSP: 0018:ffffa998775ebdd0 EFLAGS: 00010206
avril 21 22:46:38 bestosprec kernel: RAX: 0000000000000011 RBX: 0000000000000001 RCX: 0000000000000000
avril 21 22:46:38 bestosprec kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
avril 21 22:46:38 bestosprec kernel: RBP: 0000000000000011 R08: 0000000000000000 R09: 0000000000000000
avril 21 22:46:38 bestosprec kernel: R10: 0000000000000000 R11: 0000000000000000 R12: ffff9b0989520000
avril 21 22:46:38 bestosprec kernel: R13: ffff9b0989520630 R14: 0000000000000000 R15: 0000000000000000
avril 21 22:46:38 bestosprec kernel: FS:  00007fc959ccf740(0000) GS:ffff9b10efe80000(0000) knlGS:0000000000000000
avril 21 22:46:38 bestosprec kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
avril 21 22:46:38 bestosprec kernel: CR2: 00007fc959eca650 CR3: 00000003aa444005 CR4: 0000000000f72ef0
avril 21 22:46:38 bestosprec kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
avril 21 22:46:38 bestosprec kernel: DR3: 0000000000000000 DR6: 00000000ffff07f0 DR7: 0000000000000400
avril 21 22:46:38 bestosprec kernel: PKRU: 55555554
avril 21 22:46:38 bestosprec kernel: Call Trace:
avril 21 22:46:38 bestosprec kernel:  <TASK>
avril 21 22:46:38 bestosprec kernel:  nv_procfs_write_suspend+0xff/0x180 [nvidia]
avril 21 22:46:38 bestosprec kernel:  proc_reg_write+0x57/0xb0
avril 21 22:46:38 bestosprec kernel:  vfs_write+0x106/0x460
avril 21 22:46:38 bestosprec kernel:  ksys_write+0x6d/0xf0
avril 21 22:46:38 bestosprec kernel:  do_syscall_64+0xb7/0x210
avril 21 22:46:38 bestosprec kernel:  entry_SYSCALL_64_after_hwframe+0x77/0x7f
avril 21 22:46:38 bestosprec kernel: RIP: 0033:0x7fc959de0044
avril 21 22:46:38 bestosprec kernel: Code: ff 45 31 d2 45 31 db c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 80 3d 25 10 0f 00 00 74 23 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 74 31 d2 31 c9 31 f6 31 ff 45 31 c0 45 31 db
avril 21 22:46:38 bestosprec kernel: RSP: 002b:00007ffdff549d78 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
avril 21 22:46:38 bestosprec kernel: RAX: ffffffffffffffda RBX: 000000002872f500 RCX: 00007fc959de0044
avril 21 22:46:38 bestosprec kernel: RDX: 0000000000000008 RSI: 000000002872f500 RDI: 0000000000000001
avril 21 22:46:38 bestosprec kernel: RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000
avril 21 22:46:38 bestosprec kernel: R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000008
avril 21 22:46:38 bestosprec kernel: R13: 00007fc959eca5c0 R14: 00007fc959ec7e80 R15: 000000000048f0e0
avril 21 22:46:38 bestosprec kernel:  </TASK>
avril 21 22:46:38 bestosprec kernel: ---[ end trace 0000000000000000 ]---
avril 21 22:46:38 bestosprec kernel: ------------[ cut here ]------------
avril 21 22:46:38 bestosprec kernel: WARNING: CPU: 13 PID: 305193 at /build/source/kernel-open/nvidia/nv.c:4552 nv_set_system_power_state+0x33e/0x4c0 [nvidia]
avril 21 22:46:38 bestosprec kernel: Modules linked in: uas usb_storage exfat mmc_block rpmb_core ch341 serpent_avx2 serpent_avx_x86_64 serpent_sse2_x86_64 serpent_generic twofish_generic twofish_avx_x86_64 twofish_x86_64_3way twofish_x86_64 twofish_common xts sd_mod scsi_mod scsi_common qrtr ccm nft_chain_nat xt_MASQUERADE xfrm_user xfrm_algo xt_addrtype rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device af_packet cmac algif_hash algif_skcipher af_alg bnep dm_crypt xt_conntrack ip6t_rpfilter ipt_rpfilter xt_pkttype xt_LOG nf_log_syslog xt_tcpudp nft_compat cbc encrypted_keys trusted asn1_encoder tee nf_tables sch_fq_codel uinput nvidia_uvm(O) typec_displayport xe drm_gpuvm drm_exec gpu_sched drm_suballoc_helper snd_hda_codec_realtek snd_hda_codec_generic snd_hda_scodec_component snd_ctl_led dell_pc platform_profile nvidia_drm(O) nvidia_modeset(O) nls_iso8859_1 nls_cp437 vfat snd_sof_pci_intel_mtl fat snd_sof_intel_hda_generic soundwire_intel soundwire_cadence dell_rbtn nvidia(O) snd_sof_intel_hda_common snd_soc_hdac_hda
avril 21 22:46:38 bestosprec kernel:  snd_sof_intel_hda_mlink snd_sof_intel_hda snd_hda_codec_hdmi i915 snd_sof_pci snd_sof_xtensa_dsp snd_sof iwlmvm snd_sof_utils snd_hda_ext_core snd_soc_acpi_intel_match soundwire_generic_allocation intel_uncore_frequency intel_uncore_frequency_common snd_soc_acpi soundwire_bus x86_pkg_temp_thermal intel_powerclamp snd_soc_core loop snd_compress r8153_ecm mac80211 ac97_bus cdc_ether xt_nat usbnet snd_pcm_dmaengine nf_nat nf_conntrack hid_sensor_custom snd_hda_intel nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c crc32c_generic snd_intel_dspcfg snd_intel_sdw_acpi hid_sensor_hub br_netfilter snd_hda_codec coretemp veth crct10dif_pclmul crc32_pclmul ofpart polyval_clmulni tun cmdlinepart polyval_generic uvcvideo snd_hda_core tap ghash_clmulni_intel spi_nor sha512_ssse3 iTCO_wdt intel_ishtp_hid dell_laptop macvlan sha256_ssse3 drm_buddy snd_hwdep dell_wmi intel_pmc_bxt libarc4 8250_dw hid_multitouch spd5118 mtd mei_gsc_proxy watchdog drm_display_helper sha1_ssse3 videobuf2_vmalloc dell_wmi_ddv iwlwifi btusb aesni_intel
avril 21 22:46:38 bestosprec kernel:  snd_pcm e1000e uvc bridge btrtl gf128mul videobuf2_memops dell_smbios processor_thermal_device_pci cec dell_wmi_sysman btintel videobuf2_v4l2 crypto_simd r8152 snd_timer videobuf2_common joydev cryptd firmware_attributes_class processor_thermal_device intel_gtt tpm_crb drm_ttm_helper btbcm dcdbas dell_wmi_descriptor evdev wmi_bmof intel_rapl_msr dell_smm_hwmon videodev rapl btmtk mii intel_cstate mc cfg80211 ucsi_acpi intel_lpss_pci bluetooth libphy wacom mousedev ti_usb_3410_5052 intel_uncore ttm typec_ucsi intel_ish_ipc ptp psmouse i2c_algo_bit processor_thermal_wt_hint snd i2c_i801 stp processor_thermal_rfim intel_lpss intel_ishtp pps_core i2c_hid_acpi processor_thermal_rapl crc16 intel_pmc_core video input_leds mei_me idma64 llc roles i2c_smbus spi_intel_pci tpm_tis int3403_thermal tiny_power_button onboard_usb_dev mei soundcore spi_intel i2c_mux rfkill 8250_pci virt_dma i2c_hid rtc_cmos mac_hid acpi_tad tpm_tis_core intel_vpu vboxnetflt(O) typec intel_vsec pmt_telemetry button int3400_thermal
avril 21 22:46:38 bestosprec kernel:  intel_hid intel_rapl_common battery acpi_thermal_rel pinctrl_meteorlake igen6_edac sparse_keymap pmt_class wmi vboxnetadp(O) acpi_pad processor_thermal_wt_req processor_thermal_power_floor edac_core processor_thermal_mbox int340x_thermal_zone ac serio_raw vboxdrv(O) kvm_intel kvm fuse efi_pstore configfs nfnetlink efivarfs tpm libaescfb ecdh_generic ecc rng_core dmi_sysfs ip_tables x_tables autofs4 hid_generic usbhid hid sdhci_pci cqhci sdhci xhci_pci thunderbolt nvme atkbd led_class libps2 xhci_hcd vivaldi_fmap mmc_core nvme_core crc32c_intel nvme_auth i8042 serio dm_mod dax zfs(PO) spl(O)
avril 21 22:46:38 bestosprec kernel: CPU: 13 UID: 0 PID: 305193 Comm: nvidia-sleep.sh Tainted: P        W  O       6.12.23 #1-NixOS
avril 21 22:46:38 bestosprec kernel: Tainted: [P]=PROPRIETARY_MODULE, [W]=WARN, [O]=OOT_MODULE
avril 21 22:46:38 bestosprec kernel: Hardware name: Dell Inc. Precision 3591/0KTW71, BIOS 1.13.0 02/07/2025
avril 21 22:46:38 bestosprec kernel: RIP: 0010:nv_set_system_power_state+0x33e/0x4c0 [nvidia]
avril 21 22:46:38 bestosprec kernel: Code: f6 e8 86 05 6c e3 e9 eb fe ff ff 90 0f 0b 90 4c 89 ef e8 f5 61 09 e4 4d 85 f6 74 0d e8 7b f9 12 00 84 c0 0f 85 56 01 00 00 90 <0f> 0b 90 48 c7 c7 10 38 f4 c2 45 31 e4 e8 d0 61 09 e4 48 c7 c7 10
avril 21 22:46:38 bestosprec kernel: RSP: 0018:ffffa998775ebdd0 EFLAGS: 00010246
avril 21 22:46:38 bestosprec kernel: RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
avril 21 22:46:38 bestosprec kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
avril 21 22:46:38 bestosprec kernel: RBP: 0000000000000011 R08: 0000000000000000 R09: 0000000000000000
avril 21 22:46:38 bestosprec kernel: R10: 0000000000000000 R11: 0000000000000000 R12: ffff9b0989520000
avril 21 22:46:38 bestosprec kernel: R13: ffff9b0989520630 R14: 0000000000000000 R15: 0000000000000000
avril 21 22:46:38 bestosprec kernel: FS:  00007fc959ccf740(0000) GS:ffff9b10efe80000(0000) knlGS:0000000000000000
avril 21 22:46:38 bestosprec kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
avril 21 22:46:38 bestosprec kernel: CR2: 00007fc959eca650 CR3: 00000003aa444005 CR4: 0000000000f72ef0
avril 21 22:46:38 bestosprec kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
avril 21 22:46:38 bestosprec kernel: DR3: 0000000000000000 DR6: 00000000ffff07f0 DR7: 0000000000000400
avril 21 22:46:38 bestosprec kernel: PKRU: 55555554
avril 21 22:46:38 bestosprec kernel: Call Trace:
avril 21 22:46:38 bestosprec kernel:  <TASK>
avril 21 22:46:38 bestosprec kernel:  nv_procfs_write_suspend+0xff/0x180 [nvidia]
avril 21 22:46:38 bestosprec kernel:  proc_reg_write+0x57/0xb0
avril 21 22:46:38 bestosprec kernel:  vfs_write+0x106/0x460
avril 21 22:46:38 bestosprec kernel:  ksys_write+0x6d/0xf0
avril 21 22:46:38 bestosprec kernel:  do_syscall_64+0xb7/0x210
avril 21 22:46:38 bestosprec kernel:  entry_SYSCALL_64_after_hwframe+0x77/0x7f
avril 21 22:46:38 bestosprec kernel: RIP: 0033:0x7fc959de0044
avril 21 22:46:38 bestosprec kernel: Code: ff 45 31 d2 45 31 db c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 80 3d 25 10 0f 00 00 74 23 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 74 31 d2 31 c9 31 f6 31 ff 45 31 c0 45 31 db
avril 21 22:46:38 bestosprec kernel: RSP: 002b:00007ffdff549d78 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
avril 21 22:46:38 bestosprec kernel: RAX: ffffffffffffffda RBX: 000000002872f500 RCX: 00007fc959de0044
avril 21 22:46:38 bestosprec kernel: RDX: 0000000000000008 RSI: 000000002872f500 RDI: 0000000000000001
avril 21 22:46:38 bestosprec kernel: RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000
avril 21 22:46:38 bestosprec kernel: R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000008
avril 21 22:46:38 bestosprec kernel: R13: 00007fc959eca5c0 R14: 00007fc959ec7e80 R15: 000000000048f0e0
avril 21 22:46:38 bestosprec kernel:  </TASK>
avril 21 22:46:38 bestosprec kernel: ---[ end trace 0000000000000000 ]---
avril 21 22:46:38 bestosprec kernel: ------------[ cut here ]------------
avril 21 22:46:38 bestosprec kernel: WARNING: CPU: 6 PID: 305193 at /build/source/kernel-open/nvidia/nv.c:4297 nv_restore_user_channels+0x4e/0x200 [nvidia]
avril 21 22:46:38 bestosprec kernel: Modules linked in: uas usb_storage exfat mmc_block rpmb_core ch341 serpent_avx2 serpent_avx_x86_64 serpent_sse2_x86_64 serpent_generic twofish_generic twofish_avx_x86_64 twofish_x86_64_3way twofish_x86_64 twofish_common xts sd_mod scsi_mod scsi_common qrtr ccm nft_chain_nat xt_MASQUERADE xfrm_user xfrm_algo xt_addrtype rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device af_packet cmac algif_hash algif_skcipher af_alg bnep dm_crypt xt_conntrack ip6t_rpfilter ipt_rpfilter xt_pkttype xt_LOG nf_log_syslog xt_tcpudp nft_compat cbc encrypted_keys trusted asn1_encoder tee nf_tables sch_fq_codel uinput nvidia_uvm(O) typec_displayport xe drm_gpuvm drm_exec gpu_sched drm_suballoc_helper snd_hda_codec_realtek snd_hda_codec_generic snd_hda_scodec_component snd_ctl_led dell_pc platform_profile nvidia_drm(O) nvidia_modeset(O) nls_iso8859_1 nls_cp437 vfat snd_sof_pci_intel_mtl fat snd_sof_intel_hda_generic soundwire_intel soundwire_cadence dell_rbtn nvidia(O) snd_sof_intel_hda_common snd_soc_hdac_hda
avril 21 22:46:38 bestosprec kernel:  snd_sof_intel_hda_mlink snd_sof_intel_hda snd_hda_codec_hdmi i915 snd_sof_pci snd_sof_xtensa_dsp snd_sof iwlmvm snd_sof_utils snd_hda_ext_core snd_soc_acpi_intel_match soundwire_generic_allocation intel_uncore_frequency intel_uncore_frequency_common snd_soc_acpi soundwire_bus x86_pkg_temp_thermal intel_powerclamp snd_soc_core loop snd_compress r8153_ecm mac80211 ac97_bus cdc_ether xt_nat usbnet snd_pcm_dmaengine nf_nat nf_conntrack hid_sensor_custom snd_hda_intel nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c crc32c_generic snd_intel_dspcfg snd_intel_sdw_acpi hid_sensor_hub br_netfilter snd_hda_codec coretemp veth crct10dif_pclmul crc32_pclmul ofpart polyval_clmulni tun cmdlinepart polyval_generic uvcvideo snd_hda_core tap ghash_clmulni_intel spi_nor sha512_ssse3 iTCO_wdt intel_ishtp_hid dell_laptop macvlan sha256_ssse3 drm_buddy snd_hwdep dell_wmi intel_pmc_bxt libarc4 8250_dw hid_multitouch spd5118 mtd mei_gsc_proxy watchdog drm_display_helper sha1_ssse3 videobuf2_vmalloc dell_wmi_ddv iwlwifi btusb aesni_intel
avril 21 22:46:38 bestosprec kernel:  snd_pcm e1000e uvc bridge btrtl gf128mul videobuf2_memops dell_smbios processor_thermal_device_pci cec dell_wmi_sysman btintel videobuf2_v4l2 crypto_simd r8152 snd_timer videobuf2_common joydev cryptd firmware_attributes_class processor_thermal_device intel_gtt tpm_crb drm_ttm_helper btbcm dcdbas dell_wmi_descriptor evdev wmi_bmof intel_rapl_msr dell_smm_hwmon videodev rapl btmtk mii intel_cstate mc cfg80211 ucsi_acpi intel_lpss_pci bluetooth libphy wacom mousedev ti_usb_3410_5052 intel_uncore ttm typec_ucsi intel_ish_ipc ptp psmouse i2c_algo_bit processor_thermal_wt_hint snd i2c_i801 stp processor_thermal_rfim intel_lpss intel_ishtp pps_core i2c_hid_acpi processor_thermal_rapl crc16 intel_pmc_core video input_leds mei_me idma64 llc roles i2c_smbus spi_intel_pci tpm_tis int3403_thermal tiny_power_button onboard_usb_dev mei soundcore spi_intel i2c_mux rfkill 8250_pci virt_dma i2c_hid rtc_cmos mac_hid acpi_tad tpm_tis_core intel_vpu vboxnetflt(O) typec intel_vsec pmt_telemetry button int3400_thermal
avril 21 22:46:38 bestosprec kernel:  intel_hid intel_rapl_common battery acpi_thermal_rel pinctrl_meteorlake igen6_edac sparse_keymap pmt_class wmi vboxnetadp(O) acpi_pad processor_thermal_wt_req processor_thermal_power_floor edac_core processor_thermal_mbox int340x_thermal_zone ac serio_raw vboxdrv(O) kvm_intel kvm fuse efi_pstore configfs nfnetlink efivarfs tpm libaescfb ecdh_generic ecc rng_core dmi_sysfs ip_tables x_tables autofs4 hid_generic usbhid hid sdhci_pci cqhci sdhci xhci_pci thunderbolt nvme atkbd led_class libps2 xhci_hcd vivaldi_fmap mmc_core nvme_core crc32c_intel nvme_auth i8042 serio dm_mod dax zfs(PO) spl(O)
avril 21 22:46:38 bestosprec kernel: CPU: 6 UID: 0 PID: 305193 Comm: nvidia-sleep.sh Tainted: P        W  O       6.12.23 #1-NixOS
avril 21 22:46:38 bestosprec kernel: Tainted: [P]=PROPRIETARY_MODULE, [W]=WARN, [O]=OOT_MODULE
avril 21 22:46:38 bestosprec kernel: Hardware name: Dell Inc. Precision 3591/0KTW71, BIOS 1.13.0 02/07/2025
avril 21 22:46:38 bestosprec kernel: RIP: 0010:nv_restore_user_channels+0x4e/0x200 [nvidia]
avril 21 22:46:38 bestosprec kernel: Code: 30 06 00 00 4c 89 e7 e8 60 a2 09 e4 f6 43 10 01 74 7f 48 89 de 31 ff e8 e0 d5 12 00 41 89 c5 85 c0 0f 84 6c 01 00 00 31 ed 90 <0f> 0b 90 49 81 c6 68 07 00 00 4c 89 f7 e8 30 a2 09 e4 be 01 00 00
avril 21 22:46:38 bestosprec kernel: RSP: 0000:ffffa998775ebda0 EFLAGS: 00010246
avril 21 22:46:38 bestosprec kernel: RAX: 0000000000000011 RBX: ffff9b0989520000 RCX: 0000000000000000
avril 21 22:46:38 bestosprec kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
avril 21 22:46:38 bestosprec kernel: RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
avril 21 22:46:38 bestosprec kernel: R10: 0000000000000000 R11: 0000000000000000 R12: ffff9b0989520630
avril 21 22:46:38 bestosprec kernel: R13: 0000000000000011 R14: ffff9b0989520000 R15: 0000000000000000
avril 21 22:46:38 bestosprec kernel: FS:  00007fc959ccf740(0000) GS:ffff9b10efb00000(0000) knlGS:0000000000000000
avril 21 22:46:38 bestosprec kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
avril 21 22:46:38 bestosprec kernel: CR2: 00001bfc01d6f3ac CR3: 00000003aa444005 CR4: 0000000000f72ef0
avril 21 22:46:38 bestosprec kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
avril 21 22:46:38 bestosprec kernel: DR3: 0000000000000000 DR6: 00000000ffff07f0 DR7: 0000000000000400
avril 21 22:46:38 bestosprec kernel: PKRU: 55555554
avril 21 22:46:38 bestosprec kernel: Call Trace:
avril 21 22:46:38 bestosprec kernel:  <TASK>
avril 21 22:46:38 bestosprec kernel:  nv_set_system_power_state+0x375/0x4c0 [nvidia]
avril 21 22:46:38 bestosprec kernel:  nv_procfs_write_suspend+0xff/0x180 [nvidia]
avril 21 22:46:38 bestosprec kernel:  proc_reg_write+0x57/0xb0
avril 21 22:46:38 bestosprec kernel:  vfs_write+0x106/0x460
avril 21 22:46:38 bestosprec kernel:  ksys_write+0x6d/0xf0
avril 21 22:46:38 bestosprec kernel:  do_syscall_64+0xb7/0x210
avril 21 22:46:38 bestosprec kernel:  entry_SYSCALL_64_after_hwframe+0x77/0x7f
avril 21 22:46:38 bestosprec kernel: RIP: 0033:0x7fc959de0044
avril 21 22:46:38 bestosprec kernel: Code: ff 45 31 d2 45 31 db c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 80 3d 25 10 0f 00 00 74 23 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 74 31 d2 31 c9 31 f6 31 ff 45 31 c0 45 31 db
avril 21 22:46:38 bestosprec kernel: RSP: 002b:00007ffdff549d78 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
avril 21 22:46:38 bestosprec kernel: RAX: ffffffffffffffda RBX: 000000002872f500 RCX: 00007fc959de0044
avril 21 22:46:38 bestosprec kernel: RDX: 0000000000000008 RSI: 000000002872f500 RDI: 0000000000000001
avril 21 22:46:38 bestosprec kernel: RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000
avril 21 22:46:38 bestosprec kernel: R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000008
avril 21 22:46:38 bestosprec kernel: R13: 00007fc959eca5c0 R14: 00007fc959ec7e80 R15: 000000000048f0e0
avril 21 22:46:38 bestosprec kernel:  </TASK>
avril 21 22:46:38 bestosprec kernel: ---[ end trace 0000000000000000 ]---
avril 21 22:46:38 bestosprec nvidia-sleep.sh[305193]: /nix/store/zr97fzrsvchlqqc2367rcfb0alcf5clm-nvidia-x11-570.133.07-6.12.23/bin/nvidia-sleep.sh: line 45: echo: write error: Input/output error
avril 21 22:46:38 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.1032 path=/MediaEndpoint/A2DPSource/ldac
avril 21 22:46:38 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.1032 path=/MediaEndpoint/A2DPSink/aptx_hd
avril 21 22:46:38 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.1032 path=/MediaEndpoint/A2DPSource/aptx_hd
avril 21 22:46:38 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.1032 path=/MediaEndpoint/A2DPSink/aptx
avril 21 22:46:38 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.1032 path=/MediaEndpoint/A2DPSource/aptx
avril 21 22:46:38 bestosprec systemd[1]: nvidia-suspend.service: Main process exited, code=exited, status=1/FAILURE
avril 21 22:46:38 bestosprec systemd[1]: nvidia-suspend.service: Failed with result 'exit-code'.
avril 21 22:46:38 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.1032 path=/MediaEndpoint/A2DPSink/aac
avril 21 22:46:38 bestosprec systemd[1]: Failed to start NVIDIA system suspend actions.
avril 21 22:46:38 bestosprec systemd[1]: Dependency failed for System Suspend.
avril 21 22:46:38 bestosprec systemd[1]: Dependency failed for Suspend.
avril 21 22:46:38 bestosprec systemd[1]: suspend.target: Job suspend.target/start failed with result 'dependency'.
avril 21 22:46:38 bestosprec systemd[1]: systemd-suspend.service: Job systemd-suspend.service/start failed with result 'dependency'.
avril 21 22:46:38 bestosprec bluetoothd[2014]: Endpoint unregistered: sender=:1.1032 path=/MediaEndpoint/A2DPSource/aac
avril 21 22:46:38 bestosprec systemd[1]: Starting NVIDIA system resume actions...
… see more in https://github.com/NVIDIA/open-gpu-kernel-modules/issues/834

This second bug seems to be more rare than the first one, yet if you have any insight on how to solve any of them I’m interested. I will maybe give a try to the closed-source repository, and in the meantime fill a bug in Sleepmode fails sometimes : nvidia-sleep.sh: line 45: echo: write error: Input/output error · Issue #834 · NVIDIA/open-gpu-kernel-modules · GitHub

The nvidia sleep service is turned on by powermanagement.enable. The purpose of it is to store graphics memory in main memory, so that when your system wakes from sleep it can restore graphics memory; this is necessary with modern GPUs since normally the driver can only store 256MB of graphics memory without involving userspace.

Something fails while the service attempts to do this. The origin of that failure may be hardware, firmware bugs, driver bugs, kernel bugs, … Quite hard to know without sitting down with the source code and a lot of experience in kernel hacking. Filing an upstream bug seems appropriate for that.

Then, because the sleep service depends on this nvidia service, suspending is aborted. Given the downside of not running the nvidia service is just potential graphics glitches on wake, I’d personally just disable “powermanagement” until that issue is fixed upstream. Note that powermanagement.finegrained has nothing to do with the sleep service, so I’d go read the nvidia module to make sure setting powermanagement.enable = false doesn’t break the finegrained setting, and then disable the former for now.

Well, powermanagement.finegrained looks to be broken anyway, so maybe I wouldn’t even care about that.

Those option names are horribly misleading…


Your earlier logs also contain some curious errors though:

NVRM: failed to allocate vmap() page descriptor table!
[ 3761.677863] NVRM: osMapSystemMemory: failed to create system memory kernel mapping!
[ 3761.677867] NVRM: nvAssertOkFailedNoLog: Assertion failed: Failure: Generic Error [NV_ERR_GENERIC] (0x0000FFFF) returned from memdescMap(*ppMemdescRadix3, 0, allocSize, NV_TRUE, NV_PROTECT_WRITEABLE, &pVaKernel, &pPrivKernel) @ kernel_gsp.c:4485
[ 3761.703533] NVRM: nvAssertOkFailedNoLog: Assertion failed: Failure: Generic Error [NV_ERR_GENERIC] (0x0000FFFF) returned from kgspCreateRadix3(pGpu, pKernelGsp, &pKernelGsp->pSRRadix3Descriptor, NULL, NULL, gspfwSRMeta.sizeOfSuspendResumeData) @ kernel_gsp_tu102.c:1219
[ 3761.715950] nvidia 0000:01:00.0: can't suspend (nv_pmops_runtime_suspend [nvidia] returned -5)

… it’s pretty bad when you can’t get a memory handle. Unless you’re super low on memory?

I wouldn’t be surprised if this is ultimately faulty hardware, likely memory or CPU. Intel currently has a class action going against it for knowingly selling faulty CPUs, maybe you’re affected.

Maybe try a firmware update?