Screen powering on and then off

I got a mac pro 3.1 with no graphics card and no ssd(or hdd) i installed a nvidia gt 120 on it and i installed windows, it worked fine, but i wanted to try a mac os sistem so i installed OS X lion, in the installation the sreec kept powering on and off. Then i tryed installing OS X El Capitan, but unfortunately i still have the same problems

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0