protonscr

Path of Exile - Nvidia wine_vkCreateSampler error

dxvkclosed bug
doitsujin/dxvk#134 · opened 2018-03-08 by jmis · updated 2018-03-10 · 13 comments · github
2 matching comments, n / p to jump
Jjmis 2018-03-08 github

It looks like DXVK is getting farther than before with the deferred context changes. I can load the starting cinematic but get an error immediately after.

Software information

  • Game: Path of Exile
  • Version: 3.2b - 64bit

System information

  • GPU: Geforce GTX 970
  • Driver: 390.25
  • Wine version: wine-vulkan 3.3
  • DXVK version: 85d28f7328564a484df96a7ffff706c326b1293e

Apitrace file(s)

  • Put a link here

Log files

Ddoitsujin maintainer 2018-03-08 github

can you re-run this with DXVK_DEBUG_LAYERS=1 enabled? There's probably an issue with an invalid combination of sampler parameters somewhere.

TThaodan 2018-03-08 github

I builded dxvk abou two hours ago and didn't get the errot but a crash too.
I'm running arch and wine-staging 2.2.1.
GPU is NVIDIA Geforce 1080 ti.
Logs are the same without the error in d3d11.log.

Jjmis 2018-03-08 github

ParameterValidation(ERROR): object: 0x0 type: 0 location: 1692 msgCode: 308283486: vkCreateSampler(): value of pCreateInfo->maxAnisotropy must be in range [1.0, 16.000000] VkPhysicalDeviceLimits::maxSamplerAnistropy, but 0.000000 found. The spec valid usage text states 'If anisotropyEnable is VK_TRUE, maxAnisotropy must be between 1.0 and VkPhysicalDeviceLimits::maxSamplerAnisotropy, inclusive' (https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#VUID-VkSamplerCreateInfo-anisotropyEnable-01071)

Jjmis 2018-03-08 github

@Thaodan Your error was related to unimplemented deferred contexts. A partial implementation has been committed but not in any release. You need to be on the latest wine-vulkan and dxvk versions. You'll need to compile both yourself which can be a pain. I'm on Ubuntu 16.04 and can compile the 64-bit version of wine-vulkan. I needed to compile DXVK in a container and copy the assemblies over.

You may also need to add the CoInitialize fix mentioned here:
https://bugs.winehq.org/show_bug.cgi?id=42695

TThaodan 2018-03-08 github

Can you put out the branch?

Ddoitsujin maintainer 2018-03-08 github

@jmis yep, that's a bug on my end. Will take a look at that later, thanks.

TThaodan 2018-03-08 github

@jmis is the patch even up to date when talking about wine 3.3?

Jjmis 2018-03-09 github

@Thaodan No, you have to manually code the changes.

TThaodan 2018-03-09 github

Thats what I was asking, do I have to do this?
https://bugs.winehq.org/attachment.cgi?id=59204&action=diff

Ddoitsujin maintainer 2018-03-09 github

Please re-test with 09fd7abde01e7951aa32855606591d09df181b86.

Jjmis 2018-03-10 github

@doitsujin This fixed the issue.

I'm able to load the game and select a character. However, the game is throwing a dx11 exception when loading into a city. I'm going to email support to see if they can give me anymore insight into error message. DXVK_DEBUG_LAYERS=1 didn't add any additional information to why the game crash happened.

GGlog78 2018-03-10 github

jmis did you use the patch which thaodan used or not ? I am asking because i get the wic error with wine-vulkan git + dxvk git.

Jjmis 2018-03-10 github

Yes, you need to use the CoInitialize fix.

Launch options

Upstream links