Server locking / crashing after play command on Win 11 with AMD GPU

My system has an AMD RX 6900 XT with a Ryzen 5950X CPU. It is running the latest graphics drivers, version 25.11.1. I’m trying to use CasparCG v2.4.3 stable, but the issues occurs even on the latest nightly build (casparcg-server-dca9b6e4698f1d5300eac5e6907ac7b5e2c0386a-windows.zip).

Whenever I command a play (I’ve tried both files and a solid color) via the CasparCG client, the server locks up with the following errors:

Environment variable ERRORLEVEL 0 not defined
TBBmalloc: skip allocation functions replacement in ucrtbase.dll: unknown prologue for function _msize
Type "q" to close application.
Logging [info] or higher severity to log/

[2025-11-24 15:10:56.796] [info]    ############################################################################
[2025-11-24 15:10:56.796] [info]    CasparCG Server is distributed by the Swedish Broadcasting Corporation (SVT)
[2025-11-24 15:10:56.796] [info]    under the GNU General Public License GPLv3 or higher.
[2025-11-24 15:10:56.796] [info]    Please see LICENSE.TXT for details.
[2025-11-24 15:10:56.796] [info]    http://www.casparcg.com/
[2025-11-24 15:10:56.796] [info]    ############################################################################
[2025-11-24 15:10:56.796] [info]    Starting CasparCG Video and Graphics Playout Server 2.4.3 fd9168c Stable
[2025-11-24 15:10:56.797] [info]    "C:/Users\Astro\Desktop\casparcg-taskmast3r-mff\casparcg.config":
[2025-11-24 15:10:56.797] [info]    -----------------------------------------
[2025-11-24 15:10:56.797] [info]    <?xml version="1.0" encoding="utf-8"?>
[2025-11-24 15:10:56.797] [info]    <configuration>
[2025-11-24 15:10:56.797] [info]       <paths>
[2025-11-24 15:10:56.797] [info]          <media-path>media/</media-path>
[2025-11-24 15:10:56.797] [info]          <log-path disable="false">log/</log-path>
[2025-11-24 15:10:56.797] [info]          <data-path>data/</data-path>
[2025-11-24 15:10:56.797] [info]          <template-path>template/</template-path>
[2025-11-24 15:10:56.797] [info]       </paths>
[2025-11-24 15:10:56.797] [info]       <lock-clear-phrase>secret</lock-clear-phrase>
[2025-11-24 15:10:56.797] [info]       <channels>
[2025-11-24 15:10:56.797] [info]          <channel>
[2025-11-24 15:10:56.797] [info]             <video-mode>1080p2398</video-mode>
[2025-11-24 15:10:56.797] [info]             <consumers>
[2025-11-24 15:10:56.797] [info]                <screen>
[2025-11-24 15:10:56.797] [info]                   <device>1</device>
[2025-11-24 15:10:56.797] [info]                   <aspect-ratio>default</aspect-ratio>
[2025-11-24 15:10:56.797] [info]                   <stretch>fill</stretch>
[2025-11-24 15:10:56.797] [info]                   <windowed>true</windowed>
[2025-11-24 15:10:56.797] [info]                   <key-only>false</key-only>
[2025-11-24 15:10:56.797] [info]                   <vsync>false</vsync>
[2025-11-24 15:10:56.797] [info]                   <borderless>false</borderless>
[2025-11-24 15:10:56.797] [info]                   <interactive>false</interactive>
[2025-11-24 15:10:56.797] [info]                   <always-on-top>false</always-on-top>
[2025-11-24 15:10:56.797] [info]                   <x>0</x>
[2025-11-24 15:10:56.797] [info]                   <y>0</y>
[2025-11-24 15:10:56.797] [info]                   <width>0</width>
[2025-11-24 15:10:56.797] [info]                   <height>0</height>
[2025-11-24 15:10:56.797] [info]                   <sbs-key>false</sbs-key>
[2025-11-24 15:10:56.797] [info]                   <colour-space>RGB</colour-space>
[2025-11-24 15:10:56.797] [info]                </screen>
[2025-11-24 15:10:56.797] [info]                <system-audio>
[2025-11-24 15:10:56.797] [info]                   <channel-layout>stereo</channel-layout>
[2025-11-24 15:10:56.797] [info]                   <latency>0</latency>
[2025-11-24 15:10:56.797] [info]                </system-audio>
[2025-11-24 15:10:56.797] [info]             </consumers>
[2025-11-24 15:10:56.797] [info]          </channel>
[2025-11-24 15:10:56.797] [info]       </channels>
[2025-11-24 15:10:56.797] [info]       <controllers>
[2025-11-24 15:10:56.797] [info]          <tcp>
[2025-11-24 15:10:56.797] [info]             <port>5250</port>
[2025-11-24 15:10:56.797] [info]             <protocol>AMCP</protocol>
[2025-11-24 15:10:56.797] [info]          </tcp>
[2025-11-24 15:10:56.797] [info]       </controllers>
[2025-11-24 15:10:56.797] [info]       <amcp>
[2025-11-24 15:10:56.797] [info]          <media-server>
[2025-11-24 15:10:56.797] [info]             <host>localhost</host>
[2025-11-24 15:10:56.797] [info]             <port>8000</port>
[2025-11-24 15:10:56.797] [info]          </media-server>
[2025-11-24 15:10:56.797] [info]       </amcp>
[2025-11-24 15:10:56.797] [info]    </configuration>
[2025-11-24 15:10:56.797] [info]    -----------------------------------------
[2025-11-24 15:10:56.797] [info]    Initialized video modes.
[2025-11-24 15:10:56.873] [info]    Initializing OpenGL Device.
[2025-11-24 15:10:56.885] [info]    Initialized OpenGL 4.5.0 Core Profile Context 25.11.1.251104 ATI Technologies Inc.
[2025-11-24 15:10:56.977] [info]    Initialized OpenGL Accelerated GPU Image Mixer for channel 1
[2025-11-24 15:10:56.978] [info]    video_channel[1|1080p2398] Successfully Initialized.
[2025-11-24 15:10:56.978] [info]    Initialized channels.
[2025-11-24 15:10:56.978] [info]    Initialized command repository.
[2025-11-24 15:10:56.978] [info]    Initialized image module.
[2025-11-24 15:10:56.978] [info]    Initialized ffmpeg module.
[2025-11-24 15:10:56.978] [info]    Initialized oal module.
[2025-11-24 15:10:56.978] [info]    Initialized decklink module.
[2025-11-24 15:10:56.978] [info]    Initialized screen module.
[2025-11-24 15:10:56.978] [info]    Initialized newtek module.
[2025-11-24 15:10:56.978] [info]    Initialized artnet module.
[1124/151057.009:WARNING:policy_logger.cc(148)] :components\enterprise\browser\controller\chrome_browser_cloud_management_controller.cc(88) Could not create policy manager as CBCM is not enabled.
[2025-11-24 15:10:57.028] [info]    Initialized html module.
[2025-11-24 15:10:57.028] [info]    Flash support is disabled
[2025-11-24 15:10:57.028] [info]    Initialized flash module.
[2025-11-24 15:10:57.028] [info]    Initialized bluefish module.
[2025-11-24 15:10:57.028] [info]    Initialized modules.
[2025-11-24 15:10:57.031] [info]    Screen consumer [1|1080p2398] Initialized.
[2025-11-24 15:10:57.045] [info]    oal[1|1080p2398] Initialized.
[2025-11-24 15:10:57.045] [info]    Initialized startup producers.
[2025-11-24 15:10:57.045] [info]    Initialized controllers.
[2025-11-24 15:10:57.045] [info]    Initialized osc.
TBBmalloc: skip allocation functions replacement in ucrtbase.dll: unknown prologue for function _msize
TBBmalloc: skip allocation functions replacement in ucrtbase.dll: unknown prologue for function _msize
[2025-11-24 15:10:57.397] [info]    async_event_server[:5250] Accepted connection from 127.0.0.1 (1 connections).
[2025-11-24 15:10:57.397] [info]    Received message from 127.0.0.1: VERSION SERVER\r\n
[2025-11-24 15:10:57.397] [info]    Sent message to 127.0.0.1:201 VERSION OK\r\n2.4.3 fd9168c Stable\r\n
[2025-11-24 15:10:57.398] [info]    Received message from 127.0.0.1: INFO\r\n
[2025-11-24 15:10:57.398] [info]    Sent message to 127.0.0.1:200 INFO OK\r\n1 1080p2398 PLAYING\r\n\r\n
[2025-11-24 15:10:57.398] [info]    Received message from 127.0.0.1: CLS\r\n
[2025-11-24 15:10:57.399] [info]    Received message from 127.0.0.1: TLS\r\n
[2025-11-24 15:10:57.399] [info]    Received message from 127.0.0.1: DATA LIST\r\n
[2025-11-24 15:10:57.400] [info]    Received message from 127.0.0.1: THUMBNAIL LIST\r\n
[2025-11-24 15:10:57.404] [info]    Sent more than 512 bytes to 127.0.0.1
[2025-11-24 15:10:57.407] [info]    Sent message to 127.0.0.1:200 TLS OK\r\n\r\n
[2025-11-24 15:10:57.407] [info]    Sent message to 127.0.0.1:200 DATA LIST OK\r\n\r\n
[2025-11-24 15:10:57.410] [info]    Sent more than 512 bytes to 127.0.0.1
[2025-11-24 15:11:01.689] [info]    Received message from 127.0.0.1: PLAY 1-10 "PRESHOW/IDLE SCREEN" CUT 0 Linear RIGHT\r\n
[2025-11-24 15:11:01.691] [info]    Sent message to 127.0.0.1:202 PLAY OK\r\n
[2025-11-24 15:11:01.739] [error]   Exception: No diagnostic information available.
[2025-11-24 15:11:01.739] [error]    0# 0x00007FF64A072D57 in casparcg
[2025-11-24 15:11:01.739] [error]    1# 0x00007FF64A0727E5 in casparcg
[2025-11-24 15:11:01.739] [error]    2# 0x00007FF64A3400B9 in casparcg
[2025-11-24 15:11:01.739] [error]    3# _CxxFrameHandler4 in VCRUNTIME140_1
[2025-11-24 15:11:01.739] [error]    4# 0x00007FFB77AE2592 in VCRUNTIME140_1
[2025-11-24 15:11:01.739] [error]    5# RtlCaptureContext2 in ntdll
[2025-11-24 15:11:01.739] [error]    6# 0x00007FF64A1111FD in casparcg
[2025-11-24 15:11:01.739] [error]    7# 0x00007FF64A10C203 in casparcg
[2025-11-24 15:11:01.739] [error]    8# wcsrchr in ucrtbase
[2025-11-24 15:11:01.739] [error]    9# BaseThreadInitThunk in KERNEL32
[2025-11-24 15:11:01.739] [error]   10# RtlUserThreadStart in ntdll
[2025-11-24 15:11:01.739] [error]
[2025-11-24 15:11:01.936] [warning] ffmpeg[PRESHOW/IDLE SCREEN|0.0000/60.0183] Latency: 4
[2025-11-24 15:11:01.936] [error]   Exception: Dynamic exception type: class std::future_error
[2025-11-24 15:11:01.936] [error]   std::exception::what: no state
[2025-11-24 15:11:01.936] [error]
[2025-11-24 15:11:01.936] [error]    0# 0x00007FF64A072D57 in casparcg
[2025-11-24 15:11:01.936] [error]    1# 0x00007FF64A0727E5 in casparcg
[2025-11-24 15:11:01.936] [error]    2# 0x00007FF64A3400B9 in casparcg
[2025-11-24 15:11:01.936] [error]    3# _CxxFrameHandler4 in VCRUNTIME140_1
[2025-11-24 15:11:01.936] [error]    4# 0x00007FFB77AE2592 in VCRUNTIME140_1
[2025-11-24 15:11:01.936] [error]    5# RtlCaptureContext2 in ntdll
[2025-11-24 15:11:01.936] [error]    6# 0x00007FF64A1111FD in casparcg
[2025-11-24 15:11:01.936] [error]    7# 0x00007FF64A10C203 in casparcg
[2025-11-24 15:11:01.936] [error]    8# wcsrchr in ucrtbase
[2025-11-24 15:11:01.936] [error]    9# BaseThreadInitThunk in KERNEL32
[2025-11-24 15:11:01.936] [error]   10# RtlUserThreadStart in ntdll
[2025-11-24 15:11:01.936] [error]
[2025-11-24 15:11:02.014] [error]   Exception: Dynamic exception type: class std::future_error
[2025-11-24 15:11:02.014] [error]   std::exception::what: no state
[2025-11-24 15:11:02.014] [error]
[2025-11-24 15:11:02.014] [error]    0# 0x00007FF64A072D57 in casparcg
[2025-11-24 15:11:02.014] [error]    1# 0x00007FF64A0727E5 in casparcg
[2025-11-24 15:11:02.014] [error]    2# 0x00007FF64A3400B9 in casparcg
[2025-11-24 15:11:02.014] [error]    3# _CxxFrameHandler4 in VCRUNTIME140_1
[2025-11-24 15:11:02.014] [error]    4# 0x00007FFB77AE2592 in VCRUNTIME140_1
[2025-11-24 15:11:02.014] [error]    5# RtlCaptureContext2 in ntdll
[2025-11-24 15:11:02.014] [error]    6# 0x00007FF64A1111FD in casparcg
[2025-11-24 15:11:02.014] [error]    7# 0x00007FF64A10C203 in casparcg
[2025-11-24 15:11:02.014] [error]    8# wcsrchr in ucrtbase
[2025-11-24 15:11:02.014] [error]    9# BaseThreadInitThunk in KERNEL32
[2025-11-24 15:11:02.014] [error]   10# RtlUserThreadStart in ntdll

