From 6cddd72792f155640180fa228df763d1423b6f14 Mon Sep 17 00:00:00 2001 From: Luna Date: Thu, 4 Jun 2026 04:30:37 -0700 Subject: [PATCH] Default to all-but-one core for encoding Using every core for a parallel batch starves the compositor and makes the GUI show "not responding". Default multicore to cores-1 so the desktop keeps headroom; the user can still raise it in Preferences. Co-Authored-By: Claude Opus 4.8 --- src/devedeng/configuration_data.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/devedeng/configuration_data.py b/src/devedeng/configuration_data.py index 4b6fa50..4ee9047 100644 --- a/src/devedeng/configuration_data.py +++ b/src/devedeng/configuration_data.py @@ -102,7 +102,9 @@ class configuration(GObject.GObject): self.PAL = True self.tmp_folder = "/var/tmp" - self.multicore = self.cores + # default to all-but-one core so a big parallel batch leaves the + # desktop responsive; the user can raise this in Preferences + self.multicore = max(1, self.cores - 1) self.final_folder = os.environ.get("HOME") self.sub_language = None self.sub_codepage = None