User Tools

Site Tools


gpu:specify_which_gpu_should_take_priority

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
gpu:specify_which_gpu_should_take_priority [2020/08/13 10:21] – created 192.168.1.1gpu: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. 
- 
-The command **xrandr --setprovideroffloadsink provider sink** can be used to make a render offload provider send its output to the sink provider (the provider which has a display connected).  
- 
----- 
- 
-===== Change using the name ===== 
- 
-<code bash> 
-xrandr --setprovideroffloadsink radeon Intel 
-</code> 
- 
----- 
- 
-===== Change using the Provider Index ===== 
- 
-<code bash> 
-xrandr --setprovideroffloadsink 1 0 
-</code> 
- 
----- 
- 
-===== 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 "OpenGL renderer" 
-</code> 
- 
-returns 
- 
-<code bash> 
-OpenGL renderer string: Gallium 0.4 on AMD TURKS 
-</code> 
  
gpu/specify_which_gpu_should_take_priority.1597314082.txt.gz · Last modified: 2020/08/13 10:21 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki