Error at start 2.5.0 Stable

Hello, i just deploy the new 2.5.0. Updating from Windows 10 to 11.
But i saw these errors at launch

[2026-03-05 12:51:18.937] [error]   Exception: D:\a\server\server\src\modules\decklink\consumer\decklink_consumer.cpp(820): Throw in function void __cdecl caspar::decklink::decklink_consumer::enable_video(void)
[2026-03-05 12:51:18.937] [error]   Dynamic exception type: struct boost::wrapexcept
[2026-03-05 12:51:18.937] [error]   [struct caspar::tag_msg_info * __ptr64] = DeckLink Duo 2 [3-4|1080i5000] Could not enable primary video output.
[2026-03-05 12:51:18.937] [error]   [struct caspar::tag_stacktrace_info * __ptr64] =  0# 0x00007FF78C8D50B0 in casparcg
[2026-03-05 12:51:18.937] [error]    1# 0x00007FF78C8FFC5A in casparcg
[2026-03-05 12:51:18.937] [error]    2# 0x00007FF78CA638FF in casparcg
[2026-03-05 12:51:18.937] [error]    3# 0x00007FF78CA5E968 in casparcg
[2026-03-05 12:51:18.937] [error]    4# 0x00007FF78CA60DCA in casparcg
[2026-03-05 12:51:18.937] [error]    5# 0x00007FF78C9290AF in casparcg
[2026-03-05 12:51:18.937] [error]    6# 0x00007FF78C96EE1B in casparcg
[2026-03-05 12:51:18.937] [error]    7# 0x00007FF78C96A846 in casparcg
[2026-03-05 12:51:18.937] [error]    8# wcsrchr in ucrtbase
[2026-03-05 12:51:18.937] [error]    9# BaseThreadInitThunk in KERNEL32
[2026-03-05 12:51:18.937] [error]   10# RtlUserThreadStart in ntdll
[2026-03-05 12:51:18.937] [error]
[2026-03-05 12:51:18.937] [error]
[2026-03-05 12:51:18.937] [error]    0# 0x00007FF78C8D50B0 in casparcg
[2026-03-05 12:51:18.937] [error]    1# 0x00007FF78C8D4B5C in casparcg
[2026-03-05 12:51:18.937] [error]    2# 0x00007FF78CBBFD3A in casparcg
[2026-03-05 12:51:18.937] [error]    3# _CxxFrameHandler4 in VCRUNTIME140_1
[2026-03-05 12:51:18.937] [error]    4# 0x00007FF9A9C62592 in VCRUNTIME140_1
[2026-03-05 12:51:18.937] [error]    5# RtlCaptureContext2 in ntdll
[2026-03-05 12:51:18.937] [error]    6# 0x00007FF78C8FB195 in casparcg
[2026-03-05 12:51:18.937] [error]    7# 0x00007FF78C900144 in casparcg
[2026-03-05 12:51:18.937] [error]    8# 0x00007FF78C8D789A in casparcg
[2026-03-05 12:51:18.937] [error]    9# 0x00007FF78C8DBF2E in casparcg
[2026-03-05 12:51:18.937] [error]   10# 0x00007FF78CBA77E4 in casparcg
[2026-03-05 12:51:18.937] [error]   11# BaseThreadInitThunk in KERNEL32
[2026-03-05 12:51:18.937] [error]   12# RtlUserThreadStart in ntdll
[2026-03-05 12:51:18.937] [error]

I don’t know what to do with that. There’s something strange, is the path with a D:\. I have no D:\ drive. Maybe an error in the compilation ?
Does anyone saw the same ? I’m running a Decklink Duo with version 15 of Desktop Video.

The system is working, but it’s strange

Have you installed the VC runtime properly?

Hi didikunz. Yes i did. It was a previous Windows 10 with 2.4.3.
Maybe a fresh format of the computer can help ?

No, I don’t think so. Or then I would revert back to Windows 10.

Thats just showing the source line of the error, referencing the path when it was compiled. Nothing to worry about there

Perhaps desktop video forgot any connector mapping, so its trying to use an output that has no connector assigned?
thats my only idea currently. I’ve used 2.5.0 on windows 11 with a duo2/quad2, so it should generally work

That’s strange, i use all my outputs.

I will have a more deeper look.
Thanks for your idea :slight_smile:

Hi ! It was relative to a background process caspar doesn’t kill properly at exit.
If it can help others :slight_smile:

Hi What did you do? I have the same problem but only with one HP machine. I don’t use a decklink i would only use the screen consumer. Windows 11 with a Radeon 860M AMD Ryzen AI 7 Pro 350. Clean install on windows and install runtime on it.

That’s weird, sometimes it came, sometimes not. But it cannot disable the playing.

I don’t know …

I believe this has been happening for quite some time.
Some spawned processes get orphaned when the hardware can’t keep up with performance (I noticed that on big heavy templates) and even a server restart won’t kill some of them.
I added a release for CasparLauncher last year addressing this issue but that’s just a workaround:

I can’t tell what’s causing that or how to reproduce it.

Thanks, i will have a try.
i had a try to setup an automatic periodic fresh reboot of the server and scanner.

We had some times the video (MXF sony XDCAM 50mbps) playing without audio. And need to restart CasparServer to be able to playing audio.
So i tried to automaticaly reboot the services at 7:00 am.

Sending the command “KILL” via AMCP, verifyng, all the caspar process are killed, killing scanner.exe and after that (and adding some sleep time, about 30 seconds) i relaunch both services. But, i can still seeing these errors at launch.
As i said, sometime it came, somtimes not.
Maybe forcing a fresh reboot of the computer every morning ?