Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
11
rated 0 times [  11] [ 0]  / answers: 1 / hits: 82564  / 2 Years ago, fri, april 8, 2022, 8:46:03

I keep having trouble getting the correct monitor resolution - every time I reinstall, I happen to use a newer Ubuntu release and the old tricks I used to know no longer work. Instead of leaving a long trail of questions for every new release, I am looking for a more universal and timeless solution.



What's the correct way to set the correct monitor resolution with an Nvidia GPU for a screen that does not send EDID values?



Note: This is a "dummy" question -- with the help from the chat, I already found the answer, and I am now going to add my own answer to document a solution that is hopefully universal.


More From » xorg

 Answers
7

Follow these steps.



Note that steps 6 and 7 are not usually necessary; try skipping them and if that does not work, repeat all steps and include these two. Some monitors don't send EDID information to the computer, so Ubuntu can't know what the monitor is capable of and only offers safe (low) resolutions. Those two steps resolve that problem.




  1. Reboot and restart in Recovery Mode.

  2. Type rm /etc/X11/xorg.xonf (Enter)

  3. Type reboot (Enter)

  4. Once you're at the normal Ubuntu desktop again, press Alt + F2 and type terminal (Enter)

  5. In the terminal, type sudo nvidia-xconfig (Enter). This will write a new xorg.conf file.

  6. Press Alt + F2 and type gksu gedit /etc/X11/xorg.conf (Enter).

  7. Look for the part beginning with Section "Monitor"and there enter the correct HorizSync and VertRefresh values. (See How do I look up the hsync/vsync values for my monitor?)

  8. Restart.

  9. Once you're at the normal Ubuntu desktop again, find "Nvidia X Server Settings" in the "start menu" and start that.

  10. In the section X Server Display Configuration, set the desired resolution and press the button Save to X Configuration File.

  11. Reboot.



You should now have the proper resolution!



Finally, copy the file /etc/X11/xorg.conf to a safe place in case you mess it up later and need to restore it.


[#40598] Sunday, April 10, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
hical

Total Points: 498
Total Questions: 106
Total Answers: 117

Location: Comoros
Member since Tue, Mar 14, 2023
1 Year ago
;