Kernel panics and system freze

ok since I have been useing fedora 44 on my pc
this is my fedora

OS: Fedora Linux 44 (Workstation Edition) x86_64
Host: MS-7E25 (1.0)
Kernel: Linux 7.1.4-204.fc44.x86_64
Uptime: 27 mins
Packages: 14 (flatpak), 329 (nix-user), 64 (nix-default), 2429 (rpm)
Shell: bash 5.3.9
Display (Dell Inc. 22"): 1080x1920 @ 1.77x in 22", 60 Hz [External]
Display (LG ULTRAFINE): 3840x2160 @ 1.5x in 32", 60 Hz [External] *
DE: GNOME 50.3
WM: Mutter (Wayland)
WM Theme: Adwaita
Theme: Adwaita [GTK2/3/4]
Icons: Adwaita [GTK2/3/4]
Font: Adwaita Sans (11pt) [GTK2/3/4]
Cursor: Adwaita (24px)
Terminal: Ptyxis 50.1
Terminal Font: Adwaita Mono (11pt)
CPU: Intel(R) Core™ i9-14900KS (16+16) @ 6.20 GHz
GPU 1: NVIDIA GeForce RTX 4090 [Discrete]
GPU 2: Intel UHD Graphics 770 @ 1.65 GHz [Integrated]
Memory: 25.83 GiB / 30.85 GiB (84%)
Swap: 0 B / 8.00 GiB (0%)
Disk (/): 140.86 GiB / 1.82 TiB (8%) - btrfs
Local IP (wlp5s0): 192.168.29.188/24
Locale: en_US.UTF-8

ok so I have had 2 kernel panics and one full system freze.

1st panic:- happen after update and I say that it broke nvidia-smi. and I checked that some were in 595.71 version and some kernel files were in 595.80 version after the update after restart.

2nd panic:- happend randomaly literally. no explanations nothing. the tux with exclamatory mark come up. thats why I installed kdump and enabled it. no logs of this paniced boot anywhere at all.

both the panics it said failed to kill pid 1 somthing like that

the system freze:- again no explanation no journalctl. was coding C in emacs and suddenly the whole system froze. I use openlinkhub BTW to control my croshair fans and stuff. that stoped working when the system was froze. and just before this freze happend emacs was crashing a lot. so I am running memtester 20G 1 on my 32 gb ram single stick.

can anyone tell me is my hardware the cause or what is going on here. these 3 incidents has happend over the course of usage of 108 hrs of usage. from first used on aprile 17th to today.

so the frequency of these major incidents is very worrying for me.

It appears that you may have scaling enabled and different values for each monitor. Have you tried with scaling disabled on both monitors?

but I need that scaling, also I was using an onlder version of emacs 29.4 with a NIX package. after the update that version started crashing a lot. and then it fully freezed the whole system.
also lg ultrafine is actually 27 inch donno why it says that.

but the main problem is I need scaling otherwise contents of 4k monitor will appear very small. and same for the 1k monitor it is actually vertical monitor by the side.