Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Monitor refresh rates: xrandr vs. xorg.conf
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
RoundsToZero
Guru
Guru


Joined: 17 Nov 2003
Posts: 478
Location: New York, NY

PostPosted: Thu Aug 23, 2007 2:14 pm    Post subject: Monitor refresh rates: xrandr vs. xorg.conf Reply with quote

My monitor can do 85 Hz with 1024x768. This is reported by the xrandr tool and it works without problems. However, the X server always starts up at 75 Hz and I have to change it with xrandr. I was wondering if this could be because in xorg.conf, the refresh rate range does not go up to 85. I copied the values straight from the manual for my monitor, so I know they're correct. Would it be safe to push those values higher to see if it will let 85 Hz be selected automatically?

This is with GeForce4 FX 5500, the nv driver, 17" CRT monitor, latest stable X.org.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Thu Aug 23, 2007 3:58 pm    Post subject: Reply with quote

Can you post your /etc/X11/xorg.conf, because maybe you have insert an invalide hoz refresh or vert refresh rate and X.ORG just ajust to the best possible value.
Back to top
View user's profile Send private message
RoundsToZero
Guru
Guru


Joined: 17 Nov 2003
Posts: 478
Location: New York, NY

PostPosted: Fri Aug 24, 2007 2:11 am    Post subject: Reply with quote

Looks like the horizontal sync actually only goes to 70, so who knows why 75 Hz was the actual setting the X server came up in.

Code:

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"
    Load        "dbe"

    SubSection "extmod"
      Option    "omit xfree86-dga"
    EndSubSection

    Load        "type1"
    Load        "freetype"
EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
#

    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/util/"
    FontPath   "/usr/share/fonts/xawtv/"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/corefonts/"
    FontPath   "/usr/share/fonts/local/"
    FontPath   "/usr/share/fonts/ttf-bitstream-vera/"
    FontPath   "/usr/share/fonts/100dpi/"

EndSection
# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"
    Option      "AIGLX" "false"

#    Option "NoTrapSignals"
#    Option "DontVTSwitch"
#    Option "DontZap"
#    Option "Dont Zoom"
#    Option "DisableVidModeExtension"
#    Option "AllowNonLocalXvidtune"
#    Option "DisableModInDev"
#    Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option      "AutoRepeat"    "500 30"
    Option      "XkbRules"      "xorg"
    Option      "XkbModel"      "pc104"
    Option      "XkbLayout"     "us"
EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"
    Identifier  "Mice"
    Driver      "mouse"
    Option      "Protocol"      "Auto"
    Option      "Device"        "/dev/input/mice"
    Option      "ZAxisMapping"  "4 5"
EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
    Identifier  "ViewSonic A75s"
    HorizSync   30-70
    VertRefresh 50-180
    Option      "DPMS"  "true"
EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
    Identifier  "nVidia GeForce FX5500"
    Driver      "nv"
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Main Screen"
    Device      "nVidia GeForce FX5500"
    Monitor     "ViewSonic A75s"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen      "Main Screen"
    InputDevice "Mice"          "CorePointer"
    InputDevice "Keyboard1"     "CoreKeyboard"
EndSection
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Fri Aug 24, 2007 3:04 am    Post subject: Reply with quote

Comments theses 2
#HorizSync 30-70
#VertRefresh 50-180

And retry... I know that X.ORG can find by his own the setting of the screen :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum