Extremely laggy and sluggish only with the use external monitor

Everything is extremely laggy and sluggish when my laptop screen is disabled or my lid of the laptop is closed but it’s working normally when it’s enabled and open, im pretty sure I’m using the proprietary drivers because it says already installed when I runsudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda. I am fine with using proprietary drivers, just wanna fix this. Edit: I have two monitors

Which distro are you using? Does this also happen with other Window managers or desktop environments?

@Duha I am using Fedora 38

Its not wrong to ask here but you probably have a better chance if you ask on the fedora support channels. This might not be related to KDE at all.

Try to switch between X11 and Wayland and see if either works correctly.