https://bugs.winehq.org/show_bug.cgi?id=46988
Bug ID: 46988 Summary: World of Warcraft - d3d12 performance Product: vkd3d Version: 1.1 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: trivial Priority: P2 Component: vkd3d Assignee: wine-bugs@winehq.org Reporter: cybermax@dexter.no Distribution: ---
Probably unfair to compare, but as of late (sorry, do not have a bisected commit) d3d12 performance in WoW is roughly 50% of that of DXVK w/d3d11
I use these two patches still tho, and have not tried without them: https://bugs.winehq.org/attachment.cgi?id=64022&action=diff https://bugs.winehq.org/attachment.cgi?id=63174&action=diff (If the problem is solved, and these are not necessary anymore, please tell)
Preset 10, water and shadow a notch down. No MSAA (as MSAA is somewhat bugged with vkd3d... creates seethrough textures some places).
vkd3d: gpu usage: 32% fps: 45 cpu usages per core: 0:74% / 1:56% /2-6:<40% (HT threads lower).
DXVK: gpu usage: 53% fps: 81 cpu usages per core: 0:82% / 1:73% / 2:64% /3-6:<50% (HT threads lower).
This is with a RTX2070 and Intel i7-8700K
I think there is some problem with the water effects, as when using DXVK it looks "normal", and effect changes related to ingame setting. With vkd3d it seems its just "low" that make a difference in appearance.
What kind of logs is needed to provide some useful information about this? Doing a trace log will fill GB's pretty quick, but i should be able to do a login and change water effects perhaps, and see if that provides something useful?
https://bugs.winehq.org/show_bug.cgi?id=46988
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW CC| |joseph.kucia@gmail.com
--- Comment #1 from Józef Kucia joseph.kucia@gmail.com --- (In reply to Sveinar Søpler from comment #0)
Probably unfair to compare, but as of late (sorry, do not have a bisected commit) d3d12 performance in WoW is roughly 50% of that of DXVK w/d3d11
Is it a regression?
https://bugs.winehq.org/show_bug.cgi?id=46988
--- Comment #2 from Sveinar Søpler cybermax@dexter.no --- (In reply to Józef Kucia from comment #1)
Is it a regression?
I am sorry but its a wee bit hard to say tbh, because i recently changed gfx adapter from a GTX970 -> RTX2070, so i upped the quality levels a bit. Setting the same as i used to have ofc yields better performance than i had, so its not really comparable performancewise.
When it comes to water effects i THINK it used to be better quality, but for all i know this could possibly be driver related vs. the new RTX series? (More vulkan extensions and all that).
Right around the time the 8.1.5 patch with the slightly updated graphics engine (d3d11.1 w/multithreading) came, that also broke the d3d12_command_queue_Wait thingy a week later, was around the time things started to be a wee bit slower i think. So between 12-22 march. I swapped gfx adapter around 16 march, so right in the middle of that.
Is it any commits around that date that COULD have done something to some effects like that? If you have a particular commit in mind, i could do a git revert to that and rebuild vkd3d to test perhaps?
https://bugs.winehq.org/show_bug.cgi?id=46988
--- Comment #3 from Józef Kucia joseph.kucia@gmail.com --- (In reply to Sveinar Søpler from comment #2)
Is it any commits around that date that COULD have done something to some effects like that? If you have a particular commit in mind, i could do a git revert to that and rebuild vkd3d to test perhaps?
You could try with VKD3D_DISABLE_EXTENSIONS=VK_EXT_descriptor_indexing. I don't expect any other recent commit could affect performance.
https://bugs.winehq.org/show_bug.cgi?id=46988
--- Comment #4 from Sveinar Søpler cybermax@dexter.no --- Created attachment 64153 --> https://bugs.winehq.org/attachment.cgi?id=64153 MSAA comparison
I was not able to reproduce the problem with water effects, with or without the VKD3D_DISABLE_EXTENSIONS=VK_EXT_descriptor_indexing setting, so i dont know what was the problem with that tho. Might have been some weather effect that caused something when i THOUGHT i had a problem...
However, there are certain textures that do not seem to render correct when set to MSAA (Tested 2xMSAA, but same problem with higher setting).
Look at the attached image, and you can see vkd3d with 2xMSAA is creating some sort of "seethrough/shadow" looking roots. This does not happen for everything, but is some elements and/or textures that gets this weird effect.
PS. Should i have recompiled vkd3d without the https://bugs.winehq.org/attachment.cgi?id=63174&action=diff patch when testing VKD3D_DISABLE_EXTENSIONS=VK_EXT_descriptor_indexing setting?
https://bugs.winehq.org/show_bug.cgi?id=46988
--- Comment #5 from Józef Kucia joseph.kucia@gmail.com --- The problem with see-through objects should be fixed by https://source.winehq.org/git/vkd3d.git/?a=commit;h=91820630cb49ef645ca6251f63ce2ff63e0c568d. Next time please file a separate bug report for each distinct issue.
https://bugs.winehq.org/show_bug.cgi?id=46988
--- Comment #6 from Sveinar Søpler cybermax@dexter.no --- (In reply to Józef Kucia from comment #5)
The problem with see-through objects should be fixed by https://source.winehq.org/git/vkd3d.git/?a=commit; h=91820630cb49ef645ca6251f63ce2ff63e0c568d. Next time please file a separate bug report for each distinct issue.
It does indeed seem fixed by this commit.
Sorry that i posted this graphic anomaly on THIS bug, but at the time i thought it could be related to "poor performance".
I am not entirely sure what to expect performancewise from vkd3d when comparing to dxvk. In Windows ppl are for the most part reporting slightly higher performance when using d3d12 vs d3d11 (depending on graphics hardware and driver i guess). We might not (yet) be at the same spot when it comes to d3d->vulkan i guess?
The multithread rendering d3d11 engine update (8.1.5) for WoW made for quite a bump in dxvk performance tho. Comparably d3d11 with wined3d and the "new" d3d11 engine does mostly not work AT ALL, and the "d3d11_legacy" engine must be set (non multithread afaik).
https://bugs.winehq.org/show_bug.cgi?id=46988
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=46988
jokeyrhyme@jokeyrhy.me changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jokeyrhyme@jokeyrhy.me