mirror of
https://github.com/linuxserver/docker-webtop.git
synced 2025-07-27 15:44:29 +02:00
nvidia compat
This commit is contained in:
parent
7297645f0f
commit
4a628fe8cb
@ -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
|
||||
|
||||
# Start DE
|
||||
setterm blank 0
|
||||
setterm powerdown 0
|
||||
/usr/bin/icewm-session > /dev/null 2>&1
|
||||
|
Loading…
x
Reference in New Issue
Block a user