All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 97882] [amdgpu SI] amdgpu on SI devices is much slower then radeon
@ 2016-09-21  0:48 bugzilla-daemon
  2016-09-21  0:49 ` bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-09-21  0:48 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 97882
           Summary: [amdgpu SI] amdgpu on SI devices is much slower then
                    radeon
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: trevor.davenport@gmail.com
        QA Contact: dri-devel@lists.freedesktop.org

Created attachment 126682
  --> https://bugs.freedesktop.org/attachment.cgi?id=126682&action=edit
dmesg

AMDGPU on SI devices appears to be much slower then radeon currently is.  

For example, Unigine Heaven 4.0:
   AMDGPU FPS:18.3 Score:460 Min FPS:9.5 Max FPS:46.1
   RADEON FPS:38.4 Score:967 Min FPS:7.5 Max FPS:83.5

Reading /sys/kernel/debug/dri/0/radeon_pm_info both report the same values:
   uvd    vclk: 0 dclk: 0
   power level 3    sclk: 105000 mclk: 140000 vddc: 1206 vddci: 1025 pcie gen:
2

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

[-- Attachment #1.2: Type: text/html, Size: 2632 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 97882] [amdgpu SI] amdgpu on SI devices is much slower then radeon
  2016-09-21  0:48 [Bug 97882] [amdgpu SI] amdgpu on SI devices is much slower then radeon bugzilla-daemon
@ 2016-09-21  0:49 ` bugzilla-daemon
  2016-09-21  0:53 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-09-21  0:49 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Trevor Davenport <trevor.davenport@gmail.com> ---
Created attachment 126683
  --> https://bugs.freedesktop.org/attachment.cgi?id=126683&action=edit
Xorg.0.log

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

