<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 - Screen recording stutters when SteamVR is running"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107373">107373</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Screen recording stutters when SteamVR is running
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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>Drivers/Gallium/radeonsi
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>haagch@frickel.club
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Filed for radeonsi but the cause may very well be somewhere else.

RX 480, with mesa git, linux 4.18 and drm-next-4.19-wip.

Typically 60 fps screen recording works quite smoothly, but when SteamVR is
running the produced video is stuttering badly. The actual rendering and
displaying is still smooth, only the recorded video is affected.

Example video: <a href="https://youtu.be/yU_SKilk0p8">https://youtu.be/yU_SKilk0p8</a>

That's my gstreamer pipeline I use for recording:

gst-launch-1.0 -e ximagesrc display-name=$DISPLAY use-damage=0 startx=0
starty=0 endx=1919 endy=1079 ! multiqueue !
video/x-raw,format=BGRx,framerate=60/1 ! videoconvert !
video/x-raw,format=NV12,framerate=60/1 ! multiqueue ! vaapih265enc
rate-control=cqp bitrate=2000 ! video/x-h265,stream-format=byte-stream !
h265parse ! multiqueue ! matroskamux name=muxer pulsesrc !
audio/x-raw,channels=2 ! multiqueue ! opusenc frame-size=40 complexity=6 !
multiqueue ! muxer. muxer. ! progressreport name=Rec_time ! filesink
location=$HOME/foobar.mkv</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>