protonscr

Flower broken graphics

dxvkclosed needs apitrace
doitsujin/dxvk#1066 · opened 2019-05-18 by mozo78 · updated 2019-05-23 · 21 comments · github
Mmozo78 2019-05-18 github

The game starts but the graphics are broken. The developer's logos at the start are displayed correctly. I can't get apitrace for the game starts only with DXVK. The trails on the screenshot are from the moving mouse cursor. There arent any other images. I saw the main menu on YouTube and there are window and a flower in a flowerpot.
1

Software information

Flower.exe

System information

  • GPU: GTX 1080Ti
  • Driver: 430.14
  • Wine version: 4.8
  • DXVK version: master

Apitrace file(s)

  • Put a link here

Log files

Ddoitsujin maintainer 2019-05-18 github

Can't debug without an apitrace. If it only starts with DXVK then use DXVK to record the trace, it's better than nothing.

Mmozo78 2019-05-18 github

Yes I know but I can't get it :(
Ok I'll try with DXVK.

Ddoitsujin maintainer 2019-05-18 github

Thanks; unfortunately that trace isn't very useful since it shows garbled graphics on Windows as well. :(

Mmozo78 2019-05-18 github

I hope someone get an apitrace on Windows :)

Ddoitsujin maintainer 2019-05-18 github

Can you try winetricks d3dcompiler_47 and winetricks d3dcompiler_43 and see if that fixes anything?

Mmozo78 2019-05-18 github

Unfortunately it doesn't change anything...
1

KK0bin maintainer 2019-05-18 github

Can you post the logs and Wine output of the game with Microsofts d3dcompiler?

Mmozo78 2019-05-18 github

Sure:

Mmozo78 2019-05-19 github

@doitsujin
Does the Windows apitrace help?

Ddoitsujin maintainer 2019-05-19 github

Do you really expect me to start working on this immediately on a Sunday morning at 6am?

Haven't looked yet, will do that tomorrow.

KK0bin maintainer 2019-05-19 github

Just for the record (already discussed this on Discord):
the issue is that the game uploads its textures by mapping all subresources at once.
This fails because DXVK currently only supports 1 mapped subresource at a time.

Mmozo78 2019-05-20 github

Do you really expect me to start working on this immediately on a Sunday morning at 6am?

Haven't looked yet, will do that tomorrow.

Of course not, just asking. Excuse me but we are obviously in different time zones and I didn't knew that :)

Just for the record (already discussed this on Discord):
the issue is that the game uploads its textures by mapping all subresources at once.
This fails because DXVK currently only supports 1 mapped subresource at a time.

Is this a big problem or can be fixed?

Ddoitsujin maintainer 2019-05-20 github

Is this a big problem or can be fixed?

Can be fixed, although it's going to be quite a bit of work that might take a few days to fully stabilize. Thanks for posting the trace though, it is indeed helpful.

Mmozo78 2019-05-20 github

Thank you :)

Ddoitsujin maintainer 2019-05-20 github

Can you test if this build fixes it:
dxvk-map-image-buffer-fix.tar.gz

Built from this branch.

Mmozo78 2019-05-20 github

You are simply the best!!!
With vsync the game stutters on every second but when I turn it off, the game runs very smooth with ~150 FPS. Thank you!!!

Ddoitsujin maintainer 2019-05-20 github

Thanks for the quick feedback, I'll do some more testing and then merge the branch.

Mmozo78 2019-05-20 github

I was at work otherwise my feedback It would have been much faster :)

Mmozo78 2019-05-23 github

@doitsujin
Almost forgot. Here is your splendid work!
https://www.youtube.com/watch?v=VzvcLBj4NxM

Nothing extracted yet.