That Windows generated error may be bogus. Not uncommon for Windows to pop out a DirectX error of some description, but
often as not what this error is really pointing to is out of date drivers, very old dedicated gpu, or integrated graphics processor.
When DirectX is actually the problem (less likely with recent games) you need to run the DirectX (June 2010) Redist installer package,
or the DX Web Installer as MS didn't see fit to pop all of the files for older DX versions into Win11.
Download DirectX End-User Runtimes (June 2010) from Official Microsoft Download Center
Download DirectX End-User Runtime Web Installer from Official Microsoft Download Center
- There is a trick that works with some older games that were launched with DX11 but updated to DX12 exclusive over the past few years
that will run using a -directx11 command in your shortcut to force the game to run with the old flies, but this trick won't work
with new games that never had the older files.
- You didn't say which graphics processor your machine uses, but if your machine has only Intel or AMD integrated graphics,
this is very likely the problem (particularly with the new Marvel game).
Many games require a dedicated graphics card with VRAM. Integrated graphics have no VRAM, and rely on part of the system RAM.
You can't actually 'downgrade' DirectX. Win11 has all versions of DX. 9,10,11, 12.
Game select which file is required, not Windows.
While Win 11 does have DX12. The DirectX Feature Level in dxdiag Display tab is what is crucial for games. This shows the gpu's capability.
Older games generally had options for more than one version of DirectX, but there are an increasing number of DX12 exclusive games.
-
btw... Do not update to Win11 24H2 (until it's been fixed). From the many 24H2 related post I've seen here, MS stuffed something up
in that build that has caused heaps of problems for gamers. I got a forced update to 24H2 build 26100.3194 two days ago, and
haven't had any issues other than those that are common to major Win10\11 updates eg- some personal changes changed back to
Windows default, and some games taking a long time to load the first time they were launched after the update.
I do have three games from EPIC (3x Bioshock and Watch Dogs2) that are not launching, but don't know if 24H2 update is involved.
.