dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 101484] [bisected, SI] Steam fails to render content
@ 2017-06-17 16:02 bugzilla-daemon
  2017-06-19 23:48 ` bugzilla-daemon
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: bugzilla-daemon @ 2017-06-17 16:02 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 101484
           Summary: [bisected, SI] Steam fails to render content
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: gr.muench@gmail.com
        QA Contact: dri-devel@lists.freedesktop.org

Created attachment 132023
  --> https://bugs.freedesktop.org/attachment.cgi?id=132023&action=edit
Steam main window

Steam is no longer usable with mesa git. I suspect this is SI (Radeon HD 7970)
specific though. Confirmed bad commit by reverting it. 

2b8b9a56efc24cc0f27469bf1532c288cdca2076 is the first bad commit
commit 2b8b9a56efc24cc0f27469bf1532c288cdca2076
Author: Marek Olšák <marek.olsak@amd.com>
Date:   Mon May 29 00:40:39 2017 +0200

    radeonsi: move PSIZE and CLIPDIST unique IO indices after GENERIC

    Heaven LDS usage for LS+HS is below. The masks are "outputs_written"
    for LS and HS. Note that 32K is the maximum size.

    Before:
      heaven_x64: ls=1f1 tcs=1f1, lds=32K
      heaven_x64: ls=31 tcs=31, lds=24K
      heaven_x64: ls=71 tcs=71, lds=28K

    After:
      heaven_x64: ls=3f tcs=3f, lds=24K
      heaven_x64: ls=7 tcs=7, lds=13K
      heaven_x64: ls=f tcs=f, lds=17K

    All other apps have a similar decrease in LDS usage, because
    the "outputs_written" masks are similar. Also, most apps don't write
    POSITION in these shader stages, so there is room for improvement.
    (tight per-component input/output packing might help even more)

    It's unknown whether this improves performance.

    Tested-by: Edmondo Tommasina <edmondo.tommasina@gmail.com>
    Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>

:040000 040000 53bea508d363add63bb60fe4d7d776a16ef260c7
b654c367d8856228ec2059a2c3f42c5db2e36119 M      src

git bisect log
git bisect start
# bad: [1f958c1337290b4062a77f79fc101bb9f4bdf515] radeonsi: include ac_binary.h
for struct ac_shader_binary
git bisect bad 1f958c1337290b4062a77f79fc101bb9f4bdf515
# good: [bec1c13be2154dfb20baa4fbb33b1560a4ef1910] Android: Drop linking libgcc
git bisect good bec1c13be2154dfb20baa4fbb33b1560a4ef1910
# good: [fe14a9a50140d7b2e25052823efa671bf8d63d71] i965: Drop duplicate shadow
variable.
git bisect good fe14a9a50140d7b2e25052823efa671bf8d63d71
# bad: [978e6876f1cd8ccc8850a5665e9619a3e29b731e] etnaviv: flush resource when
binding as sampler view
git bisect bad 978e6876f1cd8ccc8850a5665e9619a3e29b731e
# good: [ee38dfe9a5525375012d1c6681e7c39c15ac3049] mesa: make
_mesa_scissor_bounding_box() static
git bisect good ee38dfe9a5525375012d1c6681e7c39c15ac3049
# good: [9d3f177e4b1ecd5e6ac4673e1ac8c72df9e159eb] dri: Optionally turn off a
couple of GLX extensions based on driconf options
git bisect good 9d3f177e4b1ecd5e6ac4673e1ac8c72df9e159eb
# bad: [97f6f411db9b16ebc7c4bebaf26513c185c8f550] i965/surface_state: Images
can't handle CCS at all
git bisect bad 97f6f411db9b16ebc7c4bebaf26513c185c8f550
# bad: [9cb42ae997054f52be2e99764199e00eb28056eb] util: Port nir_array
functionality to u_dynarray
git bisect bad 9cb42ae997054f52be2e99764199e00eb28056eb
# bad: [e9409c86e7b076801626474dfa5a9151da078a73] radeonsi: remove 8 bytes from
si_shader_key
git bisect bad e9409c86e7b076801626474dfa5a9151da078a73
# good: [1887faf73b379f28eb6c73bdb790dbcc97213b3a] svga: Allow format
differences in 16-bit RGBA surface sharing
git bisect good 1887faf73b379f28eb6c73bdb790dbcc97213b3a
# good: [df4d6003dc75395f8ded57fdf59046f0d008eea3] svga: Fix imported surface
view creation
git bisect good df4d6003dc75395f8ded57fdf59046f0d008eea3
# bad: [2b8b9a56efc24cc0f27469bf1532c288cdca2076] radeonsi: move PSIZE and
CLIPDIST unique IO indices after GENERIC
git bisect bad 2b8b9a56efc24cc0f27469bf1532c288cdca2076
# good: [2c4ec3f93fcab3fddcbe132200b210e7def1facc] svga: Always set the alpha
value to 1 when sampling using an XRGB view
git bisect good 2c4ec3f93fcab3fddcbe132200b210e7def1facc
# first bad commit: [2b8b9a56efc24cc0f27469bf1532c288cdca2076] radeonsi: move
PSIZE and CLIPDIST unique IO indices after GENERIC

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

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

* [Bug 101484] [bisected, SI] Steam fails to render content
  2017-06-17 16:02 [Bug 101484] [bisected, SI] Steam fails to render content bugzilla-daemon
@ 2017-06-19 23:48 ` bugzilla-daemon
  2017-06-19 23:49 ` bugzilla-daemon
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon @ 2017-06-19 23:48 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Marek Olšák <maraeo@gmail.com> ---
Sadly, I can't reproduce this on Cape Verde. Piglit results good good.

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

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

* [Bug 101484] [bisected, SI] Steam fails to render content
  2017-06-17 16:02 [Bug 101484] [bisected, SI] Steam fails to render content bugzilla-daemon
  2017-06-19 23:48 ` bugzilla-daemon
