[Mesa-dev] [Bug 101334] AMD SI cards: Some vulkan apps freeze the system

2018-07-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

John  changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #50 from Marko  ---
Hi everyone,

I've tested DOOM yesterday for maybe half an hour and you can color me
impressed.
The FPS is in the 50's range for High/ultra, no glitches, stuttering or
artifacts/texture corruption. No freezes either. The performance is on par with
Windows, give or take. 

Dota2 also works like a charm with comparable, solid framerates (50+ on best
quality).

Thanks for fixing this guys!

Marko

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

John  changed:

   What|Removed |Added

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

--- Comment #49 from John  ---
I've rerun the madmax benchmark in case it was luck, but it was fine.

I've also played with Dolphin for hours and it was fine (well, I think it was
already fine before that patch).

I've tried a bit with RPCS3 as well, though that emulator has its own issue,
and got no freeze either.

So far I have not found anything that would cause problem, with Marko
confirming, and with the patch making it to git, I think that's good enough for
resolving this bug.

Thanks Grazvydas and Dave for the fixes!

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #48 from Marko  ---
It's working!

Today's pull + https://patchwork.freedesktop.org/series/28535/ + kernel
4.13-rc4.

Doom and Dota2 both work with no freezing. I'll test (read-play) some more
later but this finally seems to have fixed it.

Thanks!

Marko

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #47 from Marko  ---
That's great news then!

I'm compiling as we speak on Suse OBS, but will able to try it out only this
afternoon after I get home from work.

Cheers,
Marko

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #46 from John  ---
This patch only on master worked!

Congratulations Dave, this is the first time I've passed the whole benchmark!

I'll try a few other applications and wait on Marko's test before closing this,
but so far it looks good.


Feel free to add if you couldn't reproduce the original issue:
Tested-by: John Ettedgui 

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #45 from Dave Airlie  ---
https://patchwork.freedesktop.org/series/28535/

is a replacement for the cs flush, might be worth trying on master on its own.

