As U r saying,Fan speeds up while pc freezes,I think there must be something wrong with cooling process which may not going as expected.I will suggest u to use a blower safely to blow Dust particles out from ur System.
Another thing u can try is Using a Display Driver that may U Display Output...