Painkiller: Black Edition crash on startup patch for d9vk
Issue transferred from https://github.com/ValveSoftware/Proton/issues/3234.
@shoober420 posted on 2019-11-20T05:48:46:
Painkiller: Black Edition crashes on startup using d9vk
Enable d9vk, and attempt to launch
More info here.
https://github.com/Joshua-Ashton/d9vk/issues/234
https://source.winehq.org/patches/data/167679
LOG:
steam-39530.log
Game runs good, but is restricted to lower resolutions, max being 1400x1050. When using WineD3D, the resolution choices are as they should be, as 2048x1536 is the max resolution. This only occurs when using D9VK.
Even when I manually force 2048x1536 in the “Painkiller Black Edition/Bin/config.ini”, by editing Cfg.Resolution = “2048X1536”, the game will still use 1400x1050 instead.
The game no longer crashes when using D9VK though, which is good.
Launch game using "PROTON_USE_D9VK=1"
LOG:
steam-39530.log
Game runs great, but is limted to 1280x1024 resolution. Im not sure if this is a thing on Windows, or else I would of did a Whitelist Request.
https://github.com/ValveSoftware/Proton/issues/3647
https://github.com/ValveSoftware/Proton/issues/3646
Like the other Painkiller games, fixme:vulkan:X11DRV_vkCreateWin32SurfaceKHR Application requires child window rendering, which is not implemented yet! is in the log, so something has gone awry. (https://bugs.winehq.org/show_bug.cgi?id=45277)
Hello
based on this comment https://bugs.winehq.org/show_bug.cgi?id=45277#c61, i did a retest.
In-Game Resolution DEFAULT: 
In-Game Resolution 2560x1440: 
Same for:
All the Painkiller games on my oled deck save for Hell and Damnation seem to have a dxvk issue where the game just scales improperly, essentially rendering the game as a small box on the top left of the screen.
PROTON_USE_D9VK=1"x1 2020-01
Played first level - everything was fine.