[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian Sarge screen refresh rate



On 9/12/06, Mumia W. <mumia.w.18.spam+nospam@earthlink.net> wrote:
On 09/12/2006 03:07 AM, Rocky Ou wrote:
> On 9/6/06, Mumia W. <mumia.w.18.spam+nospam@earthlink.net> wrote:
>> On 09/06/2006 02:57 AM, Rocky Ou wrote:
>> > Hey,
>> >
>> > I used dpkg-reconfigure xserver-xfree86 to configure my monitor refresh
>> > rate
>> > to Vertical 70-75 and Horizontal 80-85. in /etc/X11/XFConfig86-4 it
>> shows
>> > what I just configured with dpkg-reconfigure. The problem is it
>> actually
>> > does not act that way. The actual refresh rate is far more less. It is
>> > not a
>> > laptop and it is not LCD screen. Can any of you help me please? BTW,
>> > aptitude update and aptitude upgrade does not help neither.
>> >
>> > Thanks a lot in advance!
>> > Rocky
>> >
>>
>> Find out the actual refresh rates and plug them into
>> XF86Config-4. You can probably find this information in your
>> user manual for the device, or you can check the
>> manufacturer's or vendor's web site.
>>
>>
>>
>
> I searched the refresh rate for my monitor and it tells me the max
> resolution and refresh rate is 1028*1024 I really do not understand
> how to convert this into Xserver config.
>
> Below is my xserverconfig file but my monitor is using 1028*768 as
> resolution and some bad refresh rate which hurts my eyes.
>
> Can any of you help me please?
>
> -----------------snip begin-----------------
>
> # XF86Config-4 (XFree86 X Window System server configuration file)
> #
> # This file was generated by dexconf, the Debian X Configuration tool,
> using
> # values from the debconf database.
> #
> # Edit this file with caution, and see the XF86Config-4 manual page.
> # (Type "man XF86Config-4" at the shell prompt.)
> #
> # This file is automatically updated on xserver-xfree86 package upgrades
> *only*
> # if it has not been modified since the last upgrade of the xserver-xfree86
> # package.
> #
> # If you have edited this file but would like it to be automatically
> updated
> # again, run the following commands as root:
> #
> #   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
> #   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
> #   dpkg-reconfigure xserver-xfree86
>
> Section "Files"
>     FontPath    "unix/:7100"            # local font server
>     # if the local font server has problems, we can fall back on these
>     FontPath    "/usr/lib/X11/fonts/misc"
>     FontPath    "/usr/lib/X11/fonts/cyrillic"
>     FontPath    "/usr/lib/X11/fonts/100dpi/:unscaled"
>     FontPath    "/usr/lib/X11/fonts/75dpi/:unscaled"
>     FontPath    "/usr/lib/X11/fonts/Type1"
>     FontPath    "/usr/lib/X11/fonts/CID"
>     FontPath    "/usr/lib/X11/fonts/Speedo"
>     FontPath    "/usr/lib/X11/fonts/100dpi"
>     FontPath    "/usr/lib/X11/fonts/75dpi"
> EndSection
>
> Section "Module"
>     Load    "GLcore"
>     Load    "bitmap"
>     Load    "dbe"
>     Load    "ddc"
>     Load    "dri"
>     Load    "extmod"
>     Load    "freetype"
>     Load    "glx"
>     Load    "int10"
>     Load    "record"
>     Load    "speedo"
>     Load    "type1"
>     Load    "vbe"
> EndSection
>
> Section "InputDevice"
>     Identifier    "Generic Keyboard"
>     Driver        "keyboard"
>     Option        "CoreKeyboard"
>     Option        "XkbRules"    "xfree86"
>     Option        "XkbModel"    "pc104"
>     Option        "XkbLayout"    "us"
> EndSection
>
> Section "InputDevice"
>     Identifier    "Configured Mouse"
>     Driver        "mouse"
>     Option        "CorePointer"
>     Option        "Device"        "/dev/psaux"
>     Option        "Protocol"        "ImPS/2"
>     Option        "Emulate3Buttons"    "true"
>     Option        "ZAxisMapping"        "4 5"
> EndSection
> Section "InputDevice"
>     Identifier    "Generic Mouse"
>     Driver        "mouse"
>     Option        "SendCoreEvents"    "true"
>     Option        "Device"        "/dev/input/mice"
>     Option        "Protocol"        "ImPS/2"
>     Option        "Emulate3Buttons"    "true"
>     Option        "ZAxisMapping"        "4 5"
> EndSection
>
> Section "Device"
>     Identifier    "Generic Video Card"
>     Driver        "vesa"
> EndSection
>
> Section "Monitor"
>     Identifier    "TRZ:b32f"
>     HorizSync    65-70
>     VertRefresh    80-85
>     Option        "DPMS"
>  Gamma   1.70  1.70  1.70  # created by KGamma
> EndSection
>
> Section "Screen"
>     Identifier    "Default Screen"
>     Device        "Generic Video Card"
>     Monitor        "TRZ:b32f"
>     DefaultDepth    24
>     SubSection "Display"
>         Depth        1
>         Modes        "800x600" "640x480"
>     EndSubSection
>     SubSection "Display"
>         Depth        4
>         Modes        "800x600" "640x480"
>     EndSubSection
>     SubSection "Display"
>         Depth        8
>         Modes        "800x600" "640x480"
>     EndSubSection
>     SubSection "Display"
>         Depth        15
>         Modes        "800x600" "640x480"
>     EndSubSection
>     SubSection "Display"
>         Depth        16
>         Modes        "800x600" "640x480"
>     EndSubSection
>     SubSection "Display"
>         Depth        24
>         Modes        "800x600" "640x480"
>     EndSubSection
> EndSection
>
> Section "ServerLayout"
>     Identifier    "Default Layout"
>     Screen        "Default Screen"
>     InputDevice    "Generic Keyboard"
>     InputDevice    "Configured Mouse"
>     InputDevice    "Generic Mouse"
> EndSection
>
> Section "DRI"
>     Mode    0666
> EndSection
> ---------------------snip end ------------------------
>
> What command I can use so that I can find out my graphic card info and
> therefore find the right driver for it? dpkg-reconfigure
> xserver-xfree86 give me a long list of available drivers, how can I
> know what should I use please?
>
> Thanks a lot!
> Rocky
>

Keep correspondence on the list for your benefit and the
benefit of others.

The predefined modes such as 1024*768 depend upon correct
horizontal sync rate and vertical refresh rate. See "man
XF86Config-4"; in your XF86Config-4, HorizSync is 65-70, and
VertRefresh is 80-85. Neither of these may be correct; check them.

You get the correct horizontal and vertical refresh rates from
your monitor manual. Without them X is unable to correctly
determine which video modes work on your monitor.

HTH



Thanks very much for the reply!

I found the vertical and horizontal refresh rates from vendor's
website and input them into the XF86Config-4 and I could change the
resolution now. The problem is that it seem the refresh rate is still
too low. I think maybe the graphic driver I choose was wrong. Can any
of you tell me what command I can use to see which graphic card I'm
using please? Plus, If any of you could give me a hint on how to
select the driver from that long list, I would really appreciate it?

Thanks,
Rocky



Reply to: