dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 98931] radeonsi: Very low shader performance
Date: Fri, 02 Dec 2016 04:17:51 +0000	[thread overview]
Message-ID: <bug-98931-502@http.bugs.freedesktop.org/> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 2293 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=98931

            Bug ID: 98931
           Summary: radeonsi: Very low shader performance
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: cristiano04@gmail.com
        QA Contact: dri-devel@lists.freedesktop.org

This shader https://gist.github.com/igv/a015fc885d5c22e6891820ad89555637 (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: https://www.youtube.com/watch?v=6v2L2UGZJAM (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 (
https://gist.github.com/igv/a015fc885d5c22e6891820ad89555637/15a6623d61b4030ed4d8dce637e509b7433f39c2
) 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
https://gist.github.com/igv/2364ffa6e81540f29cb7ab4c9bc05b6b
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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3998 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2016-12-02  4:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-02  4:17 bugzilla-daemon [this message]
2017-02-15 16:25 ` [Bug 98931] radeonsi: Very low shader performance bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-98931-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).