forked from obel1x/fedora-OEMDRV
0110_nextcloud_talk_app: add Delegate=yes to fix Electron GPU crash
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 <noreply@anthropic.com>
This commit is contained in:
@@ -8,7 +8,7 @@ fi
|
|||||||
# Start Nextcloud Talk in Background
|
# Start Nextcloud Talk in Background
|
||||||
#Current Version of Talk is dumping Core
|
#Current Version of Talk is dumping Core
|
||||||
echo "Starting Nextcloud Talk in Background."
|
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 &
|
/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
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user