Digital Visual Interface Explained

Digital Visual Interface (DVI)
Type:Digital computer video connector
Designer:Digital Display Working Group
Production Date:1999–present
Superseded:VGA connector
Superseded By:DisplayPort, HDMI
External:Yes
Hotplug:Yes
Video Signal:Digital video stream:
Single link: 1920 × 1200 (WUXGA) @ 60 Hz
Dual link: 2560 × 1600 (WQXGA) @ 60 Hz
Analog video stream: 1920 × 1200 (WUXGA) @ 60 Hz
Data Bandwidth:(Single link) 3.96 Gbit/s
(Dual link) 7.92 Gbit/s
Data Devices:1
Data Style:3 × transition minimized differential signaling data and clock
Num Pins:DVI-D Single Link: 19
DVI-D Dual Link: 25
DVI-I Single Link: 23
DVI-I Dual Link: 29
DVI-A: 11
DVI-M1-DA: 35
Pinout Caption:A female DVI-I socket from the front
Pinout Caption2:Color coded (click to read text)
Pin1:Digital red− (link 1)
Pin1 Name:TMDS data 2−
Pin2:Digital red+ (link 1)
Pin2 Name:TMDS data 2+
Pin3 Name:TMDS data 2/4 shield
Pin4:Digital green− (link 2)
Pin4 Name:TMDS data 4−
Pin5:Digital green+ (link 2)
Pin5 Name:TMDS data 4+
Pin6 Name:DDC clock
Pin7 Name:DDC data
Pin8 Name:Analog vertical sync
Pin9:Digital green− (link 1)
Pin9 Name:TMDS data 1−
Pin10:Digital green+ (link 1)
Pin10 Name:TMDS data 1+
Pin11 Name:TMDS data 1/3 shield
Pin12:Digital blue− (link 2)
Pin12 Name:TMDS data 3−
Pin13:Digital blue+ (link 2)
Pin13 Name:TMDS data 3+
Pin14:Power for monitor when in standby
Pin14 Name:+5 V
Pin15:Return for pin 14 and analog sync
Pin15 Name:Ground
Pin16 Name:Hot plug detect
Pin17:Digital blue− (link 1) and digital sync
Pin17 Name:TMDS data 0−
Pin18:Digital blue+ (link 1) and digital sync
Pin18 Name:TMDS data 0+
Pin19 Name:TMDS data 0/5 shield
Pin20:Digital red− (link 2)
Pin20 Name:TMDS data 5−
Pin21:Digital red+ (link 2)
Pin21 Name:TMDS data 5+
Pin22 Name:TMDS clock shield
Pin23:Digital clock+ (links 1 and 2)
Pin23 Name:TMDS clock+
Pin24:Digital clock− (links 1 and 2)
Pin24 Name:TMDS clock−
Pin Custom1 Name:C1
Pin Name Custom1:Analog red
Pin Custom1: 
Pin Custom2 Name:C2
Pin Name Custom2:Analog green
Pin Custom2: 
Pin Custom3 Name:C3
Pin Name Custom3:Analog blue
Pin Custom3: 
Pin Custom4 Name:C4
Pin Name Custom4:Analog horizontal sync
Pin Custom4: 
Pin Custom5 Name:C5
Pin Name Custom5:Analog ground
Pin Custom5:Return for R, G, and B signals

Digital Visual Interface (DVI) is a video display interface developed by the Digital Display Working Group (DDWG). The digital interface is used to connect a video source, such as a video display controller, to a display device, such as a computer monitor. It was developed with the intention of creating an industry standard for the transfer of uncompressed digital video content.

DVI devices manufactured as DVI-I have support for analog connections, and are compatible with the analog VGA interface[1] by including VGA pins, while DVI-D devices are digital-only. This compatibility, along with other advantages, led to its widespread acceptance over competing digital display standards Plug and Display (P&D) and Digital Flat Panel (DFP).[2] Although DVI is predominantly associated with computers, it is sometimes used in other consumer electronics such as television sets and DVD players.

