nvidia compat

This commit is contained in:
thelamer 2024-05-23 16:03:08 -04:00
parent 16f2ce9ccb
commit f2024fd36e

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