I have been exeriancing some issues with my PC lately. When I start my PC, or when I do a restart it sometimes takes 15-20 minutes to boot, and my OS is on a samsung 960 NVME SSD, so it should't really take more than a minute (if that).
Sometimes it boots normally. I am using the MSI x370 Gaming Pro Carbon motherboard, paired with a first generation Ryzen CPU (1600x) not overclocked (removed the overclock to fix the booting problem - no success), and 2 sticks of 8GB corsair vengeance DDR4 RAM (2667 MHz).
In the picture below is what my screen looks like for those 15-20 minutes.