All energy on the planet is basically solar energy, fossil fuel is just solar energy stored as hydrocarbons and this process just took millions of years to make. Photo Voltaic Solar panels convert solar energy to electricity instantly.
It does not require millions of years to process, the technical problem here is efficient storage of the harvested energy, however it is inevitable that we will become reliant on Photo Voltaic Solar Energy as we attempt to reduce carbon monoxide gasses in our atmosphere.
Solar power derived from photo voltaic cells has become much more efficient in recent years, and as technology improves so will its efficiency.
The latest breakthrough in photo voltaic power generation is in the use of perovskites solar cells, this new material will most likely be layered on to of the current silica cells, it may take some time before a reasonable cost and yield balance is achieved and before this technology will be available to us.
Meanwhile we have to soldier on using high quality proven technology.