iMac stuck at white screen - graphics issue?
To determine if it is your hardware or OS X boot from external drive. If it works it is your OS X, if not, it is your hardware.

If it is OS X use Safe mode and:


look for non apple drivers loaded using sudo kexstsat in Terminal (enter password)