Edit photos by describing the change, on your own GPU. A free, open-source alternative to Nano Banana and ChatGPT image editing: photos stay on your computer, no daily limit. One installer for Windows, Mac and Linux sets up the best open model (Qwen-Image 2.1). MCP server for AI agents.
TypeScript ai-photo-editorcomfyui-alternativegenerative-fillimage-editingimage-generationinpaintinglinuxlocal-aimacosmcpmcp-servernano-banana-alternativeofflinephoto-editorprivacyqwen-imageqwen-image-2-1stable-diffusion-cppvulkanwindows
linux: turn off WebKitGTK's DMA-BUF renderer on NVIDIA drivers (blank window, #15)
Gabriele Lozupone4d79b24f5606
diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rsindex 2782f2f..ffdad08 100644--- a/src-tauri/src/lib.rs+++ b/src-tauri/src/lib.rs@@ -267,6 +267,14 @@ fn release(shared: &Shared) {#[cfg_attr(mobile, tauri::mobile_entry_point)]pub fn run() {+ // WebKitGTK's DMA-BUF renderer paints a blank window with the NVIDIA driver (#15). Turn it+ // off there unless the user set the variable; done first, while no other thread exists.+ #[cfg(target_os = "linux")]+ if std::env::var_os("WEBKIT_DISABLE_DMABUF_RENDERER").is_none()+ && std::path::Path::new("/proc/driver/nvidia/version").exists()+ {+ unsafe { std::env::set_var("WEBKIT_DISABLE_DMABUF_RENDERER", "1") };+ }// Feature unification gives every reqwest client here rustls without a provider (from// tauri-plugin-updater); building one before a provider is installed panics.let _ = rustls::crypto::ring::default_provider().install_default();