<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - radeonsi/KMS: Displayport mode detected incorrectly"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=72167">72167</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>xorg-driver-ati@lists.x.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>radeonsi/KMS: Displayport mode detected incorrectly
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>RalfPeter.Rohbeck@quantum.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver/Radeon
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=90013" name="attach_90013" title="Xorg.0.log">attachment 90013</a> <a href="attachment.cgi?id=90013&action=edit" title="Xorg.0.log">[details]</a></span>
Xorg.0.log

The mode on my (cheap Korean) 1440p monitors on DP outputs (via DP->DVI
converters) is detected incorrectly.
xrandr -q displays
DisplayPort-0 connected 1024x768+2560+0 (normal left inverted right x axis y
axis) 0mm x 0mm
   1024x768       60.0* 
   800x600        60.3     56.2  
   848x480        60.0  
   640x480        59.9  
DisplayPort-1 connected 1024x768+3584+0 (normal left inverted right x axis y
axis) 0mm x 0mm
   1024x768       60.0* 
   800x600        60.3     56.2  
   848x480        60.0  
   640x480        59.9
but since they are single frequency monitors they remain blank.

I can set the correct mode with
xrandr --addmode DisplayPort-0 2560x1440
xrandr --addmode DisplayPort-1 2560x1440
xrandr --output DisplayPort-0 --mode 2560x1440 --output DisplayPort-1 --mode
2560x1440
(details like --rotate and --pos left out) and everything seems to work
correctly.

This has happened for a while, at least since I started playing around with
radeonsi in March, but it was all hand-built. Now I tried Kubuntu trusty (yay,
radeonsi and glamoregl out of the box) and the issue is still around.

I run 4 monitors on a 7850:
1920x1080 on HDMI (Acer S273HL)
2560x1440 on DVI-0 (Achieva Shimian)
2560x1440 on DP-0 (QNIX QX2700)
2560x1440 on DP-1 (QNIX QX2700)

The HDMI and DVI-0 outputs are handled correctly.

The two monitors on the DisplayPorts are connected via Accell B087B-007B. I had
trouble with the BIOS setting the wrong mode on those two monitors, but since I
updated the firmware on the adapters
(<a href="http://www.accellcables.com/displayport-fw-update.html#q4">http://www.accellcables.com/displayport-fw-update.html#q4</a>) those problems are
gone. Now everything is correct HW-wise I think.

$ uname -a
Linux ws 3.12.0-4-generic #12-Ubuntu SMP Tue Nov 26 22:38:40 UTC 2013 x86_64
x86_64 x86_64 GNU/Linux
$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu Trusty Tahr (development branch)"
# dpkg-query -l xserver-xorg-video-radeon \*glamor\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                 Version                 Architecture  
         Description
+++-====================================-=======================-=======================-=============================================================================
ii  libglamor0:amd64                     0.5.1-0ubuntu7          amd64         
         shared graphics acceleration library based on OpenGL
ii  xserver-xorg-glamoregl:amd64         0.5.1-0ubuntu7          amd64         
         X.Org X server -- graphics acceleration module based on OpenGL
ii  xserver-xorg-video-radeon            1:7.2.0-0ubuntu10       amd64         
         X.Org X server -- AMD/ATI Radeon display driver
# cat /proc/cmdline 
BOOT_IMAGE=/vmlinuz-3.12.0-4-generic
root=UUID=f034f2ef-eaad-40af-8530-83f3b4691b6d ro rootflags=subvol=@
drm.debug=4 log_buf_len=10M radeon.dpm=1 sysrq_always_enabled

The attached log files are from the running system, without setting the monitor
modes manually.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>