...

Playback does not occur and the server becomes unresponsive via the client. These errors continue to spew until I forcibly kill the server.

If I turn on trace logging, interesting instead of hanging, sometimes (but rarely) the server crashes entirely:

...
[2025-11-24 15:10:15.293] [trace]   [ffmpeg] [Parsed_fps_2 @ 000002BF731BC640] Writing frame with pts 5 to pts 5
[2025-11-24 15:10:15.293] [trace]   
[2025-11-24 15:10:15.294] [trace]   [ffmpeg] [h264 @ 000002BF6F3ED4C0] nal_unit_type: 9(AUD), nal_ref_idc: 0
[2025-11-24 15:10:15.294] [trace]   
[2025-11-24 15:10:15.294] [trace]   [ffmpeg] [h264 @ 000002BF6F3ED4C0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[2025-11-24 15:10:15.294] [trace]   
[2025-11-24 15:10:15.295] [trace]   [ffmpeg] [h264 @ 000002BF6F3ED4C0] nal_unit_type: 9(AUD), nal_ref_idc: 0
[2025-11-24 15:10:15.295] [trace]   
[2025-11-24 15:10:15.295] [trace]   [ffmpeg] [h264 @ 000002BF6F3ED4C0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[2025-11-24 15:10:15.295] [trace]   
[2025-11-24 15:10:15.350] [fatal]   #######################
[2025-11-24 15:10:15.350] [fatal]    UNHANDLED EXCEPTION: 
[2025-11-24 15:10:15.350] [fatal]   Adress:0000000800000000
[2025-11-24 15:10:15.350] [fatal]   Code:3221225477
[2025-11-24 15:10:15.350] [fatal]   Flag:0
[2025-11-24 15:10:15.350] [fatal]   Info:000000FC3C8FF4D0
[2025-11-24 15:10:15.350] [fatal]   Continuing execution. 
[2025-11-24 15:10:15.350] [fatal]   #######################

This error seems to be something that pops up occasionally on the forums, but most of the threads are from several years ago. The solution always seems to be to downgrade the AMD driver version, but at this point the suggested version would be several years behind, so I’m wondering if there’s been any further investigation or information on this crash.

Thank you!

Does the user account, that Caspar is running under, is an administrator? Giving admin rights solves many of such problems. It‘s enough to have „local“ admin privileges, so it does not need to be an admin in the network.

The user account is an administrator, and I’ve tried running CasparCG server as admin. The error still occurs.

This appears to be the same issue as this one, on the Github.

The issue mention, that it might have to do with the AMD Ryzen CPU. Alas CasparCG is currently only tested on Intel CPU’s, so this seems to be the problem. Do you have an Intel based machine to test?

I don’t think it is related to the CPU, I have been doing development happily on AMD CPUs for the last 2+ years (on linux) the occasional bit on Intel (with windows). I dont know what my work is using in production..

But AMD GPU I can’t really speak for much, other than it works on linux and those open issues about AMD GPU issues are all windows based (I believe it is a different driver on windows to linux).