<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - amdgpu [RX Vega 64] system freeze while gaming"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109955#c36">Comment # 36</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - amdgpu [RX Vega 64] system freeze while gaming"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109955">bug 109955</a>
              from <span class="vcard"><a class="email" href="mailto:ilvipero@gmx.com" title="Mauro Gaspari <ilvipero@gmx.com>"> <span class="fn">Mauro Gaspari</span></a>
</span></b>
        <pre>(In reply to shadow.archemage from <a href="show_bug.cgi?id=109955#c35">comment #35</a>)
<span class="quote">> (In reply to Mauro Gaspari from <a href="show_bug.cgi?id=109955#c22">comment #22</a>)

> > The only issue I have not being able to reproduce the issue quickly, is to
> > clearly understand when the issue is resolved by Mesa. It takes hours for me
> > to get the freeze sometimes. 
> > If someone has a quick way to trigger system freeze, I am happy to run more
> > tests.

> Hi Mauro,

> The issue happened to me much more frequently when I opted into Steam beta
> and ran Monster Hunter: World. Before opting in, the crashes happen around
> 1-2 hours after the game starts. With Steam beta though, it happens around
> <5 minutes in.

> The only change that I noted when I opted into Steam beta was that the games
> suddenly downloaded some shader pre-caching stuff. Unfortunately, I'm not
> too familiar with it, and I'm not too sure if it is related to the problem.

> I am running Manjaro, Gnome 3.32.2, Kernel version 5.1.15-1, Mesa 19.1.1.
> Let me know if I missed something.

> Thanks,
> Eph</span >

I am not an expert, but I am quite sure shaders have a big part in this. If you
can, disable shader caching.
There are a few tests you can do:
1. Did you try with the kernel parameters I posted above? I always ran all the
parameters together. GPU+CPU and at the time, I did not have crashes for weeks
on my Vega64. I am using a RadeonVII now and it seems those parameters are not
needed.
2. Valve sponsored an interesting project that removes dependency of AMD Mesa
from LLVM. And instead uses ACO. Valve made this available for Arch based
systems via AUR, and Ubuntu based system via PPA. If you want to test it, you
can check the posts below. I am going to test this myself on both Arch and
Ubuntu. 
<a href="https://steamcommunity.com/games/221410/announcements/detail/1602634609636894200">https://steamcommunity.com/games/221410/announcements/detail/1602634609636894200</a>
<a href="https://steamcommunity.com/app/221410/discussions/0/1640915206474070669/">https://steamcommunity.com/app/221410/discussions/0/1640915206474070669/</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>