All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 100426] Trine 3 takes long time to load
@ 2017-03-28  3:47 bugzilla-daemon
  2017-04-28  2:25 ` bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-03-28  3:47 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 100426
           Summary: Trine 3 takes long time to load
           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: shtetldik@gmail.com
        QA Contact: dri-devel@lists.freedesktop.org

Trine 3 [GOG version] takes 50 seconds to load on first run (empty shader
cache). On subsequent runs, it takes 25 seconds (apparently since shader cache
is already populated).

Also, the CPU is loaded for me around 25% during game starting, so it looks
like shader compilation doesn't utilize all available cores.

OS: Debian testing x86-64
GPU: AMD RX480 / 4GB VRAM
CPU: Intel Core i7 4770 (3.40GHz) / 16GB RAM
OpenGL renderer string: Gallium 0.4 on AMD POLARIS10 (DRM 3.8.0 /
4.9.0-2-amd64, LLVM 3.9.1)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.1.0-devel
(git-af73acca2b)

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

[-- Attachment #1.2: Type: text/html, Size: 2575 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 100426] Trine 3 takes long time to load
  2017-03-28  3:47 [Bug 100426] Trine 3 takes long time to load bugzilla-daemon
@ 2017-04-28  2:25 ` bugzilla-daemon
  2017-04-28  3:14 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-04-28  2:25 UTC (permalink / raw)
  To: dri-devel


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

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

Timothy Arceri <t_arceri@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t_arceri@yahoo.com.au

--- Comment #1 from Timothy Arceri <t_arceri@yahoo.com.au> ---
25 second compile time is not all that bad. This far from the worse example of
compile times in Mesa.

I'm tempted to close this bug as I'm not convinced there is anything special
about Trine 3 here. Are you able to use the perf tool to see where in the
compiler we are spending lots of time? Or at the very least grab an apitrace
[1] of the game at startup and upload it somewhere so that I can use this to
take a quick look.


[1] https://github.com/apitrace/apitrace/wiki/Steam

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

