Please try to disable the option to "Use Graphics Procesor" from Photoshop by going to Preferences, then Performance. Once done, quit & relaunch Photoshop to check if that helps.
If it helps, you can check out the steps suggested here: https://helpx.adobe.com/photoshop/kb/troubleshoot-gpu-graphics-card.html
Another try is to enable the Older GPU Mode option in "Preferences" > "Technology Previews" > "Use Older GPU Mode (pre 2016)".
Then goto "Preferences" > "Technology Previews" and enable "Disable Native Canvas".
My System: Intel i7-8700K - 64GB RAM - NVidia Geforce GTX 1050 Ti - Windows 10 Pro 22H2 -- LR-Classic 12.3 - Photoshop 24.5 - Nik Collection 6 - Topaz Sharpener AI