From eb3919ad6344f26d2dd33f987bb250038d36a915 Mon Sep 17 00:00:00 2001 From: jeffser Date: Sun, 1 Sep 2024 17:46:50 -0600 Subject: [PATCH] Adding /sys/module/amdgpu to filesystem --- com.jeffser.Alpaca.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/com.jeffser.Alpaca.json b/com.jeffser.Alpaca.json index 8afd66f..bcde139 100644 --- a/com.jeffser.Alpaca.json +++ b/com.jeffser.Alpaca.json @@ -9,7 +9,9 @@ "--share=ipc", "--socket=fallback-x11", "--device=dri", - "--socket=wayland" + "--socket=wayland", + "--filesystem=/sys/module/amdgpu:ro", + "--env=LD_LIBRARY_PATH=/app/lib:/usr/lib/x86_64-linux-gnu/GL/default/lib:/usr/lib/x86_64-linux-gnu/openh264/extra:/usr/lib/x86_64-linux-gnu/openh264/extra:/usr/lib/sdk/llvm15/lib:/usr/lib/x86_64-linux-gnu/GL/default/lib:/usr/lib/ollama" ], "cleanup" : [ "/include",