Patreon Logo Support us on Patreon to keep GamingOnLinux alive. This ensures all of our main content remains free for everyone. Just good, fresh content! Alternatively, you can donate through PayPal Logo PayPal. You can also buy games using our partner links for GOG and Humble Store.
Title: The Witcher 3 in Wine
Page: 27/88
  Go to:
andda715 10 Dec 2017
Built wine-3.0-rc1 with wined3d-buffer_create and compared against wine-staging 2.21.
Running around in Kaer Mohen with both I got roughly 15 [11-19] fps using wine-3.0 and roughly 26 [21-30] fps using wine-staging.

So I guess there are some patches in wine-staging missing still in wine-master (csmt or something else?).

EDIT: pictures

wine-staging 2.21
External Media: You need to be logged in to view this.

wine-3.0-rc1 with wined3d-buffer-create
External Media: You need to be logged in to view this.

Shmerl 10 Dec 2017
Quoting: andda715So I guess there are some patches in wine-staging missing still in wine-master (csmt or something else?).
Not that I know of. I think Wine master now should have all needed features. But you can try applying deferred context patch from staging. See if it changes anything.
andda715 10 Dec 2017
Hrm,

Won't apply cleanly
error: patch failed: dlls/wined3d/context.c:1514
error: dlls/wined3d/context.c: patch does not apply
error: patch failed: dlls/wined3d/device.c:628
error: dlls/wined3d/device.c: patch does not apply
error: patch failed: dlls/wined3d/wined3d_private.h:2666
error: dlls/wined3d/wined3d_private.h: patch does not apply
ERROR: Failed to apply patch, aborting!


Thanks Shmerl.

EDIT:

Applied d3d11-Deferred_Context and its dependencies using git rebase-patch - worked fine, but no obvious difference compared to vanilla wine-3.0 so either I did something wrong (requires something more?) or that wasn't it. :-/
Shmerl 10 Dec 2017
I guess experiment with staging patches related to graphics. May be staging CSMT somehow affects Nvidia blob? Though staging is too much behind, and my rebase patch is only good for a few DLLs, so full CSMT might require more work.
devland 12 Dec 2017
Are there any pre-compiled binaries that have all the patches for Witcher 3?
Lutris has something like that for Fallout 4, as far as I know.
libgradev 12 Dec 2017
Quoting: devlandAre there any pre-compiled binaries that have all the patches for Witcher 3?
Lutris has something like that for Fallout 4, as far as I know.
Not AFAIK but you only need to pull git master and add one patch set now: see Shmerl's HowTo on the appDB. You can then select this as the Custom Wine Executable in Lutris (there's no need to 'make install' that WINE build) - what I've done.
Shmerl 12 Dec 2017
Quoting: devlandAre there any pre-compiled binaries that have all the patches for Witcher 3?
I've never seen such, but it's not hard to build Wine for TW3, since you only need normal 64-bit build, rather than very messy WoW64 one.
beko 13 Dec 2017
Quoting: ShmerlI've never seen such, but it's not hard to build Wine for TW3, since you only need normal 64-bit build, rather than very messy WoW64 one.
Anything in IT is just (boiling) water :) Try to see this from a user's pov. "Compiling" makes you _very_ uneasy without previous experience. Some even panic when they are "just" supposed to open a terminal. It's hard to not forget this as a regular.
Faattori 13 Dec 2017
Hardest part was to find all the libraries from the software repository.
Shmerl 13 Dec 2017
Quoting: bekoTry to see this from a user's pov. "Compiling" makes you _very_ uneasy without previous experience.
I didn't say it's trivial for unfamiliar user. I said it's not hard, in comparison with WoW64, which requires using something like lxc containers and the like :) Building from source is a good thing to familiarize with for Linux users, so the learning experience is worth it.

Quoting: FaattoriHardest part was to find all the libraries from the software repository.
That's rather easy in Debian. For example something like this:

