https://bugs.winehq.org/show_bug.cgi?id=42592
--- Comment #45 from Kai Krakow kai@kaishome.de --- (In reply to Shmerl from comment #44)
(In reply to Kai Krakow from comment #43)
(In reply to Shmerl from comment #42)
I wonder if bad performance with Nvidia is related to the fact that Wine uses Nvidia blob in compat profile. If you run it with forced core profile (which has some other bugs now), does framerate improve?
Interesting idea... How do you do that? I'd eagerly try.
REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\Direct3D] "DirectDrawRenderer"="opengl" "UseGLSL"="enabled" "MaxVersionGL"=dword:00040005
Well, that brings back a lot of visual glitches, like too dark ground textures.
Interestingly the game feels smoother during the first few minutes, and also nvidia-smi shows higher power usage. But the game quickly falls back to the same slow performance as without this registry patch.
Also, walking the same scenes back and forth during testing, I can see that performance starts to drop mostly in areas with lots of visual glitches, and it doesn't return when leaving those areas and going back to the high performing areas.
What's also interesting: With this registry patch, the game doesn't freeze after shutdown, it closes without problems. Previously, the witcher3.exe would stay around hogging many gigs of RAM and no CPU usage, and I had to kill it every time so that steam would sync savegame data.
I will retry with next Wine Staging release, but currently revert the registry patches as the visual glitches are too distracting: Many surfaces are way too dark now, many almost black with a few specs of hard to see pixels and patterns.
Gentoo: x11-drivers/nvidia-drivers-384.90:0/384