gpu:specify_which_gpu_should_take_priority
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
gpu:specify_which_gpu_should_take_priority [2020/08/13 10:23] – 192.168.1.1 | gpu:specify_which_gpu_should_take_priority [2020/08/18 07:42] (current) – removed 192.168.1.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 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 [[GPU:Check the list of attached graphic drivers|Check the list of attached graphic drivers]] | ||
- | |||
- | ---- | ||
- | |||
- | ===== Change using the name ===== | ||
- | |||
- | <code bash> | ||
- | xrandr --setprovideroffloadsink radeon Intel | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Change using the Provider Index ===== | ||
- | |||
- | <code bash> | ||
- | 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: | ||
- | |||
- | <code bash> | ||
- | DRI_PRIME=1 glxinfo | grep " | ||
- | </ | ||
- | |||
- | returns | ||
- | |||
- | <code bash> | ||
- | OpenGL renderer string: Gallium 0.4 on AMD TURKS | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== References ===== | ||
- | |||
- | https:// |
gpu/specify_which_gpu_should_take_priority.1597314207.txt.gz · Last modified: 2020/08/13 10:23 by 192.168.1.1