Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 9339
  • Last Modified:

Refresh rate information xorg.conf monitor

I am running Ubuntu 7.04 and would like to setup my xorg.conf properly with my monitor. The monitor is a Compaq V710 and the problem I have is refresh rates. I would like to run 1152x864 @ 75 Hz (I know this is possible as I duel boot and that is what I run in Windows XP). How do I find out the correct refresh rate information to enter into xorg.conf because at the moment I can only run 1152x864 @ 66 or 67 Hz so I must have it wrong. Here is my xorg.conf:

Section "Device"
      Identifier      "nVidia Corporation NV17 [GeForce4 MX 440]"
      Driver            "nvidia"
      Busid            "PCI:1:0:0"
      Option            "AddARGBVisuals"      "True"
      Option            "AddARGBGLXVisuals"      "True"
      Option            "NoLogo"            "True"
      Option        "UseEdidDpi"              "FALSE"
         Option         "DPI"               "96 x 96"
EndSection

Section "Monitor"
      Identifier      "Generic Monitor"
      ModelName         "COMPAQ V710"
      Option            "DPMS"
      HorizSync      30 - 85
      VertRefresh        50.0 - 160.0
      DisplaySize      289 203
EndSection

Section "Screen"
      Identifier      "Default Screen"
      Device            "nVidia Corporation NV17 [GeForce4 MX 440]"
      Monitor            "Generic Monitor"
      Defaultdepth      24
      SubSection "Display"
            Depth      1
            Modes            "1600x1200"      "1280x1024"      "1024x768"      "800x600"      "720x400"      "640x480"
      EndSubSection
      SubSection "Display"
            Depth      4
            Modes            "1600x1200"      "1280x1024"      "1024x768"      "800x600"      "720x400"      "640x480"
      EndSubSection
      SubSection "Display"
            Depth      8
            Modes            "1600x1200"      "1280x1024"      "1024x768"      "800x600"      "720x400"      "640x480"
      EndSubSection
      SubSection "Display"
            Depth      15
            Modes            "1600x1200"      "1280x1024"      "1024x768"      "800x600"      "720x400"      "640x480"
      EndSubSection
      SubSection "Display"
            Depth      16
            Modes            "1600x1200"      "1280x1024"      "1024x768"      "800x600"      "720x400"      "640x480"
      EndSubSection
      SubSection "Display"
            Depth      24
            Modes            "1600x1200"      "1280x1024"      "1024x768"      "800x600"      "720x400"      "640x480"
      EndSubSection
EndSection

Oh and the graphics board device is no longer an "nVidia Corporation NV17 [GeForce4 MX 440]" I upgraded to a 6800 gs but am assuming that doesn't matter, if it does, how do I know what to put there instead?

Thank you

Simon
0
Si-moo
Asked:
Si-moo
  • 2
2 Solutions
 
LuxanaCommented:
rather than editing xorg.conf file by hand use dpkg to reconfigure x server.

http://www.linuxconfig.org/Reconfigure_xorg_X_Window_System_on_debian_and_ubuntu

hope this helps
0
 
nedvisCommented:
Re-running dpkg-reconfigure xserver-xorg tool in order to create new xorg.conf  display configuration file (xorg.conf)
does not necessarily bring the best result since new calculation creates only basic file  with no additional configuration informations.
And you need exactly that : an additional information about refresh rate(s) and corresponding screen resolutions you have to add
to your xorg.conf file .
The line(s) that are usually missing in basic/generic xorg.conf file refer to so called Modeline values that set correct refresh rate for each screen resolution you might wish to use with your monitor.
Linux ( and xorg developers) have created Modeline generators that calculate correct values for refresh rate you can later insert in your
xorg.conf file by manually editing file.
As I said you can try couple other tools ( besides dpkg-reconfigure xserver-xorg) as well to get more granular control over display configuration and I will give you the  links  to our very good modeline generators you can find on Internet .  
very simple yet very accurate one :  http://www.bohne-lang.de/spec/linux/modeline/
more precise xtiming generator: http://xtiming.sourceforge.net/cgi-bin/xtiming.pl
Zaph modeline generator: http://zaph.com/Modeline/
and Koala generator :http://koala.ilog.fr/cgi-bin/nph-colas-modelines