History

An earlier attempt to promulgate an updated standard to the analog VGA connector was made by the Video Electronics Standards Association (VESA) in 1994 and 1995, with the Enhanced Video Connector (EVC), which was intended to consolidate cables between the computer and monitor.[3] [4] EVC used a 35-pin Molex MicroCross connector and carried analog video (input and output), analog stereo audio (input and output), and data (via USB and FireWire). At the same time, with the increasing availability of digital flat-panel displays, the priority shifted to digital video transmission, which would remove the extra analog/digital conversion steps required for VGA and EVC; the EVC connector was reused by VESA,[5] which released the Plug & Display (P&D) standard in 1997.[3] P&D offered single-link TMDS digital video with, as an option, analog video output and data (USB and FireWire), using a 35-pin MicroCross connector similar to EVC; the analog audio and video input lines from EVC were repurposed to carry digital video for P&D.<ref name=DVI-whitepaper/>[6]

Because P&D was a physically large, expensive connector, a consortium of companies developed the DFP standard (1999), which was focused solely on digital video transmission using a 20-pin micro ribbon connector and omitted the analog video and data capabilities of P&D.<ref name=Manchester99/>[7] DVI instead chose to strip just the data functions from P&D, using a 29-pin MicroCross connector to carry digital and analog video.[8] Critically, DVI allows dual-link TMDS signals,[9] meaning it supports higher resolutions than the single-link P&D and DFP connectors, which led to its successful adoption as an industry standard. Compatibility of DVI with P&D and DFP is accomplished typically through passive adapters that provide appropriate physical interfaces, as all three standards use the same DDC/EDID handshaking protocols and TMDS digital video signals.[10]

DVI made its way into products starting in 1999. One of the first DVI monitors was Apple's original Cinema Display, which launched in 1999.

Technical overview

DVI's digital video transmission format is based on panelLink, a serial format developed by Silicon Image that utilizes a high-speed serial link called transition minimized differential signaling (TMDS).

TMDS

Digital video pixel data is transported using multiple TMDS twisted pairs. At the electrical level, these pairs are highly resistant to electrical noise and other forms of analog distortion.

Single link

A single link DVI connection has four TMDS pairs. Three data pairs carry their designated 8-bit RGB component (red, green, or blue) of the video signal for a total of 24 bits per pixel. The fourth pair carries the TMDS clock. The binary data is encoded using 8b/10b encoding. DVI does not use packetization, but rather transmits the pixel data as if it were a rasterized analog video signal. As such, the complete frame is drawn during each vertical refresh period. The full active area of each frame is always transmitted without compression. Video modes typically use horizontal and vertical refresh timings that are compatible with cathode-ray tube (CRT) displays, though this is not a requirement. In single link mode, the maximum TMDS clock frequency is 165 MHz, which supports a maximum resolution of 2.75 megapixels (including blanking interval) at 60 Hz refresh. For practical purposes, this allows a maximum 16:10 screen resolution of 1920 × 1200 at 60 Hz.

Dual link

To support higher-resolution display devices, the DVI specification contains a provision for dual link. Dual link DVI doubles the number of TMDS data pairs, effectively doubling the video bandwidth, which allows higher resolutions up to 2560 × 1600 at 60 Hz or higher refresh rates for lower resolutions.

Compatibility

For backward compatibility with displays using analog VGA signals, some of the contacts in the DVI connector carry the analog VGA signals.

To ensure a basic level of interoperability, DVI compliant devices are required to support one baseline display mode, "low pixel format" (640 × 480 at 60 Hz).

DDC

