Macbook Pro 8,2 keeps rebooting.
When I want to power on the Macbook Pro, it chimes and the goes to about the half of the progressbar and the turns to a light blue grey screen for a little time and then keeps rebooting when the magsafe is connected. On battery it just shuts down and no loop.
The problem started when I wanted to look a serie on google chrome. The screen splitted and the horizontal lines. OS was still ok. Rebooted and looked the serie on safari: no problem. Went back to chrome for some reason. But the macbook just started to reboot.
So I've tried a number of things to check what the problem could be:
Reset SMC, no change
Reset RAM and change RAM, no change
start in safe mode: screens stays in the blue grey screen
start in diagnostic mode: did hardwaretest: no hardware problems.
Last year I've put in ssd, I changed this one with the old hd: but the same problem.
Start the macbook without battery, only magsafe power, the same problem. (saw youtube video where the battery was the cause of a bootloop)
I don't think it's a software problem, but I'm not shure.
I think it has to do something with the videocard or the screen.
Is there a way to test this? Or are there other tests I can do to find the problem?
MacBook Pro 15", macOS 10.13