Unable to login after force shut down.
I was watching a streaming video on BBC iplayer suddenly the image froze but the audio kept going. Nothing was working only option was to force shut down with the power swich. After that computer booted up with strange artefact on the start up screen and I couldn't log in. Computer booting up to a certain point then reboots and restarts over and over. I can't login in safe mode, same thing happens. Startup screen looks like that.
What can cause the problem, graphic card, logic board or something else?
Computer is an early 2008 iMac 24"
iMac, OS X Mavericks (10.9.2)