[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now


Changing the refresh rate in fedora 2

Posted on 2004-10-02
Medium Priority
Last Modified: 2013-12-06
Hi all,
 I could not find refresh rate in Display settings.
 How can i change the refresh rate on Linux(Fedora Core 2)?

Thanks in advance.
Question by:manish_regmi
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
  • 2

Expert Comment

ID: 12206625
Hi :-)

Vertical refresh rate is one of the frequent pains i get from X, specifically when I try to use it with an old screen.

The easiest way to change the refresh rate I know is to edit the file

Look up the word: VertRefresh
Modify the higher value to you monitor's maximum vertical refresh rate.
These settings apply when you restart the X server (CTRL-ALT-BackSpace should do the trick)

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Sony CPD-100SX"
        DisplaySize  280        210
        HorizSync    30.0 - 65.0
        VertRefresh  50.0 - 120.0
        Option      "dpms"

Another thing you can do while you're editing the file is to modify the maximum screen resolution. Look below in section "Screen" - you can modify the resolution modes there:
Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1024x768" "800x600" "640x480"

You can switch resolution modes with CTRL+ALT+Kepad+ and CTL+ALT+Keypad-

LVL 44

Accepted Solution

Karl Heinz Kremer earned 1000 total points
ID: 12206626
AFAIK FC2 does not give you direct access to the refresh rate. Make sure that you specify the properties of your monitor (e.g. valid ranges of horizontal and vertical rates), then use system-config-display to setup the resolution and color depth. This program is supposed to come up with the best settings - meaning the hightest possible refresh rate for a given setting. If this does not work, you can always modify the settings manually in /etc/X11/xorg.conf

This page http://www.tldp.org/HOWTO/text/XFree86-Video-Timings-HOWTO and this program/tool http://www.dkfz-heidelberg.de/spec/linux/modeline/index.html.en will help to do it manually.

Author Comment

ID: 12206702
Thanks for your input.

 But i want to make the refresh rate exactly 100HZ.
Like in windows we do from display properties.

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 12206738
This means that you have to deal with the modline configuration manually. Look into the HOWTO I linked to.

Assisted Solution

e-tsik earned 1000 total points
ID: 12206748

X already selects the highest vertical refresh it can match with the possible refresh rates it thinks the display card supports.

VertRefresh  100.0 - 100.0

Should do the trick, although it may also make your X server unusable because it wouldn't be able to find a suitable refresh rate matching X's own modes.

Windows has an excellent mode-switching system because all the drivers and monitors are designed to be used on Windows. To achieve the same on Linux, you would have to read the exact refresh-rate/modes your display card manufacturer supports and then match them with the refresh-rate/modes your screen supports.

You could also try
VertRefresh  98.0 - 102.0


Author Comment

ID: 12206759
 Now, i have generated the modline from the link you gave

For 800x600 at 100HZ, it gives,


Horizontal Resolution:  800  
Vertical Resolution:  600  

   Vertical Refresh Rate:  100.00 Hz  
Horizontal Refresh Rate:  63.83 KHz  
Dot Clock Frequence:  68.94 MHz  

# V-freq: 100.00 Hz  // h-freq: 63.83 KHz
Modeline "800x600" 68.94   800  840  928 1080   600  600  602  638

Now should i change the "modes"(or tell me which line to change) line in x.org to above value(Modeline "800x600" 68.94   800  840  928 1080   600  600  602  638 ).
But will it harm? I am sure it(800x600 at 100HZ) works in windows.


Author Comment

ID: 12206764
hi e-tsik,
 I will try that and return tomorrow.

LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 12206773
If you already have a modline for 800x600 in your config file, just comment out the existing line and add the new one right after the original one (which now is commented out). Give it a try. A multi-sync monitor should not get damaged by this. Don't do something like this with fixed frequency monitors!
If it does not work, you can alwasy stop X by using Ctrl-Alt-backspace

Author Comment

ID: 12206792
hi khkremer and e-tsk,
 I will try the suggestions and return tomorrow.


Author Comment

ID: 12210339
hi khkremer and e-tsk,
 Both of your suggestions worked. But e-tsk's idea does not work for all values as he said.

Thanks for your help

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question