Like modern analog VGA connectors, the DVI connector includes pins for the display data channel (DDC), which allows the graphics adapter to read the monitor's extended display identification data (EDID). When a source and display using the DDC2 revision are connected, the source first queries the display's capabilities by reading the monitor EDID block over an I²C link. The EDID block contains the display's identification, color characteristics (such as gamma value), and table of supported video modes. The table can designate a preferred mode or native resolution. Each mode is a set of timing values that define the duration and frequency of the horizontal/vertical sync, the positioning of the active display area, the horizontal resolution, vertical resolution, and refresh rate.

Cable length

The maximum length recommended for DVI cables is not included in the specification, since it is dependent on the TMDS clock frequency. In general, cable lengths up to will work for display resolutions up to 1920 × 1200. Longer cables up to in length can be used with display resolutions 1280 × 1024 or lower. For greater distances, the use of a DVI booster—a signal repeater which may use an external power supply—is recommended to help mitigate signal degradation.

Connector

See also: Mini-DVI and Micro-DVI. The DVI connector on a device is given one of three names, depending on which signals it implements:

Most DVI connector types—the exception is DVI-A—have pins that pass digital video signals. These come in two varieties: single link and dual link. Single link DVI employs a single transmitter with a TMDS clock up to 165 MHz that supports resolutions up to 1920 × 1200 at 60 Hz. Dual link DVI adds six pins, at the center of the connector, for a second transmitter increasing the bandwidth and supporting resolutions up to 2560 × 1600 at 60 Hz.[11] A connector with these additional pins is sometimes referred to as DVI-DL (dual link). Dual link should not be confused with dual display (also known as dual head), which is a configuration consisting of a single computer connected to two monitors, sometimes using a DMS-59 connector for two single link DVI connections.

In addition to digital, some DVI connectors also have pins that pass an analog signal, which can be used to connect an analog monitor. The analog pins are the four that surround the flat blade on a DVI-I or DVI-A connector. A VGA monitor, for example, can be connected to a video source with DVI-I through the use of a passive adapter. Since the analog pins are directly compatible with VGA signaling, passive adapters are simple and cheap to produce, providing a cost-effective solution to support VGA on DVI. The long flat pin on a DVI-I connector is wider than the same pin on a DVI-D connector, so even if the four analog pins were manually removed, it still wouldn't be possible to connect a male DVI-I to a female DVI-D. It is possible, however, to join a male DVI-D connector with a female DVI-I connector.[12]

DVI is the only widespread video standard that includes analog and digital transmission in the same connector.[13] Competing standards are exclusively digital: these include a system using low-voltage differential signaling (LVDS), known by its proprietary names FPD-Link (flat-panel display) and FLATLINK; and its successors, the LVDS Display Interface (LDI) and OpenLDI.

Some DVD players, HDTV sets, and video projectors have DVI connectors that transmit an encrypted signal for copy protection using the High-bandwidth Digital Content Protection (HDCP) protocol. Computers can be connected to HDTV sets over DVI, but the graphics card must support HDCP to play content protected by digital rights management (DRM).

Specifications

Digital

Generalized Timing Formula (GTF) is a VESA standard which can easily be calculated with the Linux gtf utility. Coordinated Video Timings-Reduced Blanking (CVT-RB) is a VESA standard which offers reduced horizontal and vertical blanking for non-CRT based displays.[15]

Digital data encoding

One of the purposes of DVI stream encoding is to provide a DC-balanced output that reduces decoding errors. This goal is achieved by using 10-bit symbols for 8-bit or less characters and using the extra bits for the DC balancing.

Like other ways of transmitting video, there are two different regions: the active region, where pixel data is sent, and the control region, where synchronization signals are sent. The active region is encoded using transition-minimized differential signaling, where the control region is encoded with a fixed 8b/10b encoding. As the two schemes yield different 10-bit symbols, a receiver can fully differentiate between active and control regions.

When DVI was designed, most computer monitors were still of the cathode ray tube type that require analog video synchronization signals. The timing of the digital synchronization signals matches the equivalent analog ones, so the process of transforming DVI to and from an analog signal does not require extra (high-speed) memory, expensive at the time.

