Seems it’s a known issue you have 12th-gen intel + NVIDIA. Please try the workaround mentioned in the blow post.
CPU:
Info: 16-core (8-mt/8-st) model: 12th Gen Intel Core i9-12900K bits: 64
type: MST AMCP cache: L2: 14 MiB
Graphics:
Device-1: Intel AlderLake-S GT1 driver: i915 v: kernel
Device-2: NVIDIA AD102 [GeForce RTX 4090] driver: nvidia v: 525.89.02
Intel + NVIDIA workaround post by @dalto .
Give it a try.