[-- Attachment #1.2: Type: text/html, Size: 1239 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 97882] [amdgpu SI] amdgpu on SI devices is much slower then radeon
  2016-09-21  0:48 [Bug 97882] [amdgpu SI] amdgpu on SI devices is much slower then radeon bugzilla-daemon
  2016-09-21  0:49 ` bugzilla-daemon
@ 2016-09-21  0:53 ` bugzilla-daemon
  2017-05-22 14:27 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-09-21  0:53 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Trevor Davenport <trevor.davenport@gmail.com> ---
The above numbers where using the modesetting driver since I was trying to keep
as much the same between radeon and amdgpu.  I get similar behavior from amdgpu
though.

Both radeon and amdgpu built from commit:
   https://cgit.freedesktop.org/~agd5f/linux/
   drm-next-4.9-wip

   commit 25114c509cc39b387aa358a86fa48c855266a6fe
   Author: Alex Deucher <alexander.deucher@amd.com>
   Date:   Wed Sep 14 14:15:34 2016 -0400

       drm/radeon/atif: Send a hotplug event when we get dgpu display request


Mesa:
   commit 6b0ba02cae1526d6e6671a9ff620fd3bd7d4d032

llvm:
   commit 338f974b6e4f5d5d004d36d0d446289280d0c372

drm:
   commit 2d00869599a1c853238401a38a334c3bc8673343

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

[-- Attachment #1.2: Type: text/html, Size: 1832 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 97882] [amdgpu SI] amdgpu on SI devices is much slower then radeon
  2016-09-21  0:48 [Bug 97882] [amdgpu SI] amdgpu on SI devices is much slower then radeon bugzilla-daemon
  2016-09-21  0:49 ` bugzilla-daemon
  2016-09-21  0:53 ` bugzilla-daemon
@ 2017-05-22 14:27 ` bugzilla-daemon
  2017-05-22 14:33 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-05-22 14:27 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Maxim Sheviakov <mrader3940@gmail.com> ---
Same here. Using Arch x86_64 with linux-ck 4.11.2 and mesa 17.1.0. AMDGPU's
performance is about 60~70% of radeon's on MSI R7 370 Armor 2X.

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

[-- Attachment #1.2: Type: text/html, Size: 1143 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 97882] [amdgpu SI] amdgpu on SI devices is much slower then radeon
  2016-09-21  0:48 [Bug 97882] [amdgpu SI] amdgpu on SI devices is much slower then radeon bugzilla-daemon
                   ` (2 preceding siblings ...)
  2017-05-22 14:27 ` bugzilla-daemon
@ 2017-05-22 14:33 ` bugzilla-daemon
  2017-05-22 15:07 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-05-22 14:33 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Maxim Sheviakov <mrader3940@gmail.com> ---
Created attachment 131435
  --> https://bugs.freedesktop.org/attachment.cgi?id=131435&action=edit
dmesg | egrep 'drm|amdgpu'

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

[-- Attachment #1.2: Type: text/html, Size: 1273 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 97882] [amdgpu SI] amdgpu on SI devices is much slower then radeon
  2016-09-21  0:48 [Bug 97882] [amdgpu SI] amdgpu on SI devices is much slower then radeon bugzilla-daemon
                   ` (3 preceding siblings ...)
  2017-05-22 14:33 ` bugzilla-daemon
@ 2017-05-22 15:07 ` bugzilla-daemon
  2017-05-22 15:22 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-05-22 15:07 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Maxim Sheviakov <mrader3940@gmail.com> ---
Created attachment 131436
  --> https://bugs.freedesktop.org/attachment.cgi?id=131436&action=edit
dmesg | egrep 'drm|radeon'

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

[-- Attachment #1.2: Type: text/html, Size: 1273 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 97882] [amdgpu SI] amdgpu on SI devices is much slower then radeon
  2016-09-21  0:48 [Bug 97882] [amdgpu SI] amdgpu on SI devices is much slower then radeon bugzilla-daemon
                   ` (4 preceding siblings ...)
  2017-05-22 15:07 ` bugzilla-daemon
@ 2017-05-22 15:22 ` bugzilla-daemon
  2017-08-01  2:18 ` bugzilla-daemon
  2017-08-01  2:21 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-05-22 15:22 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Trevor Davenport <trevor.davenport@gmail.com> ---
>From phoronix's data this appears to not happen on Tahiti chips.  The 270x and
370 are always slower on amdgpu compared to radeon.

See http://www.phoronix.com/scan.php?page=article&item=linux-411-gcn10&num=2

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

[-- Attachment #1.2: Type: text/html, Size: 1331 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 97882] [amdgpu SI] amdgpu on SI devices is much slower then radeon
  2016-09-21  0:48 [Bug 97882] [amdgpu SI] amdgpu on SI devices is much slower then radeon bugzilla-daemon
                   ` (5 preceding siblings ...)
  2017-05-22 15:22 ` bugzilla-daemon
@ 2017-08-01  2:18 ` bugzilla-daemon
  2017-08-01  2:21 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-08-01  2:18 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from Trevor Davenport <trevor.davenport@gmail.com> ---
This is fixed by the following commit:


author  Jean Delvare <jdelvare@suse.de> 2017-07-30 08:18:25 (GMT)
committer       Alex Deucher <alexander.deucher@amd.com>        2017-07-31
20:30:42 (GMT)
commit  e5c8d400da67abc1c033b9a4af1806926b55e5f6 (patch)
tree    cf3dac459890ed900416d4087ae0603d4aa42b6f
parent  29805b5f60d88c56ae7e91ae231f0ff8bf1983b8 (diff)

drm/amdgpu: Fix undue fallthroughs in golden registers initialization

As I was staring at the si_init_golden_registers code, I noticed that
the Pitcairn initialization silently falls through the Cape Verde
initialization, and the Oland initialization falls through the Hainan
initialization. However there is no comment stating that this is
intentional, and the radeon driver doesn't have any such fallthrough,
so I suspect this is not supposed to happen.

Commit can be seen here:
https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-4.14-wip&id=e5c8d400da67abc1c033b9a4af1806926b55e5f6

With this fix I now get performance approximately equal to that of radeon.

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

[-- Attachment #1.2: Type: text/html, Size: 2320 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 97882] [amdgpu SI] amdgpu on SI devices is much slower then radeon
  2016-09-21  0:48 [Bug 97882] [amdgpu SI] amdgpu on SI devices is much slower then radeon bugzilla-daemon
                   ` (6 preceding siblings ...)
  2017-08-01  2:18 ` bugzilla-daemon
@ 2017-08-01  2:21 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-08-01  2:21 UTC (permalink / raw)
  To: dri-devel


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

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

Trevor Davenport <trevor.davenport@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

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

[-- Attachment #1.2: Type: text/html, Size: 1286 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-08-01  2:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-21  0:48 [Bug 97882] [amdgpu SI] amdgpu on SI devices is much slower then radeon bugzilla-daemon
2016-09-21  0:49 ` bugzilla-daemon
2016-09-21  0:53 ` bugzilla-daemon
2017-05-22 14:27 ` bugzilla-daemon
2017-05-22 14:33 ` bugzilla-daemon
2017-05-22 15:07 ` bugzilla-daemon
2017-05-22 15:22 ` bugzilla-daemon
2017-08-01  2:18 ` bugzilla-daemon
2017-08-01  2:21 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.