https://bugs.freedesktop.org/show_bug.cgi?id=108353
--- Comment #1 from Axel Davy <davyax...@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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev