All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poor on any GPU with GCN >=1.1
@ 2016-05-18 19:19 bugzilla-daemon
  2016-05-18 19:22 ` [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poorly " bugzilla-daemon
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: bugzilla-daemon @ 2016-05-18 19:19 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 95474
           Summary: Bioshock Infinite and DiRT Showdown perform very poor
                    on any GPU with GCN >=1.1
           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: 0xe2.0x9a.0x9b@gmail.com
        QA Contact: dri-devel@lists.freedesktop.org

See http://www.phoronix.com/scan.php?page=article&item=nv-amd-23ppw

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

[-- Attachment #1.2: Type: text/html, Size: 2226 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] 17+ messages in thread

* [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poorly on any GPU with GCN >=1.1
  2016-05-18 19:19 [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poor on any GPU with GCN >=1.1 bugzilla-daemon
@ 2016-05-18 19:22 ` bugzilla-daemon
  2016-05-18 19:26 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bugzilla-daemon @ 2016-05-18 19:22 UTC (permalink / raw)
  To: dri-devel


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

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

Jan Ziak <0xe2.0x9a.0x9b@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Bioshock Infinite and DiRT  |Bioshock Infinite and DiRT
                   |Showdown perform very poor  |Showdown perform very
                   |on any GPU with GCN >=1.1   |poorly on any GPU with GCN
                   |                            |>=1.1

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