and possibly with the hack patch on top (it might not apply cleanly though).

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #44 from John  ---
I've just tried on amd-staging 4.12, and without the hacky patch, and it still
froze the same (still heavy I/O when it did, but nothing in dmesg this time).

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #43 from Marko  ---
(In reply to Dave Airlie from comment #39)
> https://patchwork.freedesktop.org/patch/169012/
> 
> I also have this patch in my tree.

Tested on fresh 4.13 RC3, today's Mesa git + this patch, still no joy. Freezes
system as per usual.

Cheers,
Marko

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #42 from John  ---
(In reply to Dave Airlie from comment #40)
> I'm on some random drm-next kernel from a while back based on 4.12, I'm
> still seeing hangs on vulkan cts anyways, but they are fairly random.


Then I guess my kernel should be unrelated.

(In reply to Dave Airlie from comment #39)
> https://patchwork.freedesktop.org/patch/169012/
> 
> I also have this patch in my tree.

So this one changed things a bit!

When it froze, I noticed very high disk I/O, but I didn't have time to SSH
connect to see what it was about before it dropped. Also, I got this in dmesg:

[ 3124.363414] amdgpu :01:00.0: GPU fault detected: 147 0x02e20402
[ 3124.363418] amdgpu :01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR  
0x00116A97
[ 3124.363419] amdgpu :01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS
0x02004002
[ 3124.363421] amdgpu :01:00.0: VM fault (0x02, vmid 1) at page 1141399,
read from '' (0x) (4)

It's the first time I got something in dmesg for that madmax freeze!

As Marko asked, should I keep testing with all patches suggested here or using
less?


Finally I've tried with PTS and it froze as well :/ (that was before using the
last patch).

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #41 from Marko  ---

> Created attachment 133252 [details]
> another trace
> 
> Since I saw Dave's commit about fixing a GPU hang, I thought of trying again
> but it's still no good. :/
> 
> I tried with the patch provided in #28 and latest master.
> 
> This time I got to freeze again during the third benchmark, at a different
> time than the usual one (if that means anything).
> 
> 
> I've attached the trace.
> Should I try to get a gdb one as well?

Didn't have time to properly test over the weekend, busy schedule. I did try
DOOM only, it hung even before intro video which usually works - as soon as the
game window was opened. 

FYI I'm on some 4.12 kernel if that means anything.

Btw, should I apply all the patches John suggested or only the latest?

Cheers,

Marko

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #40 from Dave Airlie  ---
I'm on some random drm-next kernel from a while back based on 4.12, I'm still
seeing hangs on vulkan cts anyways, but they are fairly random.

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #39 from Dave Airlie  ---
https://patchwork.freedesktop.org/patch/169012/

I also have this patch in my tree.

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #38 from John  ---
Actually, could it be a kernel difference?

I'm on the last of amd-staging 4.11, what about you?

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #37 from John  ---
I've just tried this patch on top of the other 2, but it didn't change much :/

I'll try running with PTS, maybe it's related to some settings that PTS may not
use.

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #36 from Dave Airlie  ---
Created attachment 133276
  --> https://bugs.freedesktop.org/attachment.cgi?id=133276=edit
fix MSAA rendering.

I've sent this to the list, it at least fixes bad rendering in talos for me.

I've also just ran phoronix test suite madmax benchmark to completeion.

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #35 from John  ---
Created attachment 133274
  --> https://bugs.freedesktop.org/attachment.cgi?id=133274=edit
radv trace after 2nd patch

I've just tested with the hacky patch and the one from #28 and it seemed about
the same.

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #34 from Dave Airlie  ---
Created attachment 133273
  --> https://bugs.freedesktop.org/attachment.cgi?id=133273=edit
hacky patch?

does this patch make any difference? (on top of the one from the list).

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #33 from John  ---
Created attachment 133252
  --> https://bugs.freedesktop.org/attachment.cgi?id=133252=edit
another trace

Since I saw Dave's commit about fixing a GPU hang, I thought of trying again
but it's still no good. :/

I tried with the patch provided in #28 and latest master.

This time I got to freeze again during the third benchmark, at a different time
than the usual one (if that means anything).


I've attached the trace.
Should I try to get a gdb one as well?

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #32 from Marko  ---
Sorry, couldn't test yesterday due to build bug:
https://bugs.freedesktop.org/show_bug.cgi?id=102014

I'll recompile today and test this evening with any luck.

glhf, 

Marko

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #31 from John  ---
Created attachment 133190
  --> https://bugs.freedesktop.org/attachment.cgi?id=133190=edit
radv trace

Well I somewhat take it back.

I restarted my computer (which I hadn't done in my previous reply) and reran
the game to get a trace with RADV_TRACE_FILE. This time I made it to the 4th
benchmark, I believe it's the first time ever since I've tried radv & Mad Max
together. It ended up freezing in a similar way in the 4th benchmark, so maybe
it was luck.

I've attached the tiny trace, I'm not sure if it's helpful.

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #30 from John  ---
(In reply to Dave Airlie from comment #28)
> can you try the patch on master?
> 
> https://patchwork.freedesktop.org/series/27906/

The bevarior is the same for me as a day ago. Max Max hanged at the exact same
spot, nothing in dmesg or Xorg.0.log (and again I had to manually shutdown the
computer).

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #29 from Marko  ---
(In reply to Dave Airlie from comment #28)
> can you try the patch on master?
> 
> https://patchwork.freedesktop.org/series/27906/

Thanks Dave, will try!

Marko

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #28 from Dave Airlie  ---

can you try the patch on master?

https://patchwork.freedesktop.org/series/27906/

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #27 from John  ---
That does not seem much better in your case :/

Maybe I'll try a few emulators such as Dolphin and RPCS3 to see what happens.

It'd be great if we could get a dev back here :)

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

--- Comment #26 from Marko  ---
Hi,

For the life of me can't find the commit I was using yesterday since I did a
fresh checkout and deleted the source before testing, but it was something like
early 2017-08-01 commits IIRC. 

DOOM and Dota2 still hang but kind of get a bit further than before. in Dota2 I
was actually able to click the "your client is out of date" before it froze.

In DOOM I was able to pass past loading screen and it froze just before
displaying main menu.

Regards,

Marko

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

Vedran Miletić  changed:

   What|Removed |Added

 CC||ved...@miletic.net

-- 
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 101334] AMD SI cards: Some vulkan apps freeze the system

2017-08-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101334

John  changed:

   What|Removed |Added

Summary|Any vulkan app seems to |AMD SI cards: Some vulkan
   |freeze the system   |apps freeze the system

-- 
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