Refer to your Compaq V710 users manual to obtain manufacturers monitor specifications ( horizontal and vertical refresh and sync rates) fill corresponding boxes in WEB modeline generators. Don't forget selecting wrong refresh frequence can   dammage your monitor
cathode ray tube.
Once you get modeline values as root launch your favorite text editor
and open /etc/X11/xorg.conf file for editing.
(REMEMBER to make xorg.conf backup file e.g.  :     cp   /etc/X11/xorg.conf    etc/X11/xorg.conf.old
COPY modeline you've got from modeline generator
( for example :  Modeline "1024x768" 81.54  1024 1064 1168 1352   768  768  770  804 )
navigate to the line in xorg.conf file in your default colour depth section ( maybe 24 or 16 ) , PASTE the line and save file.
To activate new Xserver configuration  press  Ctrl+Alt+Backspace  keys all at the same time ( keyboard shortcut for restarting Xserver).


good luck
and enjoy better screen refresh rate


 
0
 
nedvisCommented:
According to your current xorg.conf file your default colour depth is 24 ( millions of colours) .
If so you can add (insert) three modeline command lines ( labeled  #600x1200@65Hz , #1600x1200@70Hz and 1600x1200@75Hz )
 for 65 Hz , 70 Hz and 75 Hz refresh rates in
 Section "Monitor"
right after line that reads : DisplaySize      289 203 and right before line that reads : EndSection:

ModeLine "1600x1200" 162.0   1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
#1600x1200 @ 65Hz hsync:  81.3kHz
ModeLine "1600x1200" 175.5   1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
# 1600x1200 @ 70Hz  hsync: 87.5kHz
ModeLine "1600x1200" 189.0   1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
# 1600x1200 @ 75Hz  hsync: 93.8kHz

=====================================================================================================
Note: this is only an example, you monitor might not be able to do 1664X1201 or 1856X1204 and 2160X1250 pixels resolutions
in 65-75 Hz refresh rates.
=====================================================================================================

Ubuntu Linux specific xserver-xorg configuration steps:
http://ubuntuforums.org/showthread.php?t=83973
0
 
Si-mooAuthor Commented:
Thank you so much! I never really understood how to use mode lines properly. One thing that is a little confusing; the Gnome screen resolution changer caused me to think things weren't working for a while as it's refresh rate options seem to bear no relevance to anything, listed were rates like 50 and 54 etc. Checking the monitors OSD I realized it had worked. Could it be my xorg.conf is wrong?

Here it is if you don't mind taking a quick look:

Section "Monitor"
      Identifier      "Generic Monitor"
      ModelName         "COMPAQ V710"
      Option            "DPMS"
      HorizSync      30 - 85
      VertRefresh        50.0 - 160.0
      DisplaySize      289 203
      Modeline "800x600@120" 91.85 800 832 1176 1208 600 609 621 631
      Modeline "1024x768@100" 126.64 1024 1056 1536 1568 768 781 794 807
      Modeline "1152x864@85" 132.80 1152 1184 1688 1720 864 880 892 908
      Modeline "1280x1024@75" 156.43 1280 1312 1904 1936 1024 1043 1056 1076
EndSection

Section "Screen"
      Identifier      "Default Screen"
      Device            "nVidia Corporation NV17 [GeForce4 MX 440]"
      Monitor            "Generic Monitor"
      Defaultdepth      24
      SubSection "Display"
            Depth      1
            Modes            "1280x1024"      "1152x864"      "1024x768"      "800x600"
      EndSubSection
      SubSection "Display"
            Depth      4
            Modes            "1280x1024"      "1152x864"      "1024x768"      "800x600"
      EndSubSection
      SubSection "Display"
            Depth      8
            Modes            "1280x1024"      "1152x864"      "1024x768"      "800x600"
      EndSubSection
      SubSection "Display"
            Depth      15
            Modes            "1280x1024"      "1152x864"      "1024x768"      "800x600"
      EndSubSection
      SubSection "Display"
            Depth      16
            Modes            "1280x1024"      "1152x864"      "1024x768"      "800x600"
      EndSubSection
      SubSection "Display"
            Depth      24
            Modes            "1280x1024"      "1152x864"      "1024x768"      "800x600"
      EndSubSection
EndSection

Thanks again

Simon
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now