<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 - video framerate performance regression with UXA"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93971">93971</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>video framerate performance regression with UXA
</td>
</tr>
<tr>
<th>Product</th>
<td>DRI
</td>
</tr>
<tr>
<th>Version</th>
<td>XOrg 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>Keywords</th>
<td>bisected
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>DRM/Intel
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>kevmitch@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>i915 platform</th>
<td>IVB
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=121469" name="attach_121469" title="Xorg.0.log at 6db906ea8188cd7f731e5ef7391115ee8f5c17c8,">attachment 121469</a> <a href="attachment.cgi?id=121469&action=edit" title="Xorg.0.log at 6db906ea8188cd7f731e5ef7391115ee8f5c17c8,">[details]</a></span>
Xorg.0.log at 6db906ea8188cd7f731e5ef7391115ee8f5c17c8,
With UXA on my Lenovo Thinkpad T530 Ivy Bridge machine, playing video with mpv
(<a href="https://github.com/mpv-player/mpv">https://github.com/mpv-player/mpv</a>) worked fine keeping up with my 60hz LVDS or
HDMI TV using the command
mpv file.mkv --no-config --fs --vo=opengl:scale=spline36
--video-sync=display-vdrop --osd-msg1='${estimated-display-fps}'
This is the bare minimum opengl output driver with a mid-quality spline36 luma
scaler implemented as an opengl shader. The added "--video-sync=display-vdrop
--osd-msg1='${estimated-display-fps}' " activates display sync and displays the
effective framerate on the screen.
At d909c460743a0cabc5c0ed30e063e99af7b26b17, it seems that vsyncs start to
happen about twice as fast ~120fps on the 60hz displays. Then, three commits
later at 6db906ea8188cd7f731e5ef7391115ee8f5c17c8, it appears that I am no
longer able to render frames fast enough for the refresh rate so that it
bounces around 50 +/- 5 fps on either display. The problem goes away if I
remove the scale=spline36 scaler so that it falls back to cheaper bilinear,
which is why I say this is a performance regression. Similarly, the hardly
taxing GLXgears appears to render ~60fps just fine.
The problem also does not appear to exist for SNA, but I am unable to use that
mode due to other problems (#91066).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>