You can't use the motherboard ports on a Ryzen build. AMD has not released any Ryzen CPUs with built-in graphics. You have to connect all your displays to your graphics card. You will have to get an adapter to connect your second monitor if the ports on your graphics card don't match. HDMI to DVI is a straight cable conversion.