<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - 3D & games produce periodic GPU crashes (Radeon R7 370)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105425#c22">Comment # 22</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - 3D & games produce periodic GPU crashes (Radeon R7 370)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105425">bug 105425</a>
              from <span class="vcard"><a class="email" href="mailto:iive@yahoo.com" title="iive@yahoo.com">iive@yahoo.com</a>
</span></b>
        <pre>(In reply to MirceaKitsune from <a href="show_bug.cgi?id=105425#c21">comment #21</a>)
<span class="quote">> (In reply to iive from <a href="show_bug.cgi?id=105425#c20">comment #20</a>)

> That's some amazing feedback, thank you very much! I'll definitely try those
> out, but I have a few questions about a few of these points:

> 1. My OS (openSUSE Tumbleweed) doesn't have an xorg.conf file. I instead
> have an /etc/X11/xorg.conf.d directory with the following files in it:

> 00-keyboard.conf
> 00-keyboard.conf.backup
> 10-amdgpu.conf</span >
It goes in the Section "Device" of the video driver.
You can see all options with `man amdgpu` or
`man radeon`, etc.

<span class="quote">> 5. So before running the program from a console, I do "export GALLIUM_HUD=1"
> or "GALLIUM_HUD=1;./my_program"? I don't suspect filled RAM as the game's
> process doesn't seem to leak memory... I do however suspect filled VRAM.</span >
Do `GALLIUM_HUD=help glxgears` it would print all available graphs and the
syntax.

Here is what I used last time:
export GALLIUM_HUD=\
".dfps+cpu+GPU-load+temperature,.dGTT-usage+VRAM-usage,num-compilations+num-shaders-created;"\
"primitives-generated+draw-calls,samples-passed+ps-invocations+vs-invocations,buffer-wait-time;"\
"CS-thread-busy+gallium-thread-busy,dma-calls+cp-dma-calls,num-bytes-moved;"\
"num-vs-flushes+num-ps-flushes+num-cs-flushes+num-CB-cache-flushes+num-DB-cache-flushes"

<span class="quote">> 6. What is the Kernel parameter for CMA please? It doesn't seem to be an
> amdgpu setting so I assume it's separate.</span >
"cma=0 iommu=off"
You can look in linux-source/Documentation/admin-guide/kernel-parameters.txt</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>