![]() |
[HELP] libplacebo (tonemapping) crashes... - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: [HELP] libplacebo (tonemapping) crashes... (/thread-3987.html) |
libplacebo (tonemapping) crashes... - Frank99 - 26.01.2025 Hi Selur, I just tried to use tonemapping with a HDR 4k source. All other options work without problems, but the last one with libplacebo (which is the most interesting to me) does crash. I took the VS script, and tried to use it in VirtualDub64. It works, when I comment the tonemap-line out. If not, Virtualdub crashes with a memory problem in libplacebo. When I don't specify any parametres (only clip), I receive an error, that the input colorspace is not specified, so the library is correctly installed and works. When I specify (correctly) 1 for this parametre, it crashes. I then tried an older version with extra libdovi in the same directory: Also crashes. I am out of options. What can it be? Is Windows 11 maybe required? I am under Win 10. RE: libplacebo (tonemapping) crashes... - Selur - 26.01.2025 # Imports Since you didn't share any details, I have no way to reproduce this. In Hybrid, you could open the Vapoursynth Preview to check whether the script itself works. If it does not, it should show an error. If you can reproduce the crash you could create a debug output, which contains details, like what the used script looks like, what Hybrid version you used, what parameters you used,.... Quote:Is Windows 11 maybe required? I am under Win 10.No. Quote: Virtualdub crashes with a memory problem in libplacebo.Not knowing anything about your setup, it might be that some other filter is autoloaded because of a Python/Vapoursynth setup which autoloads something that is causing problems. Could be a memory issue. Could be some overclocking or similar. Could be a bug in libplacebo. Could be some overactive virus scanner. Could be a gpu driver issue. Quote:I am out of options.Read the sticky, provide proper details that allow to reproduce the issue. Also share details about your system. (What CPU are you using? Any virus scanner running? Any media player or other software using the gpu running? Any tuning tools running? Is the system overclocked.) Does this only happen with this source, or also with others? The bug tracker over at https://github.com/Lypheo/vs-placebo/issues doesn't list any known memory issues. => sorry, without details I can do nothing more than guessing. Cu Selur RE: libplacebo (tonemapping) crashes... - Frank99 - 26.01.2025 Thanks for your long reply. I tried to break down the problem to a very simple point, that is why I tried it with VirtualDub. Hybrid: It is the original unchanged (complete) version. Everything works fine. Only the special Tonemapping filter does not (all other tonemapping filters f. e. work) Of course I do not get any Error, otherwise I would have posted it here. I built an index for libavvideosource, so that opening the file does not last long, only one second. With the other tonemap filters the preview opens after 1 or 2 seconds. With libplacebo you wait forever. The preview window just silently does not open, no error, no working GPU (or CPU) cooler, no memory usage. You are right, I could have provided (and look into) the debug file, sorry! I just did, the result: HYBRID The newest library version that is also included in Hybrid has a linked libdovi. As I wrote, I thought, maybe this could be the reason, so I took an older libplacebo with separated libdovi, but got the same error. Something else must be missing. I have installed the c++ runtimes from 2005-2022. Is there a newer one? Configuration: Windows 10, Intel i7 7700K, Nvidia Geforce GTX 1070. It seems to be the mixture between my standard vapoursynth and Hybrid-vaporsynth installs. I will find out somehow, if not, I will ask you again. Thank you very much for now - you already helped me by reminding on the debug file! RE: libplacebo (tonemapping) crashes... - Selur - 26.01.2025 Okay, problem is with https://github.com/IFeelBloated/vapoursynth-mvtools-sf not libplacebo. You can use the 64bit version of https://www.dependencywalker.com/ to check the dll to see what's missing on your system. (not on my pc atm. so I can't check the dependencies here) Latest runtimes should be available here: https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#latest-microsoft-visual-c-redistributable-version Cu Selur RE: libplacebo (tonemapping) crashes... - Selur - 26.01.2025 Quote:It seems to be the mixture between my standard vapoursynth and Hybrid-vaporsynth installs.Ah, okay. Sadly, there is no option to stop Vapourynth autoloading. ![]() (asked for it a few years ago, but the dev didn't think it was necessary) RE: libplacebo (tonemapping) crashes... - Frank99 - 26.01.2025 Big thanks, Selur! Will try everything tomorrow and post here of course also when successful. RE: libplacebo (tonemapping) crashes... - Frank99 - 27.01.2025 On another machine it worked without problems. But I decided to keep using Donald Grafts wonderful DGIndexNV, which gives the best results (to me), when you tweak the parameters right. So all for nothing. ![]() |