Bug#348873: regression: r128 on laptop ignores supplied modeline for external display, picking LCD panel pixel dimensions

Tim Connors tconnors at astro.swin.edu.au
Sat Jun 23 05:13:39 PDT 2007

On Tue, 19 Jun 2007, Brice Goglin wrote:

> Hi,
> About a year ago, you reported a bug to the Debian BTS regarding
> modelines for external display being ignored with a ATI R128 board. Did
> you reproduce this problem recently? With Xorg/Etch? With latest
> xserver-xorg-core and drivers? If not, I will close this bug in the next
> weeks.

Yep, latest sid.

xdpyinfo still reports:
  dimensions:    1024x768 pixels (321x241 millimeters)

/var/log/Xorg.0.log acknowledges that it is picking up the right Monitor
section in xorg.conf,

(++) ServerLayout "IBM"
(**) |-->Screen "IBM" (0)
(**) |   |-->Monitor "IBM"
(**) |   |-->Device "ATI mobility"

that monitor section has 3 modelines defined:

Section "Monitor"
        Identifier  "IBM"
        VendorName  "IBM 19inch+Sun 19inch"
        HorizSync  50-120          #Heck; too many valid modes. Lets just enable them all and be wery wery careful
        VertRefresh 50-160

        DisplaySize 406 304

#        Option       "NoDPMS"

  Modeline "IBM_mode_1"  89.20  1024 1045 1205 1408  1024 1027 1030 1056 -hsync -vsync
  Modeline "IBM_mode_2"   111.50   1280 1298 1498 1756   1024 1024 1035 1040 -hsync -vsync
  Modeline "IBM_mode_3"    120.00   1280 1308 1468 1696   1024 1027 1030 1060 -hsync -vsync

using this setting in my Screen section:
    Option "Display" "CRT"
Xorg.0.log acknowdlges I have asked for external CRT but then goes on to
talk about the laptop's panel, which it should not be caring about:
(**) R128(0): Using external CRT for display
(II) R128(0): Primary Display == Type 2
(II) R128(0): Panel size: 1024x768
(II) R128(0): Panel ID: Samsung LT141X8-L02
(II) R128(0): Panel Type: Color, Single, TFT
(II) R128(0): Panel Interface: LVDS
(II) R128(0): PLL parameters: rf=2700 rd=12 min=12000 max=27000; xclk=10500

and then Xorg.0.log goes on to claim it knows nothing about the IBM
(II) R128(0): Not using mode "IBM_mode_1" (no mode of this name)
(II) R128(0): Not using mode "IBM_mode_2" (no mode of this name)
(II) R128(0): Not using mode "IBM_mode_3" (no mode of this name)

Then I end up with cruddy 1024x768:
(**) R128(0): *Mode "1024x768 at 75": 65.0 MHz (scaled from 83.9 MHz), 60.1 kHz, 74.4 Hz
(which I find odd, because if it truly was using the flat panel's
settings, should it not have picked up the 60Hz rate the flat panel
requires?  It works on both displays when I cycle through the
laptop's external/interal settings)

Tim Connors                  |  Anglo-Australian Observatory
http://site.aao.gov.au/twc   |  Coonabarabran, NSW 2357, Australia
                             |  Tel: +61 2 6842 6286

More information about the xorg-driver-ati mailing list