#!/bin/bash # Set DRI alternatives for Mesa/Xorg update-alternatives --set libglx.so /usr/lib64/xorg/modules/glx-dri/libglx.so update-alternatives --set libGL.so.1 /usr/lib64/mesa/libGL.so.1.2