<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 - Bad DisplayPort enumeration and wrong refresh rate with Hawaii chip"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109384">109384</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Bad DisplayPort enumeration and wrong refresh rate with Hawaii chip
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>DRI git
          </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>DRM/AMDgpu
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>fabio0x@keemail.me
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=143150" name="attach_143150" title="Xorg.0 log with DC off">attachment 143150</a> <a href="attachment.cgi?id=143150&action=edit" title="Xorg.0 log with DC off">[details]</a></span>
Xorg.0 log with DC off

I'm running Solus KDE with kernel 4.20.2 but I've had these issues since kernel
4.19. Here's the list of issues with AMDGPU DC enabled:
- With Solus' default kernel flags I have wrong DisplayPort enumeration,
meaning that I get DisplayPort-1 when I turn on the computer, and then
DisplayPort-2 when I get my monitor to sleep and then I wake it up.
- If I put my computer on sleep (suspension) and then wake it up, I cannot set
a usable refresh rate. This means I actually get 40 Hz when I set 60, and 45 Hz
when I set 74 (yeah, I have a bit of screen "overclocking". That's how I found
DisplayPort enumeration is wrong).
- I get microstuttering, particularly noticeable when I drag windows around.

Now, all these issues are non existant if I set the amdgpu.dc=0 kernel flag.
Also, DisplayPort number is DisplayPort-0 under any circumstances.

❯ inxi -G
Graphics:  Device-1: AMD Hawaii PRO [Radeon R9 290/390] driver: amdgpu v:
kernel 
           Display: x11 server: X.Org 1.20.3 driver: amdgpu,ati unloaded:
fbdev,modesetting,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: 
           renderer: AMD Radeon R9 200 Series (HAWAII DRM 3.27.0
4.20.2-107.current LLVM 7.0.0) 
           v: 4.5 Mesa 18.3.1</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>