Thanks for your reply. But as I did check and tried to repair all of those things but that didn't worked. Then I changed my graphics driver from 22.11.2 to 19.12.1 (I did 19.12.1 specifically according to my preferences, you cal do other according to yours) and it worked! So, yeah it was my gpu driver which was causing problems.
Highly unlikely, even though you did not list specifics. More likely is packet loss or connection problems, wifi issues if not wired, network drivers, etc...
If wifi, then that's where i would start troubleshooting.
Thanks for your reply. But as I did check and tried to repair all of those things but that didn't worked. Then I changed my graphics driver from 22.11.2 to 19.12.1 (I did 19.12.1 specifically according to my preferences, you cal do other according to yours) and it worked! So, yeah it was my gpu driver which was causing problems.