It appears that the freezing issue you are experiencing with WPF applications after updating to Windows 11 version 25H2 may be related to render thread failures, particularly in the SyncFlush function of the Windows Media Composition. Such issues can arise from various causes, including problems with video hardware or drivers, as well as potential bugs in WPF itself when interacting with the graphics hardware.
Since you have already tried disabling hardware acceleration without success, here are some additional recommendations that may help diagnose or mitigate the problem:
- Update Video Drivers: Ensure that the video drivers on the affected machines are up to date, as outdated or incompatible drivers can lead to rendering issues.
- Monitor Resource Usage: Use Performance Monitor to track memory usage and other resource metrics to identify if the application is exhausting any resources, which could lead to
System.OutOfMemoryExceptionerrors. - Test on Different Hardware: If possible, test the application on different hardware configurations to see if the issue persists, which could help isolate whether it's a hardware-specific problem.
- Check for Known Issues: Review the release notes for Windows updates to see if there are any known issues related to WPF or rendering that have been documented.
- Collect Detailed Information: If the issue is reproducible, gather detailed information such as call stacks, crash dumps, and a description of the environment to assist in diagnosing the problem further.
Since the issue does not occur on version 22H2, it may be worth reporting this to Microsoft if it continues to be a problem, as it could indicate a regression or compatibility issue introduced in the newer versions.
References: