<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Request: Control Center for AMD GPU"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=108353#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Request: Control Center for AMD GPU"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=108353">bug 108353</a>
              from <span class="vcard"><a class="email" href="mailto:davyaxel0@gmail.com" title="Axel Davy <davyaxel0@gmail.com>"> <span class="fn">Axel Davy</span></a>
</span></b>
        <pre>You can use the drirc configuration file to force applications to automatically
use the AMD card.

udevadm info /dev/dri/card0 | grep ID_PATH_TAG
udevadm info /dev/dri/card1 | grep ID_PATH_TAG

This will give you the ID_PATH_TAG of your Intel and your AMD card.

Then in $HOME/drirc you can set the device_id parameter for a given application
to the value of the ID_PATH_TAG to use this card automatically.

You can find an example here:
<a href="https://www.phoronix.com/forums/forum/linux-graphics-x-org-drivers/opengl-vulkan-mesa-gallium3d/920292-nvidia-developer-posts-auto-prime-detection-mesa-usb-loader-support">https://www.phoronix.com/forums/forum/linux-graphics-x-org-drivers/opengl-vulkan-mesa-gallium3d/920292-nvidia-developer-posts-auto-prime-detection-mesa-usb-loader-support</a>

Also this (uncomplete) app has a section to configure your drirc automatically
for prime. It detects running apps using the gpu (thus you don't need to guess
the app exe name) and you can set the card to use for them:
<a href="https://github.com/axeldavy/driCenter">https://github.com/axeldavy/driCenter</a></pre>
        </div>
      </p>


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

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