Bug 107373 - Screen recording stutters when SteamVR is running
Summary: Screen recording stutters when SteamVR is running
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
Depends on:
Reported: 2018-07-25 11:22 UTC by Christoph Haag
Modified: 2019-09-25 18:09 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Christoph Haag 2018-07-25 11:22:37 UTC
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: https://youtu.be/yU_SKilk0p8

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
Comment 1 GitLab Migration User 2019-09-25 18:09:11 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1321.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.