dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 101182] Reading amdgpu_pm_info causes stutter with Linux 4.12-rc
Date: Thu, 25 May 2017 06:59:12 +0000	[thread overview]
Message-ID: <bug-101182-502@http.bugs.freedesktop.org/> (raw)


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

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

            Bug ID: 101182
           Summary: Reading amdgpu_pm_info causes stutter with Linux
                    4.12-rc
           Product: DRI
           Version: DRI git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: haagch@frickel.club

A stutter once wouldn't be so bad, but apps like radeon-profile repeatedly read
this file, so rendering stutters constantly.

You will have a hard time spotting it in the average fps graph, but with my
(still very inaccurate) low-fps patch at
https://github.com/ChristophHaag/mesa-mesa/commit/e097b91a85c85718576589402e075e7f5668e68c
it's very visible that there is at least one frame that's delayed a lot each
time amdgpu_pm_info is read.
The GPU load does give an independent hint that something is wrong though.

To reproduce:
run  glxgears
run  sudo watch --interval=.3 cat /sys/kernel/debug/dri/0/amdgpu_pm_info
observe stuttering in glxgears.

RX 480, Linux 4.12-rc2.
I haven't tested 4.11 to confirm, but if I remember correctly, this happens in
mainline since 4.12.

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

[-- Attachment #1.2: Type: text/html, Size: 2755 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:[~2017-05-25  6:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-25  6:59 bugzilla-daemon [this message]
2017-05-25  7:00 ` [Bug 101182] Reading amdgpu_pm_info causes stutter with Linux 4.12-rc bugzilla-daemon
2017-05-25 13:16 ` bugzilla-daemon
2017-05-25 13:23 ` 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-101182-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