The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.
Rust ffmpegfree-video-editormodel-context-protocolnon-linear-editoroffline-firstopen-source-video-editorself-hostedvideo-editingvideo-editing-automationvideo-editing-softwarevideo-editing-toolsvideo-editorvoice-cloningyoutube-automationyoutube-shorts
fix(android): a launch that dies while starting sends the next one to OpenGL ES (#507)
Jareer7df9f8f24fa4
diff --git a/src/crates/concat/locales/ar.json b/src/crates/concat/locales/ar.jsonindex ee72ab8a..62efee28 100644--- a/src/crates/concat/locales/ar.json+++ b/src/crates/concat/locales/ar.json@@ -659,6 +659,7 @@"start.reportProblem": "الإبلاغ عن مشكلة","start.reportProblemNote": "ما الذي ترسله لكي يمكن إصلاحها","start.safeMode": "أُغلق Concat أثناء بدء تشغيله في المرة السابقة، لذا يرسم الآن برمجيًا: أبطأ، لكنه يفتح. لتجربة بطاقة الرسوميات مجددًا، فعّل الرسم على GPU من الإعدادات > عام.",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "البحث في المشاريع","start.settingsApplyWholeEdit": "تنطبق هذه الإعدادات على التحرير كله ولا يمكن تغييرها لاحقًا.","start.shape": "الشكل",diff --git a/src/crates/concat/locales/az.json b/src/crates/concat/locales/az.jsonindex 07303a3e..ff79013d 100644--- a/src/crates/concat/locales/az.json+++ b/src/crates/concat/locales/az.json@@ -659,6 +659,7 @@"start.reportProblem": "Problem bildir","start.reportProblemNote": "Düzəldilməsi üçün nə göndərməli","start.safeMode": "Concat ötən dəfə açılarkən bağlandı, ona görə indi proqram təminatı ilə çəkir: daha yavaş, amma açılır. Qrafik kartı yenidən yoxlamaq üçün Parametrlər > Ümumi bölməsində GPU ilə çək seçimini yandırın.",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "Layihələrdə axtar","start.settingsApplyWholeEdit": "Bu parametrlər bütün montaja aiddir və sonra dəyişdirilə bilməz.","start.shape": "Forma",diff --git a/src/crates/concat/locales/bn.json b/src/crates/concat/locales/bn.jsonindex 5396e197..d3d82d37 100644--- a/src/crates/concat/locales/bn.json+++ b/src/crates/concat/locales/bn.json@@ -659,6 +659,7 @@"start.reportProblem": "সমস্যা জানান","start.reportProblemNote": "ঠিক করার জন্য কী পাঠাবেন","start.safeMode": "গতবার শুরু হওয়ার সময় Concat বন্ধ হয়ে গিয়েছিল, তাই এখন সফটওয়্যারে আঁকছে: ধীর, কিন্তু খোলে। গ্রাফিক্স কার্ড আবার চেষ্টা করতে সেটিংস > সাধারণ-এ GPU-তে আঁকা চালু করুন।",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "প্রকল্প খুঁজুন","start.settingsApplyWholeEdit": "এই সেটিংস পুরো সম্পাদনায় প্রযোজ্য এবং পরে বদলানো যাবে না।","start.shape": "আকৃতি",diff --git a/src/crates/concat/locales/de.json b/src/crates/concat/locales/de.jsonindex e0ebc1c3..0f55d518 100644--- a/src/crates/concat/locales/de.json+++ b/src/crates/concat/locales/de.json@@ -659,6 +659,7 @@"start.reportProblem": "Problem melden","start.reportProblemNote": "Was du schicken solltest, damit es behoben werden kann","start.safeMode": "Concat wurde beim letzten Start geschlossen und zeichnet deshalb jetzt in Software: langsamer, aber es öffnet sich. Um es wieder mit der Grafikkarte zu versuchen, schalte „Auf der GPU zeichnen“ unter Einstellungen > Allgemein ein.",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "Projekte suchen","start.settingsApplyWholeEdit": "Diese Einstellungen gelten für den ganzen Schnitt und lassen sich später nicht ändern.","start.shape": "Form",diff --git a/src/crates/concat/locales/en.json b/src/crates/concat/locales/en.jsonindex 5febb235..e6ddec07 100644--- a/src/crates/concat/locales/en.json+++ b/src/crates/concat/locales/en.json@@ -659,6 +659,7 @@"start.reportProblem": "Report a problem","start.reportProblemNote": "What to send so it can be fixed","start.safeMode": "Concat closed while starting once, so it draws in software until its next update: slower, but it opens. To try the graphics card now, turn on Draw on the GPU in Settings > General.",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "Search projects","start.settingsApplyWholeEdit": "These settings apply to the whole edit and cannot be changed later.","start.shape": "Shape",diff --git a/src/crates/concat/locales/es.json b/src/crates/concat/locales/es.jsonindex a686aa36..525ce670 100644--- a/src/crates/concat/locales/es.json+++ b/src/crates/concat/locales/es.json@@ -659,6 +659,7 @@"start.reportProblem": "Informar de un problema","start.reportProblemNote": "Qué enviar para que se pueda arreglar","start.safeMode": "Concat se cerró al iniciarse la última vez, así que ahora dibuja por software: más lento, pero se abre. Para volver a probar la tarjeta gráfica, activa Dibujar en la GPU en Ajustes > General.",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "Buscar proyectos","start.settingsApplyWholeEdit": "Estos ajustes se aplican a toda la edición y no se pueden cambiar después.","start.shape": "Forma",diff --git a/src/crates/concat/locales/fa.json b/src/crates/concat/locales/fa.jsonindex 40c3de4d..f4b431a0 100644--- a/src/crates/concat/locales/fa.json+++ b/src/crates/concat/locales/fa.json@@ -659,6 +659,7 @@"start.reportProblem": "گزارش مشکل","start.reportProblemNote": "چه چیزی بفرستید تا قابل رفع باشد","start.safeMode": "Concat دفعهٔ قبل هنگام شروع بسته شد، برای همین اکنون بهصورت نرمافزاری رسم میکند: کندتر، اما باز میشود. برای امتحان دوبارهٔ کارت گرافیک، «رسم با GPU» را در تنظیمات > عمومی روشن کنید.",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "جستجوی پروژهها","start.settingsApplyWholeEdit": "این تنظیمات روی کل ویرایش اعمال میشوند و بعداً قابل تغییر نیستند.","start.shape": "شکل",diff --git a/src/crates/concat/locales/fr.json b/src/crates/concat/locales/fr.jsonindex eb209a2c..fe0ff22b 100644--- a/src/crates/concat/locales/fr.json+++ b/src/crates/concat/locales/fr.json@@ -659,6 +659,7 @@"start.reportProblem": "Signaler un problème","start.reportProblemNote": "Quoi envoyer pour que ce soit corrigé","start.safeMode": "Concat s'est fermé pendant son dernier démarrage, il dessine donc maintenant de façon logicielle : plus lent, mais il s'ouvre. Pour réessayer la carte graphique, activez Dessiner avec le GPU dans Réglages > Général.",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "Rechercher des projets","start.settingsApplyWholeEdit": "Ces réglages s'appliquent à tout le montage et ne pourront plus être changés.","start.shape": "Forme",diff --git a/src/crates/concat/locales/he.json b/src/crates/concat/locales/he.jsonindex aeb3b97e..87ee3548 100644--- a/src/crates/concat/locales/he.json+++ b/src/crates/concat/locales/he.json@@ -659,6 +659,7 @@"start.reportProblem": "דיווח על בעיה","start.reportProblemNote": "מה לשלוח כדי שאפשר יהיה לתקן","start.safeMode": "Concat נסגר בזמן ההפעלה בפעם הקודמת, ולכן הוא מצייר עכשיו בתוכנה: איטי יותר, אבל נפתח. כדי לנסות שוב את כרטיס המסך, יש להפעיל את ציור ב-GPU בהגדרות > כללי.",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "חיפוש פרויקטים","start.settingsApplyWholeEdit": "ההגדרות האלה חלות על כל העריכה ולא ניתן לשנות אותן מאוחר יותר.","start.shape": "צורה",diff --git a/src/crates/concat/locales/hi.json b/src/crates/concat/locales/hi.jsonindex c016be26..1b209dab 100644--- a/src/crates/concat/locales/hi.json+++ b/src/crates/concat/locales/hi.json@@ -659,6 +659,7 @@"start.reportProblem": "समस्या की रिपोर्ट करें","start.reportProblemNote": "क्या भेजें ताकि इसे ठीक किया जा सके","start.safeMode": "पिछली बार Concat शुरू होते समय बंद हो गया था, इसलिए अब सॉफ़्टवेयर से ड्रॉ कर रहा है: धीमा, लेकिन खुल जाता है। ग्राफ़िक्स कार्ड फिर से आज़माने के लिए सेटिंग > सामान्य में GPU पर ड्रॉ करें चालू करें।",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "प्रोजेक्ट खोजें","start.settingsApplyWholeEdit": "ये सेटिंग पूरे एडिट पर लागू होती हैं और बाद में बदली नहीं जा सकतीं।","start.shape": "आकृति",diff --git a/src/crates/concat/locales/hr.json b/src/crates/concat/locales/hr.jsonindex d4f4f9f8..62baa3a6 100644--- a/src/crates/concat/locales/hr.json+++ b/src/crates/concat/locales/hr.json@@ -659,6 +659,7 @@"start.reportProblem": "Prijavi problem","start.reportProblemNote": "Što poslati da se može popraviti","start.safeMode": "Concat se prošli put zatvorio tijekom pokretanja, pa sada crta softverski: sporije, ali se otvara. Da ponovno isprobaš grafičku karticu, uključi Crtaj na GPU-u u Postavke > Općenito.",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "Pretraži projekte","start.settingsApplyWholeEdit": "Ove postavke vrijede za cijelu montažu i ne mogu se mijenjati kasnije.","start.shape": "Oblik",diff --git a/src/crates/concat/locales/id.json b/src/crates/concat/locales/id.jsonindex 814a653d..001ad840 100644--- a/src/crates/concat/locales/id.json+++ b/src/crates/concat/locales/id.json@@ -659,6 +659,7 @@"start.reportProblem": "Laporkan masalah","start.reportProblemNote": "Apa yang perlu dikirim agar bisa diperbaiki","start.safeMode": "Concat tertutup saat dimulai terakhir kali, jadi sekarang menggambar secara perangkat lunak: lebih lambat, tetapi bisa terbuka. Untuk mencoba kartu grafis lagi, aktifkan Menggambar dengan GPU di Pengaturan > Umum.",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "Cari proyek","start.settingsApplyWholeEdit": "Pengaturan ini berlaku untuk seluruh hasil edit dan tidak dapat diubah nanti.","start.shape": "Bentuk",diff --git a/src/crates/concat/locales/it.json b/src/crates/concat/locales/it.jsonindex 708a981f..5222708e 100644--- a/src/crates/concat/locales/it.json+++ b/src/crates/concat/locales/it.json@@ -659,6 +659,7 @@"start.reportProblem": "Segnala un problema","start.reportProblemNote": "Cosa inviare perché si possa correggere","start.safeMode": "L'ultima volta Concat si è chiuso durante l'avvio, quindi ora disegna via software: più lento, ma si apre. Per riprovare con la scheda grafica, attiva Disegna sulla GPU in Impostazioni > Generale.",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "Cerca progetti","start.settingsApplyWholeEdit": "Queste impostazioni valgono per tutto il montaggio e non si possono cambiare in seguito.","start.shape": "Forma",diff --git a/src/crates/concat/locales/ja.json b/src/crates/concat/locales/ja.jsonindex b77271fc..7f0c553d 100644--- a/src/crates/concat/locales/ja.json+++ b/src/crates/concat/locales/ja.json@@ -659,6 +659,7 @@"start.reportProblem": "問題を報告","start.reportProblemNote": "修正のために送ってほしい情報","start.safeMode": "前回 Concat が起動中に終了したため、現在はソフトウェアで描画しています。遅くなりますが、開くことはできます。グラフィックカードをもう一度試すには、設定 > 全般 で「GPU で描画」をオンにしてください。",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "プロジェクトを検索","start.settingsApplyWholeEdit": "これらの設定は編集全体に適用され、後から変更できません。","start.shape": "形",diff --git a/src/crates/concat/locales/ko.json b/src/crates/concat/locales/ko.jsonindex b525214e..fe09b37e 100644--- a/src/crates/concat/locales/ko.json+++ b/src/crates/concat/locales/ko.json@@ -659,6 +659,7 @@"start.reportProblem": "문제 신고","start.reportProblemNote": "고칠 수 있도록 보내야 할 내용","start.safeMode": "지난번 시작 중에 Concat이 닫혀서 지금은 소프트웨어로 그리고 있습니다. 느리지만 열립니다. 그래픽 카드를 다시 시도하려면 설정 > 일반에서 GPU로 그리기를 켜세요.",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "프로젝트 검색","start.settingsApplyWholeEdit": "이 설정은 편집 전체에 적용되며 나중에 바꿀 수 없습니다.","start.shape": "모양",diff --git a/src/crates/concat/locales/nl.json b/src/crates/concat/locales/nl.jsonindex 38a7d59a..519f66f1 100644--- a/src/crates/concat/locales/nl.json+++ b/src/crates/concat/locales/nl.json@@ -659,6 +659,7 @@"start.reportProblem": "Een probleem melden","start.reportProblemNote": "Wat je moet sturen zodat het opgelost kan worden","start.safeMode": "Concat sloot vorige keer tijdens het opstarten, dus het tekent nu in software: trager, maar het opent. Zet Tekenen op de GPU aan in Instellingen > Algemeen om de videokaart opnieuw te proberen.",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "Projecten zoeken","start.settingsApplyWholeEdit": "Deze instellingen gelden voor de hele montage en kunnen later niet worden gewijzigd.","start.shape": "Beeldverhouding",diff --git a/src/crates/concat/locales/pl.json b/src/crates/concat/locales/pl.jsonindex 71ad3d70..23cff4b5 100644--- a/src/crates/concat/locales/pl.json+++ b/src/crates/concat/locales/pl.json@@ -659,6 +659,7 @@"start.reportProblem": "Zgłoś problem","start.reportProblemNote": "Co wysłać, żeby dało się to naprawić","start.safeMode": "Concat zamknął się podczas ostatniego uruchamiania, więc teraz rysuje programowo: wolniej, ale się otwiera. Aby znów spróbować karty graficznej, włącz Rysuj na GPU w Ustawienia > Ogólne.",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "Szukaj projektów","start.settingsApplyWholeEdit": "Te ustawienia dotyczą całego montażu i nie można ich później zmienić.","start.shape": "Format",diff --git a/src/crates/concat/locales/pt-BR.json b/src/crates/concat/locales/pt-BR.jsonindex 28608622..d52fd83f 100644--- a/src/crates/concat/locales/pt-BR.json+++ b/src/crates/concat/locales/pt-BR.json@@ -659,6 +659,7 @@"start.reportProblem": "Relatar um problema","start.reportProblemNote": "O que enviar para que possa ser corrigido","start.safeMode": "O Concat fechou durante a inicialização da última vez, então agora está desenhando por software: mais lento, mas abre. Para tentar a placa de vídeo de novo, ligue Desenhar na GPU em Configurações > Geral.",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "Buscar projetos","start.settingsApplyWholeEdit": "Estas configurações valem para toda a edição e não podem ser alteradas depois.","start.shape": "Forma",diff --git a/src/crates/concat/locales/ru.json b/src/crates/concat/locales/ru.jsonindex 1df52cdd..f1831b64 100644--- a/src/crates/concat/locales/ru.json+++ b/src/crates/concat/locales/ru.json@@ -659,6 +659,7 @@"start.reportProblem": "Сообщить о проблеме","start.reportProblemNote": "Что прислать, чтобы это исправили","start.safeMode": "В прошлый раз Concat закрылся при запуске, поэтому сейчас отрисовка идёт программно: медленнее, но программа открывается. Чтобы снова попробовать видеокарту, включите «Отрисовка на GPU» в Настройки > Общие.",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "Поиск проектов","start.settingsApplyWholeEdit": "Эти настройки действуют на весь монтаж и потом не меняются.","start.shape": "Форма",diff --git a/src/crates/concat/locales/th.json b/src/crates/concat/locales/th.jsonindex 049831b6..a4de4a71 100644--- a/src/crates/concat/locales/th.json+++ b/src/crates/concat/locales/th.json@@ -659,6 +659,7 @@"start.reportProblem": "รายงานปัญหา","start.reportProblemNote": "สิ่งที่ควรส่งเพื่อให้แก้ไขได้","start.safeMode": "ครั้งที่แล้ว Concat ปิดตัวระหว่างเริ่มทำงาน ตอนนี้จึงวาดด้วยซอฟต์แวร์ ช้ากว่า แต่เปิดได้ หากต้องการลองใช้การ์ดจออีกครั้ง ให้เปิด วาดด้วย GPU ใน การตั้งค่า > ทั่วไป",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "ค้นหาโปรเจกต์","start.settingsApplyWholeEdit": "การตั้งค่าเหล่านี้ใช้กับงานตัดต่อทั้งหมดและเปลี่ยนภายหลังไม่ได้","start.shape": "สัดส่วนภาพ",diff --git a/src/crates/concat/locales/tr.json b/src/crates/concat/locales/tr.jsonindex e8d8d7b4..3be1d4dd 100644--- a/src/crates/concat/locales/tr.json+++ b/src/crates/concat/locales/tr.json@@ -659,6 +659,7 @@"start.reportProblem": "Sorun bildir","start.reportProblemNote": "Düzeltilebilmesi için ne gönderilmeli","start.safeMode": "Concat geçen sefer açılırken kapandı, bu yüzden şimdi yazılımla çiziyor: daha yavaş, ama açılıyor. Ekran kartını yeniden denemek için Ayarlar > Genel bölümünde GPU'da çiz seçeneğini açın.",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "Projelerde ara","start.settingsApplyWholeEdit": "Bu ayarlar tüm düzenleme için geçerlidir ve sonradan değiştirilemez.","start.shape": "Biçim",diff --git a/src/crates/concat/locales/uk.json b/src/crates/concat/locales/uk.jsonindex f4ace354..673a0165 100644--- a/src/crates/concat/locales/uk.json+++ b/src/crates/concat/locales/uk.json@@ -659,6 +659,7 @@"start.reportProblem": "Повідомити про проблему","start.reportProblemNote": "Що надіслати, щоб це виправили","start.safeMode": "Минулого разу Concat закрився під час запуску, тож зараз малює програмно: повільніше, зате відкривається. Щоб знову спробувати відеокарту, увімкніть «Малювати на GPU» в Налаштування > Загальні.",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "Пошук проєктів","start.settingsApplyWholeEdit": "Ці параметри застосовуються до всього монтажу, і змінити їх пізніше не можна.","start.shape": "Формат",diff --git a/src/crates/concat/locales/ur.json b/src/crates/concat/locales/ur.jsonindex 9202d9c5..67b5bdf1 100644--- a/src/crates/concat/locales/ur.json+++ b/src/crates/concat/locales/ur.json@@ -659,6 +659,7 @@"start.reportProblem": "مسئلہ رپورٹ کریں","start.reportProblemNote": "کیا بھیجیں تاکہ اسے ٹھیک کیا جا سکے","start.safeMode": "پچھلی بار Concat شروع ہوتے وقت بند ہو گیا تھا، اس لیے اب سافٹ ویئر میں ڈرا کر رہا ہے: سست، مگر کھل جاتا ہے۔ گرافکس کارڈ دوبارہ آزمانے کے لیے ترتیبات > عمومی میں GPU پر ڈرا کریں آن کریں۔",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "پروجیکٹس تلاش کریں","start.settingsApplyWholeEdit": "یہ ترتیبات پورے ایڈٹ پر لاگو ہوتی ہیں اور بعد میں بدلی نہیں جا سکتیں۔","start.shape": "شکل",diff --git a/src/crates/concat/locales/vi.json b/src/crates/concat/locales/vi.jsonindex b4d211c9..d5fee0d5 100644--- a/src/crates/concat/locales/vi.json+++ b/src/crates/concat/locales/vi.json@@ -659,6 +659,7 @@"start.reportProblem": "Báo cáo sự cố","start.reportProblemNote": "Cần gửi gì để có thể sửa","start.safeMode": "Lần trước Concat bị đóng khi đang khởi động, nên giờ đang vẽ bằng phần mềm: chậm hơn, nhưng vẫn mở được. Để thử lại card đồ họa, hãy bật Vẽ bằng GPU trong Cài đặt > Chung.",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "Tìm dự án","start.settingsApplyWholeEdit": "Các cài đặt này áp dụng cho toàn bộ bản dựng và không thể thay đổi sau này.","start.shape": "Tỷ lệ khung hình",diff --git a/src/crates/concat/locales/zh-Hans.json b/src/crates/concat/locales/zh-Hans.jsonindex 8f21d8b8..58194c88 100644--- a/src/crates/concat/locales/zh-Hans.json+++ b/src/crates/concat/locales/zh-Hans.json@@ -659,6 +659,7 @@"start.reportProblem": "报告问题","start.reportProblemNote": "需要发送什么才能修复","start.safeMode": "Concat 上次在启动时关闭,因此现在改用软件绘制:较慢,但能打开。要再次尝试使用显卡,请在“设置 > 通用”中打开“使用 GPU 绘制”。",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "搜索项目","start.settingsApplyWholeEdit": "这些设置作用于整个剪辑,之后无法更改。","start.shape": "形状",diff --git a/src/crates/concat/locales/zh-TW.json b/src/crates/concat/locales/zh-TW.jsonindex 5384d7bd..f4bf715f 100644--- a/src/crates/concat/locales/zh-TW.json+++ b/src/crates/concat/locales/zh-TW.json@@ -659,6 +659,7 @@"start.reportProblem": "回報問題","start.reportProblemNote": "需要傳送什麼才能修正","start.safeMode": "Concat 上次在啟動時關閉,因此現在改用軟體繪製:較慢,但能開啟。若要再次嘗試使用顯示卡,請在「設定 > 一般」中開啟「使用 GPU 繪製」。",+ "start.safeModePhone": "Concat closed while starting once, so it draws with OpenGL ES instead of Vulkan until its next update.","start.searchProjects": "搜尋專案","start.settingsApplyWholeEdit": "這些設定作用於整個剪輯,之後無法更改。","start.shape": "形狀",diff --git a/src/crates/concat/src/lib.rs b/src/crates/concat/src/lib.rsindex 8c9abf18..38e9fed9 100644--- a/src/crates/concat/src/lib.rs+++ b/src/crates/concat/src/lib.rs@@ -319,7 +319,12 @@ fn start(project: Option<std::path::PathBuf>, smoke: bool) -> Result<(), slint::let mut studio = Studio::new(host);studio.set_phone(phone);if safe {- studio.notify(&i18n::t("start.safeMode"), false);+ let notice = if cfg!(target_os = "android") {+ "start.safeModePhone"+ } else {+ "start.safeMode"+ };+ studio.notify(&i18n::t(notice), false);}studio.reload_packages(false);studio.watch_packages();@@ -2624,11 +2629,13 @@ const SAFE_AFTER: std::time::Duration = std::time::Duration::from_secs(15);/// The next build tries the GPU again: 0.2.8 kept the CPU for good, and a/// Task Manager kill or a crash an update fixed left fast machines drawing/// every hover on it (#476). Settings > General's GPU switch goes back-/// sooner. Only on Windows and Linux, which have a software rasteriser to-/// draw on; a Mac has none, and a phone's backend picks its own way to-/// draw.+/// sooner. On Windows and Linux, which have a software rasteriser to draw+/// on, and on Android, where the safe way is OpenGL ES in place of Vulkan:+/// a phone whose Vulkan driver dies on the first frame closed on every+/// launch, and the backend's fall back to OpenGL ES only catches a surface+/// that fails to open (#507). A Mac has neither.fn safe_start() -> (Option<concat_host::jobs::Tripwire>, bool) {- if !cfg!(any(windows, target_os = "linux")) {+ if !cfg!(any(windows, target_os = "linux", target_os = "android")) {return (None, false);}let Ok(dirs) = concat_host::AppDirs::locate() else {@@ -2641,8 +2648,11 @@ fn safe_start() -> (Option<concat_host::jobs::Tripwire>, bool) {preferences.save(&dirs);}if preferences.draws_in_software() && std::env::var_os("CONCAT_GPU").is_none() {- // SAFETY: the process is single-threaded here, as for the scale- // above: nothing reads the environment concurrently.+ // SAFETY: on a desk the process is single-threaded here, as for the+ // scale above. On Android the activity's glue thread is running, but+ // it is Java's and reads no environment; Rust's own readers take+ // the same lock this does. On Android the variable means OpenGL ES+ // in place of Vulkan (the Skia patch reads it), not the CPU.unsafe { std::env::set_var("CONCAT_GPU", "software") };}// Said on every launch it holds, not only the first: the person ondiff --git a/src/patches/i-slint-renderer-skia/lib.rs b/src/patches/i-slint-renderer-skia/lib.rsindex 397eb49d..bfcee682 100644--- a/src/patches/i-slint-renderer-skia/lib.rs+++ b/src/patches/i-slint-renderer-skia/lib.rs@@ -203,6 +203,19 @@ fn android_wgpu_30_or_opengl_surface_factory(size: PhysicalWindowSize,requested_graphics_api: Option<RequestedGraphicsAPI>,) -> Result<Box<dyn Surface>, PlatformError> {+ // Concat's safe start: the last launch of this build died while+ // starting, so Vulkan is not tried at all. A driver that crashes on its+ // first frame, rather than refusing the surface, gets past the fall+ // back below and kills every launch.+ if std::env::var("CONCAT_GPU").is_ok_and(|value| value.trim().eq_ignore_ascii_case("software")) {+ return surface_factory::<opengl_surface::OpenGLSurface>(+ context,+ window_handle,+ display_handle,+ size,+ requested_graphics_api,+ );+ }let wgpu = match surface_factory::<wgpu_30_surface::WGPUSurface>(context,window_handle.clone(),