[Bug 43781] FPS drops, apparently matching with d3d_shader traces

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Feb 7 15:39:35 CST 2018


https://bugs.winehq.org/show_bug.cgi?id=43781

Sveinar Søpler <cybermax at dexter.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cybermax at dexter.no

--- Comment #6 from Sveinar Søpler <cybermax at dexter.no> ---
(In reply to Amosar from comment #5)
> If I have understand it's a problem with the convertion of hlsl shader to
> glsl shader. I don't have knowledge in how this work in wine but I think the
> shaders are generate to slowly and they create FPS drop when the game wait
> the shader.
> We need to wait a better hlsl shader converter.

It may be a bit of a "mixed" problem, especially with nVidia. There seem to be
a slow/crappy way that nVidia does the shader cache thingy, and it is more so
noticeable on games that have their own shader cache. Sadly, disabling the use
of shader cache saved on hdd will not solve this, as the driver seem to just
switch to do it in memory instead... just as slow.

Cant find the thread atm, but was someone posting a video showing the exact
phenomena im experiencing with different wine games (World of Warcraft in
particular). It does get better over time tho, as long as you do not switch
drivers or change wine versions, the cache will build until it is "ok".

Search google for "nVidia shader cache CEMU" (CEMU being a emulator). 

So.. you would have:
1. nVidia driver is slow'ish caching shaders to their cache folder
($HOME/.nv/GLCache)
2. Wine is slow doing the HLSL -> GLSL translation.

Dont know if overwatch has its own cache of things, but i know World of
Warcraft has it.. Clearing that + the .nv/GLCache folder after you upgrade
drivers/wine rebuilds the cache at the expense of stuttering until most is
rebuilt. Atleast so it seems :)

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list