nvidia compat

This commit is contained in:
thelamer 2024-05-23 15:55:37 -04:00
parent de7cdfb443
commit 0e721e19e5

View File

@ -1,3 +1,11 @@
#!/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
# Launch DE
/usr/bin/openbox-session > /dev/null 2>&1