Depending on the graphics card - on most cards the DVI and HDMI share the same port, so you have to pick one or the other. There are cards that let you use both, my ATI let me connect 3 monitors. So check the spec first.