@ 2017-06-19 23:49 ` bugzilla-daemon
  2017-06-20  6:11 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon @ 2017-06-19 23:49 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Marek Olšák <maraeo@gmail.com> ---
I mean piglit results look good. ;)

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

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

* [Bug 101484] [bisected, SI] Steam fails to render content
  2017-06-17 16:02 [Bug 101484] [bisected, SI] Steam fails to render content bugzilla-daemon
  2017-06-19 23:48 ` bugzilla-daemon
  2017-06-19 23:49 ` bugzilla-daemon
@ 2017-06-20  6:11 ` bugzilla-daemon
  2017-06-25  9:06 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon @ 2017-06-20  6:11 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Gregor Münch <gr.muench@gmail.com> ---
One thing that comes to my mind, Im using Steam Beta. Maybe the problem is
limited to that or its just steam itself.

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

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

* [Bug 101484] [bisected, SI] Steam fails to render content
  2017-06-17 16:02 [Bug 101484] [bisected, SI] Steam fails to render content bugzilla-daemon
                   ` (2 preceding siblings ...)
  2017-06-20  6:11 ` bugzilla-daemon
@ 2017-06-25  9:06 ` bugzilla-daemon
  2017-06-25 10:37 ` [Bug 101484] [bisected] Steam fails to render content, if mesa is compiled with -O2 bugzilla-daemon
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon @ 2017-06-25  9:06 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Joti Papadopoulos <pan.papadopoulos80@gmail.com> ---
I'm having the same issue on Tonga(Gigabyte R9 380) on Arch Linux

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

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

* [Bug 101484] [bisected] Steam fails to render content, if mesa is compiled with -O2
  2017-06-17 16:02 [Bug 101484] [bisected, SI] Steam fails to render content bugzilla-daemon
                   ` (3 preceding siblings ...)
  2017-06-25  9:06 ` bugzilla-daemon
@ 2017-06-25 10:37 ` bugzilla-daemon
  2017-06-25 10:40 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon @ 2017-06-25 10:37 UTC (permalink / raw)
  To: dri-devel


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

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

Gregor Münch <gr.muench@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[bisected, SI] Steam fails  |[bisected] Steam fails to
                   |to render content           |render content, if mesa is
                   |                            |compiled with -O2

--- Comment #5 from Gregor Münch <gr.muench@gmail.com> ---
Ive tested this now, and again its a compiler flags issue.
Arch standard clfags are:
CFLAGS="-march=native -O2 -pipe -fstack-protector-strong"

Looks like "-O2" is already too much. Setting this to -O1 fixes the problem.
This is a very nasty issue. However, -02 is considered "safe" so the issue
should probably fixed in mesa.

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

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

* [Bug 101484] [bisected] Steam fails to render content, if mesa is compiled with -O2
  2017-06-17 16:02 [Bug 101484] [bisected, SI] Steam fails to render content bugzilla-daemon
                   ` (4 preceding siblings ...)
  2017-06-25 10:37 ` [Bug 101484] [bisected] Steam fails to render content, if mesa is compiled with -O2 bugzilla-daemon
@ 2017-06-25 10:40 ` bugzilla-daemon
  2017-06-25 10:51 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon @ 2017-06-25 10:40 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Gregor Münch <gr.muench@gmail.com> ---