[-- Attachment #1.2: Type: text/html, Size: 2293 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 100426] Trine 3 takes long time to load
  2017-03-28  3:47 [Bug 100426] Trine 3 takes long time to load bugzilla-daemon
  2017-04-28  2:25 ` bugzilla-daemon
@ 2017-04-28  3:14 ` bugzilla-daemon
  2017-04-28  3:15 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-04-28  3:14 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Shmerl <shtetldik@gmail.com> ---
Created attachment 131110
  --> https://bugs.freedesktop.org/attachment.cgi?id=131110&action=edit
apitrace of Trine 3 (empty mesa cache)

This is a trace with empty mesa cache, Mesa 17.1.0-devel (git-af73acca2b). I
interrupted it right before it hit 50 seconds, in order to prevent it from
bloating up.

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

[-- Attachment #1.2: Type: text/html, Size: 1406 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 100426] Trine 3 takes long time to load
  2017-03-28  3:47 [Bug 100426] Trine 3 takes long time to load bugzilla-daemon
  2017-04-28  2:25 ` bugzilla-daemon
  2017-04-28  3:14 ` bugzilla-daemon
@ 2017-04-28  3:15 ` bugzilla-daemon
  2017-04-28  3:23 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-04-28  3:15 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Shmerl <shtetldik@gmail.com> ---
Just for the reference, this is GOG, not Steam version, I don't know if they
differ.

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

[-- Attachment #1.2: Type: text/html, Size: 1015 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 100426] Trine 3 takes long time to load
  2017-03-28  3:47 [Bug 100426] Trine 3 takes long time to load bugzilla-daemon
                   ` (2 preceding siblings ...)
  2017-04-28  3:15 ` bugzilla-daemon
@ 2017-04-28  3:23 ` bugzilla-daemon
  2017-04-28  3:24 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-04-28  3:23 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Shmerl <shtetldik@gmail.com> ---
Created attachment 131111
  --> https://bugs.freedesktop.org/attachment.cgi?id=131111&action=edit
apitrace of Trine 3 (empty mesa cache)

A trace with already filled mesa cache, Mesa 17.1.0-devel (git-af73acca2b). I
interrupted it a couple of seconds before it hit 25 seconds.

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

[-- Attachment #1.2: Type: text/html, Size: 1379 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 100426] Trine 3 takes long time to load
  2017-03-28  3:47 [Bug 100426] Trine 3 takes long time to load bugzilla-daemon
                   ` (3 preceding siblings ...)
  2017-04-28  3:23 ` bugzilla-daemon
@ 2017-04-28  3:24 ` bugzilla-daemon
  2017-04-28  5:01 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-04-28  3:24 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Shmerl <shtetldik@gmail.com> ---
Sorry, wrong description in the second attachment. It should say: apitrace of
Trine 3 (filled mesa cache).

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

[-- Attachment #1.2: Type: text/html, Size: 1037 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 100426] Trine 3 takes long time to load
  2017-03-28  3:47 [Bug 100426] Trine 3 takes long time to load bugzilla-daemon
                   ` (4 preceding siblings ...)
  2017-04-28  3:24 ` bugzilla-daemon
@ 2017-04-28  5:01 ` bugzilla-daemon
  2017-04-28  5:08 ` bugzilla-daemon
  2017-04-28  5:33 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-04-28  5:01 UTC (permalink / raw)
  To: dri-devel


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

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

Timothy Arceri <t_arceri@yahoo.com.au> changed:

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

--- Comment #6 from Timothy Arceri <t_arceri@yahoo.com.au> ---
Thanks for the trace. However taking a look, there is nothing here that is
taking an abnormal amount of cpu, its well know that compile times are not as
good as we would like in Mesa, but this is an ongoing process.

I don't see any need to keep this bug open.

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

[-- Attachment #1.2: Type: text/html, Size: 2227 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 100426] Trine 3 takes long time to load
  2017-03-28  3:47 [Bug 100426] Trine 3 takes long time to load bugzilla-daemon
                   ` (5 preceding siblings ...)
  2017-04-28  5:01 ` bugzilla-daemon
@ 2017-04-28  5:08 ` bugzilla-daemon
  2017-04-28  5:33 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-04-28  5:08 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from Shmerl <shtetldik@gmail.com> ---
(In reply to Timothy Arceri from comment #6)
> its well know that compile times are not
> as good as we would like in Mesa, but this is an ongoing process.

Is there a plan to make compilation more parallelized when the processor allows
it?

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

[-- Attachment #1.2: Type: text/html, Size: 1305 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 100426] Trine 3 takes long time to load
  2017-03-28  3:47 [Bug 100426] Trine 3 takes long time to load bugzilla-daemon
                   ` (6 preceding siblings ...)
  2017-04-28  5:08 ` bugzilla-daemon
@ 2017-04-28  5:33 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-04-28  5:33 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #8 from Timothy Arceri <t_arceri@yahoo.com.au> ---
The radeonsi backend already does this where possible. The glsl compiler front
end is not currently thread safe, there have been a couple of attempts at this
over the years but I don't think anyone is working on this currently.

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

[-- Attachment #1.2: Type: text/html, Size: 1235 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-04-28  5:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-28  3:47 [Bug 100426] Trine 3 takes long time to load bugzilla-daemon
2017-04-28  2:25 ` bugzilla-daemon
2017-04-28  3:14 ` bugzilla-daemon
2017-04-28  3:15 ` bugzilla-daemon
2017-04-28  3:23 ` bugzilla-daemon
2017-04-28  3:24 ` bugzilla-daemon
2017-04-28  5:01 ` bugzilla-daemon
2017-04-28  5:08 ` bugzilla-daemon
2017-04-28  5:33 ` 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.