In some situations disabling composition pipeline in nvidia-settings might help. Also, just noticed that you do not have this last lines in your nvidia.conf file, at the bottom:
Your desktop look nice.
Currently I use precustomized GUI from the kde market place.
In regard of BAR yeah, totally.
But still Iāll manage some 15-20 fps then, not much but managable xD
Though when I place structures and I place them to square to que build with mines to. Instant freeze xD
So after some googling I found a Redit post that gave exactly the same advice given here add kernel option to the like GRUB_CMDLINE_LINUX="nvidia-drm.modeset=1" .
But the Redit post gave additional information, which I presume, I donāt have clueā¦ Means initializing the new grub configuration by regenerating /boot/grub/grub.cfg grub-mkconfig -o /boot/grub/grub.cfg.
After these settings plasma(wayland) started without problems.
On top of that it fixed my problem with stuttering as well!!! FINALLY A SMOOTH DESKTOP EXPERIENCE like windows offers.
I can scroll in Vs-code, browser and virtual desktops in peace WITHOUT stuttering.
What I found strange is that a lot of people on various forums swear by, that with nvidia hardware goes best with the use of x11 and not wayland for smoother and better experience, well not in my case. Wayland it is!!!
EDIT
The only solution I have found that works is basically start the right window manager from the login.
Going to basic desktop activities, like web surfing and editing documents, then iāll start up the desktop with wayland.
Am I going to game I have to start up the desktop with X11.