Confused on Steam Play and Proton? Be sure to check out our guide.
The Witcher 3 in Wine
Page: «42/88»
  Go to:
Shmerl 15 Mar 2018
Tested on weekend dxvk 0.31 - looks very good. Tested on Ubuntu 17.10, Vega 56, Ryzen 1700@3700, Oibaf ppa for Mesa, self compiled vanila wine-staging 2.21, dxvk 0.31 binary installed with the script. All worked out of the box.

Played with high settings on 2560x1080 fullscreen. I get more stable fps. With wine staging my fps dipped sometimes in towns under 20 fps, now I am around 35-40. No freezes, no texture glitches on underground. Rotfiends looks strange - like a box of triangles. But really good playable. Played for 2 or 3 hours in Blood and Wine. Quite impressed from dxvk.

Can you please test current dxvk with wine-vulkan (not wine staging)? I wonder how it performs on Vega.
maspeber 15 Mar 2018
Hi Shmerl, I tried yesterday evening but hadnt luck. cloned wine-vulkan from git and compiled, downloaded latest vulkan-sdk and installed and added the reg keys, installed dxvk via bash scprit. on startup I get an error (your gpu doesnt meet requirements for vulkan - similar like that). so i cant test :(
Shmerl 15 Mar 2018
I had that a few times. The installation step is a bit tricky. You need to make sure it picks up correct wine through setting needed environment variables and PATH.
Shmerl 15 Mar 2018
Upstream Wine is catching up with winevulkan support:

https://www.winehq.org/pipermail/wine-devel/2018-March/124262.html

This wave of patches gets winevulkan to a usable state. Many simple
applications such as Doom, Wolfenstein II and many others including
dxvk should now work.

Use of winevulkan at this point requires installation of Windows Vulkan
SDK e.g. through winetricks (latest version). In addition registry settings
and winevulkan.json need to be added by hand, which will be improved in
the future.
Shmerl 15 Mar 2018
Wine master is just a few patches away from supporting Vulkan + dxvk (see in the list of pending patches). Result with them applied manually and direct-image-mapping branch of dxvk (for better performance):

![](https://i.imgur.com/tyutlV3.jpg)
maspeber 16 Mar 2018
Had no luck with wine-vulkan. Downloaded latest, compiled as usually, created clean win64-prefix, installed vulk-sdk-1.0.51, created jasonfile, added the two regkeys and get while try to run cube.exe (32/64):

![](https://i.imgur.com/QKLdCep.png)
sebish 16 Mar 2018
Hi

I have a problem. Game launches, sound is Nok and screen is black. Can anyone please share the correct procedure.

I followed the instructions:

- Compile Wine-vulkan 3.3 with --enable-win64
- Compile dxdk 0.31
- WINEPREFIX="$HOME/DXVK" bash setup_dxvk.sh
- Install vulkan SDK 1.0.51.0 and test 1.1.70.1
- create a json file "c:\windows\winevulkan.json" and reg key

I have install the last NVIDIA driver 390.42. The cube.exe of Vulkan SDK works.
I install witcher via Steam on a 64 bit WINEPREFIX.

Do you have an idea ?
maspeber 16 Mar 2018
@sebish: I resolved the black screen with wine-staging-2.21 and dxvk 0.31 with RADV_DEBUG=nohiz
sebish 16 Mar 2018
@sebish: I resolved the black screen with wine-staging-2.21 and dxvk 0.31 with RADV_DEBUG=nohiz

wine-stating is out of date. In the Git, the Requirements is wine-vulkan. It's doesn't work with Witcher 3 ?
The vulkan SDK "cube.exe" works well.
How to know if the pb comes from dxvk or witcher 3?
Are there any dll required in wine for "witcher 3?

RADV_DEBUG=nohiz
it's for AMD GPU, no ?
Shmerl 16 Mar 2018
Had no luck with wine-vulkan. Downloaded latest, compiled as usually, created clean win64-prefix, installed vulk-sdk-1.0.51, created jasonfile, added the two regkeys and get while try to run cube.exe (32/64):

How exactly did you enable dxvk itself? Please describe your steps. You should have been running setup_dxvk.sh script.
Shmerl 16 Mar 2018
- WINEPREFIX="$HOME/DXVK" bash setup_dxvk.sh

This is already wrong. During that step, setup_dxvk.sh picks up incorrect Wine.

Let's say you install Wine with vulkan support in /opt/wine-vulkan, and the game in /opt/games/wine/prefixes/witcher3 and dxvk in /opt/games/wine/dxvk

That's what you need to do (the prefix location must be writeable obviously):

export wine_bin="wine64"
export WINEPREFIX="/opt/games/wine/prefixes/witcher3"
export WINEVERPATH="/opt/wine-vulkan"

export WINESERVER=${WINEVERPATH}/bin/wineserver
export WINELOADER=${WINEVERPATH}/bin/${wine_bin}
export WINEDLLPATH=${WINEVERPATH}/lib/wine/fakedlls
export LD_LIBRARY_PATH="${WINEVERPATH}/lib:${LD_LIBRARY_PATH}"
export PATH=${WINEVERPATH}/bin:$PATH 

/opt/games/wine/dxvk/bin/setup_dxvk.sh


That would ensure the correct Wine is run during setup with the correct prefix.

I think, setup_dxvk.sh really should take more parameters, specifically prefix location, and wine location explicitly, or fail if WINEPREFIX and WINEVERPATH are not defined.
sebish 16 Mar 2018
I compile wine-vulkan in the default directory : /usr/local
/usr/local/bin
/usr/local/lib/fakedlls

my WINEPREFIX is in /home/$user/Playonlinux/witcher3

I test your script this evening, thanks.
Shmerl 16 Mar 2018
Don't place Wine in such location, it will clash with system Wine potentially, depending on your PATH and it's also confusing to reference from scripts. It's cleaner to put it in dedicated place like above.
sebish 16 Mar 2018
Ok, I recompile on /opt/wine-vulkan
For delete the old compilation on /usr/local, a rm is enough ?
Shmerl 16 Mar 2018
Ok, I recompile on /opt/wine-vulkan
For delete the old compilation on /usr/local, a rm is enough ?

Sure, just don't delete whatever else was there by mistake. Another reason to keep wine separate :)
maspeber 16 Mar 2018
I did exactly the same like with wine-staging and dxvk the same:

git clone
created dirs for 32 and 64 bit build
cd 64build dir
../wine-vulkan/configure --prefix="/opt/wine-vulkan" --libdir="/opt/wine-vulkan/lib" --with-x --with-gstreamer --enable-win64 CFLAGS="-O3 -march=native" CXXFLAGS="-O3 -march=native"
make
cd 32build dir
../wine-vulkan/configure --prefix="/opt/wine-vulkan" --libdir="/opt/wine-vulkan/lib32" --with-x --with-wine64="../wine64-build" CFLAGS="-O3 -march=native" CXXFLAGS="-O3 -march=native"
make
sudo make install
cd 32build dir
sudo make install

WINEPREFIX="~/.wine-vulkan" WINEARCH=win64 /opt/wine-vulkan/bin/wine64 wineboot

Just tried your script with the ENV Vars - but its the same. With wine-staging all worked with no problems.
make json file like described at wine vulkan in clean wineprefix drive_c
make dxvk.reg with REGEDIT4 and both keys

WINEPREFIX="~/.wine-vulkan" /opt/wine-vulkan/bin/wine regedit
imported dxvk.reg with message successful

cd to /dxvk
WINEPREFIX="~/.wine-vulkan" bash setup_dxvk.sh

than tried TW3 and cube.exe with no success
Shmerl 16 Mar 2018
@maspeber: You are still missing the key part, setting WINEVERPATH and related variables when running setup_dxvk.sh (or running anything else too). Read carefully the steps I list above. At least you don't list that you used them.

You can't simply run wine binary without setting needed environment properly. WINEPREFIX alone is not enough.

Problems happen when wine is mixed up about its env, and configures prefix incorrectly. Once you make sure wine configures prefix against wine-vulkan precisely, then it will all fall in place.
maspeber 16 Mar 2018
just treid it with your script - the same. will try it again with a clean install - give me 15 mins :)
Shmerl 16 Mar 2018
Try setting all the variables, and then simply run:

wine regedit

It should configure your prefix if it was messed up. Do it once with other wine version, and then with wine-vulkan to make sure this step takes place.

And by the way - wine-vulkan is not needed anymore. You can use wine-master now.
hilpara 16 Mar 2018
I didn't have to set wine version when using setup_dxvk.sh. I just set the WINEPREFIX and run the script.
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



Buy Games
Buy games with our affiliate / partner links: