<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 - modesetting driver + amdgpu.dc=1 always enforces vsync"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109392">109392</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>modesetting driver + amdgpu.dc=1 always enforces vsync
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>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>Driver/AMDgpu
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>tempel.julian@gmail.com
          </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=143158" name="attach_143158" title="dmesg log">attachment 143158</a> <a href="attachment.cgi?id=143158&action=edit" title="dmesg log">[details]</a></span>
dmesg log

When amdgpu.dc=1 and modesetting driver are used at the same time, fps in 3D
applications can't exceed monitor refreshrate and there is always no tearing,
despite of vsync enabled or not in the applications.
Happens with both radeonsi and radv. For OGL apps, forcing vsync off via
vblank_mode=0 also doesn't show any effect in this case.

The issue doesn't occur with amdgpu.dc=0 + modesetting or with
xf86-video-amdgpu.

Though I think having an option for globally enforcing vsync would be tempting
if an application doesn't offer vsync for whatever reasons. radv and amdvlk
also don't offer options to enforce vsync, just radeonsi does.
Perhaps it could be a sub-option for TearFree?

linux drm-next-5.1-wip 5acc93145bf97a0d59ee65255cae8e1bd0623b07
xorg-server 1.20.3</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>