Skip to contentSkip to conversation

Arma 3 crashes: Too many fragment shader texture samplers

Bug 91951 [email protected] 1 participant 4 messages Sep 9, 2015 – Sep 10, 2015

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 91951
Summary: [radeonsi] Arma 3 crashes: Too many fragment shader
texture samplers
Product: Mesa
Version: 11.0
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

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

Arma 3 crashes when entering map. Last lines from eon.txt:

[thread 0000000f][E][48299]: Program from shader GL_FRAGMENT_SHADER with length 20611 and CRC 0xae61bc1c has not been successfully linked. Program info log:
error: Too many fragment shader texture samplers

Mesa version: 11.0.0-rc3
GPU: R9 390
GCC options: -O1 -ggdb -march=native

Attaching backtrace and eon.txt in case there is some useful information. MESA_GLSL=log didn't save the failing shader, just all before it. Please let me know if I can provide more information.

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

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

--- Comment #1 from [email protected] ---
Created attachment 118173
--> https://bugs.freedesktop.org/attachment.cgi?id=118173&action=edit
Crash report (eon.txt)

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

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

--- Comment #2 from Ilia Mirkin <[email protected]> --- Should show up if you do MESA_GLSL=dump.

I suspect they have a sampler somewhere funny... the number of samplers is counted with link_uniforms.cpp:values_for_type which seems like it'll be off for a sampler inside a struct or something.

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

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

Michel Dänzer <[email protected]> changed:

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

          Component|Drivers/Gallium/radeonsi    |glsl-compiler
           Assignee|[email protected] |[email protected]
                   |.org                        |
         QA Contact|[email protected] |[email protected]
                   |.org                        |ktop.org
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel