gpu:specify_which_gpu_should_take_priority
This is an old revision of the document!
Table of Contents
GPU - Specify which GPU should take priority
GPU-intensive applications should be rendered on the more powerful discrete card.
If more than one GPU is install, you can specify which one should be used.
Get the list of GPU drivers
Change using the name
xrandr --setprovideroffloadsink radeon Intel
Change using the Provider Index
xrandr --setprovideroffloadsink 1 0
Usage
Use your discrete card for the applications who need it the most (for example games, 3D modellers…) by prepending the DRI_PRIME=1 environment variable:
DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
returns
OpenGL renderer string: Gallium 0.4 on AMD TURKS
References
gpu/specify_which_gpu_should_take_priority.1597314246.txt.gz · Last modified: 2020/08/13 10:24 by 192.168.1.1