SSH in after it goes dark and start looking through logs, or start digging after that second reboot. Honestly it doesn’t sound like a driver issue if things are fine up until a certain point after login. Might be dealing with something like a phantom display being detected and switched to, or a bad card getting stuck mode switching or something.