Forgot to add: it isnt a problem with Steam Beta, its also in the non-beta
variant.

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

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

* [Bug 101484] [bisected] Steam fails to render content, if mesa is compiled with -O2
  2017-06-17 16:02 [Bug 101484] [bisected, SI] Steam fails to render content bugzilla-daemon
                   ` (5 preceding siblings ...)
  2017-06-25 10:40 ` bugzilla-daemon
@ 2017-06-25 10:51 ` bugzilla-daemon
  2017-06-25 12:25 ` [Bug 101484] [regression, bisected] Steam fails to render content, if mesa is compiled with -O2 -march=haswell bugzilla-daemon
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon @ 2017-06-25 10:51 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from network723@rkmail.ru ---
openSUSE, no problem with -O2

CFLAGS='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables -DNDEBUG'
CXXFLAGS='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -DNDEBUG'
FFLAGS='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables'

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

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

* [Bug 101484] [regression, bisected] Steam fails to render content, if mesa is compiled with -O2 -march=haswell
  2017-06-17 16:02 [Bug 101484] [bisected, SI] Steam fails to render content bugzilla-daemon
                   ` (6 preceding siblings ...)
  2017-06-25 10:51 ` bugzilla-daemon
@ 2017-06-25 12:25 ` bugzilla-daemon
  2017-06-25 17:19 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon @ 2017-06-25 12:25 UTC (permalink / raw)
  To: dri-devel


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

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

Gregor Münch <gr.muench@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[bisected] Steam fails to   |[regression, bisected]
                   |render content, if mesa is  |Steam fails to render
                   |compiled with -O2           |content, if mesa is
                   |                            |compiled with -O2
                   |                            |-march=haswell

--- Comment #8 from Gregor Münch <gr.muench@gmail.com> ---
(In reply to network723 from comment #7)
> openSUSE, no problem with -O2
> 
> CFLAGS='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall
> -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -DNDEBUG'

Using your cflags works, but adding -march=native (in my case -march=haswell)
let the problem reappear.

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

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

* [Bug 101484] [regression, bisected] Steam fails to render content, if mesa is compiled with -O2 -march=haswell
  2017-06-17 16:02 [Bug 101484] [bisected, SI] Steam fails to render content bugzilla-daemon
                   ` (7 preceding siblings ...)
  2017-06-25 12:25 ` [Bug 101484] [regression, bisected] Steam fails to render content, if mesa is compiled with -O2 -march=haswell bugzilla-daemon
@ 2017-06-25 17:19 ` bugzilla-daemon
  2017-06-26  9:05 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon @ 2017-06-25 17:19 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #9 from Joti Papadopoulos <pan.papadopoulos80@gmail.com> ---
Same here. Removing -march=native fixes the issue(which in my case would be
Skylake).

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

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

* [Bug 101484] [regression, bisected] Steam fails to render content, if mesa is compiled with -O2 -march=haswell
  2017-06-17 16:02 [Bug 101484] [bisected, SI] Steam fails to render content bugzilla-daemon
                   ` (8 preceding siblings ...)
  2017-06-25 17:19 ` bugzilla-daemon
@ 2017-06-26  9:05 ` bugzilla-daemon
  2017-06-26  9:07 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon @ 2017-06-26  9:05 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #10 from Eric Engestrom <fdo-bugs@engestrom.ch> ---
Looks to me like you're hitting a compiler optimisation bug; what compiler
(&version) are you using?
Can you try another one? For instance, if you were using gcc, `CC=clang
CXX=clang++ ./configure` should do it.

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

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

* [Bug 101484] [regression, bisected] Steam fails to render content, if mesa is compiled with -O2 -march=haswell
  2017-06-17 16:02 [Bug 101484] [bisected, SI] Steam fails to render content bugzilla-daemon
                   ` (9 preceding siblings ...)
  2017-06-26  9:05 ` bugzilla-daemon
@ 2017-06-26  9:07 ` bugzilla-daemon
  2017-06-27  9:03 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon @ 2017-06-26  9:07 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #11 from Michel Dänzer <michel@daenzer.net> ---
It could be either a compiler bug, or a Mesa bug which only manifests itself
with certain compiler options.

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

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

