You are not logged in.

#1 2008-07-16 17:33:06

Davigetto
Member
From: In your mind
Registered: 2007-05-10
Posts: 266

How can I achieve 75Hz in xorg.conf?

Hello, in Windows, the laptop of my monitor is 1280x800 and 75Hz. In Linux, I can't put the monitor frequency to 75Hz, only to 60Hz. I've attached an screen:

http://img352.imageshack.us/img352/8172/archhzbf5.jpg

What must I do to get 75Hz? I also attach my xorg.conf:

Greetings

Section "ServerLayout"
    Identifier     "Xorg Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "PS/2 Mouse" "CorePointer"
    InputDevice        "Touchpad" "SendCoreEvents"
# Serial Mouse not detected
# USB Mouse not detected
    Option "AIGLX" "true"
EndSection

Section "ServerFlags"
    Option "AllowMouseOpenFail"  "true"
    
EndSection

Section "Files"
  FontPath      "/usr/X11R6/lib/X11/fonts/lingea"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
    FontPath     "/usr/share/fonts/cyrillic"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/ttf/western"
    FontPath     "/usr/share/fonts/ttf/decoratives"
    FontPath     "/usr/share/fonts/truetype"
    FontPath     "/usr/share/fonts/truetype/openoffice"
    FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath     "/usr/share/fonts/latex-ttf-fonts"
    FontPath     "/usr/share/fonts/defoma/CID"
    FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
        Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
EndSection

Section "InputDevice"
   Identifier  "Touchpad"
   Driver      "synaptics"
   Option      "Device" "/dev/input/mouse1"
   Option      "Protocol" "auto-dev"
   Option    "SHMConfig" "on"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
        Option      "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "es"
    Option "XkbVariant" ""
EndSection

Section "InputDevice"
   Identifier      "Tablet"
   Driver          "wizardpen"
   Option "SendCoreEvents" "true"
   Option  "Device"        "/dev/input/event9"
   Option "TopX" "1991"
   Option "TopY" "3635"
   Option "TopZ" "0"
   Option "BottomX" "31072"
   Option "BottomY" "31656"
   Option "BottomZ" "1023"
   Option "MaxX" "31072"
   Option "MaxY" "31656"
EndSection


Section "InputDevice"
    Identifier  "Serial Mouse"
    Driver      "mouse"
    Option      "Protocol" "Microsoft"
    Option      "Device" "/dev/ttyS0"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
    Identifier  "PS/2 Mouse"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option          "ZAxisMapping"          "4 5"
    Option      "Device" "/dev/psaux"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
    Option        "SendCoreEvents"    "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

# Auto-generated by Archie mkxcfg

Section "Monitor"
    Identifier "Monitor0"
    Option "DPMS" "true"
#    HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
    HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
    VertRefresh  75.0 # Very conservative. May flicker.
#    VertRefresh  50.0 - 62.0 # Extreme conservative. Will flicker. TFT default.
    #  Default modes distilled from
    #      "VESA and Industry Standards and Guide for Computer Display Monitor
    #       Timing", version 1.0, revision 0.8, adopted September 17, 1998.
    #  $XFree86: xc/programs/Xserver/hw/xfree86/etc/vesamodes,v 1.4 1999/11/18 16:52:17 tsi Exp $
    # 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz
    #ModeLine "640x480"    25.2  640  656  752  800    480  490  492  525 -hsync -vsync
    # 640x480 @ 72Hz (VESA) hsync: 37.9kHz
    #ModeLine "640x480"    31.5  640  664  704  832    480  489  491  520 -hsync -vsync
    # 640x480 @ 75Hz (VESA) hsync: 37.5kHz
    ModeLine "640x480"    31.5  640  656  720  840    480  481  484  500 -hsync -vsync
    # 640x480 @ 85Hz (VESA) hsync: 43.3kHz
    #ModeLine "640x480"    36.0  640  696  752  832    480  481  484  509 -hsync -vsync
    # 800x600 @ 56Hz (VESA) hsync: 35.2kHz
    #ModeLine "800x600"    36.0  800  824  896 1024    600  601  603  625 +hsync +vsync
    # 800x600 @ 60Hz (VESA) hsync: 37.9kHz
    #ModeLine "800x600"    40.0  800  840  968 1056    600  601  605  628 +hsync +vsync
    # 800x600 @ 72Hz (VESA) hsync: 48.1kHz
    #ModeLine "800x600"    50.0  800  856  976 1040    600  637  643  666 +hsync +vsync
    # 800x600 @ 75Hz (VESA) hsync: 46.9kHz
    ModeLine "800x600"    49.5  800  816  896 1056    600  601  604  625 +hsync +vsync
    # 800x600 @ 85Hz (VESA) hsync: 53.7kHz
    #ModeLine "800x600"    56.3  800  832  896 1048    600  601  604  631 +hsync +vsync
    # 1024x768i @ 43Hz (industry standard) hsync: 35.5kHz
    #ModeLine "1024x768"   44.9 1024 1032 1208 1264    768  768  776  817 +hsync +vsync Interlace
    # 1024x768 @ 60Hz (VESA) hsync: 48.4kHz
    #ModeLine "1024x768"   65.0 1024 1048 1184 1344    768  771  777  806 -hsync -vsync
    # 1024x768 @ 70Hz (VESA) hsync: 56.5kHz
    #ModeLine "1024x768"   75.0 1024 1048 1184 1328    768  771  777  806 -hsync -vsync
    # 1024x768 @ 75Hz (VESA) hsync: 60.0kHz
    
    ModeLine "1024x768"   78.8 1024 1040 1136 1312    768  769  772  800 +hsync +vsync
    # 1024x768 @ 85Hz (VESA) hsync: 68.7kHz
    #ModeLine "1024x768"   94.5 1024 1072 1168 1376    768  769  772  808 +hsync +vsync    
