Every article tag can be clicked to get a list of all articles in that category. Every article tag also has an RSS feed! You can customize an RSS feed too!
The Witcher 3 in Wine
Page: «50/176»
  Go to:
beko Dec 1, 2017
Roleback to Wine Staging 2.20.

It's simply broken in 2.21 (for me + nvidia at least)
Shmerl Dec 3, 2017
Quoting: GuestNew Józef Kucia patches in winegit

Yep, also a few patches by Matteo Bruni. I think those should replace mips patches in staging.
Shmerl Dec 3, 2017
There are also a bunch of pending patches by Józef Kucia here: https://source.winehq.org/patches/
Shmerl Dec 3, 2017
Nope. Unfortunately those patches by Matteo Bruni don't replace mips patches from staging - without using the later, Witcher 3 gets black spots on the water again. Staging now needs a major deep rebase to catch up.
mrdeathjr Dec 3, 2017
Quoting: ShmerlThere are also a bunch of pending patches by Józef Kucia here: https://source.winehq.org/patches/

Very interesting patch set but dont seems affects DX11, stay focus mainly for DX8-DX9 clip planes (only left henri verbeet aprove)

However very interesting patch set

^_^
Ehvis Dec 3, 2017
Had an opportunity to mess with TW3 for the weekend. I built wine git + the patches Shmerl listed in his howto. Had to make a bunch of changes to get those to apply (and remove the audio patch entirely).

System was a i7 4790+GTX 970. Game appeared to render flawlessly, but I only did the start bit until entering the town so I could do some repeated running around. FPS was pretty low regardless of resolution and settings. What made the game practically unplayable was the horrid input lag. Sometimes Geralt kept running for several seconds after releasing the key. The odd thing was, during that time I was perfectly able to rotate the view.

I used the Wine fps debug to check some runs around the town and got about 15-20 FPS, CPU load 250%-270% and GPU load 50%-60%. So heavily CPU bound, as expected. I also experienced occasional lag spikes. Especially in cut scenes where it even caused the lip desyncing.

To get a better idea about what Wine was doing, I also built "Oprofile 1.2.0" and did some profiling. However, I don't think my understanding of that system is good enough to draw any definitive conclusions. However, what it appears to show was the following:
- ~30%-35% of the time spent in wined3d
- ~35%-40% of the time spent in witcher3.exe
- ~6%-8% of time spent in nvidia opengl lib.

The Wine wiki says "If more than 5% CPU time are spent in wined3d this is suspicious.", so this result appears to suggest that something is not going right in wined3d. However, the time results for wined3d.dll kept switching between two function: shader_glsl_generate_ffp_fragment_shader and shader_arb_load_constants_f. I'm not really sure what I should make of that. However, I do find it odd that the first one could be hit so often, since I wouldn't expect the generation of shaders to go on continuously. Unless, of course, this exactly the problem that only happens on nvidia.

I tried to analyse using the "callgraph" feature, but this suggested that most of the time was spent for witcher3.exe in a function called "ntdll.dll:enumerate_key", which seems highly unlikely.

Anyway, maybe these results can prod the TW3 owners to try some more in depth testing and maybe comparing some profiling results between Mesa and Nvidia.
Shmerl Dec 3, 2017
Quoting: EhvisHad an opportunity to mess with TW3 for the weekend. I built wine git + the patches Shmerl listed in his howto. Had to make a bunch of changes to get those to apply (and remove the audio patch entirely).

Yep, I'll update the instructions, but now there is no way to consistently apply that to Wine master. Staging needs a catch up.
Shmerl Dec 3, 2017
Quoting: EhvisTo get a better idea about what Wine was doing, I also built "Oprofile 1.2.0" and did some profiling.

Is oprofile better than let's say regular perf?
Shmerl Dec 3, 2017
Quoting: EhvisAnyway, maybe these results can prod the TW3 owners to try some more in depth testing and maybe comparing some profiling results between Mesa and Nvidia.

Can you please post them here: https://bugs.winehq.org/show_bug.cgi?id=42592
Ehvis Dec 3, 2017
Quoting: ShmerlIs oprofile better than let's say regular perf?

No idea. I took oprofile because it was recommended here. I had no time to investigate further.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: 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


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.