User Tools

Site Tools


gpu:specify_which_gpu_should_take_priority

This is an old revision of the document!


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.


See Check the list of attached graphic 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.1597314207.txt.gz · Last modified: 2020/08/13 10:23 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki