Hi Rohit,
1. Are you facing the issue only when you try to run NFS rivals?
2. Have you made any recent software or hardware changes on the computer?
3. What is the make and model of the computer?
This issues may occur due to Graphic card driver.
Since the game seems to be compatible with Windows 8, let’s try the following steps and check.