The first world war had a huge role to play in the revolution. Their poor performance had a negative impact on the Russians back on home soil, and this resulted in the Russians having even more doubt with the Tsar. There were a lot of problems back in Russia at the time such as little economic growth and mass famine.However i think the first world war was the tipping point for most, and when Nicholas 2nd took over of the military in 1914 his unorganisation and weaknesses were revealed. Many then saw the Tsar unfit to run the country.
You could also argue that if it wasn’t for the first world war the Tsar would have remained in power. So to a certain extent you could argue that it was one of many factors that resulted in turmoil for the Tsar. Russia’s state was not good before hand, with economic and social issues. When the provisional government eventually took over things were no better, people were still unhappy and over time the provisional government did not do much to solve the issues at the time. Therefore they were almost like a temporary solution to their on going problems.