mirror of
https://github.com/linuxserver/docker-webtop.git
synced 2025-07-08 06:14:57 +02:00
nvidia compat
This commit is contained in:
parent
27164d4770
commit
dc01486c10
@ -1,5 +1,13 @@
|
||||
#!/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 powerdown 0
|
||||
/usr/bin/i3 > /dev/null 2>&1
|
||||
|
Loading…
x
Reference in New Issue
Block a user