<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - rotating output on Radeon HD 5870 causes black screen"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101023">101023</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>rotating output on Radeon HD 5870 causes black screen
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.7 (2012.06)
          </td>
        </tr>

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

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

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

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

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

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

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

        <tr>
          <th>Reporter</th>
          <td>harald.linden@thelow.net
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=131337" name="attach_131337" title="recording of the described behaviour">attachment 131337</a> <a href="attachment.cgi?id=131337&action=edit" title="recording of the described behaviour">[details]</a></span>
recording of the described behaviour

Description of problem:

I have two screens connected, one using DisplayPort, one using DVI. The problem
also occurs when both are connected using DVI.
Rotating one of the screens by 90° results in a black screen, sometimes filled
with artefacts. The mouse pointer still works on that screen, however no
windows show up. This occurs under Cinnamon, Plasma and i3, using the onboard
tools of the two former ones or xrandr on the latter. The radeon driver spams
the syslog with lines like:

Mai 08 18:58:40 kernel: radeon 0000:01:00.0: evergreen_surface_check_2d:282 cb
pitch 1920 invalid must be aligned with 512                                
Mai 08 18:58:40 kernel: radeon 0000:01:00.0: evergreen_cs_track_validate_cb:431
cb[0] invalid (0x000000ef 0x00007e8f 0x00190c80 0x01088468)               
Mai 08 18:58:40 kernel: radeon 0000:01:00.0: evergreen_packet3_check:1949
invalid cmd stream 1782  

Version-Release number of selected component (if applicable):

Current Operating System: Linux cik-pc31.uni-paderborn.de
4.10.10-200.fc25.x86_64 #1 SMP Thu Apr 13 01:11:51 UTC 2017 x86_64
Build ID: xorg-x11-server 1.19.3-1.fc25
RADEON(0): Chipset: "ATI Radeon HD 5800 Series" (ChipID = 0x689e)


How reproducible:

Every time.

Steps to Reproduce:

1. Rotate a screen by 90° left or right.
2. See result.

Actual results:
Driver tries to resize virtual desktop and fails immediately on rotation:

Mai 08 18:58:40 hostname /usr/libexec/gdm-x-session[1779]: (II) RADEON(0):
Allocate new frame buffer 4480x1920 stride 4480                                 
Mai 08 18:58:40 hostname /usr/libexec/gdm-x-session[1779]: (II) RADEON(0): VRAM
usage limit set to 167986K                                                      
Mai 08 18:58:40 hostname kernel: radeon 0000:01:00.0:
evergreen_surface_check_2d:282 cb pitch 1920 invalid must be aligned with 512   
Mai 08 18:58:40 hostname kernel: radeon 0000:01:00.0:
evergreen_cs_track_validate_cb:431 cb[0] invalid (0x000000ef 0x00007e8f
0x00190c80 0x01088468)               
Mai 08 18:58:40 hostname kernel: radeon 0000:01:00.0:
evergreen_packet3_check:1949 invalid cmd stream 1782                            
Mai 08 18:58:40 hostname kernel: [drm:radeon_cs_ioctl [radeon]] *ERROR* Invalid
command stream !                         

Black screen, artefacts, mouse pointer showing up normally.


Expected results:

Fully working desktop on rotated screen.</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>