[Mesa-dev] [Bug 103732] [swr] often gets stuck in piglit's glx-multi-context-single-window test

2017-12-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103732

Emil Velikov  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #13 from Emil Velikov  ---
Should be fixed with Mesa 17.2.7

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 103732] [swr] often gets stuck in piglit's glx-multi-context-single-window test

2017-11-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103732

--- Comment #12 from Bruce Cherniak  ---
> I've just did it [1] but for future patches check the instructions[2].
> Feel free to send patches if you think the instructions could be improved ;-)

Much thanks Emil!  Instructions are good.  As usual, it's me that could be
improved. ;-)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 103732] [swr] often gets stuck in piglit's glx-multi-context-single-window test

2017-11-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103732

--- Comment #11 from Emil Velikov  ---
> Yes, I do believe this is a good candidate for picking to the 17.2 stable
> queue.  What do I need to do to enable that?
> 
I've just did it [1] but for future patches check the instructions[2].
Feel free to send patches if you think the instructions could be improved ;-)

[1]
https://lists.freedesktop.org/archives/mesa-stable/2017-November/007531.html
[2] https://www.mesa3d.org/submittingpatches.html#nominations

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 103732] [swr] often gets stuck in piglit's glx-multi-context-single-window test

2017-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103732

--- Comment #10 from Bruce Cherniak  ---
On Nov 29, 2017, at 7:50 AM,
bugzilla-dae...@freedesktop.org wrote:

Comment # 9 on bug
103732 from Andrés Gómez
García

(In reply to Bruce Cherniak from comment
#8)
> The root cause to this bug was fixed in a post-17.2 patch (b9aa0fa7) "swr:
> Handle resource across context changes".  It's in mesa master and the
> forthcoming 17.3.
>
> The test still fails occasionally, but does not get stuck.

Wow! That was quick!

Thanks a lot, Bruce, should we mark as "ALREADYFIXED" or rename for the
occasional failure?

Also, should we pick b9aa0fa7 for the 17.2 stable queue? It seems to apply
clean ...

Yes, I do believe this is a good candidate for picking to the 17.2 stable
queue.  What do I need to do to enable that?

Thanks,
Bruce



You are receiving this mail because:

  *   You are the assignee for the bug.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 103732] [swr] often gets stuck in piglit's glx-multi-context-single-window test

2017-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103732

--- Comment #9 from Andrés Gómez García  ---
(In reply to Bruce Cherniak from comment #8)
> The root cause to this bug was fixed in a post-17.2 patch (b9aa0fa7) "swr:
> Handle resource across context changes".  It's in mesa master and the
> forthcoming 17.3.
> 
> The test still fails occasionally, but does not get stuck.

Wow! That was quick!

Thanks a lot, Bruce, should we mark as "ALREADYFIXED" or rename for the
occasional failure?

Also, should we pick b9aa0fa7 for the 17.2 stable queue? It seems to apply
clean ...

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 103732] [swr] often gets stuck in piglit's glx-multi-context-single-window test

2017-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103732

--- Comment #8 from Bruce Cherniak  ---
The root cause to this bug was fixed in a post-17.2 patch (b9aa0fa7) "swr:
Handle resource across context changes".  It's in mesa master and the
forthcoming 17.3.

The test still fails occasionally, but does not get stuck.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 103732] [swr] often gets stuck in piglit's glx-multi-context-single-window test

2017-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103732

Bruce Cherniak  changed:

   What|Removed |Added

   Assignee|mesa-dev@lists.freedesktop. |bruce.chern...@intel.com
   |org |

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 103732] [swr] often gets stuck in piglit's glx-multi-context-single-window test

2017-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103732

Bruce Cherniak  changed:

   What|Removed |Added

  Component|Mesa core   |Drivers/Gallium/swr

--- Comment #7 from Bruce Cherniak  ---
I'll take a look into this.  The first thing I notice, is that you are running
with the DRI drivers.  Most of our customers use only the standalone GLX
drivers.  We do not test DRI heavily.

You appear to be running a debug build (from the stderr output) of either mesa
or llvm.  Does this occur with release build as well?  And, is there a reason
you are running with a debug build?

>From the very complete BT (thank you!), it appears that the api thread is
waiting for a fence to complete, but all of the worker threads are sitting in
idle -- suggesting that the fence should be complete.  Once you hit this stuck
loop, can you step into swr_is_fence_done and "print *fence".

Thanks.  I'll report back as soon as I find anything.

(assigning back to Gallium/swr until something suggests otherwise)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 103732] [swr] often gets stuck in piglit's glx-multi-context-single-window test

2017-11-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103732

--- Comment #6 from Andrés Gómez García  ---
Created attachment 135551
  --> https://bugs.freedesktop.org/attachment.cgi?id=135551=edit
BT from the stuck glx-multi-context-single-window process

