Skip to contentSkip to conversation

New: Shader optimizer is extremely slow

Bug 51862 [email protected] 1 participant 3 messages Jul 8, 2012 – Aug 21, 2013 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Bug #: 51862
Summary: Shader optimizer is extremely slow
Classification: Unclassified
Product: Mesa
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: critical
Priority: medium
Component: Drivers/DRI/nouveau
AssignedTo: [email protected]
ReportedBy: tiziano-dNrdRo8CweYdbCeoMzGj59i2O/[email protected]

Created attachment 63969
--> https://bugs.freedesktop.org/attachment.cgi?id=63969
Comparison of shader compile times between mesa and nvidia driver

Shader optimizer is extremely slow and causes games like Crysis that loads content while playing to go very slow or freeze temporarily

On nvidia proprietary driver sometimes compiling is even 200x faster

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

A message that is not in the archive (sent off-list or not yet received): bug-51862-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 51862] Shader optimizer is extremely slow

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

--- Comment #1 from Tiziano Bacocco <tiziano-dNrdRo8CweYdbCeoMzGj59i2O/[email protected]> 2012-07-08 05:05:09 PDT --- Created attachment 63970
--> https://bugs.freedesktop.org/attachment.cgi?id=63970
Profiler output while running a programm that continously compiles shaders

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 51862] Shader optimizer is extremely slow

In reply to a message not in the archive

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

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTOURBUG

--- Comment #2 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Looks like most of the time is being spent in ir_expression/etc -- these are generic mesa glsl facilities. Please retest this with the latest mesa, I suspect that improvements have been made. If you still think it's slow, feel free to file a bug with the core mesa team. I don't see anything nouveau-specific about this issue. Also, please use perf for the measurements, it can see inside the kernel, which may relevant (that 16% chunk inside the kernel seems high).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau