diff options
author | Hein-Pieter van Braam <hp@tmm.cx> | 2019-01-27 22:31:38 +0000 |
---|---|---|
committer | Hein-Pieter van Braam <hp@tmm.cx> | 2019-01-28 16:21:07 +0000 |
commit | 9c308023bb787795a01197459fc34456adfd893e (patch) | |
tree | 78b683496bc150abfdf816c8d018deaf075e7890 /editor/icons/icon_tree.svg | |
parent | 59459ed4b2e03b47e3b7a4c9da6cf42e3969d0bd (diff) |
Properly detect when to use DRI_PRIME
We fork off twice once with and once without DIR_PRIME=1 set. We
then use the vendor string to determine what GPU to use.
We prefer (in order)
1) AMDGPU/AMDGPU-PRO/NVidia non-free driver
2) Intel driver
3) Nouveau
4) Software rendering
If a driver can't be detected it will default to DRI_PRIME=0
Diffstat (limited to 'editor/icons/icon_tree.svg')
0 files changed, 0 insertions, 0 deletions