Software & AppsOperating SystemLinux

How To Set Monitor Resolution with Nvidia Drivers for Non-EDID Screens

Ubuntu 16

In this comprehensive guide, we will walk you through the process of setting the monitor resolution with Nvidia drivers for Non-EDID screens. EDID (Extended Display Identification Data) is a standard that allows monitors to communicate their capabilities to the graphics card. However, not all monitors provide EDID values, and in such cases, manual configuration is required.

Understanding the Basics

Before we dive into the steps, let’s understand the key components involved in this process:

  • Nvidia Drivers: These are software that enable the communication between your Nvidia graphics card and the operating system.
  • xorg.conf File: This is a configuration file for the X.Org Server, which is the graphical server for most Unix-like operating systems. This file is used to specify the behavior of the graphics and input devices such as the keyboard, mouse, and monitor.
  • HorizSync and VertRefresh: These are monitor specifications that determine the range of horizontal and vertical refresh rates the monitor can handle.

Preparing for the Configuration

Step 1: Booting in Recovery Mode

Reboot your computer and select “Recovery Mode” from the boot menu. This mode loads a minimal set of drivers and services, which is helpful when troubleshooting issues.

Step 2: Removing the Existing xorg.conf File

Open the terminal and type the command rm /etc/X11/xorg.conf. This command removes the existing xorg.conf file, if any. Here, rm is the remove command, and /etc/X11/xorg.conf is the path where the file is located.

rm /etc/X11/xorg.conf

After executing the command, reboot your system.

Configuring the Nvidia Driver

Step 3: Generating a New xorg.conf File

Once you’re back at the normal Ubuntu desktop, open the terminal and type sudo nvidia-xconfig. This command generates a new xorg.conf file. sudo is a command that allows you to run programs with the security privileges of another user (by default, the superuser). nvidia-xconfig is a tool used to configure the Nvidia X driver.

sudo nvidia-xconfig

Step 4: Editing the xorg.conf File

Now, we need to edit the xorg.conf file to include the correct HorizSync and VertRefresh values for your monitor. You can find these values in the monitor’s manual or manufacturer’s website.

Open the xorg.conf file using the following command:

gksu gedit /etc/X11/xorg.conf

Here, gksu is a command to run graphical commands with root privileges, gedit is a text editor, and /etc/X11/xorg.conf is the path of the file to edit.

In the file, look for the section starting with “Section “Monitor””. Enter the correct HorizSync and VertRefresh values for your monitor.

Section "Monitor"
 Identifier "Monitor0"
 VendorName "Unknown"
 ModelName "Unknown"
 HorizSync 30.0 - 83.0
 VertRefresh 50.0 - 75.0
EndSection

Save the file and restart your computer.

Setting the Monitor Resolution

Step 5: Configuring the Resolution

Once you’re back at the normal Ubuntu desktop, find “Nvidia X Server Settings” in the start menu and open it.

Navigate to the “X Server Display Configuration” section, set the desired resolution for your monitor, and click the “Save to X Configuration File” button. This will save your changes to the xorg.conf file.

Finally, reboot your computer. Your monitor should now be running at the desired resolution.

Conclusion

Setting the monitor resolution with Nvidia drivers for Non-EDID screens may seem like a daunting task, but with the right steps and understanding, it’s quite manageable. We hope this guide has been helpful in navigating you through the process. Remember, the key to success is patience and careful execution of each step.

What is an EDID screen?

An EDID (Extended Display Identification Data) screen is a monitor that communicates its capabilities to the graphics card using a standard protocol. It provides information such as supported resolutions, refresh rates, and color depth.

Why do some monitors not provide EDID values?

Some older or non-standard monitors may not have the capability to provide EDID values. This can be due to various reasons, such as outdated firmware or limited communication capabilities.

What is the purpose of the xorg.conf file?

The xorg.conf file is used to specify the behavior of the graphics and input devices in the X.Org Server. It allows you to configure various settings, including monitor resolutions, keyboard mappings, and graphics driver options.

How do I remove the existing xorg.conf file?

To remove the existing xorg.conf file, open the terminal and execute the command rm /etc/X11/xorg.conf. This command deletes the file from the specified path.

How do I generate a new xorg.conf file?

To generate a new xorg.conf file, open the terminal and run the command sudo nvidia-xconfig. This command uses the nvidia-xconfig tool to create a new configuration file.

Where can I find the HorizSync and VertRefresh values for my monitor?

The HorizSync and VertRefresh values can usually be found in the monitor’s manual or on the manufacturer’s website. These values represent the range of horizontal and vertical refresh rates that your monitor can handle.

How do I edit the xorg.conf file?

To edit the xorg.conf file, open the terminal and run the command gksu gedit /etc/X11/xorg.conf. This command opens the file in the gedit text editor with root privileges, allowing you to make changes.

How do I configure the resolution in Nvidia X Server Settings?

After opening Nvidia X Server Settings, navigate to the "X Server Display Configuration" section. Here, you can select the desired resolution for your monitor and save the changes to the xorg.conf file by clicking the "Save to X Configuration File" button.

Why is it important to reboot the computer after making changes?

Rebooting the computer allows the changes made to the xorg.conf file to take effect. It ensures that the Nvidia driver and X.Org Server properly recognize and apply the new configuration.

What should I do if I encounter any issues during the process?

If you encounter any issues, you can try reverting the changes by restoring the original xorg.conf file or seeking help from online forums or Nvidia support. It’s important to carefully follow the steps and consult reliable sources for troubleshooting guidance.

Leave a Comment

Your email address will not be published. Required fields are marked *