GeoffreyA
9th August 2025, 12:53
When I try to use libplacebo in VapourSynth, I get the following error repeated for each frame:
[31mValidation failed: !params->renderable || fmt_caps & PL_FMT_CAP_RENDERABLE (../subprojects/libplacebo/src/gpu.c:250)[0m
[31m Backtrace:[0m
[31m #0 0x7ff80b7d19cd in pl_tex_create+0x33d (D:\Stuff\Movie Tools\Conversion\VapourSynth\vs-plugins\libvs_placebo.dll+0x619cd) (0x240aa19cd)[0m
[31m #1 0x7ff80b7d2077 in pl_tex_recreate+0xa7 (D:\Stuff\Movie Tools\Conversion\VapourSynth\vs-plugins\libvs_placebo.dll+0x62077) (0x240aa2077)[0m
ols\Conversion\VapourSynth\vs-plugins\libvs_placebo.dll+0x2b00) (0x240a42b00)[0mame= 0 fps=0.0 q=0.0 size= 0KiB time=N/A bitrate=N/A speed=N/A elapsed=0:00:00.52
[31m #3 0x7ff80b77371f in VapourSynthPluginInit2+0x208f (D:\Stuff\Movie Tools\Conversion\VapourSynth\vs-plugins\libvs_placebo.dll+0x371f) (0x240a4371f)[0m
[31m #4 0x7ff83731959c in getVapourSynthAPI+0xde3c (D:\Stuff\Movie Tools\Conversion\VapourSynth\Lib\site-packages\VapourSynth.dll+0x10959c) (0x18010959c)[0m
[31m #5 0x7ff83732c652 in getVapourSynthAPI+0x20ef2 (D:\Stuff\Movie Tools\Conversion\VapourSynth\Lib\site-packages\VapourSynth.dll+0x11c652) (0x18011c652)[0m
[31m #6 0x7ff83732df05 in getVapourSynthAPI+0x227a5 (D:\Stuff\Movie Tools\Conversion\VapourSynth\Lib\site-packages\VapourSynth.dll+0x11df05) (0x18011df05)[0m
[31m #7 0x7ff878741bb1 in configthreadlocale+0x91 (C:\Windows\System32\ucrtbase.dll+0x21bb1) (0x180021bb1)[0m
[31m #8 0x7ff8790c7373 in BaseThreadInitThunk+0x13 (C:\Windows\System32\KERNEL32.DLL+0x17373) (0x180017373)[0m
[31m #9 0x7ff87b0dcc90 in RtlUserThreadStart+0x20 (C:\Windows\SYSTEM32\ntdll.dll+0x4cc90) (0x18004cc90)[0m
[31m for texture: ../src/tonemap.c:115[0m
Critical: Failed creating GPU textures!
from vapoursynth import core
clip = core.lsmas.LWLibavSource(r"4k.mkv")
clip = clip.fmtc.bitdepth(bits=16)
clip = clip.placebo.Tonemap(src_csp=1, dst_csp=0)
clip = clip.fmtc.bitdepth(bits=8)
clip.set_output()
libplacebo works in FFmpeg. The GPU is an Arc B580, but I used to get similar errors with the Radeon iGPU. Resample() works. Am I using Tonemap() correctly, or could this be a driver problem?
[31mValidation failed: !params->renderable || fmt_caps & PL_FMT_CAP_RENDERABLE (../subprojects/libplacebo/src/gpu.c:250)[0m
[31m Backtrace:[0m
[31m #0 0x7ff80b7d19cd in pl_tex_create+0x33d (D:\Stuff\Movie Tools\Conversion\VapourSynth\vs-plugins\libvs_placebo.dll+0x619cd) (0x240aa19cd)[0m
[31m #1 0x7ff80b7d2077 in pl_tex_recreate+0xa7 (D:\Stuff\Movie Tools\Conversion\VapourSynth\vs-plugins\libvs_placebo.dll+0x62077) (0x240aa2077)[0m
ols\Conversion\VapourSynth\vs-plugins\libvs_placebo.dll+0x2b00) (0x240a42b00)[0mame= 0 fps=0.0 q=0.0 size= 0KiB time=N/A bitrate=N/A speed=N/A elapsed=0:00:00.52
[31m #3 0x7ff80b77371f in VapourSynthPluginInit2+0x208f (D:\Stuff\Movie Tools\Conversion\VapourSynth\vs-plugins\libvs_placebo.dll+0x371f) (0x240a4371f)[0m
[31m #4 0x7ff83731959c in getVapourSynthAPI+0xde3c (D:\Stuff\Movie Tools\Conversion\VapourSynth\Lib\site-packages\VapourSynth.dll+0x10959c) (0x18010959c)[0m
[31m #5 0x7ff83732c652 in getVapourSynthAPI+0x20ef2 (D:\Stuff\Movie Tools\Conversion\VapourSynth\Lib\site-packages\VapourSynth.dll+0x11c652) (0x18011c652)[0m
[31m #6 0x7ff83732df05 in getVapourSynthAPI+0x227a5 (D:\Stuff\Movie Tools\Conversion\VapourSynth\Lib\site-packages\VapourSynth.dll+0x11df05) (0x18011df05)[0m
[31m #7 0x7ff878741bb1 in configthreadlocale+0x91 (C:\Windows\System32\ucrtbase.dll+0x21bb1) (0x180021bb1)[0m
[31m #8 0x7ff8790c7373 in BaseThreadInitThunk+0x13 (C:\Windows\System32\KERNEL32.DLL+0x17373) (0x180017373)[0m
[31m #9 0x7ff87b0dcc90 in RtlUserThreadStart+0x20 (C:\Windows\SYSTEM32\ntdll.dll+0x4cc90) (0x18004cc90)[0m
[31m for texture: ../src/tonemap.c:115[0m
Critical: Failed creating GPU textures!
from vapoursynth import core
clip = core.lsmas.LWLibavSource(r"4k.mkv")
clip = clip.fmtc.bitdepth(bits=16)
clip = clip.placebo.Tonemap(src_csp=1, dst_csp=0)
clip = clip.fmtc.bitdepth(bits=8)
clip.set_output()
libplacebo works in FFmpeg. The GPU is an Arc B580, but I used to get similar errors with the Radeon iGPU. Resample() works. Am I using Tonemap() correctly, or could this be a driver problem?