You probably should download and run DDU in safemode to wipe any drivers from Nvidia and try again.
Go ahead and Download DDU, Extract it to anew folder, its in zip and a 7zip folder, don't run DDU yet.
Download the latest drivers from Nvidia, don't run them yet either, Disconnect from the internet, either pull the either cord or disable the network adapter (This prevents windows from installing an old driver, it can interfear and mess things up)
Now reboot in safe mode, there is a few ways to do this, (you can do this anyway you want, as longa s its in safemode), Easiest way would be to press the Windows key and R at the same time for the run box, type in "msconfig" without the quotes
It should open a system configuration window, Go to the Boot tab, and select at the bottom "Safe Boot", check the box, and click Apply and OK, Reboot the system.
Once it starts back in safemode, its normal that some things wont load, other disaplays may not work, thats normal.
At this point, I would do the previous step again before running DDU, Press Win + R for the run box, type in "msconfig" without quotes, in the System Configuration window, go to the Boot tab, uncheck "Safe Boot", click on Apply and OK, do NOT restart the machine yet.
Go to where you extracted DDU, run it, it wil ask you a bunch of things, close them out and click ok, ont he right you should see a drop down, select Nvidia from that drop down, and click on Clean and Restart, let it do its thing, it will restart for you when tis done, it could take a few minutes., screen may flash, shouldn't in safe mode.
Once it reboots, it should no longer be in safemode, now go and install that Nvidia driver you just downloaded, Once its done it may not want to restart your machine, restart anyway. Once its back up and running, connect back to the internet, and setup whatever you need to setup and see if the issue is still there.
If the problem is still there, check temps of the CPU and GPU while playing the game you experience this with.
If temps check out, go back to idle and see if there is anything running that may be using systems resources, like RAM, CPU, GPU, shouldn't bee to much at idle using this stuff.
Also if you are on windows 11, there is a known issue with Mouse polling rates and some games, if the polling rate of your mouse is to high, in my experience 1000hz can cause this, any mouse movement in game makes the game stutter, They are suppose to be fixing this, I don't thinkt hey rolled it out to every user yet.
Good Luck!