When I use a DVI cable for my monitor, every time I start the PC, the screen is always stretched and has massive borders until it boots completely into Windows with the drivers loaded. If the drivers aren't loaded, the same thing happens in Windows (alongside reduced resolution, but that is expected). (When that happens, the monitor reports 1920x1080 despite that not being the case)

Also, 1280x720 doesn't work properly and cuts off edges. What's happening?

If I use analog cables, it doesn't happen, but the picture quality suffers a lot. I don't want to give up DVI cables.

Monitor: Samsung SyncMaster 2233SW
Graphics card: Geforce 9800GTX+
Using DVI cables