protonscr

[Regression] Jade Empire: Special Edition videos play incorrectly

dxvkclosed appid 7110needs apitraced3d9
doitsujin/dxvk#3182 · opened 2023-01-11 by alasky17 · updated 2023-05-08 · 6 comments · github · game page · search this game
1 matching comments, n / p to jump
Aalasky17 2023-01-11 github

Jade Empire: Special Edition no longer plays videos correctly. This can be easily seen by just launching the game and looking at the videos that play before the main menu. See screenshots posted by @legluondunet on the github issue where this was first reported: https://github.com/ValveSoftware/Proton/issues/2112#issuecomment-1365141049 jade-good-video
jade-bad-video

Software information

Jade Empire: Special Edition (7110)

System information

  • GPU: AMD Radeon RTX 570 Series
  • Driver: 22.3.2 Vulkan 1.3.230
  • Wine version: Regression between Proton 5.0-10 and Proton 5.13-1
  • DXVK version: Regression between [2e378257ea88827f0a4e55a132895130519184d3] [meta] Release 1.7 (good) and 4439e8adb358c0c4b7ae65aae09acc6f521a7321 [dxvk_config] Add new dxvk_config library (bad)
    My builds weren't completing properly, so I was unable to narrow it down further.

Apitrace file(s)

  • Unfortunately I was unable to get an apitrace, even with the new technique :/

Log files

BBlisto91 2023-01-11 github

Thanks for the report.
I can try to see if i am able to get a apitrace of the issue here later.

BBlisto91 2023-01-12 github

I have bisected this to be either
https://github.com/doitsujin/dxvk/commit/2bf9f298af776a0ac44f9f53b27956ae3da03b99
or
https://github.com/doitsujin/dxvk/commit/9fe1b9d03ff89faeb210a577baad4aee0e49fedb

I can't test the first one directly as the game will crash when the videos are supposed to start. The second one is the commit right after and have the broken videos

BBlisto91 2023-01-12 github

Managed to trace the game but the issue just gets baked into it so i'm uploading a working made with 1.7 and a broken made with 1.7.1.

https://mega.nz/file/V9JxALQD#CsgYjEhTN5S-NuUnGYhgrVZNnmJEcUugXowCvvkdPPQ

KK0bin maintainer 2023-01-12 github

The issue here seems to be how the data for the format converter is packed. The format is YUY2.

BBlisto91 2023-01-17 github

This appears to work again when changing https://github.com/doitsujin/dxvk/blob/1482715fd1f1c310cd183d61f9039ff11425eee4/src/d3d9/d3d9_format.cpp#L196
to VK_FORMAT_G8B8G8R8_422_UNORM, but i don't know if that is correct so just posting it here on the issue so it doesn't get lost before it's looked at.
Same for https://github.com/doitsujin/dxvk/issues/3189

Llegluondunet 2023-05-08 github

just tested with Proton experimental, the cinematics played nicely, bravo!

Proton versions

Upstream links