We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e4f3a3 commit 3f805a6Copy full SHA for 3f805a6
root/defaults/startwm.sh
@@ -42,15 +42,8 @@ if [ ! -f "${STARTUP_FILE}" ]; then
42
chmod +x $STARTUP_FILE
43
fi
44
45
-# Check for any render nodes
46
-for node in /dev/dri/renderD*; do
47
- if [ -e "$node" ]; then
48
- render_node_exists=true
49
- break
50
- fi
51
-done
52
-# Enable Zink support if detected
53
-if [ "$render_node_exists" = true ] && [ "${DISABLE_ZINK}" == "false" ]; then
+# Enable Nvidia GPU support if detected
+if which nvidia-smi && [ "${DISABLE_ZINK}" == "false" ]; then
54
export LIBGL_KOPPER_DRI2=1
55
export MESA_LOADER_DRIVER_OVERRIDE=zink
56
export GALLIUM_DRIVER=zink
0 commit comments