protonscr

Install dxvk

dxvkclosed question
doitsujin/dxvk#1573 · opened 2020-04-16 by walk5 · updated 2024-06-02 · 32 comments · github
1 matching comments, n / p to jump
Wwalk5 2020-04-16 github

I am having trouble installing the tar.gz file. I have the read me page but I do not understand what to do. I do not know what the dxvk directory is and I have been unable to find the .wine-prefix file.

I am sorry to ask this but I am still knew to linux and I am learning as I go.

IIroAlexis 2020-04-16 github

Hello it is an issue that was fixed this commit :) Just wait the next version or apply the modification in the script setup_dxvk.sh

Wwalk5 2020-04-16 github

So this is a know issue and the new version of wine will fix the issue?

Wwalk5 2020-04-16 github

I am knew to this and I am not sure I understand what is being said.

Wwalk5 2020-04-16 github

Are you refering the the most recent stable wine version.

Vvabenil 2020-04-16 github

If you don't intend to use dxvk for development and just want to install it on your machine for playing games then installing through your package manager should be easier. Just search how to install dxvk in {Name of your Linux distribution here} on google and you should find something.

Wwalk5 2020-04-16 github

I need the dxvk for using with zbrush and 3d printing software. I will do that search. I tried to install it through winetricks but it fails.

Ddoitsujin maintainer 2020-04-16 github

Can you be a bit more precise? what fails? What's the error message?

IIroAlexis 2020-04-16 github

Oh I misunderstood what you were saying. Normally with the tar.gz file (uncompressed btw), you have created an wine prefix and you should use : WINEPREFIX=/path/to/wineprefix /path/to/setup_dxvk.sh install.

But since Wine 5.6, you sould modifify DXVK script (all version) like here for install him or just wait the next DXVK version.

PS : I don't know if it is clear but I try clear

Wwalk5 2020-04-16 github

I have no idea how to find the wine prefix. I searched my files and it us not there. At least that I can find. I am not using the 5.6 version of wine. I am using the stalbe version 5.0.

LLeopard1907 2020-04-16 github

If you're new to Linux , maybe you should consider using Lutris for ease of use until you learn/get used to manually using Wine and related components.

Wwalk5 2020-04-17 github

I had everything running. I just ran into a problem and how nothing is working.

Wwalk5 2020-04-17 github

We really like kubuntu. It is really not complicated to use. This is the only real issue we have had. Everything else is very awesome.

Vvabenil 2020-04-17 github

Also your default wineprefix is usually located in the ~/.wine directory. Wine prefixes made using winetricks are usually located in ~/.local/share/wineprefixes.

DDeeDeeRanged 2020-04-17 github

Files or directories starting with a .(dot) are hidden files or directories.
A .wine is not a file but usually a hidden directory in your home directory.
If you want to see hidden files or directories open a terminal and type ls -la and it will show everything in your home directory.

Wwalk5 2020-04-17 github

vabenil,

I went to the video and then found the website with the instructions. I walked through the first 2 download commands with no issue. Then I entered the load command sudo dpkg -i dxvk
After this I received errors they say

'dpkg: denpendency problems prevent configuration of dxvk-wine64-development:
dxvk-wine64-development depends on libwine-development; however:
Package libwine-development is not installed.

dpkg: error processing package dxvk-wine64-development (--install):
dependency problems - leaving unconfigured
dpkg: denpendency problems prevent configuration of dxvk:
dxvk depends on dxvk-wine64-development (>= 0.96+ds1-1) | dxvk-wine32-development (>= 0.96+ds1-1); however:
Package dxvk-wine64-development is not configured yet.
Package dxvk-wine32-delepoment is not installed.

dpkg: error processing package dxvk (--install):
dependency problems - leavjng unconfigured
Processing triggers for man-db (2.8.7-3) ...
Errors were encountered while processing:
dxvk-wine64-delepoment
dxvk'

I stopped and did not go on to the next step.

Wwalk5 2020-04-17 github

Roesjka,

I found the wine files but looking through there I found not prefix file.

DDeeDeeRanged 2020-04-17 github

There is no prefix file. .wine is the prefix.
Your problems with dpkg stems from the fact it depends where you installed wine(dev or staging) from. Where did you install wine from Ubuntu repo? or Winehq repo?

Vvabenil 2020-04-17 github

walk5 those errors are normal, you are supposed to do a:
sudo apt install -f
Which is supposed to fix those errors.

Vvabenil 2020-04-17 github

