Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[d3d9] F.R.: Demon Stone - various missing textures #1409

Closed
WinterSnowfall opened this issue Feb 6, 2020 · 9 comments
Closed

[d3d9] F.R.: Demon Stone - various missing textures #1409

WinterSnowfall opened this issue Feb 6, 2020 · 9 comments
Labels

Comments

@WinterSnowfall
Copy link
Contributor

Character textures and portraits are the most obvious, but there may be more things missing in later stages of the game.

DXVK in-game:
demon_stone_dxvk
WineD3D in-game:
demon_stone_wined3d

Summary menu (after exiting a game) with DXVK:
image
Summary menu with WineD3D:
demon_stone_menu_wined3d

Software information

Forgotten Realms: Demon Stone (GOG version).

System information

  • GPU: GeForce GTX 1070
  • Driver: 440.48.2
  • Wine version: 5.1 Staging
  • DXVK version: v1.5.3-4-g08fc534

Apitrace file(s)

Demonstone.trace.tar.xz

Log files

@doitsujin
Copy link
Owner

doitsujin commented Feb 6, 2020

The apitrace replays fine here and all textures are present. Was it recorded with wined3d? If so, it might be useful to record another one with DXVK enabled as well so that we can see what we're doing wrong.

@WinterSnowfall
Copy link
Contributor Author

WinterSnowfall commented Feb 6, 2020

Was it recorded with wined3d?

Guilty as charged. To keep it in mind for any future bugs I raise, what's usually more useful for you: the WineD3D apitrace or the DXVK apitrace?

If so, it might be useful to record another one with DXVK enabled as well so that we can see what we're doing wrong.

Demonstone_dxvk.trace.tar.xz

@doitsujin
Copy link
Owner

what's usually more useful for you: the WineD3D apitrace or the DXVK apitrace?

Usually the wined3d one. Anyway, thanks for doing this so quickly.

@doitsujin doitsujin added the d3d9 label Feb 6, 2020
@WinterSnowfall
Copy link
Contributor Author

Anyway, thanks for doing this so quickly.

No problem, happy to oblige if it helps.

Also, a bit off-topic, but I probably should have asked this earlier: just to be sure I don't submit useless stuff, is there like a consolidated list of recommended native stuff which needs to be setup in conjunction with DXVK in order to avoid stumbling into known issues?

I remember you've mentioned d3dcompiler_43 and d3dcompiler_47 at some point. Anything else?

@doitsujin
Copy link
Owner

Anything else?

d3dx9.

@misyltoad
Copy link
Collaborator

Can you please try with this build:
d3d9.zip

misyltoad added a commit that referenced this issue Feb 6, 2020
…tripped

D3DOK_NOAUTOGEN is only returned when querying format support, the flag is stripped away silently in CreateTexture if it has to be.

Fixes #1409
@WinterSnowfall
Copy link
Contributor Author

Can you please try with this build:
d3d9.zip

Magical. It now renders all the previously missing textures alright :), including the lava texture present in the game's main menu, which I failed to notice was missing before.

There's still some weird character model animation slowdowns in the intro sequence which don't show up with WineD3D, but I'll open a separate bug for those in due time.

@WinterSnowfall
Copy link
Contributor Author

And, as a sidenote, while this game is mostly an unplayable slideshow with WineD3D, it runs smooth as butter with DXVK. Now with textures. Kudos for making this playable probably for the first time on Linux.

@misyltoad
Copy link
Collaborator

Cool, I merged this into master. If there are any other issues, feel free to make an issue.

Cheers and have fun!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants