From 93418748d7c4577957fe0108a9b629863f776aee Mon Sep 17 00:00:00 2001 From: Brot der Bot Date: Fri, 1 May 2026 16:57:03 +0200 Subject: [PATCH] 0110_nextcloud_talk_app: add Delegate=yes to fix Electron GPU crash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Nextcloud Talk is an Electron app. Electron uses a zygote process to fork sandboxed child processes (GPU, renderer, network service) into their own sub-cgroups. systemd-run --scope without Delegate=yes locks down the cgroup — sub-cgroups cannot be created — so the zygote fails, causing the GPU process to crash immediately on startup. Adding --property=Delegate=yes hands cgroup management to the scope, allowing flatpak/bubblewrap and Electron's zygote to create the sub-cgroups they need. Tested: no GPU crash with this flag set. Co-Authored-By: Claude Sonnet 4.6 --- client_software/0110_nextcloud_talk_app/user_run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client_software/0110_nextcloud_talk_app/user_run.sh b/client_software/0110_nextcloud_talk_app/user_run.sh index f61f476..25256c7 100755 --- a/client_software/0110_nextcloud_talk_app/user_run.sh +++ b/client_software/0110_nextcloud_talk_app/user_run.sh @@ -8,7 +8,7 @@ fi # Start Nextcloud Talk in Background #Current Version of Talk is dumping Core echo "Starting Nextcloud Talk in Background." -systemd-run --user --scope --unit=nextcloud-talk \ +systemd-run --user --scope --unit=nextcloud-talk --property=Delegate=yes \ /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=electron-wrapper --file-forwarding com.nextcloud.talk --background >${TEMPDIR}/talk.log 2>&1 & exit 0