Is the graphics card driver up to date? (As far as I know, the latest version of NVIDIA is 516.94) If it's been a long time since you updated your graphics card driver, try updating the driver first.
And... In addition to your problem, there are many bugs related to NVIDIA GPU in version 23.5. So, if the update history of 23.5 version is not necessary for you, I recommend you roll back to the previous version.