rusttauridioxus

Tauri black window


When I install and build the Tauri starter app or use a library like Dioxus I always get a black screen. Currently I am using PopOS and I have the WEBKIT_DISABLE_DMABUF_RENDERER=1 set in my environment. I do not get a black screen when using Electron.

dioxus starter application

tauri starter application

I tried setting WEBKIT_DISABLE_DMABUF_RENDERER=1and using other frameworks. I am expecting to see the application and not a black screen.


Solution

  • What worked for me was doing.

    WEBKIT_DISABLE_COMPOSITING_MODE=1