To be more specific those "errors" are simply dependencies missing and the:
sudo apt install -f
installs those dependencies so everything is normal.

Wwalk5 2020-04-17 github

Roesjka,
I used the wget and the winehq repository for the download.

Wwalk5 2020-04-17 github

vabenil,
I continued the installmand add the sudo apt install -f
That installed. Then I went on to the configuration. I cd into the folder. That went great then I entered ./setup_dxvk.sh
Then I get
Unrecognized option: Usage: ./setup_dxvk.sh [install|uninstall] [-q|--quiet] [-y|-n]

Vvabenil 2020-04-17 github

do :
./setup_dxvk.sh install

DDeeDeeRanged 2020-04-17 github

Do note if you have wine-development installed it is from the Ubuntu repo and not from winehq repo. The winehq version called wine-devel.

Wwalk5 2020-04-17 github

vabenil,
I entered that code and no error message. Does this mean we are good?

Wwalk5 2020-04-17 github

Also Kubuntu says it needs to update but it will not run the update. When you click update it says fetching updates but it never updates.

JJulianGro 2020-04-17 github

I don't know about you guys, but I always just "install" DXVK by copying the dll files to where the executable of the program I want to start is.

  • Download latest release
  • go to x64 directory
  • drag and drop all the files to where the program you want to use DXVK for is
Wwalk5 2020-04-18 github

Jug
You don't actually install the files. You just add them to the directory

LLordJBeckman 2020-04-18 github

So this is a know issue and the new version of wine will fix the issue?

If the above commit fixes it wouldn't it work to use the latest compiled version of DXVK from:
https://git.froggi.es/doitsujin/dxvk/-/jobs

It should be DXVK version 1.6 plus the 44 additional commits to the code base since this versions release including the above fix without having to build or compile the source yourself.

EDIT: Although I can't comment much about Linux in general as I'm one of those odd users that utilize DXVK under Windows due to certain driver issues being far less of a problem although if modifying the setup script is problematic or building the latest source then hopefully the compiled version makes it easier and resolves the issue. :)
(The "Froggi" website can be down periodically though, worked when I checked it as of this commit but something to be aware about if it times out.)

Vvabenil 2020-04-18 github

vabenil,
I entered that code and no error message. Does this mean we are good?

You should be good now. Now your default wine prefix should be using dxvk by default.

Eeshdev21 2020-04-28 github

I am having trouble installing the tar.gz file. I have the read me page but I do not understand what to do. I do not know what the dxvk directory is and I have been unable to find the .wine-prefix file.

I am sorry to ask this but I am still knew to linux and I am learning as I go.

Lutris does everything for you, install it and enjoy

NNTULINUX 2024-06-02 github

I kept on getting errors about wine-development and likes missing from my system, plus by default, dxvk_setup.sh wanted to use Debian's packages instead of the newer ones hosted at winehq. I wrote a script that fixes both:

#!/usr/bin/env bash

if [[ "${EUID}" != "0" ]] ; then
	echo "This script must be run with superuser permissions."
	exit 1
fi

WINE_BINDIR="/opt/wine-devel/bin"

if [[ -d "${WINE_BINDIR}" &&
	-x "${WINE_BINDIR}/wine" &&
	-x "${WINE_BINDIR}/wine64" ]]
then
	printf "\\n\\tInstalling symlinks...\\n\\n"

	ln -sfv "${WINE_BINDIR}/wine" "${WINE_BINDIR}/wine-development"
	ln -sfv "${WINE_BINDIR}/wine64" "${WINE_BINDIR}/wine64-development64"
	ln -sfv "${WINE_BINDIR}/wine" "${WINE_BINDIR}/wine64-development"

	ln -sfv "${WINE_BINDIR}/wine" "/usr/bin/wine"
	ln -sfv "${WINE_BINDIR}/wine" "/usr/bin/wine-development"
	ln -sfv "${WINE_BINDIR}/wine64" "/usr/bin/wine64"
	ln -sfv "${WINE_BINDIR}/wine" "/usr/bin/wine64-development"
else
	printf "\\n\\tError: winehq-devel not found.
\\tPlease visit: https://wiki.winehq.org/Debian for more info.\\n"
	exit 1
fi

Problems are gone and now I can use DXVK with the latest releases from WineHQ.

Just run:

dxvk_setup.sh i -d

And all should be good. Even after installing all the wine-development packages, the provided dxvk_setup.sh fails without these symlinks.

One more thing, this makes the later releases from WineHQ take precedence over the ones hosted at Debian.

Cheers!