how to adjust refresh rate?

cedric cedric.de.wijs at softhome.net
Wed Feb 4 01:00:40 PST 2004


On Wednesday 04 February 2004 03:41, manchot wrote:
> I have repeatedly asked the question about how to change
> refresh rate for xwindows.
>
> I am provided with answers like xvidtune or keyboard strokes of Ctrl+
> +/- or the ultimate solution of XFree86 manual.
>
> But these methods can't do the job for me. Especially XFree86 manual is
> a hard nut.
>
> I found a xtiming calculator on the web and it does everything I need. I
> want to share the link and if you know a better one to change refresh
> rate painlessly, please tell me. Not everyone is enjoying LCDs.

I have indeed an lcd, but it reports the wrong refreshrate to xfree86. 
Therefore xfree86 sends 1280,1024 at 75HZ, while i want 1280x1024 at 60HZ. The ad 
conversion works better then.

Here's the working bit of my config:
Section "Monitor"
        #DisplaySize      330   270     # mm
        Identifier   "Monitor0"
        VendorName   "LTN"
        ModelName    "B17AAH/S"
        Option      "DPMS"
        ModeLine "1280x1024"   108.00   1280 1348 1460 1700   1024 1025 1028 
1066 +hsync +vsync
        VertRefresh 60
EndSection

Don't worry about the modeline, it's there to get the timing signals in sync 
with my framebuffer.
 

>
> http://xtiming.sourceforge.net/cgi-bin/xtiming.pl
>
> But here comes another question:
>
> With a framebuffer enabled console and bootsplash, the screen is again
> flickering and does anyone know how to set refresh rate in vesafb consoles?

Don't know, but i sure wanna know!
Hope this helps,
Regards, Cedric

P.S. here's my complete config file:
#"1280x1024"   108.00   1280 1352 1464 1700   1024 1025 1028 1066 +hsync 
+vsync
#"1280x1024"   108.00   1280 1348 1460 1700   1024 1025 1028 1066 +hsync 
+vsync
Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
        Load  "extmod"
        Load  "glx"
        Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "speedo"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "ImPS/2"
        Option      "Device" "/dev/mouse"
        Option          "ZAxisMapping"  "4 5"
EndSection

Section "Monitor"
        #DisplaySize      330   270     # mm
        Identifier   "Monitor0"
        VendorName   "LTN"
        ModelName    "B17AAH/S"
        Option      "DPMS"
        ModeLine "1280x1024"   108.00   1280 1348 1460 1700   1024 1025 1028 
1066 +hsync +vsync
        VertRefresh 60
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"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option             #Option     "VideoKey"                  # <i>
        #Option     "FlatPanel"                 # [<bool>]
        #Option     "FPDither"                  # [<bool>]
        #Option     "CrtcNumber"                # <i>
        Option "NoLogo" "true"
        Identifier  "Card0"
        #Driver      "nv"  #zonder 3d acceleratie
        Driver      "nvidia" #met 3d acceleratie
        VendorName  "nVidia Corporation"
        BoardName   "NV11 [GeForce2 MX/MX 400]"
        BusID       "PCI:0:15:0"
EndSection

Section "Screen"
        DefaultDepth 24 #was 16
        #DefaultDepth 8 #voor wine/starcraft
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Depth     1
        EndSubSection
        SubSection "Display"
                Depth     4
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes   "640x480"
        EndSubSection
        SubSection "Display"
                Depth     15
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes "1280x1024 640x480"
        EndSubSection
EndSection
"UseFBDev"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]


-- 
No microsoft products were used for this e-mail




More information about the blfs-support mailing list