Does it work? If so, this is not a bug. Fullscreen and Borderless are 100% identical on Linux and any additional delays are either on the application side, or caused by Vulkan WSI interactions.
DXVK also does not know whether you are running a real X session or on XWayland. There are known bugs with XWayland, but they cannot be fixed on the DXVK side.
Also, please test whether this happens when using Wine's DXGI.
Yes, it happens also with Wine DXGI (and also amdvlk instead of radv).
Makes me wonder where to report this issue. Afaik it doesn't exist with proprietary Nvidia driver.
Edit: It actually never really crashes on Xorg, it may take just over one minute to unfreeze.
The xwayland thing is probably really totally unrelated, as minimizing the window with OGL makes it freeze to death as well.
As a side note: It works fine though in borderless mode (both wined3d and dxvk) and performance is as good as on Xorg with KWin Wayland. Alt + Tab doesn't work correctly either, but it just refuses to minimize except of freezing. Switching virtual desktops via hotkeys is a working alternative.
Ok, wine-tkg is the culprit. I installed wine-staging from Arch repository and it doesn't show this behavior. Sorry for the inconvenience, should have checked that before.
Now to find the faulty wine patch...
heh, weird. Maybe it's fshack patch from Proton?
Huh, it's esync (+ DXVK + Hots FSE). With WINEESYNC=0, Alt + Tab works as expected, while =1 reproducibly makes it slow again (unless borderless is used).
It has gotten fixed in wine or wine-staging, alt + tab is now always instant with esync + DXVK. It's just a few percent faster in Hitman 2 (which btw. showed the same slow alt + tab issue) though vs. esync off in a fixed CPU limited scene. But it is reliably faster than esync off, so I guess it still works as expected.
Btw: There is one more strange issue: After alt + tabbing, the GPU performance in HotS often gets reduced by a few percent (e.g. 158fps vs 150fps). I can workaround this by creating window rules in KWin to never hide the window's content, as this seems to be responsible, and not the window focus switch.
WINEESYNC=0`,x1 2019-03
When starting Heroes of the Storm, the screen stays black for something like 15 seconds when fullscreen mode is used. This also makes Alt + Tab insanely slow in both directions. This is inside a Plasma Xorg session without compositor. On Wayland with Xwayland, it is even worse, as the game seems to freeze completely with a black screen for an unlimited duration.
The issue doesn't appear when selecting borderless windowed mode inside the game.
The issue doesn't appear either with wined3d nor other Vulkan/D3D11 -> DXVK programs inside wine (as far as I can tell).
Software information
It's happening for months now with various HotS, DXVK and Wine versions. It wasn't that way before, seems I unfortunately missed the optimal time frame to bisect.
I once suspected the Proton upscaling patch for wine-tkg which I always enable, but false alarm.
System information
Log files
HeroesOfTheStorm_x64_d3d11.log
HeroesOfTheStorm_x64_dxgi.log
(
dxgi.numBackBuffers = 3is not faulty either)