mirror of
https://github.com/linuxserver/docker-webtop.git
synced 2025-07-08 14:24:50 +02:00
nvidia compat
This commit is contained in:
parent
4ac4578aff
commit
19e716f121
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user