Resolution remains 640x480 on Debian 6.06 with 313.18 installed

Thank you all! I have solved the problem. It seems that the nvidia-xconfig could not automatically configure the monitor, as the EDID information could not be achieved correctly by the X or the config program.

I manually set the ModelLine and related config and add them to Monitor section. Everything is OK now.