[wayland][nvidia-drm] Desktop freezes when playing video via mpv using nvdec

Device: Legion 5 Pro 2021
OS: Arch Linux x86_64
Kernel: 5.17.9-arch1-1
GPU: RTX 3060 Laptop
CPU: Ryzen 7 5800H
Driver: 515.43.04
Gnome: 42.1

Play a video with the command: mpv --hwdec=nvdec avc.mp4

  1. Enable Discrete GPU mode in BIOS(Disable iGPU), video can be played whether in X11 or Wayland
  2. Enable Hybird GPU mode in BIOS(iGPU and Nvidia GPU both on). Video can be played under X11, desktop freezes under Wayland
# journalctl -r -p 3

May 21 15:47:58 Laptop-Legion kernel: #PF: error_code(0x0000) - not-present page
May 21 15:47:58 Laptop-Legion kernel: #PF: supervisor read access in kernel mode
May 21 15:47:58 Laptop-Legion kernel: BUG: kernel NULL pointer dereference, address: 0000000000000000
May 21 15:47:58 Laptop-Legion kernel: [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x0000000091414f55
May 21 15:43:08 Laptop-Legion bluetoothd[651]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
May 21 15:43:02 Laptop-Legion gdm-launch-environment][721]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 21 15:42:59 Laptop-Legion gdm-password][1098]: gkr-pam: unable to locate daemon control file
May 21 15:42:58 Laptop-Legion bluetoothd[651]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
May 21 15:42:49 Laptop-Legion gnome-session-binary[744]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
May 21 15:42:49 Laptop-Legion gnome-session-binary[744]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
May 21 15:42:48 Laptop-Legion kernel: 
May 21 15:42:48 Laptop-Legion kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20211217/psobject-220)
May 21 15:42:48 Laptop-Legion kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.PB2], AE_NOT_FOUND (20211217/dswload2-162)


# journalctl -r

