nvidia compat

This commit is contained in:
thelamer 2024-05-23 15:58:24 -04:00
parent 4ac4578aff
commit 19e716f121

View File

@ -1,6 +1,16 @@
#!/bin/bash
# Enable Nvidia GPU support if detected
if which nvidia-smi; then
export LIBGL_KOPPER_DRI2=1
export MESA_LOADER_DRIVER_OVERRIDE=zink
export GALLIUM_DRIVER=zink
fi
# Disable compositing
setterm blank 0
setterm powerdown 0
gsettings set org.mate.Marco.general compositing-manager false
# Launch DE
/usr/bin/mate-session > /dev/null 2>&1