* [Bug 101484] [regression, bisected] Steam fails to render content, if mesa is compiled with -O2 -march=haswell
  2017-06-17 16:02 [Bug 101484] [bisected, SI] Steam fails to render content bugzilla-daemon
                   ` (10 preceding siblings ...)
  2017-06-26  9:07 ` bugzilla-daemon
@ 2017-06-27  9:03 ` bugzilla-daemon
  2017-07-08 16:17 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon @ 2017-06-27  9:03 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #12 from Mika <mikael.public@gmail.com> ---
Hi,
I tried with both clang and gcc on Haswell / Pitcairn with "-O2 -march=native",
and I obtained the very same broken display

clang version 5.0.0 (trunk 306114)
gcc version 7.1.1 20170528 (GCC)

-- 
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] 19+ messages in thread

* [Bug 101484] [regression, bisected] Steam fails to render content, if mesa is compiled with -O2 -march=haswell
  2017-06-17 16:02 [Bug 101484] [bisected, SI] Steam fails to render content bugzilla-daemon
                   ` (11 preceding siblings ...)
  2017-06-27  9:03 ` bugzilla-daemon
@ 2017-07-08 16:17 ` bugzilla-daemon
  2017-07-26 19:30 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon @ 2017-07-08 16:17 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #13 from Gregor Münch <gr.muench@gmail.com> ---
Ive tested now some instructions enabled by Haswell according to:
https://gcc.gnu.org/onlinedocs/gcc-6.3.0/gcc/x86-Options.html#x86-Options

And found the culprit with:
-mbmi

Setting this and compiling mesa, corrupts Steam interface and also graphs
ingame enabled with Gallium_hud.

Since the instruction is also used on AMD since Piledriver, it would
interesting to see if those CPUs are effected as well.

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

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

* [Bug 101484] [regression, bisected] Steam fails to render content, if mesa is compiled with -O2 -march=haswell
  2017-06-17 16:02 [Bug 101484] [bisected, SI] Steam fails to render content bugzilla-daemon
                   ` (12 preceding siblings ...)
  2017-07-08 16:17 ` bugzilla-daemon
@ 2017-07-26 19:30 ` bugzilla-daemon
  2017-07-30  1:52 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon @ 2017-07-26 19:30 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #14 from LoneVVolf <lonewolf@xs4all.nl> ---
(In reply to Gregor Münch from comment #5)
> Ive tested this now, and again its a compiler flags issue.
> Arch standard clfags are:
> CFLAGS="-march=native -O2 -pipe -fstack-protector-strong"
> 

for clarity, default on archlinux is NOT -march=native .

The current pacman version is 5.0.2-2 and it has these defaults :

# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"
CHOST="x86_64-pc-linux-gnu"

#-- Compiler and Linker Flags
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
CPPFLAGS="-D_FORTIFY_SOURCE=2"
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
-fno-plt"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
-fno-plt"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"
#-- Debugging flags
DEBUG_CFLAGS="-g -fvar-tracking-assignments"
DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"

--------------------------------------------------

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

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

* [Bug 101484] [regression, bisected] Steam fails to render content, if mesa is compiled with -O2 -march=haswell
  2017-06-17 16:02 [Bug 101484] [bisected, SI] Steam fails to render content bugzilla-daemon
                   ` (13 preceding siblings ...)
  2017-07-26 19:30 ` bugzilla-daemon
@ 2017-07-30  1:52 ` bugzilla-daemon
  2017-08-06 18:54 ` [Bug 101484] [regression, bisected] Steam fails to render content, if mesa is compiled with -O2 -march=native (CPU with bmi instruction supported) bugzilla-daemon
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon @ 2017-07-30  1:52 UTC (permalink / raw)
  To: dri-devel


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

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

Lucas Francesco <lucas.francesco93@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lucas.francesco93@gmail.com

--- Comment #15 from Lucas Francesco <lucas.francesco93@gmail.com> ---
Created attachment 133133
  --> https://bugs.freedesktop.org/attachment.cgi?id=133133&action=edit
lolscren

this happens on LoL using nine too(and probably other games using nine with
wine), but setting -nobmi as flag make every game that uses nine to not launch.


do we have any hints about what part of the new code is causing this bug?

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

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

* [Bug 101484] [regression, bisected] Steam fails to render content, if mesa is compiled with -O2 -march=native (CPU with bmi instruction supported)
  2017-06-17 16:02 [Bug 101484] [bisected, SI] Steam fails to render content bugzilla-daemon
                   ` (14 preceding siblings ...)
  2017-07-30  1:52 ` bugzilla-daemon
@ 2017-08-06 18:54 ` bugzilla-daemon
  2017-08-08 15:11 ` bugzilla-daemon
  2018-01-21 19:20 ` bugzilla-daemon
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon @ 2017-08-06 18:54 UTC (permalink / raw)
  To: dri-devel


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

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

