slint icon indicating copy to clipboard operation
slint copied to clipboard

Vulkan and D3D renderers are very laggy.

Open GRX005 opened this issue 6 months ago • 0 comments
trafficstars

Bug Description

Upon getting vulkan to work by doing: .cargo/config.yml: [env] SKIA_BINARIES_URL = "https://github.com/rust-skia/skia-binaries/releases/download/0.84.0/skia-binaries-8df1749a67a2800c2904-x86_64-pc-windows-msvc-d3d-gl-svg-textlayout-vulkan.tar.gz"

And requiring vulkan in the code: BackendSelector::new().require_vulkan().select()?;

Resizing the UI is extremely laggy, the texts are bugging, and it can barely keep up loading the background with the window. Upon doing BackendSelector::new().require_d3d().select()?; It's somewhat better, but it's still lagging a lot upon resizing for some reason, no other apps do this for me.

Reproducible Code (if applicable)


Environment Details

  • Slint Version: 1.11.0
  • Platform/OS: Windows 11
  • Programming Language: Rust
  • Backend/Renderer: Skia

Product Impact

Making a native mod manager app for a game. Moving forward it would be great to use a modern, more capable renderer like vulkan for apps.

GRX005 avatar May 17 '25 15:05 GRX005