HDCP is an extra layer that transforms the 10-bit symbols before transmitting. Only after correct authorization can the receiver undo the HDCP encryption. Control regions are not encrypted in order to let the receiver know when the active region starts.

Clock and data relationship

DVI provide one TMDS clock pair and 3 TMDS data pairs in single link mode or 6 TMDS data pairs in dual link mode. TMDS data pairs operate at a gross bit rate that is 10 times the frequency of the TMDS clock. In each TMDS clock period there is a 10-bit symbol per TMDS data pair representing 8-bits of pixel color. In single link mode each set of three 10-bit symbols represents one 24-bit pixel, while in dual link mode each set of six 10-bit symbols either represents two 24-bit pixels or one pixel of up to 48-bit color depth.

The specification document allows the data and the clock to not be aligned. However, as the ratio between the TMDS clock and gross bit rate per TMDS pair is fixed at 1:10, the unknown alignment is kept over time. The receiver must recover the bits on the stream using any of the techniques of clock/data recovery to find the correct symbol boundary. The DVI specification allows the TMDS clock to vary between 25 MHz and 165 MHz. This 1:6.6 ratio can make clock recovery difficult, as phase-locked loops, if used, need to work over a large frequency range. One benefit of DVI over other interfaces is that it is relatively straightforward to transform the signal from the digital domain into the analog domain using a video DAC, as both clock and synchronization signals are transmitted. Fixed frequency interfaces, like DisplayPort, need to reconstruct the clock from the transmitted data.

Display power management

The DVI specification includes signaling for reducing power consumption. Similar to the analog VESA display power management signaling (DPMS) standard, a connected device can turn a monitor off when the connected device is powered down, or programmatically if the display controller of the device supports it. Devices with this capability can also attain Energy Star certification.

Analog

The analog section of the DVI specification document is brief and points to other specifications like VESA VSIS[16] for electrical characteristics and GTFS for timing information. The motivation for including analog is to keep compatibility with the previous VGA cables and connectors. VGA pins for HSync, Vsync and three video channels are available in both DVI-I or DVI-A (but not DVI-D) connectors and are electrically compatible, while pins for DDC (clock and data) and 5 V power and ground are kept in all DVI connectors. Thus, a passive adapter can interface between DVI-I or DVI-A (but not DVI-D) and VGA connectors.

DVI and HDMI compatibility

HDMI is a newer digital audio/video interface developed and promoted by the consumer electronics industry. DVI and HDMI have the same electrical specifications for their TMDS and VESA/DDC twisted pairs. However HDMI and DVI differ in several key ways.

To promote interoperability between DVI-D and HDMI devices, HDMI source components and displays support DVI-D signalling. For example, an HDMI display can be driven by a DVI-D source because HDMI and DVI-D both define an overlapping minimum set of supported resolutions and frame buffer formats.

Some DVI-D sources use non-standard extensions to output HDMI signals including audio (e.g. ATI 3000-series and NVIDIA GTX 200-series).[17] Some multimedia displays use a DVI to HDMI adapter to input the HDMI signal with audio. Exact capabilities vary by video card specifications.

In the reverse scenario, a DVI display that lacks optional support for HDCP might be unable to display protected content even though it is otherwise compatible with the HDMI source. Features specific to HDMI such as remote control, audio transport, xvYCC and deep color are not usable in devices that support only DVI signals. HDCP compatibility between source and destination devices is subject to manufacturer specifications for each device.

Proposed successors

In December 2010, Intel, AMD, and several computer and display manufacturers announced they would stop supporting DVI-I, VGA and LVDS-technologies from 2013/2015, and instead speed up adoption of DisplayPort and HDMI.[18] [19] They also stated: "Legacy interfaces such as VGA, DVI and LVDS have not kept pace, and newer standards such as DisplayPort and HDMI clearly provide the best connectivity options moving forward. In our opinion, DisplayPort 1.2 is the future interface for PC monitors, along with HDMI 1.4a for TV connectivity".

