LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Changing the Monitor refresh rate ? (https://www.linuxquestions.org/questions/linux-hardware-18/changing-the-monitor-refresh-rate-130912/)

24jedi 01-02-2004 01:55 PM

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

h/w 01-02-2004 05:18 PM

you can look at the /etc/X11/XF86-config file (root permission reqd)

lachlan 01-02-2004 08:33 PM

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

darthtux 01-02-2004 08:40 PM

Run
redhat-config-xfree86
or
edit /etc/X11/XF86Config
there will be a Monitor seciton where you can change the refresh rates

tarballedtux 01-02-2004 10:19 PM

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

darthtux 01-02-2004 10:33 PM

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.

tarballedtux 01-02-2004 11:04 PM

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

darthtux 01-02-2004 11:10 PM

I'll try it. Learn something new every day.

24jedi 01-05-2004 11:08 AM

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

24jedi 01-05-2004 02:19 PM

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

nightwulf 01-05-2004 03:20 PM

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

darthtux 01-06-2004 04:52 PM

24jedi,

Exactly what I was referring to in post #4


All times are GMT -5. The time now is 08:46 AM.