Error wine7.0 and d3d11

Questions about Wine on Linux
Locked
tpso2000
Level 1
Level 1
Posts: 6
Joined: Tue Feb 01, 2022 2:18 pm

Error wine7.0 and d3d11

Post by tpso2000 »

Hi
I normally dont use windows, but wanted to try 3DTrainStudio. I seems like it works, but the console window is flooded with the
errortext:

0200:fixme:d3d11:d3d11_device_context_VSSetShader Dynamic linking is not implemented yet.

I have search the web, but nearly no hit. Any possible ways to change setup/configuration to avoid this error ?

regards Thomas
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Error wine7.0 and d3d11

Post by jkfloris »

If 3DTrainStudio works normally, then you can ignore the fixme's.
If you don't want to see them anymore either, start the program with:

Code: Select all

WINEDEBUG=-all wine program.exe
tpso2000
Level 1
Level 1
Posts: 6
Joined: Tue Feb 01, 2022 2:18 pm

Re: Error wine7.0 and d3d11

Post by tpso2000 »

Thanks. At least it seems like it works. I have one issue, but I dont know if its related - since I dont know what the fix-me covers.

When 3DTrainsStudio enters the 3D-mode all colors become brighter - like the world is over-exposed.
Screen saved images from a scenary look normal with more vivid colors. The first frame, when entering 3D mode, still looks
normal, but then everything turn brighter - but beside the colors - everything looks nice.

Regards Thomas
tpso2000
Level 1
Level 1
Posts: 6
Joined: Tue Feb 01, 2022 2:18 pm

Re: Error wine7.0 and d3d11

Post by tpso2000 »

I have made some more testing. With in the program it is possible to save jpg images from the 3D scene. This images is perfect
with nice vivid colors - but the 3D scenes showed when running wine is very bright af all deep colors are gone.

Is there any way the color-profile can be changes ?

regards Thomas
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Error wine7.0 and d3d11

Post by jkfloris »

I'm afraid this is the best Wine can do at this moment.

The program comes with the MS versions of d3dcompiler_47.dll, d3dx9_41.dll and d3dx11_43.dll.
When you use the built-in Wine versions of these dll files, you encounter several other (known) bugs.
tpso2000
Level 1
Level 1
Posts: 6
Joined: Tue Feb 01, 2022 2:18 pm

Re: Error wine7.0 and d3d11

Post by tpso2000 »

Thanks for the feedback - I guess I have to live with the not so lively colors, and hope Wine some day will solve the problem.
I still wonder if it is possible to change the color profile in the vulkan layer.

Regards Thomas
tpso2000
Level 1
Level 1
Posts: 6
Joined: Tue Feb 01, 2022 2:18 pm

Re: Error wine7.0 and d3d11

Post by tpso2000 »

Hi

From what jkfloris write I guess the wrong colors is the result of the libraries below d3dx11 - since the libraries works correctly on windows.

As far a I understand the d3dx11 libraries call the mesa / vulkan libraries (or both) and the libraries calls the actual driver - in my case the proprietary NVidia driver.

But is D3dx11 calling mesa/Vulkan directly or has wine some kind of inteface layer between d3dx11 and mesa7vulkan ?

Can any one point be in a direction about information about theese layers? I am considering if it would be possible to make custom version of theese libraries, that
changes the colors to be more correct.

BTW I have tried wine 7.1 but the color problem is the same.

Regards Thomas
tpso2000
Level 1
Level 1
Posts: 6
Joined: Tue Feb 01, 2022 2:18 pm

Re: Error wine7.0 and d3d11

Post by tpso2000 »

Hi again
I have made some more testing. And the findings so far are:
- The colors works perfectly on a windows installation (of cause ;-)
- When trying wine7.1 the colors are too bright on 2 different nvidia-cards - both noveau driver and proprietry - and on a radeon card

So I think I can conclude that:
1 The directx calls from windows are correct (since it works on windows)
2 It is not a graphics-card driver issue since I dont on believe the same error is in noveau, nvidia and amd driver.

So I back at question from the previous post - can any body give me hints about where to find information about the architexture anf call-flow from the windows directx.dll and
down to the grahpics driver. Which libraries are the calls parsing through ?

regards Thomas
Locked