[-- Attachment #1.2: Type: text/html, Size: 1252 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] 17+ messages in thread

* [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poorly on any GPU with GCN >=1.1
  2016-05-18 19:19 [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poor on any GPU with GCN >=1.1 bugzilla-daemon
  2016-05-18 19:22 ` [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poorly " bugzilla-daemon
@ 2016-05-18 19:26 ` bugzilla-daemon
  2016-05-18 19:39 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bugzilla-daemon @ 2016-05-18 19:26 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Jan Ziak <0xe2.0x9a.0x9b@gmail.com> ---
Does anybody know what the primary cause of the poor performance is?

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

[-- Attachment #1.2: Type: text/html, Size: 1115 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] 17+ messages in thread

* [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poorly on any GPU with GCN >=1.1
  2016-05-18 19:19 [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poor on any GPU with GCN >=1.1 bugzilla-daemon
  2016-05-18 19:22 ` [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poorly " bugzilla-daemon
  2016-05-18 19:26 ` bugzilla-daemon
@ 2016-05-18 19:39 ` bugzilla-daemon
  2016-05-18 21:09 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bugzilla-daemon @ 2016-05-18 19:39 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Alex Deucher <alexdeucher@gmail.com> ---
Can you identify what component caused the regression?  mesa?  llvm?  kernel?

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

[-- Attachment #1.2: Type: text/html, Size: 1126 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] 17+ messages in thread

* [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poorly on any GPU with GCN >=1.1
  2016-05-18 19:19 [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poor on any GPU with GCN >=1.1 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2016-05-18 19:39 ` bugzilla-daemon
@ 2016-05-18 21:09 ` bugzilla-daemon
  2016-05-18 21:12 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bugzilla-daemon @ 2016-05-18 21:09 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Jan Ziak <0xe2.0x9a.0x9b@gmail.com> ---
(In reply to Alex Deucher from comment #2)
> Can you identify what component caused the regression?  mesa?  llvm?  kernel?

That is a good question, but I do not know the answer.

Data:

Kernel: 4.6.0
Kernel module: radeon.ko

Resolution: 1920x1080
Game quality setting: Ultra

CPU: A10-7850K
CPU utilization: 120% (kernel-space is about 10% CPU)

GPU: R9 390
GPU utilization (radeontop): >>>> 15% <<<<
GPU performance level: forced max clocks

Based on this, it seems that the user-space component (mesa + llvm) is the
bottleneck.

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

[-- Attachment #1.2: Type: text/html, Size: 1693 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] 17+ messages in thread

* [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poorly on any GPU with GCN >=1.1
  2016-05-18 19:19 [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poor on any GPU with GCN >=1.1 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2016-05-18 21:09 ` bugzilla-daemon
@ 2016-05-18 21:12 ` bugzilla-daemon
  2016-05-18 21:13 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bugzilla-daemon @ 2016-05-18 21:12 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Alex Deucher <alexdeucher@gmail.com> ---
Can you try a different kernel or mesa version?

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

[-- Attachment #1.2: Type: text/html, Size: 1096 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] 17+ messages in thread

* [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poorly on any GPU with GCN >=1.1
  2016-05-18 19:19 [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poor on any GPU with GCN >=1.1 bugzilla-daemon
                   ` (4 preceding siblings ...)
  2016-05-18 21:12 ` bugzilla-daemon
@ 2016-05-18 21:13 ` bugzilla-daemon
  2016-05-18 21:14 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bugzilla-daemon @ 2016-05-18 21:13 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Jan Ziak <0xe2.0x9a.0x9b@gmail.com> ---
(In reply to Alex Deucher from comment #2)
> Can you identify what component caused the regression?  mesa?  llvm?  kernel?

Output from "perf report":

# Samples: 660K of event 'cycles'
# Event count (approx.): 568704142352
#
# Overhead  Command        Shared Object      Symbol
     9.94%  G.26           radeonsi_dri.so    [.] pb_cache_is_buffer_compat
     2.51%  G.26           libgcc_s.so.1      [.] __umoddi3
     1.66%  G.26           libc-2.22.so       [.] _int_malloc
     1.52%  G.26           libc-2.22.so       [.] _int_free
     1.42%  G.26           radeonsi_dri.so    [.] radeon_drm_cs_add_buffer
     1.22%  bioshock.i386  radeonsi_dri.so    [.] radeon_cs_context_cleanup
     1.14%  bioshock.i386  [kernel.vmlinux]   [k]
reservation_object_add_shared_fence
     1.02%  G.26           libc-2.22.so       [.] __libc_calloc
     0.93%  G.26           libpthread-2.22.so [.] pthread_mutex_lock
     0.81%  bioshock.i386  [kernel.vmlinux]   [k] __ww_mutex_lock_interruptible
     0.79%  G.26           bioshock.i386      [.] 0x00000000001a8853
     0.79%  G.26           radeonsi_dri.so    [.] pb_cache_reclaim_buffer
     0.78%  G.26           libpthread-2.22.so [.]
__pthread_mutex_unlock_usercnt
     0.74%  G.26           libc-2.22.so       [.] malloc
     0.72%  bioshock.i386  radeonsi_dri.so    [.]
radeon_drm_cs_emit_ioctl_oneshot
     0.66%  bioshock.i386  [radeon]           [k] radeon_bo_list_validate
     0.60%  G.26           radeonsi_dri.so    [.] __x86.get_pc_thunk.bx
     0.56%  G.26           bioshock.i386      [.] 0x00000000001a8e53
     0.56%  G.26           radeonsi_dri.so    [.] set_add
     0.55%  G.26           radeonsi_dri.so    [.] ir_expression::accept
     0.54%  bioshock.i386  [ttm]              [k] ttm_bo_list_ref_sub
     0.54%  G.26           radeonsi_dri.so    [.] _mesa_glsl_parse
     0.53%  G.26           radeonsi_dri.so    [.] radeon_lookup_buffer
     0.52%  G.26           libc-2.22.so       [.] __memcmp_sse4_2
     0.48%  G.26           radeonsi_dri.so    [.] visit_list_elements
     0.47%  bioshock.i386  [kernel.vmlinux]   [k]
reservation_object_reserve_shared
     0.46%  G.26           radeonsi_dri.so    [.] si_reset_buffer_resources
     0.45%  G.26           radeonsi_dri.so    [.] hash_table_search
     0.45%  bioshock.i386  [drm]              [k] drm_gem_object_lookup
     0.42%  G.26           libc-2.22.so       [.] malloc_consolidate
     0.41%  bioshock.i386  [radeon]           [k] radeon_sync_fence
     0.41%  G.26           radeonsi_dri.so    [.] set_search
     0.40%  G.26           radeonsi_dri.so    [.]
u_default_transfer_inline_write
     0.40%  bioshock.i386  [ttm]              [k] ttm_bo_add_to_lru
     0.38%  G.26           radeonsi_dri.so    [.] st_validate_state
     0.36%  bioshock.i386  [ttm]              [k] ttm_bo_del_from_lru

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

[-- Attachment #1.2: Type: text/html, Size: 4001 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] 17+ messages in thread

* [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poorly on any GPU with GCN >=1.1
  2016-05-18 19:19 [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poor on any GPU with GCN >=1.1 bugzilla-daemon
                   ` (5 preceding siblings ...)
  2016-05-18 21:13 ` bugzilla-daemon
@ 2016-05-18 21:14 ` bugzilla-daemon
  2016-05-19 17:36 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bugzilla-daemon @ 2016-05-18 21:14 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Jan Ziak <0xe2.0x9a.0x9b@gmail.com> ---
(In reply to Alex Deucher from comment #4)
> Can you try a different kernel or mesa version?

I will try tomorrow.

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

[-- Attachment #1.2: Type: text/html, Size: 1234 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] 17+ messages in thread

* [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poorly on any GPU with GCN >=1.1
  2016-05-18 19:19 [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poor on any GPU with GCN >=1.1 bugzilla-daemon
                   ` (6 preceding siblings ...)
  2016-05-18 21:14 ` bugzilla-daemon
@ 2016-05-19 17:36 ` bugzilla-daemon
  2016-05-20 13:22 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bugzilla-daemon @ 2016-05-19 17:36 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from Jan Ziak <0xe2.0x9a.0x9b@gmail.com> ---
(In reply to Alex Deucher from comment #4)
> Can you try a different kernel or mesa version?

LLVM 3.8 + Mesa 11.2.2 -> same result

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

[-- Attachment #1.2: Type: text/html, Size: 1254 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] 17+ messages in thread

* [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poorly on any GPU with GCN >=1.1
  2016-05-18 19:19 [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poor on any GPU with GCN >=1.1 bugzilla-daemon
                   ` (7 preceding siblings ...)
  2016-05-19 17:36 ` bugzilla-daemon
@ 2016-05-20 13:22 ` bugzilla-daemon
  2016-05-24 20:21 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bugzilla-daemon @ 2016-05-20 13:22 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #8 from Jan Ziak <0xe2.0x9a.0x9b@gmail.com> ---
(In reply to Alex Deucher from comment #4)
> Can you try a different kernel or mesa version?

Kernel 4.4.6 radeon.ko + LLVM 3.8 + Mesa 11.2.2 -> same result

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

[-- Attachment #1.2: Type: text/html, Size: 1279 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] 17+ messages in thread

* [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poorly on any GPU with GCN >=1.1
  2016-05-18 19:19 [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poor on any GPU with GCN >=1.1 bugzilla-daemon
                   ` (8 preceding siblings ...)
  2016-05-20 13:22 ` bugzilla-daemon
@ 2016-05-24 20:21 ` bugzilla-daemon
  2016-05-24 21:06 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bugzilla-daemon @ 2016-05-24 20:21 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #9 from Jan Ziak <0xe2.0x9a.0x9b@gmail.com> ---
Created attachment 124063
  --> https://bugs.freedesktop.org/attachment.cgi?id=124063&action=edit
kcachegrind screenshot: _mesa_FenceSync

I ran callgrind on Bioshock with mesa-git.

Callgrind instrumentation was enabled only when the Bioshock benchmark was
rendering frames from the game. The benchmark graphics quality was set to
Medium.

The screenshot I am sending indicates that Bioshock expects a faster
_mesa_FenceSync implementation.

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

[-- Attachment #1.2: Type: text/html, Size: 1669 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] 17+ messages in thread

* [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poorly on any GPU with GCN >=1.1
  2016-05-18 19:19 [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poor on any GPU with GCN >=1.1 bugzilla-daemon
                   ` (9 preceding siblings ...)
  2016-05-24 20:21 ` bugzilla-daemon
@ 2016-05-24 21:06 ` bugzilla-daemon
  2016-05-24 21:24 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bugzilla-daemon @ 2016-05-24 21:06 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #10 from Jan Ziak <0xe2.0x9a.0x9b@gmail.com> ---
Also, the first part of the Bioshock benchmark causes Mesa to compile some
shaders almost every frame.

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

[-- Attachment #1.2: Type: text/html, Size: 1152 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] 17+ messages in thread

* [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poorly on any GPU with GCN >=1.1
  2016-05-18 19:19 [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poor on any GPU with GCN >=1.1 bugzilla-daemon
                   ` (10 preceding siblings ...)
  2016-05-24 21:06 ` bugzilla-daemon
@ 2016-05-24 21:24 ` bugzilla-daemon
  2016-05-25 12:09 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bugzilla-daemon @ 2016-05-24 21:24 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #11 from Marek Olšák <maraeo@gmail.com> ---
CPU profiling is usable only if you've built Mesa and LLVM with
-fno-omit-frame-pointer.

This article suggests that the regression happened between 11.2 and master. Do
you disagree with that?
http://www.phoronix.com/scan.php?page=news_item&px=RadeonSI-Padoka-May-Ubuntu-16&utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Phoronix+%28Phoronix%29

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

[-- Attachment #1.2: Type: text/html, Size: 1614 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] 17+ messages in thread

* [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poorly on any GPU with GCN >=1.1
  2016-05-18 19:19 [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poor on any GPU with GCN >=1.1 bugzilla-daemon
                   ` (11 preceding siblings ...)
  2016-05-24 21:24 ` bugzilla-daemon
@ 2016-05-25 12:09 ` bugzilla-daemon
  2016-05-25 14:14 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bugzilla-daemon @ 2016-05-25 12:09 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #12 from Marek Olšák <maraeo@gmail.com> ---
(In reply to Jan Ziak from comment #9)
> Created attachment 124063 [details]
> kcachegrind screenshot: _mesa_FenceSync
> 
> I ran callgrind on Bioshock with mesa-git.
> 
> Callgrind instrumentation was enabled only when the Bioshock benchmark was
> rendering frames from the game. The benchmark graphics quality was set to
> Medium.
> 
> The screenshot I am sending indicates that Bioshock expects a faster
> _mesa_FenceSync implementation.

I wouldn't trust callgrind, because it runs on a CPU emulator.

The proper way to profile this is to build Mesa with -fno-omit-frame-pointer
and use sysprof, which is very easy to use. Sysprof can also save the results
to disk.

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

[-- Attachment #1.2: Type: text/html, Size: 2062 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] 17+ messages in thread

* [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poorly on any GPU with GCN >=1.1
  2016-05-18 19:19 [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poor on any GPU with GCN >=1.1 bugzilla-daemon
                   ` (12 preceding siblings ...)
  2016-05-25 12:09 ` bugzilla-daemon
@ 2016-05-25 14:14 ` bugzilla-daemon
  2016-08-01 17:33 ` bugzilla-daemon
  2016-08-14 21:27 ` bugzilla-daemon
  15 siblings, 0 replies; 17+ messages in thread
From: bugzilla-daemon @ 2016-05-25 14:14 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #13 from Jan Ziak <0xe2.0x9a.0x9b@gmail.com> ---
(In reply to Marek Olšák from comment #11)
> This article suggests that the regression happened between 11.2 and master.
> Do you disagree with that?
> http://www.phoronix.com/scan.php?page=news_item&px=RadeonSI-Padoka-May-
> Ubuntu-
> 16&utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Phoronix+%28Pho
> ronix%29

I am unable to reproduce the results from the article on my machine with Mesa
11.2.0. Mesa 11.2.0 and mesa-git have similar performance on my machine.

The 37.35 FPS (Ultra quality setting) in the Phoronix article for Mesa 11.2.0
is highly unlikely. 

Bioshock benchmark ignores the command-line option -ForceCompatLevel=N if there
exists "$HOME/.local/share/irrationalgames/bioshockinfinite".

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

[-- Attachment #1.2: Type: text/html, Size: 1986 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] 17+ messages in thread

* [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poorly on any GPU with GCN >=1.1
  2016-05-18 19:19 [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poor on any GPU with GCN >=1.1 bugzilla-daemon
                   ` (13 preceding siblings ...)
  2016-05-25 14:14 ` bugzilla-daemon
@ 2016-08-01 17:33 ` bugzilla-daemon
  2016-08-14 21:27 ` bugzilla-daemon
  15 siblings, 0 replies; 17+ messages in thread
From: bugzilla-daemon @ 2016-08-01 17:33 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #14 from Marek Olšák <maraeo@gmail.com> ---
I've done some profiling.

Bioshock Infinite:
- the game is CPU-bound most of the time
- some small performance enhancements have landed already
- the FenceSync optimization is a work in progress, expect a 30% improvement
- most of the scratch buffer usage is for private memory, not VGPR spilling
(this may be a defect in our indirect indexing)
- if I'm not taking private memory usage into account, it's still in top 2 of
the worst VGPR spilling apps

DiRT Showdown:
- the game is GPU-bound
- there are a bunch of very slow pixel shaders using while loops, it's unclear
how to make them faster
- most of the scratch buffer usage is for VGPR spilling
- it's in top 2 of the worst VGPR spilling apps

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

[-- Attachment #1.2: Type: text/html, Size: 1758 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] 17+ messages in thread

* [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poorly on any GPU with GCN >=1.1
  2016-05-18 19:19 [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poor on any GPU with GCN >=1.1 bugzilla-daemon
                   ` (14 preceding siblings ...)
  2016-08-01 17:33 ` bugzilla-daemon
@ 2016-08-14 21:27 ` bugzilla-daemon
  15 siblings, 0 replies; 17+ messages in thread
From: bugzilla-daemon @ 2016-08-14 21:27 UTC (permalink / raw)
  To: dri-devel


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

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

Jan Ziak <0xe2.0x9a.0x9b@gmail.com> changed:

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

--- Comment #15 from Jan Ziak <0xe2.0x9a.0x9b@gmail.com> ---
I am closing this issue and marking it as fixed.

Bioshock Infinite benchmark @1080p runs at 33 FPS on Ultra settings on
A10-7850K+R9-390. R9-390 is a GCN 1.1 GPU.

Phoronix claims to have been able to reach about 80 FPS on Ultra settings with
GCN 1.2+ GPUs and a fast 4(8) cores(threads) Skylake CPU:

http://phoronix.com/scan.php?page=news_item&px=RadeonSI-Mesa-Git-BioShock-Test

----

DiRT Showdown: It is better to have a separate freedesktop.org bug tracking
DiRT Showdown performance issues than to postpone closing this bug.

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

[-- Attachment #1.2: Type: text/html, Size: 2749 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] 17+ messages in thread

end of thread, other threads:[~2016-08-14 21:27 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-18 19:19 [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poor on any GPU with GCN >=1.1 bugzilla-daemon
2016-05-18 19:22 ` [Bug 95474] Bioshock Infinite and DiRT Showdown perform very poorly " bugzilla-daemon
2016-05-18 19:26 ` bugzilla-daemon
2016-05-18 19:39 ` bugzilla-daemon
2016-05-18 21:09 ` bugzilla-daemon
2016-05-18 21:12 ` bugzilla-daemon
2016-05-18 21:13 ` bugzilla-daemon
2016-05-18 21:14 ` bugzilla-daemon
2016-05-19 17:36 ` bugzilla-daemon
2016-05-20 13:22 ` bugzilla-daemon
2016-05-24 20:21 ` bugzilla-daemon
2016-05-24 21:06 ` bugzilla-daemon
2016-05-24 21:24 ` bugzilla-daemon
2016-05-25 12:09 ` bugzilla-daemon
2016-05-25 14:14 ` bugzilla-daemon
2016-08-01 17:33 ` bugzilla-daemon
2016-08-14 21:27 ` 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.