Compare commits

..

1 Commits

Author SHA1 Message Date
MickLesk
985293a1c0 NVIDIA GPU: fix GLX mesa fallback aborting install due to silent() exit 2026-04-04 22:34:57 +02:00
3 changed files with 3 additions and 1 deletions

View File

@@ -53,6 +53,7 @@ function update_script() {
[[ -f /opt/grist_bak/landing.db ]] && cp /opt/grist_bak/landing.db /opt/grist/landing.db
cd /opt/grist
$STD yarn install
$STD yarn run install:ee
$STD yarn run build:prod
$STD yarn run install:python
msg_ok "Updated Grist"

View File

@@ -28,6 +28,7 @@ export CYPRESS_INSTALL_BINARY=0
export NODE_OPTIONS="--max-old-space-size=2048"
cd /opt/grist
$STD yarn install
$STD yarn run install:ee
$STD yarn run build:prod
$STD yarn run install:python
cat <<EOF >/opt/grist/.env

View File

@@ -5035,7 +5035,7 @@ NVIDIA_PIN
local nvidia_glx_dir="/usr/lib/nvidia"
if [[ ! -f "${nvidia_glx_dir}/libGL.so.1" ]] && [[ -d /usr/lib/mesa-diverted ]]; then
msg_info "NVIDIA GLX libs missing in container - falling back to mesa"
$STD update-glx --set glx /usr/lib/mesa-diverted 2>/dev/null || true
update-glx --set glx /usr/lib/mesa-diverted &>/dev/null || true
ldconfig 2>/dev/null || true
fi
fi