LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-02-2004, 02:55 PM   #1
24jedi
Member
 
Registered: Jul 2003
Location: Richmond, VA
Distribution: LinuxLite
Posts: 77

Rep: Reputation: 15
Changing the Monitor refresh rate ?


OS...RH9.0
Monitor...Optiquest Q51-3
H refresh rate 30-56 kHz
V refresh rate 50-120 Hz
dpi setting 73 x 73
Video Card NVIDIA GeForce 2 MX Generic

My purpose for this has to do with switching from computer-to-computer via a KVM switch.

I have four systems at my desk.
Three are windows systems all setup with 60HZ refresh rates
From these systems, it is easy to change the refresh rates

I am confused about the RH box.

Do I manually change the Vertical range from 50-120 >> 60,
or is there more to it.

Thanks
Don
 
Old 01-02-2004, 06:18 PM   #2
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
you can look at the /etc/X11/XF86-config file (root permission reqd)
 
Old 01-02-2004, 09:33 PM   #3
lachlan
Member
 
Registered: Jan 2002
Location: New Zealand
Distribution: Mandrake 9.1,Suse 8.2
Posts: 139

Rep: Reputation: 15
In a console (su),try running either xf86config for XFree 3,or xf86cfg for XFree 4.You can then alter your vertical and horizontal sync. rates.

Lachlan
 
Old 01-02-2004, 09:40 PM   #4
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
Run
redhat-config-xfree86
or
edit /etc/X11/XF86Config
there will be a Monitor seciton where you can change the refresh rates
 
Old 01-02-2004, 11:19 PM   #5
tarballedtux
Member
 
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Rep: Reputation: 30
Not exactly. To my knowledge and the XF86Config file backs me up on this. The refresh rates stated in the monitor section don't dictate the refresh that your speaking of. If your running KDE and your monitor and video card are set up right you can change the refresh rates easily. (Control Center->Peripherals->Screen) If not you can edit the XF86Config file like so:

.
.
..
Subsection "Display"
Depth 24
Modes "1280x1024/70Hz" "800x600" "1024x768" "1280x1024" "640x480"
ViewPort 0 0 # initial origin if mode is smaller than desktop
Virtual 0 0
EndSubsection
..
.
.


See the /70 that should be the indicator as to how the refresh rate is set.


--tarballedtux
 
Old 01-02-2004, 11:33 PM   #6
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
So you're saying their in the Monitor section for no reason whatsoever and have to be added to the Screen section? That isn't the way the config program adds it to the XF86Config file.
 
Old 01-03-2004, 12:04 AM   #7
tarballedtux
Member
 
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Rep: Reputation: 30
I'm saying the refresh numbers listed in the Monitor section reference numbers that don't pertain the original question. There is a difference in the refresh rates in the Monitor and the Display section. Example my Monitor section says Vertical Refresh 50 - 150, but I can't set it that high. That would kill my monitor and my eyes.

--tarballedtux
 
Old 01-03-2004, 12:10 AM   #8
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
I'll try it. Learn something new every day.
 
Old 01-05-2004, 12:08 PM   #9
24jedi
Member
 
Registered: Jul 2003
Location: Richmond, VA
Distribution: LinuxLite
Posts: 77

Original Poster
Rep: Reputation: 15
tarballedtux...

RedHat 9.0 w/ GNOME

I went into etc/X11/XF86Config to the following section

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor"Monitor0"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "800x600"
EndSubSection
EndSection

Modified Modes "800x600/60Hz"

Reboot the machine
At root ran "startx"
Received an error...No server found (can't get into GUI)
Backed-out the modification and startx worked fine.

Also tried Modified Modes "800x600/60Hz" "600x480"

This resulted in X going to 600 x 480

incidentally, under section "monitor" the information I included above is listed
Quote:
Monitor...Optiquest Q51-3
H refresh rate 30-56 kHz
V refresh rate 50-120 Hz
dpi setting 73 x 73
 
Old 01-05-2004, 03:19 PM   #10
24jedi
Member
 
Registered: Jul 2003
Location: Richmond, VA
Distribution: LinuxLite
Posts: 77

Original Poster
Rep: Reputation: 15
The solution for me was to edit /etc/X11/XF86Config

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Optiquest Q51-3"
DisplaySize 280 210
HorizSync 30.0 - 56.0
VertRefresh 60.0 - 60.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nv"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 2 MX (generic)"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection

I can't explain why, but the following did not work
Quote:
Subsection "Display"
Depth 24
Modes "1280x1024/70Hz" "800x600" "1024x768" "1280x1024" "640x480"
ViewPort 0 0 # initial origin if mode is smaller than desktop
Virtual 0 0
EndSubsection
I did however learn a little more about linux
Thanks
 
Old 01-05-2004, 04:20 PM   #11
nightwulf
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
Specific "ModeLine" statements can be added to XF86Config to control refresh rates for different resolutions. The command-line utility gtf (should be included with X) can help determine correct ModeLine statements.

Regards,
nightwulf
 
Old 01-06-2004, 05:52 PM   #12
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
24jedi,

Exactly what I was referring to in post #4
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing Monitor Refresh Rate?? smokinJO Linux - Hardware 1 11-25-2005 02:02 PM
monitor refresh rate evrenulusoy Linux - Hardware 4 10-02-2004 12:41 PM
Monitor refresh rate [?] Slackware 4 02-02-2004 04:38 PM
Monitor refresh rate Aurra Sing Linux - Software 1 04-29-2003 02:55 AM
Changing Monitor refresh rate in RH8.0 BrokenLinux Linux - General 3 01-15-2003 04:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration