Check out our Monthly Survey Page to see what our users are running.
The Witcher 3 in Wine
Page: «28/88»
  Go to:
Ehvis Dec 19, 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.

Can you elaborate on that "getting PhysX to work"?
Freidonuten Dec 19, 2017
Can you elaborate on that "getting PhysX to work"?

I just followed steps on this page
https://github.com/wine-compholio/wine-staging/wiki/PhysX
maspeber Dec 20, 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

Hi Shmerl, hope I can test it this evening. I had not so much time the last days, but now its a little better :) I still play on patched wine 2.21 so wine 2.22, 3.0-rc1 and 3.0-r2 give me a lost of input. The game dont freeze but at some point (e.g. after do a quick travel) TW3 dont accept an input. In wine 3-rc1 the performance was like watching dias and is a _little_ bit better with rc2. I estimate its a third of 2.21.

edit: and stay with your GC. Wait for the next Vega iteration. The Vega is too much slowed by the CPU at the time. Y get the same fps as I with Vega56 :()

edit2: Shmerl, can y give me please a quick instruction for testing (e.g git clone, git checkout xyz, patch this patch from url). I want to make sure, that we test the same thing. In the bug report I lost the overview what was tested with which patch and hotfix and so on :)
Shmerl Dec 20, 2017
сan y give me please a quick instruction for testing (e.g git clone, git checkout xyz, patch this patch from url).

Just take current Wine git master, apply performance patch from staging (as HOWTO mentions):

./patchinstall.sh DESTDIR=$wine_src wined3d-buffer_create

Then apply the distorted monsters patch manually: https://bugs.winehq.org/attachment.cgi?id=59848&action=diff&context=patch&collapsed=&headers=1&format=raw

Test the result with csmt enabled in the registry. Here is for example a rotfiend save that causes the freeze: https://bugs.winehq.org/attachment.cgi?id=59859

It's not happening right away, you usually need to fight them for some time before it freezes.
Shmerl Dec 20, 2017
and stay with your GC. Wait for the next Vega iteration.

Yeah, that's what I'll do, but mostly because of the power consumption in the current Vega. It's just too much to my taste.
libgradev Dec 20, 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

Done, monsters visible, doesn't crash! Killed several Rotfiends and the Wraith.

(Thanks for the spoilers btw :P)

OOI Shmerl: when it freezes do you still hear the audio?
maspeber Dec 20, 2017
libgradev, did y test with vega? In your PC info y mention rx480 (Polaris).
libgradev Dec 20, 2017
libgradev, did y test with vega?

Yeah, I'm running a Vega64 - my sysinfo has my old, current, WS (trying this on my new WS) FYI.

What was your setup again (I can't be bothered to dig back though ;D) and what res/fps you seeing?
maspeber Dec 20, 2017
ok that mean it is fully playable now for y?

I play with Vega 56, 4.15-rc4, mesa 17.4 from oibaf and a patched wine 2.21 on Ryzen 1700@3,8 at 2560x1080. I get with middle to high settings from around 20 fps (Oxenfurt at night with rain) to nearly 60 fps in free terrain. my gpu loads only with around 70%. So it seems to be CPU-limited. I am on Ubuntu 17.10.

I will test it this evening too - seems to be fully playable with this patches :) Atm I am on Skellige and den invisible Harpies are too bad to fight :)
libgradev Dec 20, 2017
Reasonably, yeah - though the fps drop in villages/towns is annoying.

Renders great though!

I'm seeing up to 50fps in open @3440x1440 (ultra with some tweaks). GPU utilization is nothing though ~50%!
libgradev Dec 20, 2017
So it seems to be CPU-limited.

Yeah, I'll be honest, I'm not sure what's going on with this. My CPU graph isn't showing massive load and I'm certainly not freq boosting...

Messing around with locking affinity: it looks to me like some kind of IPC issue in Wine - getting full GPU load in 'native' Steam games (such as TR).
Shmerl Dec 20, 2017
OOI Shmerl: when it freezes do you still hear the audio?

Yes, the audio is playing, but everything else is frozen, including keyboard (you can't even switch to tty).

Done, monsters visible, doesn't crash!

Did you kill all of them? Try that several times please. And that freeze isn't consistent and sometimes it just doesn't occur. But if it works reliably for you, can you please comment in the ticket with your hardware and driver info? https://bugs.winehq.org/show_bug.cgi?id=43872

Thanks!

By the way, there shouldn't be any wraiths there, only non aggressive lubbrekin.

And regarding the freeze, if it works fine with Vega and pre-Polaris hardware, it might be Polaris specific bug in amdgpu or firmware itself.
libgradev Dec 20, 2017
By the way, there shouldn't be any wraiths there, only non aggressive lubbrekin.

"...wraith in towerful of mice..." save.
Shmerl Dec 20, 2017
By the way, there shouldn't be any wraiths there, only non aggressive lubbrekin.
"...wraith in towerful of mice..." save.

Ah, OK. I thought in the same save. What is your setup?
libgradev Dec 20, 2017
TR1950x, 64GB DDR4 3600Mhz, Vega64.
Arch, 4.15-rc4, Mesa 17.4-devel (17.3 works well also but with some, small, rendering artefacts).
DRM 3.23.0 / LLVM 6.0.0.

![](https://i.imgur.com/HUiIB4n.jpg)

I'm also testing on an i7-2600k + RX480 8GB.
Shmerl Dec 20, 2017
TR1950x, 64GB DDR4 3600Mhz, Vega64.
Arch, 4.15-rc4, Mesa 17.4-devel (17.3 works well also but with some, small, rendering artefacts).

What about libdrm and libllvm?
Shmerl Dec 20, 2017
I wonder if there are fixes in 4.15 kernel. I'm using 4.13.13.
libgradev Dec 20, 2017
TR1950x, 64GB DDR4 3600Mhz, Vega64.
Arch, 4.15-rc4, Mesa 17.4-devel (17.3 works well also but with some, small, rendering artefacts).

What about libdrm and libllvm?

Updated the post to include.

I've played the Rotfiends 5 times now (killing 6) no freeze.

Going by your earlier reply (sound still playing) I'm wondering if you're seeing the 'focus lost' 'freeze' I've seen a couple of times. I'm running i3 WM here and if it happens I can toggle fullscreen (mod+f) and the game comes back to life just fine.
Shmerl Dec 20, 2017
Going by your earlier reply (sound still playing) I'm wondering if you're seeing the 'focus lost' 'freeze' I've seen a couple of times. I'm running i3 WM here and if it happens I can toggle fullscreen and the game comes back to life just fine.

It's a hard GPU freeze. It renders input unusable (keyboard doesn't react to any keys). You can still access the system over ssh remotely though, but it's not even rebootable, and you can't restart sddm, because GPU is hanging.
Shmerl Dec 20, 2017
It's possible the newer kernel is the key solution here. I'll try 4.15 when it will be available in Debian testing.
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