<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Unable to do reclocking manually"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104784#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Unable to do reclocking manually"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104784">bug 104784</a>
              from <span class="vcard"><a class="email" href="mailto:berillions@gmail.com" title="Max <berillions@gmail.com>"> <span class="fn">Max</span></a>
</span></b>
        <pre>(In reply to Pierre Moreau from <a href="show_bug.cgi?id=104784#c1">comment #1</a>)
<span class="quote">> Hello,

> > AC: core 0 MHz memory 0 MHz

> means your GPU is actually suspended: since you have an Optimus
> configuration, the NVIDIA GPU will suspend automatically if it hasn’t
> received any work to do in a short while. Try for example to run
> `DRI_PRIME=1 glxgears`, keep it running and reissue the cat command: you
> should not see actual clocks for on the AC line.
> Have a look at <a href="https://nouveau.freedesktop.org/wiki/Optimus/">https://nouveau.freedesktop.org/wiki/Optimus/</a> to learn how to
> configure Prime.

> As for the system hang when trying to reclock a suspended GPU, patches have
> been sent to the Nouveau mailing list, but haven’t been merged yet. You can
> find them here:
> <a href="https://github.com/karolherbst/nouveau/commits/clk_cleanup_for_real">https://github.com/karolherbst/nouveau/commits/clk_cleanup_for_real</a></span >

I added to my ~/.xinitrc this line « xrandr --setprovideroffloadsink nouveau
Intel »
I see correctly the Intel GPU when i launch « glxinfo | grep « OpenGL vendor
string » » and the Nvidia GPU if i add DRI_PRIME=1.

<span class="quote">> > And when i launch a game (Tyranny), it does not work.

> What is not working? If you didn’t specify anything, the game should run on
> the “primary” GPU by default, which quite often tends to be the Intel GPU.</span >

In fact the games runs with Nouveau and DRI_PRIME=1.
It does not work after to do the reclocking => the game’s process exist but the
game’s window does not appear.

Are you French, if yes it’s easiest to explain :
Lorsque je lance la commande pour faire le reclocking, je n’ai plus accès au
prompt, comme si la commande continue de travailler en arrière plan. Si je
verifie l’état de pstate dans une autre commande, le reclocking a l’air d’avoir
été  fait.</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>