This is a quite complete backtrace from the stuck
glx-multi-context-single-window piglit process.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 103732] [swr] often gets stuck in piglit's glx-multi-context-single-window test

2017-11-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103732

Andrés Gómez García  changed:

   What|Removed |Added

Summary|swr often gets stuck in |[swr] often gets stuck in
   |piglit's|piglit's
   |glx-multi-context-single-wi |glx-multi-context-single-wi
   |ndow test   |ndow test

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 103732] swr often gets stuck in piglit's glx-multi-context-single-window test

2017-11-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103732

--- Comment #5 from Michel Dänzer  ---
(In reply to Andrés Gómez García from comment #4)
> FWIW, with similar conditions, I've not been able to reproduce with
> llvmpipe, softpipe nor i965.

Hmm, then maybe it is related to threading done by SWR and radeonsi.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 103732] swr often gets stuck in piglit's glx-multi-context-single-window test

2017-11-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103732

--- Comment #4 from Andrés Gómez García  ---
FWIW, with similar conditions, I've not been able to reproduce with llvmpipe,
softpipe nor i965.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 103732] swr often gets stuck in piglit's glx-multi-context-single-window test

2017-11-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103732

Michel Dänzer  changed:

   What|Removed |Added

  Component|Drivers/Gallium/swr |Mesa core

--- Comment #3 from Michel Dänzer  ---
(In reply to Emil Velikov from comment #2)
> Changing the component to SWR ;-)

See comment 1, this isn't SWR specific.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 103732] swr often gets stuck in piglit's glx-multi-context-single-window test

2017-11-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103732

Emil Velikov  changed:

   What|Removed |Added

  Component|Other   |Drivers/Gallium/swr

--- Comment #2 from Emil Velikov  ---
Changing the component to SWR ;-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 103732] swr often gets stuck in piglit's glx-multi-context-single-window test

2017-11-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103732

--- Comment #1 from Michel Dänzer  ---
I've run into this with radeonsi as well.

It didn't happen for me until September 13th, using a CPU with 4 cores and 4
logical threads. After a break, I started running piglit again on October 9th,
using a CPU with 8 cores and 16 logical threads, and run into this issue. So
either it depends on the number of CPU cores/threads, or it's a regression
between September 13th and October 9th.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 103732] swr often gets stuck in piglit's glx-multi-context-single-window test

2017-11-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103732

Andrés Gómez García  changed:

   What|Removed |Added

 CC||ago...@igalia.com,
   ||jasua...@igalia.com

-- 
You are receiving this mail because:
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 103732] swr often gets stuck in piglit's glx-multi-context-single-window test

2017-11-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103732

Bug ID: 103732
   Summary: swr often gets stuck in piglit's
glx-multi-context-single-window test
   Product: Mesa
   Version: 17.2
  Hardware: Other
OS: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Other
  Assignee: mesa-dev@lists.freedesktop.org
  Reporter: ago...@igalia.com
QA Contact: mesa-dev@lists.freedesktop.org

For some time now, when running the complete "all" profile in piglit against
mesa's swr driver, the glx-multi-context-single-window often gets stuck in an
infinite loop using 100% CPU and needs to be killed.

This doesn't happen always, but quite often.

Piglit report is as follows:


Detail  |   Value
+---
Returncode  |   -15
+---
Time|   9:34:48.086238
+---
Stdout  |
+---
Stderr  | SWR detected AVX2 
| vert shader  0x7f65e7e39000
| frag shader  0x7f65e7e37000
| fetch shader 0x7f65e7e35000
| vert shader  0x7f65e7e33000
| frag shader  0x7f65e7e31000
| fetch shader 0x7f65e7e35000
| vert shader  0x7f65e7c42000
| frag shader  0x7f65e7c4
| fetch shader 0x7f65e7e35000
| vert shader  0x7f65e7c3e000
| frag shader  0x7f65c218a000
| fetch shader 0x7f65e7e35000
| vert shader  0x7f65c20fe000
| frag shader  0x7f65c20fc000
| fetch shader 0x7f65e7e35000
| vert shader  0x7f65c207
| frag shader  0x7f65c206e000
| fetch shader 0x7f65e7e35000
| vert shader  0x7f65c1fe2000
| frag shader  0x7f65c1fe
| fetch shader 0x7f65e7e35000
| vert shader  0x7f65c1f54000
| frag shader  0x7f65c1f52000
| fetch shader 0x7f65e7e35000
+---
Environment | PIGLIT_PLATFORM="mixed_glx_egl"
PIGLIT_SOURCE_DIR="/home/local/piglit"
+---
Command | /home/local/piglit/bin/glx-multi-context-single-window -auto
dmesg   


Environment is an Ubuntu Xenial with custom LLVM packages installed and locally
compiled mesa and mesa dependencies. If needed, I can provide a docker image
with which to test.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev