Originally Posted by frunobulax
Works like a charm with Windows 7 and Windows XP in my AOC 2230fh, a 22" monitor with a native resolution of 1680X1050. But on Linux, the situation is not good.
Well, here it is. I just did another fresh install of Ubuntu 9.04. So, the default video driver (VESA, i guess) is loaded and it detected my resolution as being 1680X1050. All OK. But I want to use nVidia drivers, for Compiz and other stuff. [...] the resolution becomes 640X480, and no configuration at xorg.conf seems to resolve it. I tried setting hsync and vsync accordingly to my monitor's specifications, tried only showing 1680X1050 as possible resolutions, nothing worked [...]
I have this xorg.conf right now:
Identifier "Configured Monitor"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
Virtual 3046 1117
Identifier "Configured Video Device"
So, anything I should do before activating the nVidia driver?
Yes. Delete your xorg.conf. or, better:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.save
Then (re-)boot, with your desired display connected.
The "Virtual 3046 1117" shows, that there is a lot of cruft around in your system.
Then, if it doesn't work, let's see your /var/log/Xorg.0.log of this session without any /etc/X11/xorg.conf