EndSection

# Auto-generated by Archie mkxcfg


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     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    #Option "AperTexSize" "65536" #"32768"
    #Option "Legacy3D" "false"
    #Option "AccelMethod" "XAA"
    #Option "CacheLines" "2000" #"4860"
    #Option "XVideo" "true"
    #Option "TripleBuffer" "true"
    #Option "FrameBufferCompression" "true"
    #Option "DRI"    "true"
    #Option "NoAccel"    "false"
    #Option "DDC" "true"
    #Option "PageFlip" "true" 
    #Option "XvMCSurfaces" "7"
    #Option "XAANoOffscreenPixmaps" "true"
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "All"
    BoardName   "All"
EndSection


Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultColorDepth 16
    SubSection "Display"
        Depth     16
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     32
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "DRI"
    Group "video"
    Mode 0660
EndSection

Section "Extensions"
    Option "Composite" "Enabled"
EndSection

Only deaths can see the end of battles.

Blog: http://djmartinez.co.cc -> The life of a Computer Engineer

Offline

#2 2008-07-16 17:46:52

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: How can I achieve 75Hz in xorg.conf?

For me it worked if I set it to some range with a high latter value, like 50-100.

Offline

#3 2008-07-16 18:24:07

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: How can I achieve 75Hz in xorg.conf?

I know what you mean! I set it up perfectly before in xorg.conf and after the recent Xorg upgrade it goes to 60Hz default making my previous efforts in vain.

Here is what I did:
xrandr
look for highest entry for your resolution, for me it's 1280x1024 and rate is 54.0 (for 75Hz)
Then add xrandr -s 1280x1024 --rate 54 to .xinitrc

If you switch resolutions (I do it sometimes), make sure you use xrandr instead of whatever else you use.
I even made a script for it in dmenu, uses values in xrandr

#!/bin/bash

res=$(echo -e '1280x1024_54\n640x480_53\n1024x768_66\n800x600_70' | dmenu)
eval $(echo $res | sed 's/\(.*\)_\(.*\)/xrandr -s \1 --rate \2/')

Offline

#4 2008-07-16 19:00:59

Davigetto
Member
From: In your mind
Registered: 2007-05-10
Posts: 266

Re: How can I achieve 75Hz in xorg.conf?

It doesn't work, it remains on 60Hz :S


Only deaths can see the end of battles.

Blog: http://djmartinez.co.cc -> The life of a Computer Engineer

Offline

#5 2008-07-16 19:04:49

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: How can I achieve 75Hz in xorg.conf?

If I remember correctly, KDE always misrepresented the monitor frequency. No matter what you do it will report 60Hz. Maybe someone can back me up on this.

Offline

#6 2008-07-17 17:37:00

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 835
Website

Re: How can I achieve 75Hz in xorg.conf?

Check your settings and timings with xvidtune not some presumably broKen application.
To set some frequency (i.e. higher than officialy supported) you would need a correct ModeLine and problably configure X to ignore EDID.


You need to install an RTFM interface.

Offline

#7 2008-07-17 17:47:17

sevenfourk
Member
Registered: 2008-02-21
Posts: 185

Re: How can I achieve 75Hz in xorg.conf?

I had the same problem, but wanted to set up 100Hz, i did

[pts/3]-[~]
[20:46:22]-% sudo hwd -x

this will generate the xorg.conf sample, and in Section "Monitor"there you'll see the line to get the needed frequency. Uncomment the needed one and that's all. At least it helped me greatly.

Last edited by sevenfourk (2008-07-17 17:48:48)


No cause is lost if there is but one fool left to fight for it.

Offline

#8 2008-07-17 18:10:28

KRTac
Member
From: Croatia
Registered: 2008-07-01
Posts: 99

Re: How can I achieve 75Hz in xorg.conf?

skottish wrote:

If I remember correctly, KDE always misrepresented the monitor frequency. No matter what you do it will report 60Hz. Maybe someone can back me up on this.

I can. I have a crt monitor and i run it on 1280x1024. kde always interprets the refresh rate as 50 Hz, but in fact the monitor runs at 75 Hz. I would suggest that you leave it bee, because on lcd's it doesn't matter what refresh rate you're on.

Last edited by KRTac (2008-07-17 18:41:19)

Offline

#9 2008-07-18 00:16:54

Berticus
Member
Registered: 2008-06-11
Posts: 731

Re: How can I achieve 75Hz in xorg.conf?

Davigetto wrote:

Hello, in Windows, the laptop of my monitor is 1280x800 and 75Hz. In Linux, I can't put the monitor frequency to 75Hz, only to 60Hz. I've attached an screen:

Umm...  laptop monitor? So that would be an LCD monitor, correct? You're mixing old concepts with new technology. With LCD monitors, refresh rates mean absolutely nothing. I mean, I suppose a "refresh rate" of an LCD monitor is 60 Hz since that's the frequency of electricity. The reason refresh rates matter with CRT monitors is because they used an electric gun. The refresh rate dictates how fast the gun goes back and forth to show each pixel. LCD monitors on the other hand has a matrix of pixels. Each pixel, to put it very succinctly, programmed. Of course it's a lot more advanced than that, but that's the very, very basic concept. The closest thing to a refresh rate is how long it takes for a row of pixels to be activated, which is referred to as the response time, which you can't control at all. That's all left to the manufacturer and can be benchmarked by turn the whole screen black, white and back to black.

Offline

Board footer

Powered by FluxBB