This works on Windows 10 and 11. It forces the graphics driver to restart without rebooting your PC.
Press Win + Ctrl + Shift + B simultaneously. how to reset video drivers