dat, my understanding is that the raw materials used to produce PV cells don't exist in sufficient quantity to meet the need.
I'm sure new technologies will find a way around it, maybe we figure out how to create energy via photosynthesis? Hey, plants figured that out eons ago, maybe humans can catch up?
Oil will always be needed for lubrication, plastics, and fertilizers, the demand won't go away. We are in the right place, at the right time, IMO.
It takes 80 barrels of crude to produce a car. It takes untold amounts of oil to run the equipment required by megafarms, which are touted as the answer via biofuels. It takes oil, and lots of it, to raise a corn crop to create biofuels.
It's a sticky problem.