V 2.3xxxTray icon crashing / SkiaSharp incompatibility W Server 2012 R2

This is not a complaint. I know that Windows Server 2012 R2 is old and discontinued since 2023.

This is more of a workaround.

Just to inform anyone on a similar situation that in more recent versions of Duplicati, SkiaSharp 3.119.0 or later is used. This version requires DirectX 12, which Windows Server 2012 R2 does not support, resulting in Duplicati.GUI.TrayIcon crashing with several errors involving SkiaSharp.

Duplicati Server and Windows Service will still run, though, if you launch them through the command line and register the Windows service, while setting it up to output debug logs to a txt file of your choosing. It will then write to the txt file the necessary link with the authentication token to allow you to access the web interface in a browser and set up a password.

From there, Duplicati will work normally, just without the Tray Icon

EDIT: Currently running Duplicati 2.3.0.1 (Stable) 2026-04-24

Thanks for reporting this. Do you know which version was the last version that did not have the issue?

I was thinking you could use the zip version of an older Duplicati and then just run the TrayIcon with --no-hosted-server to connect to the updated server.

If I’m not mistaken, this started with Duplicati 2.3. In any case, it is certain that any version of Duplicati that uses SkiaSharp 3.119.0-preview.1.2 or later will have DirectX 12 as a hard requirement.

I didn’t think of that. If the older version of the TrayIcon has no qualms working with the latest version of the server, this may be worth a shot.

EDIT: Can confirm that the TrayIcon from version 2.2.0.3 Stable runs well with version 2.3.0.1 Stable of the server.

Thanks!

I’m not an expert, but I think the dependency was introduced at:

v2.3.0.1_stable_2026-04-24

New fixes in 2.3.0.1
Updated Avalonia and DBus to latest versions

Discussion shows SkiaSharp then Avalonia removed the hard dependency.

https://github.com/mono/SkiaSharp/releases/tag/v3.119.4-preview.1.1

Delay-load D3D12 DLLs to prevent crashes on systems without DX12 by @mattleibow in #3633

https://github.com/AvaloniaUI/Avalonia/releases/tag/12.0.2

Core – Update SkiaSharp to 3.119.4 Preview 1 @4Darmygeometry in #21263

Possibly a future Duplicati will get that fix, but lots of other code (including .NET)
doesn’t officially support such old releases, so potentially other things will break.

That is great news! Thanks for finding this.

I have create a PR that bumps to 12.0.2:

Looks like this is a candidate for a new stable patch release (along with a few other issues).