[Mesa-dev] [Bug 108353] Request: Control Center for AMD GPU

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Oct 13 15:24:09 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=108353

--- Comment #1 from Axel Davy <davyaxel0 at gmail.com> ---
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:
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

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:
https://github.com/axeldavy/driCenter

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181013/4cda8f4b/attachment.html>


More information about the mesa-dev mailing list