530 driver throws Xid 62/16 pretty randomly

I am having an issue where my laptop randomly freezes… attaching a bug report and some logs

It seems to happen randomly. Sometimes it is when i switch windows, sometimes it is when i unlock the computer. The laptop can be running for hours before it happens as well.

Once it happens everything is suuuuper slow and unusable. No weird artifacts etc, everything is just extremely slow.

I am running Ubuntu jammy on Razor Blade 17, 2022 model

nvidia-bug-report.log.gz (1.3 MB)
Here’s some logs as well

How it normally looks:

May 26 12:55:32 kernel: [ 6142.921541] NVRM: Xid (PCI:0000:01:00): 62, pid='<unknown>', name=<unknown>, 0000(0000) 00000000 00000000
May 26 12:55:41 kernel: [ 6151.228390] NVRM: Xid (PCI:0000:01:00): 16, pid='<unknown>', name=<unknown>, Head 00000003 Count 000a38b5
May 26 12:55:49 kernel: [ 6159.420476] NVRM: Xid (PCI:0000:01:00): 16, pid='<unknown>', name=<unknown>, Head 00000003 Count 000a38b6
May 26 12:55:57 kernel: [ 6167.612465] NVRM: Xid (PCI:0000:01:00): 16, pid='<unknown>', name=<unknown>, Head 00000003 Count 000a38b7
May 26 12:56:05 kernel: [ 6175.804752] NVRM: Xid (PCI:0000:01:00): 16, pid='<unknown>', name=<unknown>, Head 00000003 Count 000a38b8
May 26 12:56:13 kernel: [ 6183.996619] NVRM: Xid (PCI:0000:01:00): 16, pid='<unknown>', name=<unknown>, Head 00000003 Count 000a38b9
May 26 12:56:22 kernel: [ 6192.188727] NVRM: Xid (PCI:0000:01:00): 16, pid='<unknown>', name=<unknown>, Head 00000003 Count 000a38ba
May 26 12:56:30 kernel: [ 6200.384611] NVRM: Xid (PCI:0000:01:00): 16, pid='<unknown>', name=<unknown>, Head 00000003 Count 000a38bb
May 26 12:56:38 kernel: [ 6208.572742] NVRM: Xid (PCI:0000:01:00): 16, pid='<unknown>', name=<unknown>, Head 00000003 Count 000a38bc
May 26 12:56:46 kernel: [ 6216.764776] NVRM: Xid (PCI:0000:01:00): 16, pid='<unknown>', name=<unknown>, Head 00000003 Count 000a38bd
May 26 12:56:54 kernel: [ 6224.956787] NVRM: Xid (PCI:0000:01:00): 16, pid='<unknown>', name=<unknown>, Head 00000003 Count 000a38be
May 26 12:57:03 kernel: [ 6233.148885] NVRM: Xid (PCI:0000:01:00): 16, pid='<unknown>', name=<unknown>, Head 00000003 Count 000a38bf
May 26 12:57:11 kernel: [ 6241.340775] NVRM: Xid (PCI:0000:01:00): 16, pid='<unknown>', name=<unknown>, Head 00000003 Count 000a38c0
May 26 12:57:19 kernel: [ 6249.532818] NVRM: Xid (PCI:0000:01:00): 16, pid='<unknown>', name=<unknown>, Head 00000003 Count 000a38c1
May 26 12:57:27 kernel: [ 6257.725002] NVRM: Xid (PCI:0000:01:00): 16, pid='<unknown>', name=<unknown>, Head 00000003 Count 000a38c2
May 26 12:57:35 kernel: [ 6265.916908] NVRM: Xid (PCI:0000:01:00): 16, pid='<unknown>', name=<unknown>, Head 00000003 Count 000a38c3

How it looked on the instance of the bug report:

May 27 10:53:18 kernel: [62588.281368] NVRM: Xid (PCI:0000:01:00): 16, pid='<unknown>', name=<unknown>, Head 00000003 Count 003128bc
May 27 10:53:26 kernel: [62596.473495] NVRM: Xid (PCI:0000:01:00): 16, pid='<unknown>', name=<unknown>, Head 00000003 Count 003128bd
May 27 10:53:26 kernel: [62596.633022] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership
May 27 10:53:26 kernel: [62596.633550] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership
May 27 10:53:26 kernel: [62596.633891] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership
May 27 10:53:31 /usr/libexec/gdm-x-session[2918]: (WW) NVIDIA: Wait for channel idle timed out.
May 27 10:53:34 kernel: [62604.665581] NVRM: Xid (PCI:0000:01:00): 16, pid='<unknown>', name=<unknown>, Head 00000003 Count 003128be
May 27 10:53:34 kernel: [62604.812929] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership
May 27 10:53:34 kernel: [62604.813419] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership
May 27 10:53:34 kernel: [62604.813757] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership
May 27 10:53:39 /usr/libexec/gdm-x-session[2918]: (WW) NVIDIA: Wait for channel idle timed out.
May 27 10:53:42 kernel: [62612.857603] NVRM: Xid (PCI:0000:01:00): 16, pid='<unknown>', name=<unknown>, Head 00000003 Count 003128bf
May 27 10:53:50 kernel: [62621.049677] NVRM: Xid (PCI:0000:01:00): 16, pid='<unknown>', name=<unknown>, Head 00000003 Count 003128c0
May 27 10:53:59 kernel: [62629.241654] NVRM: Xid (PCI:0000:01:00): 16, pid='<unknown>', name=<unknown>, Head 00000003 Count 003128c1
May 27 10:54:07 kernel: [62637.433728] NVRM: Xid (PCI:0000:01:00): 16, pid='<unknown>', name=<unknown>, Head 00000003 Count 003128c2
May 27 10:54:13 /usr/libexec/gdm-x-session[2918]: (WW) NVIDIA: Wait for channel idle timed out.
May 27 10:54:14 dbus-daemon[2787]: [session uid=1000 pid=2787] Successfully activated service 'org.gnome.ArchiveManager1'
May 27 10:54:15 kernel: [62645.625846] NVRM: Xid (PCI:0000:01:00): 16, pid='<unknown>', name=<unknown>, Head 00000003 Count 003128c3

Update: Have the same issue on 525
Any suggestions here?

Bumping this in hope of some help. Can add that i have reinstalled ubuntu. And i still get the exact same problem.

I have since also updated to the 535 driver, without any luck.