Difference between revisions of "HDMI to DVI problem"

From Organic Design wiki
(New page: We found on our Dell laptops under Ubu...)
 
m (link to further bg info)
Line 18: Line 18:
 
  xrandr --output TMDS-1 --mode 1680x1051_60.00
 
  xrandr --output TMDS-1 --mode 1680x1051_60.00
  
 
+
== See also ==
 +
*[http://www.hometheaterhifi.com/volume_11_4/feature-dvi-hdmi-hdcp-connections-11-2004.html Background info on HDMI and DRM problems]
  
  
 
[[Category:Linux]][[Category:Nad]][[Category:Milan]]
 
[[Category:Linux]][[Category:Nad]][[Category:Milan]]

Revision as of 20:30, 17 July 2008

We found on our Dell laptops under Ubuntu Linux (one an XPS, the other an Inspiron) that the external monitor would not work at the right resolution when connected to from the HDMI output to the monitor's DVI input. It would work fine using the VGA analogue output, but when using digital it would always result in a resolution one line short on the external monitor, for example 1680x1049 instead of 1680x1050.

This problem should be fixed in a future kernel or driver update, but in the mean time the problem can be overcome by creating a custom resolution which is one line higher than the monitors natural resolution.

Defining a new video mode requires nine parameters which are difficult to work out manually so first we'll use the gtf utility to work out the sequence of numbers from the resolution and frequency we want. In our case we wanted to create a resolution of 1680 by 1051 at 60Hz.

gtf 1680 1051 60 -x

This resulted in the following information on my system:

# 1680x1051 @ 60.00 Hz (GTF) hsync: 65.28 kHz; pclk: 147.27 MHz
Modeline "1680x1051_60.00"  147.27  1680 1784 1968 2256  1051 1052 1055 1088  -HSync +Vsync

Next use these number to create and set a new video mode as follow:

xrandr --newmode "1680x1051_60.00"  147.27  1680 1784 1968 2256  1051 1052 1055 1088  -HSync +Vsync
xrandr --addmode TMDS-1 1680x1051_60.00
xrandr --output TMDS-1 --mode 1680x1051_60.00

See also