View Full Version : Refresh rate
ashesofpain
03-18-2008, 03:20 PM
Just installed PCBSD 1.5 Edison edition... selected the nvidia 169 video driver and a resolution of 1280x1024 ... but it runs in 50Hz and I hate it... I want to run it in 75Hz, because in 50Hz the system makes a small very high pitch noise and it drives me crazy.
I have a P4 2.8HT and a GF7600GS video card... where do I manually set the refresh rate for the graphical interface?
TerryP
03-18-2008, 07:36 PM
I know that noise.... I run my desktop at 1600x1200 and my games at 1024x768. I had to tune down the reresh rate to syncronize it because between Windows and the Unreal Engine it was getting it mangled :\
You can set the refresh reate manually in /etc/X11/xorg.conf, can you post a copy of it here ?
ashesofpain
03-18-2008, 07:37 PM
# Xorg.conf file generated for PC-BSD
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/local/lib/X11/rgb"
ModulePath "/usr/local/lib/xorg/modules"
FontPath "/Programs/fonts/"
FontPath "/usr/local/lib/X11/fonts/cyrillic/"
FontPath "/usr/local/lib/X11/fonts/TrueType/"
FontPath "/usr/local/lib/X11/fonts/webfonts/"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/CID/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/dejavu/"
FontPath "/usr/local/lib/X11/fonts/local/"
EndSection
Section "Module"
Load "ddc"
Load "dbe"
Load "extmod"
Load "glx"
Load "xtrap"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "Buttons" "6"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Generic Monitor"
ModelName "Generic"
HorizSync 28.0-80
VertRefresh 50.0-76.0
EndSection
Section "Device"
### Available Driver options are:-
### Values: [i]: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
Option "HWcursor" "True" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # [i]
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # [i]
#Option "FPScale" # [<bool>]
#Option "FPTweak" # [i]
Option "AllowGLXWithComposite" "True"
Option "RenderAccel" "True"
Option "AddARGBGLXVisuals" "True"
Option "DamageEvents" "True"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
ashesofpain
03-18-2008, 07:55 PM
Well I changed
"HorizSync 28.0-80
VertRefresh 50.0-76.0"
with
"HorizSync 28.0-80
VertRefresh 75.0-76.0"
and my monitor now reports a vertical refresh rate of 75Hz... but that high pitch noise is still going on and it drives me crazy. It appears once every 4-5 seconds and it dissapears again... it's like the noise comes on when the processor/videocard is thinking...
I can't understand why this noise does not appear in Windows and it appears in PCBSD . It doesn't appear in OpenSuse either... or Ubuntu.
Opinions anyone?
TerryP
03-18-2008, 09:09 PM
I've only had the noise in Windows, the best I can figure out is some thing to do with how the monitor handles the resolution & refresh rate it is given. And when I've gotten it always until I lowered my refresh rate or changed my resolution.
I used this to calcuate a modeline (http://xtiming.sourceforge.net/cgi-bin/xtiming.pl) and repeat its "Use this modeline at your own risk." message lol.
Section "Monitor"
Identifier "Monitor0"
VendorName "Generic Monitor"
ModelName "Generic"
#HorizSync 28.0-80
#VertRefresh 50.0-76.0
Modeline "1280x1024@75" 156.43 1280 1312 1904 1936 1024 1043 1056 1076
EndSection
If that doesn't work I can only suggest making sure to set the HorizSync VertRefresh to the monitor specs or trying a different refresh rate.
Does your monitor have any notes about the H/V refresh rates in the manual or on the back by any chance? (it's wonderful when they label it in back so we don't have to fetch our manuals lol).
ashesofpain
03-18-2008, 11:04 PM
Yes they are on the back and I did enter them... thanks for your help.
But the sound will not go away. It has something to do with how PCBSD uses my CPU and Video card...
P.S. That doesn't matter either... the sound is being made by the video card. A quick wrap with isolation tape on one of the coils present on the video card resolved the problem.
Thanks for the help!
TerryP
03-19-2008, 08:40 AM
Hmm, strange I'll have to write that one down thanks.
dcross
04-30-2008, 01:34 AM
In this vein, I have a similar weirdity. X11 claims my monitor is running at 50 Hz, but its OSD tells me I am at 60 Hz. The monitor is a Samsung 2253BW.
Horizontal freq is specified as being from 30-81 kHz.
Vertical freq is specified as being from 56-75 Hz.
(Samsung's website)
I specifically input these values when first configuring X11 with the included nvidia 169 driver, so I'm not sure what's going on here. I tried the modeline calculator but according to it 50 Hz really is the maximum. *puzzle*
Just installed PCBSD 1.5 Edison edition... selected the nvidia 169 video driver and a resolution of 1280x1024 ... but it runs in 50Hz and I hate it... I want to run it in 75Hz, because in 50Hz the system makes a small very high pitch noise and it drives me crazy.
I have a P4 2.8HT and a GF7600GS video card... where do I manually set the refresh rate for the graphical interface?
You set the rates in section Monitor of your /etc/X11/xorg.conf
Your monitor comes with the user manual in which you can find its refreshing rates. If you do not have the manual the hardware manufacturer probably put those information on line.
Section "Monitor"
#DisplaySize 320 240 # mm
### Comment all HorizSync and VertRefresh values to use DDC:
Identifier "Monitor0"
VendorName "DEL"
ModelName "DELL E773c"
### Comment all HorizSync and VertRefresh values to use DDC:
HorizSync 30 - 70
VertRefresh 50.0 - 120.0
Option "DPMS"
EndSection
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.