protonscr

[D3D9] Halo CE' Sapien tool has issue with MDI container

dxvkclosed wine bug
doitsujin/dxvk#1751 · opened 2020-08-29 by marcospampi · updated 2020-08-30 · 6 comments · github
Mmarcospampi 2020-08-29 github

Halo CE has a set of tools named Halo Editing Kit (HEK) which lets users create their custom content,
one of such tool is Sapien, this tool is the scene editor.

Sapien should look like this:
sapien_overview_01_large
Though this is what I get using dxvk ( I cannot test in wine's d3d ~since it crashes instantly~ doesn't render game view anymore ):
Schermata da 2020-08-29 11-42-45
I can drag windows , so I can expose the render window, and it's correct nonetheless:
Schermata da 2020-08-29 11-43-40

Software information

Name of the game, settings used etc.
Halo CE Editing Kit - Sapien.exe

System information

  • GPU: AMD RX 460
  • Driver: amdgpu-pro 20.20
  • Wine version: 5.15
  • DXVK version: 1.7.1

Apitrace file(s)

  • Put a link here

Log files

sapien_d3d9.log

Ddoitsujin maintainer 2020-08-29 github

Does this work any better on Windows with DXVK? In general, applications that mix D3D with regular GUIs are kind of expected to have issues on wine. To me it looks like the D3D9 portion works as expected, just getting this on screen doesn't work.

Also, please post the full wine log.

Mmarcospampi 2020-08-29 github

How do I get the wine log?
I can't try on Windows sadly.

Ddoitsujin maintainer 2020-08-29 github

Basically just redirect stdout + stderr to a file when running the application, i.e. wine sapien.exe > ~/log.txt 2>&1

Mmarcospampi 2020-08-29 github

It is mostly the same as the sapien_d3d9.log
log.txt

Ddoitsujin maintainer 2020-08-29 github

0024:fixme:vulkan:X11DRV_vkCreateWin32SurfaceKHR Application requires child window rendering, which is not implemented yet!
err: Failed to create surface

Yeah, as expected, wine bug.

I think there's a patch set floating around somewhere to fix this, maybe @Joshua-Ashton knows more, but this is definitely not something we can fix on our end.

Upstream links