May 21 15:48:12 Laptop-Legion systemd[1110]: app-gnome-firefox-2026.scope: Consumed 57.469s CPU time.
May 21 15:47:58 Laptop-Legion kernel: PKRU: 55555554
May 21 15:47:58 Laptop-Legion kernel: CR2: 0000000000000000 CR3: 00000001972aa000 CR4: 0000000000750ee0
May 21 15:47:58 Laptop-Legion kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 21 15:47:58 Laptop-Legion kernel: FS:  00007f40a09aa640(0000) GS:ffff8a9492180000(0000) knlGS:0000000000000000
May 21 15:47:58 Laptop-Legion kernel: R13: ffff8a8ec240f010 R14: ffff8a8ec240f010 R15: 000000000000000c
May 21 15:47:58 Laptop-Legion kernel: R10: ffffafa4c8e979d8 R11: 0000000000000003 R12: ffff8a8e9c42c960
May 21 15:47:58 Laptop-Legion kernel: RBP: 0000000000000000 R08: 0000000000000020 R09: ffffafa4c8e979e0
May 21 15:47:58 Laptop-Legion kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8a8e81a630d0
May 21 15:47:58 Laptop-Legion kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000020
May 21 15:47:58 Laptop-Legion kernel: RSP: 0018:ffffafa4c8e97c20 EFLAGS: 00010207
May 21 15:47:58 Laptop-Legion kernel: Code: 44 00 00 e8 76 ff ff ff 31 d2 85 c0 0f 48 c2 c3 cc 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1f 44 00 00 53 48 89 f3 49 89 c8 <48> 8b 36 89 d1 8b 53 0c e8 47 ff ff ff 85 c0 78 05 89 43 08 31 c0
May 21 15:47:58 Laptop-Legion kernel: RIP: 0010:dma_map_sgtable+0xc/0x30
May 21 15:47:58 Laptop-Legion kernel: ---[ end trace 0000000000000000 ]---
May 21 15:47:58 Laptop-Legion kernel: CR2: 0000000000000000
May 21 15:47:58 Laptop-Legion kernel:  mei snd_pci_acp3x ccp rfkill soundcore libphy roles wmi tpm cm32181 video rng_core pinctrl_amd industrialio i2c_hid_acpi acpi_cpufreq i2c_hid mac_hid sch_fq crypto_user i2c_dev tcp_bbr xt_TPROXY nf_>
May 21 15:47:58 Laptop-Legion kernel: Modules linked in: uhid rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device cmac algif_hash algif_skcipher af_alg bnep joydev intel_rapl_msr mousedev intel_rapl_common iwlmvm snd_sof_amd_renoir m>
May 21 15:47:58 Laptop-Legion kernel:  </TASK>
May 21 15:47:58 Laptop-Legion kernel: R13: 0000000000000011 R14: 00007f407c1155b0 R15: 00007f40a09a89c0
May 21 15:47:58 Laptop-Legion kernel: R10: 00007f4082e4eac0 R11: 0000000000000246 R12: 0000000000000002
May 21 15:47:58 Laptop-Legion kernel: RBP: 00000000c00c642e R08: 0000000000000000 R09: 0000000000000000
May 21 15:47:58 Laptop-Legion kernel: RDX: 00007f40a09a88fc RSI: 00000000c00c642e RDI: 0000000000000011
May 21 15:47:58 Laptop-Legion kernel: RAX: ffffffffffffffda RBX: 00007f40a09a88fc RCX: 00007f40baac3b1f
May 21 15:47:58 Laptop-Legion kernel: RSP: 002b:00007f40a09a8860 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
May 21 15:47:58 Laptop-Legion kernel: Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
May 21 15:47:58 Laptop-Legion kernel: RIP: 0033:0x7f40baac3b1f
May 21 15:47:58 Laptop-Legion kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xae
May 21 15:47:58 Laptop-Legion kernel:  ? do_syscall_64+0x67/0x80
May 21 15:47:58 Laptop-Legion kernel:  ? syscall_exit_to_user_mode+0x23/0x50
May 21 15:47:58 Laptop-Legion kernel:  ? do_syscall_64+0x67/0x80
May 21 15:47:58 Laptop-Legion kernel:  ? syscall_exit_to_user_mode+0x23/0x50
May 21 15:47:58 Laptop-Legion kernel:  ? do_syscall_64+0x67/0x80
May 21 15:47:58 Laptop-Legion kernel:  ? syscall_exit_to_user_mode+0x23/0x50
May 21 15:47:58 Laptop-Legion kernel:  do_syscall_64+0x5b/0x80
May 21 15:47:58 Laptop-Legion kernel:  __x64_sys_ioctl+0x8d/0xc0
May 21 15:47:58 Laptop-Legion kernel:  amdgpu_drm_ioctl+0x4a/0x80 [amdgpu 720fd5819aba99da47c187be9dc392f66ab75ff3]
May 21 15:47:58 Laptop-Legion kernel:  ? drm_prime_destroy_file_private+0x20/0x20
May 21 15:47:58 Laptop-Legion kernel:  drm_ioctl+0x22a/0x410
May 21 15:47:58 Laptop-Legion kernel:  drm_ioctl_kernel+0xc6/0x170
May 21 15:47:58 Laptop-Legion kernel:  ? drm_prime_destroy_file_private+0x20/0x20
May 21 15:47:58 Laptop-Legion kernel:  drm_gem_prime_fd_to_handle+0xc6/0x1c0
May 21 15:47:58 Laptop-Legion kernel:  amdgpu_gem_prime_import+0xd4/0x1d0 [amdgpu 720fd5819aba99da47c187be9dc392f66ab75ff3]
May 21 15:47:58 Laptop-Legion kernel:  dma_buf_dynamic_attach+0x14b/0x280
May 21 15:47:58 Laptop-Legion kernel:  drm_gem_map_dma_buf+0x51/0xa0
May 21 15:47:58 Laptop-Legion kernel:  <TASK>
May 21 15:47:58 Laptop-Legion kernel: Call Trace:
May 21 15:47:58 Laptop-Legion kernel: PKRU: 55555554
May 21 15:47:58 Laptop-Legion kernel: CR2: 0000000000000000 CR3: 00000001972aa000 CR4: 0000000000750ee0
May 21 15:47:58 Laptop-Legion kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 21 15:47:58 Laptop-Legion kernel: FS:  00007f40a09aa640(0000) GS:ffff8a9492180000(0000) knlGS:0000000000000000
May 21 15:47:58 Laptop-Legion kernel: R13: ffff8a8ec240f010 R14: ffff8a8ec240f010 R15: 000000000000000c
May 21 15:47:58 Laptop-Legion kernel: R10: ffffafa4c8e979d8 R11: 0000000000000003 R12: ffff8a8e9c42c960
May 21 15:47:58 Laptop-Legion kernel: RBP: 0000000000000000 R08: 0000000000000020 R09: ffffafa4c8e979e0
May 21 15:47:58 Laptop-Legion kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8a8e81a630d0
May 21 15:47:58 Laptop-Legion kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000020
May 21 15:47:58 Laptop-Legion kernel: RSP: 0018:ffffafa4c8e97c20 EFLAGS: 00010207
May 21 15:47:58 Laptop-Legion kernel: Code: 44 00 00 e8 76 ff ff ff 31 d2 85 c0 0f 48 c2 c3 cc 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1f 44 00 00 53 48 89 f3 49 89 c8 <48> 8b 36 89 d1 8b 53 0c e8 47 ff ff ff 85 c0 78 05 89 43 08 31 c0
May 21 15:47:58 Laptop-Legion kernel: RIP: 0010:dma_map_sgtable+0xc/0x30
May 21 15:47:58 Laptop-Legion kernel: Hardware name: LENOVO 82JQ/LNVNB161216, BIOS GKCN53WW 02/25/2022
May 21 15:47:58 Laptop-Legion kernel: CPU: 14 PID: 2828 Comm: mpv/vo Tainted: P           OE     5.17.9-arch1-1 #1 e077767f2d3b4d5004a14cb6f791c01d77538db3
May 21 15:47:58 Laptop-Legion kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI
May 21 15:47:58 Laptop-Legion kernel: PGD 1ddfd2067 P4D 1ddfd2067 PUD 0 
May 21 15:47:58 Laptop-Legion kernel: #PF: error_code(0x0000) - not-present page
May 21 15:47:58 Laptop-Legion kernel: #PF: supervisor read access in kernel mode
May 21 15:47:58 Laptop-Legion kernel: BUG: kernel NULL pointer dereference, address: 0000000000000000
May 21 15:47:58 Laptop-Legion kernel: [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x0000000091414f55

This is rather strange. If GNOME is running on the AMD GPU, mpv shouldn’t be using the NVIDIA GPU by default. Can you check what version of the egl-wayland package you have installed? There was a bug that would cause it to still try to use the NVIDIA GPU in such cases (which would fail), but that should be fixed as of the latest version 1.1.10.

However, if you do want to have mpv use the NVIDIA GPU, with the latest 515 NVIDIA driver you can set __NV_PRIME_RENDER_OFFLOAD=1 which should work. Although do note that this also requires egl-wayland 1.1.10.

I just installed egl-wayland-git, i.e. compiled from the latest source. After setting __NV_PRIME_RENDER_OFFLOAD=1, the system will no longer freeze, and it can indeed be decoded by nvdec. If __NV_PRIME_RENDER_OFFLOAD=1 is not set, the system will still freeze

It is not normal for a userspace program to cause a kernel panic. The normal situation is that it cannot be decoded at most, so don’t let the system crash

1 Like

Yeah, the fact that this is crashing the kernel instead of failing more gracefully is a bug in itself. Maybe __nv_drm_gem_nvkms_memory_prime_get_sg_table should be returning an empty sg_table instead of NULL in such cases.

But still, the fact that mpv is running on the NVIDIA GPU even if __NV_PRIME_RENDER_OFFLOAD is not set is unexpected. The code added by this commit wayland: Fail eglGetDisplay if wl_drm is not available · NVIDIA/egl-wayland@d4937ad · GitHub was intended to prevent that. It checks which GPU the compositor is using and bails if that’s not an NVIDIA GPU.

Out of curiosity, is this behavior specific to mpv, or do other Wayland EGL applications (e.g. weston-simple-egl) also cause a crash?

Calling the NVIDIA GPU doesn’t mean it crashes, it crashes because NVDEC is called. When mpv video.mp4 is executed, AMD GPU is called; when prime-run mpv video.mp4 is executed, NVIDIA GPU is used, and the video can be played. However, when mpv --hwdec=auto video.mp4 is executed, NVDEC will be called, and the kernel will crash immediately.

Could you try running with --msg-level=vo=v? When I run mpv on a hybrid graphics system with --hwdec=auto or --hwdec=nvdec it does try to initialize nvdec, but fails to do so. This is expected since it’s running on the integrated GPU.

[vo/gpu] Loading hwdec driver 'cuda-nvdec'
[vo/gpu/cuda-nvdec] cu->cuGLGetDevices(&device_count, &display_dev, 1, CU_GL_DEVICE_LIST_ALL) failed -> CUDA_ERROR_INVALID_GRAPHICS_CONTEXT: invalid OpenGL or DirectX context
[vo/gpu/cuda-nvdec] CUDA hwdec only works with OpenGL or Vulkan backends.
[vo/gpu] Loading failed.

Do you see a similar message?

Removing prime-run will also get the same log, the difference is that the system will crash immediately

~ » prime-run mpv --msg-level=vo=v --hwdec=nvdec ~/Videos/post-video-31092777.mp4
 (+) Video --vid=1 (*) (h264 2220x1600 30.000fps)
[vo/gpu] Probing for best GPU context.
[vo/gpu/opengl] Initializing GPU context 'wayland'
[vo/gpu/wayland] Registered for protocol wl_compositor
[vo/gpu/wayland] Registered for protocol wl_shm
[vo/gpu/wayland] Registered for protocol wl_output
[vo/gpu/wayland] Registered for protocol wl_output
[vo/gpu/wayland] Registered for protocol wl_data_device_manager
[vo/gpu/wayland] Registered for protocol xdg_wm_base
[vo/gpu/wayland] Registered for protocol wl_seat
[vo/gpu/wayland] Registered for protocol wp_presentation
[vo/gpu/wayland] GNOME's wayland compositor lacks support for the idle inhibit protocol. This means the screen can blank during playback.
[vo/gpu/wayland] Compositor doesn't support the zxdg_decoration_manager_v1 protocol!
[vo/gpu/wayland] Compositor doesn't support the zwp_idle_inhibit_manager_v1 protocol!
[vo/gpu/opengl] EGL_VERSION=1.5
[vo/gpu/opengl] EGL_VENDOR=NVIDIA
[vo/gpu/opengl] EGL_CLIENT_APIS=OpenGL_ES OpenGL
[vo/gpu/opengl] Trying to create Desktop OpenGL context.
[vo/gpu/wayland] GL_VERSION='4.4.0 NVIDIA 515.48.07'
[vo/gpu/wayland] Detected desktop OpenGL 4.4.
[vo/gpu/wayland] GL_VENDOR='NVIDIA Corporation'
[vo/gpu/wayland] GL_RENDERER='NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2'
[vo/gpu/wayland] GL_SHADING_LANGUAGE_VERSION='4.40 NVIDIA via Cg compiler'
[vo/gpu] Testing FBO format rgba16f
[vo/gpu] Using FBO format rgba16f.
[vo/gpu/wayland] Registered output SKY 28U1 (0x4):
[vo/gpu/wayland] 	x: 2560px, y: 0px
[vo/gpu/wayland] 	w: 3840px (620mm), h: 2160px (330mm)
[vo/gpu/wayland] 	scale: 2
[vo/gpu/wayland] 	Hz: 60.075000
[vo/gpu/wayland] Registered output CSO 0x1609 (0x5):
[vo/gpu/wayland] 	x: 0px, y: 560px
[vo/gpu/wayland] 	w: 2560px (340mm), h: 1600px (220mm)
[vo/gpu/wayland] 	scale: 2
[vo/gpu/wayland] 	Hz: 165.018000
[vo/gpu] Resize: 0x0
[vo/gpu] Loading hwdec driver 'vaapi-egl'
[vo/gpu/vaapi-egl] using VAAPI EGL interop
[vo/gpu/vaapi-egl] Trying to open a x11 VA display...
[vo/gpu/vaapi-egl] Trying to open a wayland VA display...
[vo/gpu/vaapi-egl/vaapi] Initialized VAAPI: version 1.14
[vo/gpu/vaapi-egl] Going to probe surface formats (may log bogus errors)...
[vo/gpu/vaapi-egl] Done probing surface formats.
[vo/gpu] Loading hwdec driver 'cuda-nvdec'
[vo/gpu] Loading hwdec driver 'drmprime-drm'
[vo/gpu/drmprime-drm] Failed to retrieve DRM fd from native display.
[vo/gpu] Loading failed.
Using hardware decoding (nvdec).
VO: [gpu] 2220x1600 cuda[nv12]
[vo/gpu] reconfig to 2220x1600 cuda[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
[vo/gpu/wayland] Reconfiguring!
[vo/gpu] Resize: 2220x1600
[vo/gpu] Window size: 2220x1600 (Borders: l=0 t=0 r=0 b=0)
[vo/gpu] Video source: 2220x1600 (1:1)
[vo/gpu] Video display: (0, 0) 2220x1600 -> (0, 0) 2220x1600
[vo/gpu] Video scale: 1.000000/1.000000
[vo/gpu] OSD borders: l=0 t=0 r=0 b=0
[vo/gpu] Video borders: l=0 t=0 r=0 b=0
[vo/gpu/opengl] after creating texture: OpenGL error INVALID_OPERATION.
[vo/gpu] Testing FBO format rgba16f
[vo/gpu] Using FBO format rgba16f.
[vo/gpu/wayland] Handling resize on the egl side
[vo/gpu] Resize: 2220x1600
[vo/gpu] Window size: 2220x1600 (Borders: l=0 t=0 r=0 b=0)
[vo/gpu] Video source: 2220x1600 (1:1)
[vo/gpu] Video display: (0, 0) 2220x1600 -> (0, 0) 2220x1600
[vo/gpu] Video scale: 1.000000/1.000000
[vo/gpu] OSD borders: l=0 t=0 r=0 b=0
[vo/gpu] Video borders: l=0 t=0 r=0 b=0
[vo/gpu] Reported display depth: 8
[vo/gpu] Dither to 8.
V: 00:00:00 / 00:00:15 (0%)
[vo/gpu/wayland] Surface entered output SKY 28U1 (0x4), scale = 2
[vo/gpu/wayland] Handling resize on the egl side
[vo/gpu] Resize: 2220x1600
[vo/gpu] Window size: 2220x1600 (Borders: l=0 t=0 r=0 b=0)
[vo/gpu] Video source: 2220x1600 (1:1)
[vo/gpu] Video display: (0, 0) 2220x1600 -> (0, 0) 2220x1600
[vo/gpu] Video scale: 1.000000/1.000000
[vo/gpu] OSD borders: l=0 t=0 r=0 b=0
[vo/gpu] Video borders: l=0 t=0 r=0 b=0
[vo/gpu] Reported display depth: 8
[vo/gpu] Assuming 60.075000 FPS for display sync.
V: 00:00:00 / 00:00:15 (4%)
[vo/gpu] Reallocating OSD texture to 4096x512.
V: 00:00:15 / 00:00:15 (100%)

Exiting... (End of file)
[vo/gpu/wayland] Deregistering output CSO 0x1609 (0x5)
[vo/gpu/wayland] Deregistering output SKY 28U1 (0x4)

After further testing, I found that if I played a long video, the external monitor connected to the NVIDIA GPU would freeze after a while. I try to logout and login to the desktop again, the external monitor is still frozen.

~ » journalctl -r -p 3
Jun 10 01:19:08 laptop-legion gdm[612]: Gdm: Failed to list cached users: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.9 was not provided by any .service files
Jun 10 01:18:05 laptop-legion bluetoothd[719]: profiles/audio/avctp.c:avctp_control_confirm() Control: Refusing unexpected connect
Jun 10 01:18:01 laptop-legion gdm-launch-environment][5754]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jun 10 01:17:57 laptop-legion kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Jun 10 01:17:54 laptop-legion kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Jun 10 01:17:51 laptop-legion gdm-password][6053]: gkr-pam: unable to locate daemon control file
Jun 10 01:17:43 laptop-legion bluetoothd[719]: profiles/audio/avctp.c:avctp_control_confirm() Control: Refusing unexpected connect
Jun 10 01:17:42 laptop-legion kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Jun 10 01:17:38 laptop-legion kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Jun 10 01:17:34 laptop-legion gnome-session-binary[5774]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
Jun 10 01:17:34 laptop-legion gnome-session-binary[5774]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
Jun 10 01:17:33 laptop-legion kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Jun 10 01:17:30 laptop-legion kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Jun 10 01:16:37 laptop-legion gdm-launch-environment][4733]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jun 10 01:16:36 laptop-legion bluetoothd[719]: profiles/audio/avctp.c:avctp_control_confirm() Control: Refusing unexpected connect
Jun 10 01:16:36 laptop-legion kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Jun 10 01:16:31 laptop-legion kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Jun 10 01:16:28 laptop-legion gdm-password][5026]: gkr-pam: unable to locate daemon control file
Jun 10 01:16:25 laptop-legion kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Jun 10 01:16:24 laptop-legion bluetoothd[719]: profiles/audio/avctp.c:avctp_control_confirm() Control: Refusing unexpected connect
Jun 10 01:16:20 laptop-legion kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Jun 10 01:16:17 laptop-legion gnome-session-binary[4753]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
Jun 10 01:16:17 laptop-legion gnome-session-binary[4753]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
Jun 10 01:16:16 laptop-legion kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Jun 10 01:16:13 laptop-legion kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Jun 10 01:16:00 laptop-legion kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Jun 10 01:15:56 laptop-legion kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Jun 10 01:15:46 laptop-legion kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Jun 10 01:14:24 laptop-legion kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to apply atomic modeset.  Error code: -22
Jun 10 01:05:29 laptop-legion bluetoothd[719]: profiles/audio/avctp.c:avctp_control_confirm() Control: Refusing unexpected connect
Jun 10 01:05:21 laptop-legion bluetoothd[719]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
Jun 10 01:05:11 laptop-legion kernel: Bluetooth: hci0: Opcode 0x 401 failed: -16
Jun 10 00:48:07 laptop-legion bluetoothd[719]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
Jun 10 00:48:01 laptop-legion gdm-launch-environment][623]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jun 10 00:47:57 laptop-legion gdm-password][1030]: gkr-pam: unable to locate daemon control file
Jun 10 00:47:54 laptop-legion kernel: Bluetooth: hci0: Malformed MSFT vendor event: 0x02
Jun 10 00:47:53 laptop-legion gnome-session-binary[667]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
Jun 10 00:47:53 laptop-legion gnome-session-binary[667]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
Jun 10 00:47:52 laptop-legion kernel: 
Jun 10 00:47:52 laptop-legion kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20211217/psobject-220)
Jun 10 00:47:52 laptop-legion kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.PB2], AE_NOT_FOUND (20211217/dswload2-162)