<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 - radeonsi: Very low shader performance"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98931">98931</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>radeonsi: Very low shader performance
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</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>Drivers/Gallium/radeonsi
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>cristiano04@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>This shader <a href="https://gist.github.com/igv/a015fc885d5c22e6891820ad89555637">https://gist.github.com/igv/a015fc885d5c22e6891820ad89555637</a> (5th
of September revision, crossbilateral only) used to crash the radeon driver and
bring the whole system down, whilst the previous version did not.
After this was magically fixed, the only issue has been extremely low
performance, visible through low render times and a few dropped frames.
Test case: <a href="https://www.youtube.com/watch?v=6v2L2UGZJAM">https://www.youtube.com/watch?v=6v2L2UGZJAM</a> (it is important that
you use my settings for the 1080p version to be selected)
Using any revision of this shader after the introduction of the 5th of
September commit, on mpv, I get render times in the order of 31000 and lots of
dropped, mistimed frames (as per lua-stats). Using the version immediately
before this one (
<a href="https://gist.github.com/igv/a015fc885d5c22e6891820ad89555637/15a6623d61b4030ed4d8dce637e509b7433f39c2">https://gist.github.com/igv/a015fc885d5c22e6891820ad89555637/15a6623d61b4030ed4d8dce637e509b7433f39c2</a>
) I get 6700 on the same video.
CPU+GPU: i5-4690, R9-280x
mpv, ffmpeg, mesa, llvm and xf86-video-ati are all git.
SSIMsuperres can be found here
<a href="https://gist.github.com/igv/2364ffa6e81540f29cb7ab4c9bc05b6b">https://gist.github.com/igv/2364ffa6e81540f29cb7ab4c9bc05b6b</a>
Relevant bits of mpv.conf for reproduction purposes:
profile=opengl-hq
opengl-pbo=yes
# Scaling
scale=ewa_lanczossharp
opengl-shaders="~~/shaders/ssimsuperres.glsl,~~/shaders/crossbilateral.glsl"
#cscale
# Interpolation
tscale=sinc
interpolation=yes
video-sync=display-resample
tscale-clamp=yes
# Misc
temporal-dither=yes
dither-depth=8
deband-iterations=2
deband-range=12
blend-subtitles=no
hwdec=no
framedrop=vo
# Web media
ytdl=yes
ytdl-format=0/(bestvideo[vcodec=vp9]/bestvideo[height>720]/bestvideo[fps>30])[tbr<13000]+(bestaudio[acodec=opus]/bestaudio)/best</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>