Linux find out monitor VertRefresh values and HorizSync rate with ddcprobe

Posted on in Categories , , , , last updated May 20, 2007

Q. I don’t have manual for my monitor and I need to find out my monitors VertRefresh values and HorizSync rate under Debian or Ubuntu Linux. Can you explain name of the command that will display this information?

A. You need to use command called ddcprobe to detect monitor and video-card memory. This command also displays:
=> Monitor name
=> Monitor VertRefresh values and HorizSync rates range
=> dpms etc

Please note that ddcprobe command also available under
a) Redhat Enterprise Linux
b) Fedora Core
c) Debian Linux
d) CentOS and other Linux distros

Task: Install ddcprobe

You need to install ddcprobe command, enter:
$ sudo apt-get install xresprobe
# sudo apt-get install xresprobe

Now you can type ddcprobe command:
$ sudo ddcprobe | less
Sample Output:

vbe: VESA 3.0 detected.
oem: Intel(r)845G/845GL/845GE/845GV Graphics Chip Accelerated VGA BIOS
vendor: Intel Corporation
product: Intel(r)845G/845GL/845GE/845GV Graphics Controller Hardware Version 0.0
memory: 8000kb
mode: 1280x1024x256
mode: 1280x1024x64k
mode: 1280x1024x16m
mode: 1024x768x256
mode: 1024x768x64k
mode: 1024x768x16m
mode: 640x480x16m
mode: 800x600x64k
mode: 800x600x16m
mode: 640x480x256
mode: 800x600x256
mode: 640x480x64k
edid: 1 3
id: 941f
eisa: VSC941f
serial: dadb6101
manufacture: 15 2007
input: sync on green, analog signal.
screensize: 41 26
gamma: 2.200000
dpms: RGB, active off, no suspend, no standby
timing: [email protected] Hz (VGA 640x400, IBM)
timing: [email protected] Hz (XGA2)
timing: [email protected] Hz (VGA)
timing: [email protected] Hz (Mac II, Apple)
timing: [email protected] Hz (VESA)
timing: [email protected] Hz (VESA)
timing: [email protected] Hz (VESA)
timing: [email protected] Hz (VESA)
timing: [email protected] Hz (VESA)
timing: [email protected] Hz (Mac II)
timing: [email protected] Hz Interlaced (8514A)
timing: [email protected] Hz (VESA)
timing: [email protected] Hz (VESA)
timing: [email protected] (VESA)
ctiming: [email protected]
ctiming: [email protected]
ctiming: [email protected]
ctiming: [email protected]
ctiming: [email protected]
dtiming: [email protected]
monitorserial: AK1012346797
monitorrange: 24-82, 50-75
monitorname: VA1903wm-2

Task: Display VertRefresh values and HorizSync rate

Use ddcprobe command as follows:
$ sudo ddcprobe | grep monitorrange

monitorrange: 24-82, 50-75

24-82 is your HorizSync rates and the second pair is your VertRefresh (50-75) values.

Now you can use above ranges and edit configuration file.

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

6 comment

  1. If you get edidfail, try the command again. Some hardware like my Samsung LCD TV does not respond correctly when probed about it’s EDID. Every second ddcprobe reports a fail starting with the first call.
    The 2nd, 4th, 6th etc. call is OK.
    Of course this means that X gets the wrong EDID when booting (the first call) and tries driving an unsupported range causing the TV to issue a error and go into standby. :-(

Leave a Comment