I found out the motherboard I was using was for an All-In-One desktop. I fixed the problem by disabling the internal graphics adapter.