Check out our Monthly Survey Page to see what our users are running.
The Witcher 3 in Wine
Page: «99/176»
  Go to:
Mohandevir May 3, 2018
Quoting: Avehicle7887
Quoting: Mohandevir
Quoting: Shmerl
Quoting: MohandevirTotally noob in _GL_NextGenCompiler... Is this a xorg.conf parameter? How do you configure that?

It's an environment viariable. Set it to 0 when launching the game:

__GL_NextGenCompiler=0

In Wine... Duh!

I'm quick on the pick-up if you tell me often enough. Lol!

If you launch your game from a bash script (.sh file), you can add it in. An example of my launch script for Path of Exile in Wine:

Quote#!/bin/bash
cd "`dirname "$0"`/.."
export __GL_NextGenCompiler=0
export WINEDEBUG=-all
export WINEARCH=win64
export WINEPREFIX="$PWD/data"
cd "$PWD/data/drive_c/PoE"
"../../../bin/wine64" ./PathofExile.exe & disown

This way the environment variable is applied automatically at launch.

Awesome! Thanks!

For the record, 396.24 seems to take care of the performance regression, but... And there is a big but... I see flashing water textures over the dirt trails, in Crow's Perch. With __GL_NextGenCompiler=0, everything works fine.
Cecco_d_Ascoli May 3, 2018
[quote=Mohandevir][quote=Avehicle7887][quote=Mohandevir][quote=Shmerl][quote=Mohandevir][quote=cRaZy-bisCuiT]

@cRaZy-bisCuiT

Thank you very much! Since these instructions are truly plain and simple - and among the clearest I hitherto found on the web - I actually followed them already last weekend when trying to get dxvk running in a vanilla Ubuntu 16.04.

Wine-prefixing (wine 3.6 staging), dxvk-extraction and game-installation into that new prefix worked quite fine.
Dxvk also seems to run, since I can activate the Dxvk-Hud (with version, fps, memory etc.), but as soon as a game attempts to access DX11, I end up with a system freeze of the kind described under doitsujin's dxvk/issues/251.

So is there anything else I have to do? Copy some dlls or change something in winecfg?
Is Mesa 17.3.3, which I am running, the troublemaker, what other AMD-driver ought I to use? What AMD-driver do you employ, Biscuit?
Cecco_d_Ascoli May 3, 2018
[quote=Mohandevir][quote=Avehicle7887][quote=Mohandevir][quote=Shmerl][quote=Mohandevir][quote=cRaZy-bisCuiT]

PS: Since this is @Shmerl's Witcher-Thread, and I do not wish to spam it with general Dxvk-travails, I may try running Witcher3 on my system and then post results. Yet I shall have to re-download the entire game from GOG overnight.
rstrube May 3, 2018
Hi Folks,

I wanted to provide an update on my efforts to get the Witcher 3 running on Fedora 28 (just upgraded). I was able to successfully get everything working with Wine Staging 3.7 and DXKV 0.42, but there was a specific step that I performed that might help others.

I'm not sure how many people dual boot, but I no longer use Windows so I was unable to install the Witcher 3 on Windows and simply copy over the files. What I ended up needing to to is this:

1. Create a new wine prefix (Wine Staging 3.7)
2. Run the GOG installer for the Witcher 3 (note that at the end of the installation it also installs a C++ redistributable package - which I believe it what causes the problems I was experiencing).
3. Copy the entire Witcher 3 directory and all it's files to a location outside the prefix.
4. Delete the wine prefix.
4. Create another new wine prefix (Wine Staging 3.7)
5. Move the Witcher 3 directory into the new "clean" wine prefix
6. Setup DXVK (I simply copied the DLLs to c:/windows/system32)
7. Use winecfg to set d3d11.dll and dxgi.dll to "native".
8. Run the game.

I think the key was creating a new "clean" wine prefix without the C++ restributable package, and to only have the Witcher 3 data files in that prefix.

Hope this helps others!
Shmerl May 3, 2018
Quoting: rstrube2. Run the GOG installer for the Witcher 3 (note that at the end of the installation it also installs a C++ redistributable package - which I believe it what causes the problems I was experiencing).

Are you using GOG classic installer or Galaxy enabled one? I've always used the classic installer and never had this issue.
rstrube May 4, 2018
Quoting: Shmerl
Quoting: rstrube2. Run the GOG installer for the Witcher 3 (note that at the end of the installation it also installs a C++ redistributable package - which I believe it what causes the problems I was experiencing).

Are you using GOG classic installer or Galaxy enabled one? I've always used the classic installer and never had this issue.

Yup! I was using the Galaxy enabled installer, although I chose specifically to not install the GOG Galaxy client (customized the installation process). That explains the problems I was having...

Man, what a silly mistake. Do you think I should reinstall using the classic installer? Everything appears to be working at this point.
Shmerl May 4, 2018
Quoting: rstrubeDo you think I should reinstall using the classic installer? Everything appears to be working at this point.

I don't think you need it now, but keep it in mind for future installations.
Cecco_d_Ascoli May 4, 2018
[quote=Mohandevir][quote=Avehicle7887][quote=Mohandevir][quote=Shmerl][quote=Mohandevir][quote=cRaZy-bisCuiT]

Alright, following cRaZy-bisCuiT's instructions one by one in a new Wine 3.6-staging prefix, into which I installed TW3 GOTY via the classic GOG installer (i.e. not Galaxy), the Witcher starts and the menu with background campfire animation looks fine at 60fps.
Yet, alas, as soon as I commence e.g. 'Blood and Wine' I see this:
![](file:///home/galland/Bilder/Dxvk_Witcher3_Testrun_2018-05-04 11-28-10.png)

(disabling all TW3 post-processing options doesn't help either)

No crashes or freezes this time, I can exit via menu, change settings and restart as I like.

Both dxvk-hud and console info put out:
AMD RADV TONGA (LLVM 5.0.0), Driver: 17.2.8, Vulkan: 1.0.42

But console output starts with this warning and produces stacks of errors as these:
WARNING: radv is not a conformant vulkan implementation, testing use only.
[...]
err: D3D11Device::CreateGeometryShaderWithStreamOutput: Not implemented
[...]
err: D3D11Device::CreateBuffer: D3D11_BIND_STREAM_OUTPUT not supported
[...]
../../../src/compiler/spirv/spirv_to_nir.c:2737 WARNING: Unsupported SPIR-V capability: SpvCapabilityImageCubeArray

So I suppose something must be amiss or I should switch from AMD RADV to another driver.
Any advice, help, hint would be most welcome.
Much obliged.
hilpara May 4, 2018
You have to update the Mesa to 18 and LLVM to 6.
Shmerl May 4, 2018
Quoting: Cecco_d_AscoliAMD RADV TONGA (LLVM 5.0.0), Driver: 17.2.8, Vulkan: 1.0.42

Yep, your Mesa is too old.
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.