A thug who violently abused his girlfriend for a year was struggling to cope after finding his mother and teenage sister dead, a court has heard.