See also

Further reading

Notes and References

  1. News: Digital Visual Interface adoption accelerates as industry prepares for next wave of DVI-compliant products. February 16, 2000. DDWG, copy preserved by Internet Archive. 29 March 2012. bot: unknown. https://web.archive.org/web/20070828233809/http://www.ddwg.org/articles.asp?id=22. 28 August 2007.
  2. Web site: TFT Guide Part 3 - Digital Interfaces. Eiden. Hermann. July 7, 1999. TomsHardware.com. 29 March 2012.
  3. Web site: VESA Standards . Video Electronics Standards Association . https://web.archive.org/web/19990117080256/http://www.vesa.org:80/standards.html . January 17, 1999 . dead.
  4. Gary . Manchester . 1999 . https://web.archive.org/web/20160112151649/http://www.tu-chemnitz.de/informatik/RA/news/stack/kompendium/vortraege_99/peripherie/standards/dfp/DFPwhitepap.PDF . The VESA Digital Flat Panel (DFP) Standard: A White Paper . VESA Marketing Committee . January 12, 2016 . dead.
  5. Web site: Molex PnD intellectual property letter . Manchester, Gary . October 7, 1996 . https://web.archive.org/web/20030222125034/http://www.vesa.org:80/public/Intellectual%20Property/MolexPnD.PDF . February 22, 2003 . dead.
  6. Web site: VESA Plug and Display (P&D) Standard, Version 1 . https://web.archive.org/web/20030704041337/http://www.vesa.org/public/PnD/pnd.pdf . July 4, 2003 . dead . June 11, 1997 . Video Electronics Standards Association.
  7. Digital Visual Interface & TMDS Extensions . October 2004 . Silicon Image . 31 January 2023.
  8. Web site: MicroCross DVI Connector System: Digital Visual Interface Standard . Molex . December 2000 . 31 January 2023.
  9. Web site: MicroCross DVI (Digital Visual Interface) Connector System . Molex . November 1999 . 31 January 2023.
  10. Web site: Digital Visual Interface Revision 1.0 . 2 April 1999 . Digital Display Working Group . 31 January 2023.
  11. Web site: Dell 2407WFP and 3007WFP LCD Comparison. Walton. Jarred. March 2, 2007. AnandTech. November 7, 2013.
  12. Book: Docter. Quentin. Dulaney. Emmett. Skandier. Toby. CompTIA A+ Complete Deluxe Study Guide: Exams 220-801 and 220-802. 2012. John Wiley & Sons, Inc.. Indianapolis, Indiana. 978-1118324066.
  13. Book: Kruegle, Herman . CCTV Surveillance: Analog and Digital Video Practices And Technology . Butterworth-Heinemann . 0-7506-7768-6 . 268 . 8 . https://books.google.com/books?id=DaQY8CrmqFcC&q=DVI+is+the+only+widespread+video+standard+that+includes+analog+and+digital+transmission+options+in+the+same+connector.&pg=PA268 . 2006 .
  14. Web site: 2019-08-21 . The Best DVI Cable for 144hz The Technology Land . 2022-07-14 . thetechnologyland.com . en-US.
  15. News: Advanced Timing and CEA/EIA-861B Timings . NVIDIA . 2008-06-18.
  16. Video Signal Standard (VSIS) Version 1, Rev. 2, available for purchuase at http://www.vesa.org/
  17. News: HDMI Specification 1.3a Appendix C . HDMI Licensing, LLC. . PDF . 2006-11-10 . 2009-11-18.
  18. http://newsroom.intel.com/community/intel_newsroom/blog/2010/12/08/leading-pc-companies-move-to-all-digital-display-technology-phasing-out-analog Intel Newsrom
  19. Web site: HDMI versions . 2017-01-17 . Wednesday, 1 February 2017