Software d3d9 client not working on widnows 11

The D3D9on12 is now integrated to Open Orbiter. Also might be good idea to delete d3d9.dll from your /Modules/Server/ if it still exists there. Since, it doesn't receive windows updates on that location.
 
Orbiter 2024
Desktop i9-14900F, RTX 3050, Windows 11 24H2.
D3D9Client does not work in either DX9 or DX12 mode.
Logs attached.
 

Attachments

Last edited:
Code:
000001.748: D3D9ERROR: D:\a\orbiter\orbiter\OVP\D3D9Client\D3D9Pad.cpp Line:98 Error:-2147024770 D3DXCreateEffectFromFileA(pDev, name, 0, 0, 0, 0, &FX, &errors)
000001.748: D3D9ERROR: Failed to create an Effect (Modules/D3D9Client/Sketchpad.fx)
000003.864: D3D9ERROR: D:\a\orbiter\orbiter\OVP\D3D9Client\D3D9Effect.cpp Line:350 Error:-2147024770 D3DXCreateEffectFromFileA(pDev, name, macro, 0, D3DXSHADER_NO_PRESHADER|D3DXSHADER_PREFER_FLOW_CONTROL, 0, &FX, &errors)
000003.864: D3D9ERROR: Failed to create an Effect (Modules/D3D9Client/D3D9Client.fx)
000003.919: D3D9ERROR: D:\a\orbiter\orbiter\OVP\D3D9Client\D3D9Util.cpp Line:1090 Error:-2147024770 D3DXCompileShaderFromFileA(file, macro, NULL, function, "ps_3_0", flags, &pCode, &pErrors, pConst)
000003.919: D3D9ERROR: Failed to compile a shader [Modules/D3D9Client/NewPlanet.hlsl] [HorizonPS]
000003.920: D3D9ERROR: D:\a\orbiter\orbiter\OVP\D3D9Client\D3D9Util.cpp Line:1225 Error:-2147024770 D3DXCompileShaderFromFileA(file, macro, NULL, function, "vs_3_0", flags, &pCode, &pErrors, pConst)
000003.920: D3D9ERROR: Failed to compile a shader [Modules/D3D9Client/NewPlanet.hlsl] [HorizonVS]
000003.920: D3D9ERROR: D:\a\orbiter\orbiter\OVP\D3D9Client\D3D9Util.cpp Line:1090 Error:-2147024770 D3DXCompileShaderFromFileA(file, macro, NULL, function, "ps_3_0", flags, &pCode, &pErrors, pConst)
000003.920: D3D9ERROR: Failed to compile a shader [Modules/D3D9Client/NewPlanet.hlsl] [HorizonRingPS]
000003.920: D3D9ERROR: D:\a\orbiter\orbiter\OVP\D3D9Client\D3D9Util.cpp Line:1225 Error:-2147024770 D3DXCompileShaderFromFileA(file, macro, NULL, function, "vs_3_0", flags, &pCode, &pErrors, pConst)
000003.920: D3D9ERROR: Failed to compile a shader [Modules/D3D9Client/NewPlanet.hlsl] [HorizonVS]
000003.939: D3D9ERROR: D:\a\orbiter\orbiter\OVP\D3D9Client\D3D9Util.cpp Line:1225 Error:-2147024770 D3DXCompileShaderFromFileA(file, macro, NULL, function, "vs_3_0", flags, &pCode, &pErrors, pConst)
000003.939: D3D9ERROR: Failed to compile a shader [Modules/D3D9Client/IPI.hlsl] [VSMain]
000003.939: D3D9ERROR: D:\a\orbiter\orbiter\OVP\D3D9Client\D3D9Util.cpp Line:1090 Error:-2147024770 D3DXCompileShaderFromFileA(file, macro, NULL, function, "ps_3_0", flags, &pCode, &pErrors, pConst)
000003.939: D3D9ERROR: Failed to compile a shader [Modules/D3D9Client/Scatter.hlsl] [SunColor]
000003.939: D3D9ERROR: Failed to get ImageProcessing::hVP handle
000003.939: D3D9ERROR: D:\a\orbiter\orbiter\OVP\D3D9Client\D3D9Util.cpp Line:1090 Error:-2147024770 D3DXCompileShaderFromFileA(file, macro, NULL, function, "ps_3_0", flags, &pCode, &pErrors, pConst)
000003.939: D3D9ERROR: Failed to compile a shader [Modules/D3D9Client/Scatter.hlsl] [SkyView]
000003.940: D3D9ERROR: D:\a\orbiter\orbiter\OVP\D3D9Client\D3D9Util.cpp Line:1090 Error:-2147024770 D3DXCompileShaderFromFileA(file, macro, NULL, function, "ps_3_0", flags, &pCode, &pErrors, pConst)
000003.940: D3D9ERROR: Failed to compile a shader [Modules/D3D9Client/Scatter.hlsl] [LandView]
000003.940: D3D9ERROR: D:\a\orbiter\orbiter\OVP\D3D9Client\D3D9Util.cpp Line:1090 Error:-2147024770 D3DXCompileShaderFromFileA(file, macro, NULL, function, "ps_3_0", flags, &pCode, &pErrors, pConst)
000003.940: D3D9ERROR: Failed to compile a shader [Modules/D3D9Client/Scatter.hlsl] [RingView]
000003.940: D3D9ERROR: D:\a\orbiter\orbiter\OVP\D3D9Client\D3D9Util.cpp Line:1090 Error:-2147024770 D3DXCompileShaderFromFileA(file, macro, NULL, function, "ps_3_0", flags, &pCode, &pErrors, pConst)
000003.940: D3D9ERROR: Failed to compile a shader [Modules/D3D9Client/Scatter.hlsl] [AmbientSky]
000003.940: D3D9ERROR: D:\a\orbiter\orbiter\OVP\D3D9Client\D3D9Util.cpp Line:1090 Error:-2147024770 D3DXCompileShaderFromFileA(file, macro, NULL, function, "ps_3_0", flags, &pCode, &pErrors, pConst)
000003.940: D3D9ERROR: Failed to compile a shader [Modules/D3D9Client/Scatter.hlsl] [LandViewAtten]
000003.940: InitializeScatteringEx() FAILED
000003.943: D3D9ERROR: D:\a\orbiter\orbiter\OVP\D3D9Client\Scene.cpp Line:3799 Error:-2147024770 D3DXCreateEffectFromFile(pDev, name, 0, 0, 0, 0, &FX, &errors)
000003.943: D3D9ERROR: Failed to create an Effect (Modules/D3D9Client/SceneTech.fx)
000003.943: D3D9ERROR: D:\a\orbiter\orbiter\OVP\D3D9Client\D3D9Util.cpp Line:1090 Error:-2147024770 D3DXCompileShaderFromFileA(file, macro, NULL, function, "ps_3_0", flags, &pCode, &pErrors, pConst)
000003.943: D3D9ERROR: Failed to compile a shader [Modules/D3D9Client/NewMesh.hlsl] [ShdMapPS]
000003.943: D3D9ERROR: D:\a\orbiter\orbiter\OVP\D3D9Client\D3D9Util.cpp Line:1225 Error:-2147024770 D3DXCompileShaderFromFileA(file, macro, NULL, function, "vs_3_0", flags, &pCode, &pErrors, pConst)
000003.943: D3D9ERROR: Failed to compile a shader [Modules/D3D9Client/NewMesh.hlsl] [ShdMapVS]

D3D9 loads and Orbiter is on H:, the faiures are on D: and Orbiter OVP!?
I don't know? but would suggest a re-install?
 
I use the version that does not require installation.
The paths D:\a\orbiter\orbiter\OVP\D3D9Client\*.cpp relate to the module sources.
I am moving the request to D3D9Client Development.
 
Last edited:
D3D9 loads and Orbiter is on H:, the faiures are on D: and Orbiter OVP!?
The "D:\a\orbiter\..." paths are where the source files where located when they were compiled, so not relevant to this issue.

The error shown is D3DXERR_INVALIDDATA, which a google search points to graphics card driver issue.
Maybe there is more info in the D3D9 log: "Modules\D3D9Client\D3D9ClientLog.html".
 
D3D9 Client Log attached (extension changed from html to txt).
The same configuration with the same graphics card and drivers in Windows 10 worked without any problems.
 

Attachments

Thanks, it works now. With Windows 10, I just had to copy the D3DX9_43.dll file to the Modules\Server folder.
 
Back
Top