not sure if this is the right place to put this question but, i have a HP pavilion a1224n and when i turn it on it will load normaly but after some time the screen would get these weird lines an eventually crash and restart. i dont know if the graphics card on the mobo is fryed or if there is something else wrong with it?
You might want to download a hardware monitor and check your temperatures. Also if you haven't cleaned it for awhile it would be a good idea to get the dust out. It sounds like it might be a heating problem. Sorry i can't be more help.