doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
12.79k stars 823 forks source link

Genshin Impact: an ancient tea tree rendering issue #3961

Open Iglu47 opened 4 months ago

Iglu47 commented 4 months ago

The crown edges of an ancient tea tree are rendered black.

screenshots of the problem

how it looks: ![broken](https://github.com/doitsujin/dxvk/assets/25866099/25c06d8f-1a69-4e6b-a2ca-e202a780916c) as it should (random video https://www.youtube.com/watch?v=SVewx-ESiDI&t=338s ): ![random-video](https://github.com/doitsujin/dxvk/assets/25866099/0231509a-eb33-4862-9f05-76f6ec35c49a)

Software information

Genshin Impact v4.5 (non-EGS version), the settings don't matter

System information

Apitrace file

Log files

GenshinImpact_d3d11.log GenshinImpact_dxgi.log

K0bin commented 4 months ago

I can reproduce the problem on my Ampere GPU. NVK actually manages to render it correctly though.

doitsujin commented 4 months ago

Should be fixed as of 00872e9e4fdd87d92f2dd662791b8de6a7edf10c.

Iglu47 commented 4 months ago

I confirm: the issue has been fixed by 00872e9e4fdd87d92f2dd662791b8de6a7edf10c

C0rn3j commented 1 month ago

This seems to have been fixed in the driver too, as of the 560 series.

Fixed a bug that could cause the wrong image format to be used for render pass image clears in Vulkan applications when using a VkImage created with VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT. This could lead to rendering corruption, as described in issues such as \<this bug report>.

https://www.nvidia.com/download/driverResults.aspx/230225/en-us/

ryzendew commented 1 month ago

This seems to have been fixed in the driver too, as of the 560 series.

_Fixed a bug that could cause the wrong image format to be used for render pass image clears in Vulkan applications when using a VkImage created with VK_IMAGE_CREATE_MUTABLE_FORMATBIT. This could lead to rendering corruption, as described in issues such as .

https://www.nvidia.com/download/driverResults.aspx/230225/en-us/

Sadly these drivers due to that fix broke dxvk support on 560 drivers it’s not working at all

insunaa commented 1 month ago

Can confirm that 560 seems to break dxvk 3d rendering. 2d rendering still seems to work however.

Getting this error on application crash:

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  146 ()
  Minor opcode of failed request:  5
  Value in failed request:  0x3a0006b
  Serial number of failed request:  532
  Current serial number in output stream:  532
Assertion failed: !status && "vkCreateGraphicsPipelines", file ../wine-ge-custom
/proton-wine/dlls/winevulkan/loader_thunks.c, line 2827

Assertion failed: !status && "vkCreateGraphicsPipelines", file ../wine-ge-custom
/proton-wine/dlls/winevulkan/loader_thunks.c, line 2827
C0rn3j commented 3 weeks ago

Might be worth to retest it now that stable 560.35.03 is out - https://www.nvidia.com/en-us/drivers/details/230918/