mirscreencast slows down compositing and makes it very jerky
Bug #1280938 reported by
Daniel van Vugt
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Alberto Aguirre | ||
mir (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I've just tried out mirscreencast for the first time, to record the screen. It works but compositing is slowed significantly and made very jerky. This results in a video which plays back equally jerkily:
mencoder -demuxer rawvideo \
-rawvideo fps=60:
-ovc lavc -lavcopts vcodec=ffv1 -o all.avi
mplayer all.avi
Related branches
lp://staging/~albaguirre/mir/screencast-capture-rate-limiter
- PS Jenkins bot (community): Approve (continuous-integration)
- Alan Griffiths: Approve
- Alexandros Frantzis (community): Approve
- Kevin DuBois (community): Approve
-
Diff: 257 lines (+77/-31)1 file modifiedsrc/utils/screencast.cpp (+77/-31)
tags: | added: performance |
tags: | added: screencast |
Changed in mir: | |
status: | Fix Committed → Fix Released |
Changed in mir (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
Can you please elaborate on which platform, graphics card, and what setup exactly are you using when taking the screencast (which server and clients). I want to try to reproduce locally. In previous experiments on intel hd graphics 1280x800 compositing wasn't affected at all (although 1900x1200 is over twice as large).
> -rawvideo fps=60: w=1920: h=1200: format= bgra
I doubt that we are capturing at 60 fps, buf if we are that could be the problem (too much for the hardware, so we may need to add support for throttling).