mirror of
https://github.com/linuxserver/docker-webtop.git
synced 2025-07-22 13:15:01 +02:00
nvidia compat
This commit is contained in:
parent
c950cfd4c8
commit
1550c6a109
@ -1,5 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/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
|
||||||
setterm blank 0
|
setterm blank 0
|
||||||
setterm powerdown 0
|
setterm powerdown 0
|
||||||
/usr/bin/mate-session #> /dev/null 2>&1
|
/usr/bin/mate-session #> /dev/null 2>&1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user