-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
When I try to use GPU (FP16 model), I'm getting error. I've updated Win10 with updated NVIDIA drivers. Even more: I have CUDA 13.0 installed. Still. I'm getting the error.
Error log:
File: C:\Program Files\paint.net\Effects\BackgroundRemover\BackgroundRemover.dll
Name: BackgroundRemover.Effects.BackgroundRemoverEffect
Version: 1.1.2.0
Author: © 2025 jjb & Contributors
Copyright:
Web-cite: https://aka.jjb-pro.com/pdn-bgrem
Error message PaintDotNet.WorkerThreadException: Worker thread threw an exception
---> Microsoft.ML.OnnxRuntime.OnnxRuntimeException: [ErrorCode:RuntimeException] D:\a\_work\1\s\onnxruntime\core\providers\dml\dml_provider_factory.cc(538)\onnxruntime.dll!00007FF823FBEF19: (caller: 00007FF823FBF081) Exception(2) tid(6684) 887A0004 ��������� ��������� ���������� ��� ������� ���������� �� �������������� � ������ �������.
at BackgroundRemover.Effects.BackgroundRemoverEffect.RemoveBackground(Boolean useFp16, Boolean useGpu)
at BackgroundRemover.Effects.BackgroundRemoverEffect.OnSetToken(PropertyBasedEffectConfigToken token)
at PaintDotNet.Effects.BitmapEffect`1.OnSetToken(EffectConfigToken newToken) in D:\src\pdn\src_vPrev\Effects.Core\Effects\BitmapEffect`1.cs:line 56
at PaintDotNet.Effects.BitmapEffect.OnSetTokenImpl(EffectConfigToken newToken) in D:\src\pdn\src_vPrev\Effects.Core\Effects\BitmapEffect.cs:line 228
at PaintDotNet.Effects.EffectDriver`1.ThreadFunction() in D:\src\pdn\src_vPrev\PaintDotNet\Effects\EffectDriver`1.cs:line 377
--- End of inner exception stack trace ---
at PaintDotNet.Effects.EffectDriver`1.DrainExceptions() in D:\src\pdn\src_vPrev\PaintDotNet\Effects\EffectDriver`1.cs:line 564
at PaintDotNet.Menus.EffectMenuBase.DoEffect(IEffect effect, EffectConfigToken token, Result`1 lazyAllRenderScans, Result`1 lazyRemainingRenderScans, Surface originalSurface, Exception& exception) in D:\src\pdn\src_vPrev\PaintDotNet\Menus\EffectMenuBase.cs:line 1625
Diagnostics:
Application Paint.NET версия 5.1.11 (Stable 5.111.9445.2548)
Build Date 10 ноября 2025 г.
Current Date and Time 03.02.2026 2:12:44
System uptime 5.10:53:44.7180000
Process uptime 00:10:42.0490000
Application state Running
Install type Classic
Install directory C:\Program Files\paint.net
Application directory C:\Program Files\paint.net
Current directory C:\Program Files\paint.net
Language ru-RU
UI Scaling 1,25x (120 DPI)
Cursor Scaling 1,00x
UI/Canvas GPU True
Rendering GPU NVIDIA GeForce RTX 4060 Ti
Advanced Color True
Windows Ink True
Animations True
Translucent Windows True
Remote Session False
Battery Saver False
Theme Aero (Aero.msstyles), Dark
Updates Disabled
Last Checked 21.02.2023
Flags
DwmOverlayTestMode 5
Win32LongPathsEnabled 1
OS Windows 10 IoT Enterprise LTSC 2021 x64 (10.0.19044.0)
Runtime .NET 9.0.10 x64
Physical Memory 65 445 MB (48 125 MB free)
Paging File 69 541 MB (46 639 MB free)
Working Set 395 420 KB
Handles 2783
Threads 306
GDI objects 220
User objects 243
CPU AMD Ryzen 9 5900X 12-Core Processor
Speed ~4200 MHz
Cores / Threads 12 / 24
Features SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, AVX, AVX2
Vector Intrinsics Support 128, 256
Vector<T> Size 256
GPU NVIDIA GeForce RTX 4060 Ti
Hardware Acceleration Supported
Performance Class Good
Dedicated Video RAM 16 109 MB
Dedicated System RAM 0 MB
Shared System RAM 32 722 MB
Driver Version 32.0.15.8180
Vendor ID 0x10DE
Device ID 0x2803
Subsystem ID 0xF3141569
Revision 161
LUID 0x00017970
Flags AcgCompatible, SupportMonitoredFences, KeyedMutexConformance
Outputs 2
Feature Level Level_12_1
Features Doubles, ComputeShadersEtc
Maximum Bitmap Size 16384
GPU Microsoft Basic Render Driver
Hardware Acceleration N/A
Performance Class VeryLow
Dedicated Video RAM 0 MB
Dedicated System RAM 0 MB
Shared System RAM 32 722 MB
Driver Version 10.0.19041.5794
Vendor ID 0x1414
Device ID 0x008C
Subsystem ID 0x00000000
Revision 0
LUID 0x0001890B
Flags Software, AcgCompatible, SupportMonitoredFences, KeyedMutexConformance
Outputs 0
Feature Level Level_12_1
Features Doubles, ComputeShadersEtc
Maximum Bitmap Size 8388608
Display Generic PnP Monitor
Connected to NVIDIA GeForce RTX 4060 Ti
Resolution 1920 x 1080, 8-bit, 60 Hz
DPI 120 (1,25x scale)
Coordinates (L=0, T=0, R=1920, B=1080)
Advanced Color Support None
Current Advanced Color StandardDynamicRange
SDR white level 80 nits
Color Space sRGB
Composition Support Fullscreen, Windowed
Supports Overlays True
GPU Overlay Support B8G8R8A8_UNorm (sRGB, HDR10)
R8G8B8A8_UNorm (sRGB, HDR10)
R10G10B10A2_UNorm (sRGB, HDR10)
R16G16B16A16_Float (scRGB)
Display Generic PnP Monitor
Connected to NVIDIA GeForce RTX 4060 Ti
Resolution 1920 x 1080, 8-bit, 60 Hz
DPI 96 (1,00x scale)
Coordinates (L=-1920, T=0, R=0, B=1080)
Advanced Color Support None
Current Advanced Color StandardDynamicRange
SDR white level 80 nits
Color Space sRGB
Composition Support Fullscreen, CursorStretched
Supports Overlays False
GPU Overlay Support B8G8R8A8_UNorm (sRGB, HDR10)
R8G8B8A8_UNorm (sRGB, HDR10)
R10G10B10A2_UNorm (sRGB, HDR10)
R16G16B16A16_Float (scRGB)
Managed assemblies 109
System.Private.CoreLib .\System.Private.CoreLib.dll, Version=9.0.0.0, PublicKeyToken=7cec85d7bea7798e
paintdotnet .\paintdotnet.dll, Version=5.111.9445.2548
System.Runtime .\System.Runtime.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
PaintDotNet.Windows.Core .\PaintDotNet.Windows.Core.dll, Version=5.111.9445.2548
PaintDotNet.Windows .\PaintDotNet.Windows.dll, Version=5.111.9445.2548
PaintDotNet.ComponentModel .\PaintDotNet.ComponentModel.dll, Version=5.111.9445.2548
PaintDotNet.Primitives .\PaintDotNet.Primitives.dll, Version=5.111.9445.2548
System.Diagnostics.Tracing .\System.Diagnostics.Tracing.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
PaintDotNet.Fundamentals .\PaintDotNet.Fundamentals.dll, Version=5.111.9445.2548
System.Windows.Forms .\System.Windows.Forms.dll, Version=9.0.0.0, PublicKeyToken=b77a5c561934e089
System.Threading.Thread .\System.Threading.Thread.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
TerraFX.Interop.Windows .\TerraFX.Interop.Windows.dll, Version=10.0.26100.2, PublicKeyToken=35b01b53313a6f7e
PaintDotNet.Runtime .\PaintDotNet.Runtime.dll, Version=5.111.9445.2548
System.Collections.Concurrent .\System.Collections.Concurrent.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
PointerToolkit .\PointerToolkit.dll, Version=1.0.1.0
PaintDotNet.Systrace .\PaintDotNet.Systrace.dll, Version=5.111.9445.2548
System.Private.Uri .\System.Private.Uri.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
PaintDotNet.Windows.Framework .\PaintDotNet.Windows.Framework.dll, Version=5.111.9445.2548
PaintDotNet.SystemLayer .\PaintDotNet.SystemLayer.dll, Version=5.111.9445.2548
PaintDotNet.UI .\PaintDotNet.UI.dll, Version=5.111.9445.2548
Microsoft.Windows.SDK.NET .\Microsoft.Windows.SDK.NET.dll, Version=10.0.26100.38, PublicKeyToken=31bf3856ad364e35
WindowsBase .\WindowsBase.dll, Version=9.0.0.0, PublicKeyToken=31bf3856ad364e35
WinRT.Runtime .\WinRT.Runtime.dll, Version=2.2.0.0, PublicKeyToken=99ea127f02d97709
PaintDotNet.Core .\PaintDotNet.Core.dll, Version=5.111.9445.2548
System.Runtime.InteropServices .\System.Runtime.InteropServices.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.ObjectModel .\System.ObjectModel.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
PaintDotNet.Base .\PaintDotNet.Base.dll, Version=5.111.9445.2548
System.ComponentModel .\System.ComponentModel.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
PaintDotNet.Collections .\PaintDotNet.Collections.dll, Version=5.111.9445.2548
System.Collections .\System.Collections.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.ComponentModel.Primitives .\System.ComponentModel.Primitives.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.Threading .\System.Threading.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.Windows.Forms.Primitives .\System.Windows.Forms.Primitives.dll, Version=9.0.0.0, PublicKeyToken=b77a5c561934e089
System.Private.Windows.Core .\System.Private.Windows.Core.dll, Version=9.0.0.0, PublicKeyToken=b77a5c561934e089
System.Drawing.Primitives .\System.Drawing.Primitives.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Win32.Primitives .\Microsoft.Win32.Primitives.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.Text.Encoding.CodePages .\System.Text.Encoding.CodePages.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
PaintDotNet.Resources .\PaintDotNet.Resources.dll, Version=5.111.9445.2548
PaintDotNet.Data .\PaintDotNet.Data.dll, Version=5.111.9445.2548
System.Configuration.ConfigurationManager .\System.Configuration.ConfigurationManager.dll, Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51
PaintDotNet.Framework .\PaintDotNet.Framework.dll, Version=5.111.9445.2548
CommunityToolkit.HighPerformance .\CommunityToolkit.HighPerformance.dll, Version=8.4.0.0, PublicKeyToken=4aff67a105548ee2
System.Threading.ThreadPool .\System.Threading.ThreadPool.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.Collections.Specialized .\System.Collections.Specialized.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.Private.Xml .\System.Private.Xml.dll, Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51
System.Xml.ReaderWriter .\System.Xml.ReaderWriter.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.Net.WebClient .\System.Net.WebClient.dll, Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51
PaintDotNet.ObjectModel .\PaintDotNet.ObjectModel.dll, Version=5.111.9445.2548
System.Memory .\System.Memory.dll, Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51
System.Drawing.Common .\System.Drawing.Common.dll, Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51
System.Text.Encoding.Extensions .\System.Text.Encoding.Extensions.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.Collections.Immutable .\System.Collections.Immutable.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
PointerToolkit.TerraFX.Interop.Windows .\PointerToolkit.TerraFX.Interop.Windows.dll, Version=10.0.26100.0
Microsoft.Win32.SystemEvents .\Microsoft.Win32.SystemEvents.dll, Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51
Microsoft.Win32.Registry .\Microsoft.Win32.Registry.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.Linq .\System.Linq.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.ComponentModel.EventBasedAsync .\System.ComponentModel.EventBasedAsync.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.Security.Principal.Windows .\System.Security.Principal.Windows.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.Security.Claims .\System.Security.Claims.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
ComputeSharp.D2D1 .\ComputeSharp.D2D1.dll, Version=3.1.0.0, PublicKeyToken=dc35fa229f6881d8
System.Numerics.Vectors .\System.Numerics.Vectors.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
PaintDotNet.PropertySystem .\PaintDotNet.PropertySystem.dll, Version=5.111.9445.2548
System.IO.Packaging .\System.IO.Packaging.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
PaintDotNet.Effects.Core .\PaintDotNet.Effects.Core.dll, Version=5.111.9445.2548
System.ComponentModel.TypeConverter .\System.ComponentModel.TypeConverter.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
Accessibility .\Accessibility.dll, Version=4.0.0.0, PublicKeyToken=31bf3856ad364e35
System.Threading.Tasks.Parallel .\System.Threading.Tasks.Parallel.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.Diagnostics.FileVersionInfo .\System.Diagnostics.FileVersionInfo.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
PaintDotNet.Effects.Gpu .\PaintDotNet.Effects.Gpu.dll, Version=5.111.9445.2548
System.Runtime.Loader .\System.Runtime.Loader.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
WebPFileType .\Bundled\WebPFileType\WebPFileType.dll, Version=1.6.0.0
JpegXLFileType .\Bundled\JpegXLFileType\JpegXLFileType.dll, Version=1.2.0.0
AvifFileType .\Bundled\AvifFileType\AvifFileType.dll, Version=3.13.1.0
DdsFileTypePlus .\Bundled\DDSFileTypePlus\DdsFileTypePlus.dll, Version=1.12.13.0
PaintDotNet.Effects .\PaintDotNet.Effects.dll, Version=5.111.9445.2548
System.Reflection.Metadata .\System.Reflection.Metadata.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.IO.MemoryMappedFiles .\System.IO.MemoryMappedFiles.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.Reflection.MetadataLoadContext .\System.Reflection.MetadataLoadContext.dll, Version=9.0.0.10, PublicKeyToken=cc7b13ffcd2ddd51
BackgroundRemover .\Effects\BackgroundRemover\BackgroundRemover.dll, Version=1.1.2.0
PaintDotNet.Effects.Legacy .\PaintDotNet.Effects.Legacy.dll, Version=5.111.9445.2548
System.Diagnostics.TraceSource .\System.Diagnostics.TraceSource.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
SauceControl.Blake2Fast .\SauceControl.Blake2Fast.dll, Version=2.0.0.0, PublicKeyToken=deebe556222e40dc
System.Net.Http .\System.Net.Http.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.Net.Primitives .\System.Net.Primitives.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.Diagnostics.DiagnosticSource .\System.Diagnostics.DiagnosticSource.dll, Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51
System.Net.Security .\System.Net.Security.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.Security.Cryptography .\System.Security.Cryptography.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
PresentationCore .\PresentationCore.dll, Version=9.0.0.0, PublicKeyToken=31bf3856ad364e35
DirectWriteForwarder .\DirectWriteForwarder.dll, Version=9.0.0.0, PublicKeyToken=31bf3856ad364e35
System.Runtime.Extensions .\System.Runtime.Extensions.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.Diagnostics.Debug .\System.Diagnostics.Debug.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.Runtime.CompilerServices.VisualC .\System.Runtime.CompilerServices.VisualC.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.Collections.NonGeneric .\System.Collections.NonGeneric.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
ComputeSharp.Core .\ComputeSharp.Core.dll, Version=3.1.0.0, PublicKeyToken=dc35fa229f6881d8
PhotoSauce.MagicScaler .\PhotoSauce.MagicScaler.dll, Version=0.15.0.0, PublicKeyToken=fc6b9b7b06809481
System.Text.RegularExpressions .\System.Text.RegularExpressions.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
PresentationFramework .\PresentationFramework.dll, Version=9.0.0.0, PublicKeyToken=31bf3856ad364e35
System.Xaml .\System.Xaml.dll, Version=9.0.0.0, PublicKeyToken=b77a5c561934e089
System.Runtime.Intrinsics .\System.Runtime.Intrinsics.dll, Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51
System.Linq.Expressions .\System.Linq.Expressions.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.IO.Compression .\System.IO.Compression.dll, Version=9.0.0.0, PublicKeyToken=b77a5c561934e089
System.Runtime.Serialization.Formatters .\System.Runtime.Serialization.Formatters.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
mscorlib .\mscorlib.dll, Version=4.0.0.0, PublicKeyToken=b77a5c561934e089
K4os.Compression.LZ4 .\K4os.Compression.LZ4.dll, Version=1.3.8.0, PublicKeyToken=2186fa9121ef231d
System.Numerics.Tensors .\System.Numerics.Tensors.dll, Version=9.0.0.10, PublicKeyToken=cc7b13ffcd2ddd51
System.CodeDom .\System.CodeDom.dll, Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51
Microsoft.ML.OnnxRuntime .\Effects\BackgroundRemover\Microsoft.ML.OnnxRuntime.dll, Version=0.0.0.0, PublicKeyToken=f27f157f0a5b7bb6
System.Diagnostics.Process .\System.Diagnostics.Process.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.Diagnostics.StackTrace .\System.Diagnostics.StackTrace.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
Native modules 217
paintdotnet.exe .\paintdotnet.exe, version=5.111.9445.2548
...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels