I removed all yum entries related to nvidia and deleted xorg.conf and it runs without crashing.