Gregor Münch <gr.muench@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[regression, bisected]      |[regression, bisected]
                   |Steam fails to render       |Steam fails to render
                   |content, if mesa is         |content, if mesa is
                   |compiled with -O2           |compiled with -O2
                   |-march=haswell              |-march=native (CPU with bmi
                   |                            |instruction supported)

--- Comment #16 from Gregor Münch <gr.muench@gmail.com> ---
(In reply to LoneVVolf from comment #14)
> for clarity, default on archlinux is NOT -march=native .
> 

Im sorry, youre right.
Ive taken things from:
https://wiki.archlinux.org/index.php/makepkg#Creating_optimized_packages

I guess there are still numerous people affected by this bug and the question
is what to do now.

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

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

* [Bug 101484] [regression, bisected] Steam fails to render content, if mesa is compiled with -O2 -march=native (CPU with bmi instruction supported)
  2017-06-17 16:02 [Bug 101484] [bisected, SI] Steam fails to render content bugzilla-daemon
                   ` (15 preceding siblings ...)
  2017-08-06 18:54 ` [Bug 101484] [regression, bisected] Steam fails to render content, if mesa is compiled with -O2 -march=native (CPU with bmi instruction supported) bugzilla-daemon
@ 2017-08-08 15:11 ` bugzilla-daemon
  2018-01-21 19:20 ` bugzilla-daemon
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon @ 2017-08-08 15:11 UTC (permalink / raw)
  To: dri-devel


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

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

Mike Lothian <mike@fireburn.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@fireburn.co.uk

--- Comment #17 from Mike Lothian <mike@fireburn.co.uk> ---
Lucas the correct flag to disable BMI is -mno-bmi

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

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

* [Bug 101484] [regression, bisected] Steam fails to render content, if mesa is compiled with -O2 -march=native (CPU with bmi instruction supported)
  2017-06-17 16:02 [Bug 101484] [bisected, SI] Steam fails to render content bugzilla-daemon
                   ` (16 preceding siblings ...)
  2017-08-08 15:11 ` bugzilla-daemon
@ 2018-01-21 19:20 ` bugzilla-daemon
  17 siblings, 0 replies; 19+ messages in thread
From: bugzilla-daemon @ 2018-01-21 19:20 UTC (permalink / raw)
  To: dri-devel


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

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

Gregor Münch <gr.muench@gmail.com> changed:

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

--- Comment #18 from Gregor Münch <gr.muench@gmail.com> ---
I tried again today and I was not able to reproduce this bug.
Im using gcc 7.2.1 20180116.

I close this bug now. If someone still have the same problems, please reopen!

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

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

end of thread, other threads:[~2018-01-21 19:20 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-17 16:02 [Bug 101484] [bisected, SI] Steam fails to render content bugzilla-daemon
2017-06-19 23:48 ` bugzilla-daemon
2017-06-19 23:49 ` bugzilla-daemon
2017-06-20  6:11 ` bugzilla-daemon
2017-06-25  9:06 ` bugzilla-daemon
2017-06-25 10:37 ` [Bug 101484] [bisected] Steam fails to render content, if mesa is compiled with -O2 bugzilla-daemon
2017-06-25 10:40 ` bugzilla-daemon
2017-06-25 10:51 ` bugzilla-daemon
2017-06-25 12:25 ` [Bug 101484] [regression, bisected] Steam fails to render content, if mesa is compiled with -O2 -march=haswell bugzilla-daemon
2017-06-25 17:19 ` bugzilla-daemon
2017-06-26  9:05 ` bugzilla-daemon
2017-06-26  9:07 ` bugzilla-daemon
2017-06-27  9:03 ` bugzilla-daemon
2017-07-08 16:17 ` bugzilla-daemon
2017-07-26 19:30 ` bugzilla-daemon
2017-07-30  1:52 ` bugzilla-daemon
2017-08-06 18:54 ` [Bug 101484] [regression, bisected] Steam fails to render content, if mesa is compiled with -O2 -march=native (CPU with bmi instruction supported) bugzilla-daemon
2017-08-08 15:11 ` bugzilla-daemon
2018-01-21 19:20 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).