A gunman suspected of killing eight people in a western German city has been found dead at his home, police said on Thursday.