Linux find out monitor VertRefresh values and HorizSync rate with ddcprobe

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
OR
# 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: 
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
Output:

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 X.org configuration file.

Posted by: SXI ADMIN

The author is the creator of SXI LLC and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.