Energy Source Death Rate (deaths per TWh)
Coal – world average 161 (26% of world energy, 50% of electricity)
Coal – China 278
Coal – USA 15
Oil 36 (36% of world energy)
Natural Gas 4 (21% of world energy)
Solar (rooftop) 0.44 (less than 0.1% of world energy)
Wind 0.15 (less than 1% of world energy)
Hydro 0.10 (europe death rate, 2.2% of world energy)
Hydro - world including Banqiao) 1.4 (about 2500 TWh/yr and 171,000 Banqiao dead)
Nuclear 0.04 (5.9% of world energy)
UPDATE: I have taken a comprehensive look at lowering deaths per terawatt hour from energy
A superior form of solar power would be the Coolearth concentrated solar power system which would be installed on the ground or wires over a ground installation.
Rooftop solar is several times more dangerous than nuclear power and wind power. It is still much, much safer than coal and oil, because those have a lot of air pollution deaths.
Rooftop solar can be safer [0.44 up to 0.83 death per twh each year). If the rooftop solar is part of the shingle so you do not put the roof up more than once and do not increase maintenance then that is ok too. Or if you had a robotic system of installation.
World average for coal is about 161 deaths per TWh.
In the USA about 30,000 deaths/year from coal pollution from 2000 TWh.
15 deaths per TWh.
In China about 500,000 deaths/year from coal pollution from 1800 TWh.
278 deaths per TWh.