sudo apt-get build-dep wine
Faattori 14 Dec 2017
Quoting: ShmerlThat's rather easy in Debian. For example something like this:

sudo apt-get build-dep wine
Yeah, I did try that but for some reason or another I couldn't get it to detect the packages to install.

Not really a big deal since it was the first time I was trying to really compile something and I wanted to do a lot of the stuff manually to get a feel of what is going on.
Shmerl 14 Dec 2017
Not really directly related, but Józef Kucia is now working on D3D12 → Vulkan translation layer: https://source.winehq.org/git/vkd3d.git/

I hope he'll have time to continue to work on DX11 issues too.
Ehvis 14 Dec 2017
User Avatar
  • Supporter Plus
Quoting: ShmerlNot really directly related, but Józef Kucia is now working on D3D12 → Vulkan translation layer: https://source.winehq.org/git/vkd3d.git/

I hope he'll have time to continue to work on DX11 issues too.
Apparently he's been doing that for over a year, so it should be fine.
BeemWu 16 Dec 2017
I bought Witcher 3 on GoG and it works :-)
Shmerl 17 Dec 2017
[Sapphire Nitro Vega 56 is out](https://sapphirenation.net/nitrovega/), but it's still quite monstrous, requiring 3 8-pin power connectors. I'm contemplating whether to skip it altogether, until Vega refresh that will bring power requirements down with switch to 12nm production. On the other hand, it has a potential run TW3 with close to 60 fps already now if it will work well with Linux 4.15.

Skipping can have another benefit - by the time Vega refresh will come out, amdgpu+radeonsi for Vega might improve further.
libgradev 19 Dec 2017
OK - well I've had time to test this on my new workstation now (TR1950x + Vega64) and I'm seeing similar 'load capping' issues to the NVidia guys.

I'm stuck @ <70% GPU load and seeing ~43 FPS @1080p and ~33FPS@3440x1440 on Ultra settings (HairWorks off)...

FYI: This issue doesn't happen on my current machine (i7-2600k + RX480) - I'm getting 95+ utilization.
Ehvis 19 Dec 2017
User Avatar
  • Supporter Plus
Quoting: libgradevOK - well I've had time to test this on my new workstation now (TR1950x + Vega64) and I'm seeing similar 'load capping' issues to the NVidia guys.

I'm stuck @ <70% GPU load and seeing ~43 FPS @1080p and ~33FPS@3440x1440 on Ultra settings (HairWorks off)...

FYI: This issue doesn't happen on my current machine (i7-2600k + RX480) - I'm getting 95+ utilization.
Not surprising that you hit CPU limits on a Vega64. Still much better than the CPU limits on Nvidia though. What would be interesting is you can profile it to see if if AMD peaks usage in the same functions.

I'm curious, does anybody know whether it is possible to get Hairworks working on Wine?
Shmerl 19 Dec 2017
Quoting: EhvisI'm curious, does anybody know whether it is possible to get Hairworks working on Wine?
I wouldn't bother personally, since if I've understood correctly, they on purpose prevent GPU acceleration in it if it's running on AMD GPU. Not sure how they detect it though.
Shmerl 19 Dec 2017
Can anyone with Vega please test, if invisible / distorted monsters patch causes a freeze or not? Józef Kucia needs some help with testing.

See https://bugs.winehq.org/show_bug.cgi?id=43872#c36
Freidonuten 19 Dec 2017
Hey guys, maybe I found something. What I did was getting PhysX to work and the game seems to perform a whole lot better, I mean framerate is more consistent and those second-long freezes are completely gone. I don't have numbers but the framerate seemed to me like 15-30. Gpu is still ulitized only around 30-40% though. My setup is AMD A8-7600, GTX 960 with blob, LM 18.3 Cinnamon and wine-staging 2.21.

If anyone with nvidia could confirm this, I'd be more than happy. ^_^
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon Logo Patreon. Plain Donations: PayPal Logo PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register