protonscr

Possible Helix Toolkit dx9 issues

dxvkclosed
doitsujin/dxvk#2860 · opened 2022-08-22 by BareGamer · updated 2023-05-25 · 12 comments · github
BBareGamer 2022-08-22 github

I was making something akin to Minecraft with PascalABC.NET's "Graph3D" library which is based on HelixToolkit, as far as I understand. As it is windows-only, I decided to see if it would be practical to try the game on Linux, so I started with dxvk to see if the graphics will be translated correctly. d3d9 was the only dll that worked, but with severe graphical issues(video and log attached). I tried that on Windows, so the issue might be in AMD's Vulkan drivers, but I am not sure about that, so the results of testing on Linux will be added later too.

Tested with the latest 1.10.3 binary release.

System information

  • GPU: Vega 8
  • Driver: Adrenalin 10.21.10044.0
  • Wine version: tested on Windows 11
  • DXVK version: 1.10.3

The app doesn't seem to be traceable: the trace size is 2.6 MB, plus no issues occur. Afterburner doesn't show FPS either
HelixToolkitCraftABC_d3d9.log
dxvk.webm
.
Edit: oh, I missed issue #2749 somehow

KK0bin maintainer 2022-08-22 github

I need a trace to look into this.

Could be a case of #2749

BBareGamer 2022-08-22 github

Yeah, looks like it. Missed that one somehow. I haven't had success with tracing the app, but I can upload it here

BBareGamer 2022-08-22 github
KK0bin maintainer 2022-08-22 github

That just ends instantly. Does it work on Windows if you only have those 2 files?

BBareGamer 2022-08-22 github

Forgot about the textures folder. You need to extract it to the same directory as the exe. No geometry is rendered.
textures.zip

KK0bin maintainer 2022-08-22 github

Same thing with the textures. It just exits instantly.

BBareGamer 2022-08-22 github

That’s weird. Does it say anything in the console window for a split second maybe? I am going to look into why it doesn’t work meanwhile.

BBareGamer 2022-08-22 github

Doesn't sound helpful, but on my machine, it works. However, I did a trace. Maybe it will somehow help
HelixToolkitCraftABC.zip

BBlisto91 2023-05-05 github

@BareGamer Can you test this issue with https://github.com/doitsujin/dxvk/pull/3392 ?
You can grab a build here https://github.com/doitsujin/dxvk/actions/runs/4893877539

BBareGamer 2023-05-25 github

Sorry for the late reply. I finally got to test the latest release (2.2) with the app. Weirdly, it introduced another issue. A log is created but is empty because the app crashes, likely because it skips the Vulkan adapter for some reason. There is a log attached with all the info the app outputs before crashing.
HelixToolkitCraftABC_d3d9.log

BBlisto91 2023-05-25 github

You need to update your GPU driver. Requirements were raised with the dxvk 2.0 release

BBareGamer 2023-05-25 github

Retested with the new drivers. All of the artifacts are gone, the app actually feels more responsive now.

Upstream links