replacing depends on if graphics card itself can be taken individually or it is soldered with the motherboard that can cost vary depending on the type and brand, what do you mean by detecting? you can just check by yourself by running dxdiag command by pressing windows key+R and enter dxdiag in the empty box