diff options
| author | PMR <pmr@pmr-lander> | 2017-05-22 11:32:34 +0000 |
|---|---|---|
| committer | PMR <pmr@pmr-lander> | 2017-05-22 11:32:34 +0000 |
| commit | b7b0d71def3e17a97ebbe5884baccf10b87523ef (patch) | |
| tree | c0e5f0dfb3d899a80667d6d2c8fd3f367dd84c55 | |
| parent | 141ea08a0f521e84cc59c09df67631c2f36c3309 (diff) | |
| parent | b16692b6152d9a0be3a261d7eafd3f33c095249b (diff) | |
Merge #324165 from ~sylvain-pineau/plainbox-provider-checkbox:fix-1691433
| -rwxr-xr-x | bin/graphics_env | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/graphics_env b/bin/graphics_env index 55a3486..8c82567 100755 --- a/bin/graphics_env +++ b/bin/graphics_env @@ -11,8 +11,8 @@ INDEX=$2 UBUNTU_CODENAME=`lsb_release -c | awk {'print $2'}` # We only want to set the DRI_PRIME env variable on Xenial (16.04) systems -# with more than 1 GPU running the amdgpu driver. -if [[ $DRIVER == "amdgpu" ]]; then +# with more than 1 GPU running the amdgpu/radeon drivers. +if [[ $DRIVER == "amdgpu" || $DRIVER == "radeon" ]]; then if [[ $UBUNTU_CODENAME == "xenial" ]]; then NB_GPU=`udev_resource -l VIDEO | grep -oP -m1 '\d+'` if [ $NB_GPU -gt 1 ]; then |
