diff --git a/src/main/index.ts b/src/main/index.ts index 2e0d6f7..e23db07 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -42,6 +42,12 @@ function init() { app.commandLine.appendSwitch("disable-smooth-scrolling"); } + // Disable multiplane format for software video decoding on Linux due to bug on Electron 31/Chromium 125 + // https://issues.chromium.org/issues/331796411 + if (process.platform == "linux") { + disabledFeatures.push("UseMultiPlaneFormatForSoftwareVideo") + } + // disable renderer backgrounding to prevent the app from unloading when in the background // https://github.com/electron/electron/issues/2822 // https://github.com/GoogleChrome/chrome-launcher/blob/5a27dd574d47a75fec0fb50f7b774ebf8a9791ba/docs/chrome-flags-for-tools.md#task-throttling