Is it possible to restart a PhD due to issues with supervisor (and should I do it)?
Adding a student's perspective to Pete's answer:

My advisor told me at the being of my master thesis, that soon I would know more about my particular area of research than him. At the time I didn't believe a word he said, but at our third meeting I was already explaining stuff to him and by the fifth I started to feel irritated that I had to explain stuff to him which I didn't have to explain to his PhD student whom I collaborated with.

But then I realised that I worked on this topic all day every day, my collaborator worked on a related topic and discussed my research with me several times a week but my advisor only got to spend time on this topic every other week when we met with him, because he had plenty of other students to advise in the meantime and also had his own research, teaching and some administration to do.

So from the sixth meeting on it became a habit for me to open the meeting with a quick catch up on my topic and my progress before diving into the details. And from that meeting on I always got great advice from him.

I think you need to think about whether you have given your advisor a fair chance to help you when you were stuck and whether he has been able to help in that regard, because that's his job and knowing all the details about your current topic is your job.