6

I am attempting to get a display resolution of 2560x1440 to operate correctly through DVI output on my Lenovo ThinkCentre M71e running Ubuntu 12.04. The computer has both VGA and DVI connectors.


When I use the VGA connector I get the full 2560x1440 resolution of my monitor just fine. Infact this is autodetected as the default resolution with no config on my part. The only issue is some ghosting in the image due to the analog connection.

The output of xrandr at this point is as follows:

 % xrandr
Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 8192 x 8192
VGA1 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440      60.0*+
   1920x1080      60.0  
   1680x1050      74.9  
   1280x1024      75.0     60.0  
   1440x900       59.9  
   1152x864       75.0  
   1280x720       60.0  
   1024x768       75.1     60.0  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     60.0  
   720x400        70.1  
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)

Note that X believes the computer has VGA, HDMI, and DP (DisplayPort?) connections. It infact has VGA and DVI.


When I use the DVI connector I get only 1680x1050 resolution, and xrandr reports the following:

 % xrandr
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 8192 x 8192
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   1680x1050      60.0* 
   1280x1024      75.0     60.0  
   1440x900       59.9  
   1152x864       75.0  
   1280x720       60.0  
   1024x768       75.1     60.0  
   800x600        72.2     75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  
DP1 disconnected (normal left inverted right x axis y axis)

Note it believes to be connected over HDMI, not DVI.

I can try to force the correct resolution over DVI as shown below, but this simply results in a blank display.

 % gtf 2560 1440 60.0

  # 2560x1440 @ 60.00 Hz (GTF) hsync: 89.40 kHz; pclk: 311.83 MHz
  Modeline "2560x1440_60.00"  311.83  2560 2744 3024 3488  1440 1441 1444 1490  -HSync +Vsync

 % xrandr --newmode "2560x1440_60.00"  311.83  2560 2744 3024 3488  1440 1441 1444 1490  -HSync +Vsync 
 % xrandr --addmode HDMI1 2560x1440_60.00
 % xrandr --output HDMI1 --mode 2560x1440_60.00

Notes:


I have also tried using cvt instead of gtf to generate the new modeline. This results in a much lower pixel clock of 241.5MHz (matches exactly the maximum pixel clock value from display manual). Unfortunately the screen still turns blank when I try this.

 % cvt -r 2560 1440
# 2560x1440 59.95 Hz (CVT 3.69M9-R) hsync: 88.79 kHz; pclk: 241.50 MHz
Modeline "2560x1440R"  241.50  2560 2608 2640 2720  1440 1443 1448 1481 +hsync -vsync
 % xrandr --newmode "2560x1440R"  241.50  2560 2608 2640 2720  1440 1443 1448 1481 +hsync -vsync
 % xrandr --addmode HDMI1 2560x1440R
 % xrandr --output HDMI1 --mode 2560x1440R
pauldoo
  • 323

4 Answers4

4

I found that aiming for 2560x1440 at 30Hz instead of 60Hz works just fine. This is consistent with @dobey's comments above that the DVI connection may only be single link. This is good enough for me (no gaming), and text is visibly sharper than with VGA.

I followed a Google+ post by Linus to get this working: https://plus.google.com/+LinusTorvalds/posts/HQsCY7ErAL4

pauldoo
  • 323
1

I have experienced the same problem with 27" 2560x1440 monitor connected by DVI. The solution was to use

cvt -r 2560 1440

reduced blanking option '-r' and not to write desired frame rate.

Mike I.
  • 21
0

In short, as @ejboy mentioned, resolution issues with DVI cable are caused by poor quality cables which either are not properly shielded from interference, or they don't have enough interconnections to be certified as Dual Link, which is what you need.

I had the same issue. The problem was that the DVI cable was a cheap and it didn't have the internal connections, so it could only do single link. It looked it was good quality, it was very short (1.5 meters) and had Dual Link connectors but it was a cheap knock off and some pins were not connected. I tried another cable, but it also had a poor build quality and the signal was not strong enough so I would just get a black screen instead of the desired resolution. It was like 3 meters long, and it didn't protect the signal at all, it didn't even had ferrite beads.

The third cable I tried costs the same as the previous ones, but I bought it from a trusted supplier. It worked perfectly at 2560x1440@60Hz. It's properly shielded, it's short (1.5m), has all the pins interconnected, and has ferrite beads to reduce electronic noise.

Emilio
  • 361
0

Another option is to use a Dual Link DVI cable that supports higher resolution and refresh rates. See https://superuser.com/a/669168/172006

ejboy
  • 151
  • 1
  • 3