All of the cradle-to-grave studies I've seen about greenhouse gas emissions for renewables versus coal/oil still indicate massive improvements.
This government meta study of 3,000 such studies puts PV solar at roughly 20x less emissions than coal.
https://docs.nrel.gov/docs/fy21osti/80580.pdf