Log in

View Full Version : vspreview: Debanding Problems


jay123210599
16th March 2025, 05:06
I tried to deband a video in vspreview, but I got this error and the deband video was just a black screen. How do I fix that?

Allocation of size 8112K failed: VK_ERROR_OUT_OF_DEVICE_MEMORY!
Memory heaps supported by device:
0: flags 0x1 size 23G
1: flags 0x0 size 15G
2: flags 0x1 size 214M
Memory pool 0:
Compatible types: 0x3
Optimal flags: 0x1
Slab 0: c x 8640K: 10M used 16M res 33M alloc from heap 0, efficiency 63.89% [../subprojects/libplacebo/src/utils/upload.c:245]
Pool summary: 10M used 16M res 33M alloc, efficiency 63.89%, utilization 50.00%
Memory pool 1:
Compatible types: 0xffffffff
Optimal flags: 0x2
Buffer flags: 0x3
Slab 0: e x 8100K: 8100K used 8100K res 31M alloc from heap 1, efficiency 100.00% [../subprojects/libplacebo/src/gpu/utils.c:575]
Pool summary: 8100K used 8100K res 31M alloc, efficiency 100.00%, utilization 25.00%
Memory pool 2:
Compatible types: 0xffffffff
Optimal flags: 0x3
Buffer flags: 0x3
Pool summary: 0 used 0 res 0 alloc, efficiency 100.00%, utilization 100.00%
Memory summary: 18M used 24M res 65M alloc, efficiency 75.41%, utilization 37.90%, max page: 1520M
Backtrace:
#0 0x7ffa22964ef1 in pl_vulkan_release_ex+0x7491 (C:\Users\User\AppData\Roaming\VapourSynth\plugins64\libvs_placebo.dll+0x84ef1) (0x240ac4ef1)
#1 0x7ffa22966442 in pl_vulkan_release_ex+0x89e2 (C:\Users\User\AppData\Roaming\VapourSynth\plugins64\libvs_placebo.dll+0x86442) (0x240ac6442)
#2 0x7ffa22959604 in pl_vulkan_sem_create+0x1094 (C:\Users\User\AppData\Roaming\VapourSynth\plugins64\libvs_placebo.dll+0x79604) (0x240ab9604)
#3 0x7ffa22941c81 in pl_buf_create+0x211 (C:\Users\User\AppData\Roaming\VapourSynth\plugins64\libvs_placebo.dll+0x61c81) (0x240aa1c81)
#4 0x7ffa229462f8 in pl_timer_query+0x2458 (C:\Users\User\AppData\Roaming\VapourSynth\plugins64\libvs_placebo.dll+0x662f8) (0x240aa62f8)
#5 0x7ffa2295b86c in pl_vulkan_sem_create+0x32fc (C:\Users\User\AppData\Roaming\VapourSynth\plugins64\libvs_placebo.dll+0x7b86c) (0x240abb86c)
#6 0x7ffa229418cc in pl_tex_upload+0x7c (C:\Users\User\AppData\Roaming\VapourSynth\plugins64\libvs_placebo.dll+0x618cc) (0x240aa18cc)
#7 0x7ffa2295102f in pl_upload_plane+0x2ef (C:\Users\User\AppData\Roaming\VapourSynth\plugins64\libvs_placebo.dll+0x7102f) (0x240ab102f)
#8 0x7ffa228e221c in VapourSynthPluginInit2+0xb9c (C:\Users\User\AppData\Roaming\VapourSynth\plugins64\libvs_placebo.dll+0x221c) (0x240a4221c)
#9 0x7ffb7657f30c in getVapourSynthAPI+0xd6dc (C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\VapourSynth.dll+0x10f30c) (0x18010f30c)
#10 0x7ffb765927ac in getVapourSynthAPI+0x20b7c (C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\VapourSynth.dll+0x1227ac) (0x1801227ac)
#11 0x7ffb765944a2 in getVapourSynthAPI+0x22872 (C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\VapourSynth.dll+0x1244a2) (0x1801244a2)
#12 0x7ffc76c137af in wcsrchr+0x14f (C:\WINDOWS\System32\ucrtbase.dll+0x37af) (0x1800037af)
#13 0x7ffc7897e8d6 in BaseThreadInitThunk+0x16 (C:\WINDOWS\System32\KERNEL32.DLL+0x2e8d6) (0x18002e8d6)
#14 0x7ffc7965bf6b in RtlUserThreadStart+0x2b (C:\WINDOWS\SYSTEM32\ntdll.dll+0xbbf6b) (0x1800bbf6b)
for malloc: ../subprojects/libplacebo/src/gpu/utils.c:575
No slab to serve request for 2025K bytes (with alignment 0xc00) in pool 2!
2025-03-15 07:15:45.670: root: CRITICAL: placebo.Deband: Failed downloading data from the GPU!
Allocation of size 8112K failed: VK_ERROR_OUT_OF_DEVICE_MEMORY!
Memory heaps supported by device:
0: flags 0x1 size 23G
1: flags 0x0 size 15G
2: flags 0x1 size 214M
Memory pool 0:
Compatible types: 0x3
Optimal flags: 0x1
Slab 0: 8 x 8640K: 13M used 25M res 33M alloc from heap 0, efficiency 51.85% [../subprojects/libplacebo/src/utils/upload.c:245]
Pool summary: 13M used 25M res 33M alloc, efficiency 51.85%, utilization 75.00%
Memory pool 1:
Compatible types: 0xffffffff
Optimal flags: 0x2
Buffer flags: 0x3
Slab 0: e x 8100K: 8100K used 8100K res 31M alloc from heap 1, efficiency 100.00% [../subprojects/libplacebo/src/gpu/utils.c:575]
Pool summary: 8100K used 8100K res 31M alloc, efficiency 100.00%, utilization 25.00%
Memory pool 2:
Compatible types: 0xffffffff
Optimal flags: 0x3
Buffer flags: 0x3
Pool summary: 0 used 0 res 0 alloc, efficiency 100.00%, utilization 100.00%
Memory summary: 21M used 33M res 65M alloc, efficiency 63.32%, utilization 50.81%, max page: 1520M
Backtrace:
#0 0x7ffa22964ef1 in pl_vulkan_release_ex+0x7491 (C:\Users\User\AppData\Roaming\VapourSynth\plugins64\libvs_placebo.dll+0x84ef1) (0x240ac4ef1)
#1 0x7ffa22966442 in pl_vulkan_release_ex+0x89e2 (C:\Users\User\AppData\Roaming\VapourSynth\plugins64\libvs_placebo.dll+0x86442) (0x240ac6442)
#2 0x7ffa22959604 in pl_vulkan_sem_create+0x1094 (C:\Users\User\AppData\Roaming\VapourSynth\plugins64\libvs_placebo.dll+0x79604) (0x240ab9604)
#3 0x7ffa22941c81 in pl_buf_create+0x211 (C:\Users\User\AppData\Roaming\VapourSynth\plugins64\libvs_placebo.dll+0x61c81) (0x240aa1c81)
#4 0x7ffa229462f8 in pl_timer_query+0x2458 (C:\Users\User\AppData\Roaming\VapourSynth\plugins64\libvs_placebo.dll+0x662f8) (0x240aa62f8)
#5 0x7ffa2295b86c in pl_vulkan_sem_create+0x32fc (C:\Users\User\AppData\Roaming\VapourSynth\plugins64\libvs_placebo.dll+0x7b86c) (0x240abb86c)
#6 0x7ffa229418cc in pl_tex_upload+0x7c (C:\Users\User\AppData\Roaming\VapourSynth\plugins64\libvs_placebo.dll+0x618cc) (0x240aa18cc)
#7 0x7ffa2295102f in pl_upload_plane+0x2ef (C:\Users\User\AppData\Roaming\VapourSynth\plugins64\libvs_placebo.dll+0x7102f) (0x240ab102f)
#8 0x7ffa228e221c in VapourSynthPluginInit2+0xb9c (C:\Users\User\AppData\Roaming\VapourSynth\plugins64\libvs_placebo.dll+0x221c) (0x240a4221c)
#9 0x7ffb7657f30c in getVapourSynthAPI+0xd6dc (C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\VapourSynth.dll+0x10f30c) (0x18010f30c)
#10 0x7ffb765927ac in getVapourSynthAPI+0x20b7c (C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\VapourSynth.dll+0x1227ac) (0x1801227ac)
#11 0x7ffb765944a2 in getVapourSynthAPI+0x22872 (C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\VapourSynth.dll+0x1244a2) (0x1801244a2)
#12 0x7ffc76c137af in wcsrchr+0x14f (C:\WINDOWS\System32\ucrtbase.dll+0x37af) (0x1800037af)
#13 0x7ffc7897e8d6 in BaseThreadInitThunk+0x16 (C:\WINDOWS\System32\KERNEL32.DLL+0x2e8d6) (0x18002e8d6)
#14 0x7ffc7965bf6b in RtlUserThreadStart+0x2b (C:\WINDOWS\SYSTEM32\ntdll.dll+0xbbf6b) (0x1800bbf6b)
for malloc: ../subprojects/libplacebo/src/gpu/utils.c:575
No slab to serve request for 2025K bytes (with alignment 0xc00) in pool 2!
2025-03-15 07:15:45.739: root: CRITICAL: placebo.Deband: Failed downloading data from the GPU!
Allocation of size 252K failed: VK_ERROR_OUT_OF_DEVICE_MEMORY!
Memory heaps supported by device:
0: flags 0x1 size 23G
1: flags 0x0 size 15G
2: flags 0x1 size 214M
Memory pool 0:
Compatible types: 0x3
Optimal flags: 0x1
Slab 0: 8 x 8640K: 13M used 25M res 33M alloc from heap 0, efficiency 51.85% [../subprojects/libplacebo/src/utils/upload.c:245]
Pool summary: 13M used 25M res 33M alloc, efficiency 51.85%, utilization 75.00%
Memory pool 1:
Compatible types: 0xffffffff
Optimal flags: 0x2
Buffer flags: 0x3
Slab 0: e x 8100K: 8100K used 8100K res 31M alloc from heap 1, efficiency 100.00% [../subprojects/libplacebo/src/gpu/utils.c:575]
Pool summary: 8100K used 8100K res 31M alloc, efficiency 100.00%, utilization 25.00%
Memory pool 2:
Compatible types: 0xffffffff... (82 KB left)

GeoffreyA
16th March 2025, 08:16
Looks like a Vulkan issue and not enough memory. You could also try neo_f3kdb, which is a good debander for anime.

jay123210599
16th March 2025, 12:49
Looks like a Vulkan issue and not enough memory. You could also try neo_f3kdb, which is a good debander for anime.

I have a Geforce RTX 3090. How does that not have enough memory?

GeoffreyA
16th March 2025, 14:03
Fair enough. It says it could not allocate 8 MB, so there is some memory-allocation issue.

jay123210599
16th March 2025, 15:01
Fair enough. It says it could not allocate 8 MB, so there is some memory-allocation issue.

How do I fix it?

GeoffreyA
16th March 2025, 16:44
How do I fix it?

To be honest, I don't know.

jay123210599
18th March 2025, 18:39
I just figured it out, I needed to replace my old libvs_placebo.dll file with an newer version of it.

GeoffreyA
18th March 2025, 20:54
I just figured it out, I needed to replace my old libvs_placebo.dll file with an newer version of it.

Glad to hear it, Jay.