# How to Install DXVK 3.2 on Linux and Enable Present Timing: Step-by-Step Gaming Setup

> AI Release · @ai_releaseorg · https://ai-release.org/guides/kak-ustanovit-dxvk-3-2-na-linux-i-vklyuchit-present-tim_en.html

## TL;DR

- Time to complete: 20 minutes
- Difficulty: Intermediate
- You will need: a 64-bit Linux distribution, a working Wine prefix (Wine or Proton), a Vulkan-capable GPU driver, `vulkan-tools`, and the DXVK 3.2 release archive from the official DXVK releases page.

## What you will get

- A Wine prefix with DXVK 3.2 installed into both `system32` (64-bit) and `syswow64` (32-bit), confirmed by a file listing and a version check.
- A `dxvk.conf` with the present-timing (frame-pacing / latency) options enabled, with every option name verified against the commented sample shipped inside the release archive.
- A repeatable verification command that prints the DXVK HUD and a log line proving which config file was loaded, plus a full backup copy of the prefix for instant rollback.

## Quick start

```bash
vulkaninfo --summary | grep -E "deviceName|apiVersion"
cp -a "$HOME/.wine-dxvk-test" "$HOME/.wine-dxvk-test.bak"
tar -xzf dxvk-3.2.tar.gz && cd dxvk-3.2
WINEPREFIX="$HOME/.wine-dxvk-test" ./setup_dxvk.sh install
```

Details and verification are in the steps below.

## Requirements and setup
![Illustration: Requirements and setup](https://ai-release.org/guides/img/kak-ustanovit-dxvk-3-2-na-linux-i-vklyuchit-present-tim-en-1.jpg?v=1795769007)


- [ ] Linux distribution with a 64-bit userland. Check with `uname -m` — the answer must be `x86_64`.
- [ ] GPU driver with Vulkan support (Mesa RADV for AMD, `nvidia-driver` for NVIDIA). Check with `vulkaninfo --summary`.
- [ ] `vulkan-tools` installed (provides `vulkaninfo`), and the 32-bit Vulkan loader if you plan to run 32-bit games.
- [ ] A Wine prefix you can safely modify. For a Steam/Proton game the prefix lives under `~/.steam/steam/steamapps/compatdata/<APPID>/pfx`.
- [ ] The DXVK 3.2 release archive. The file name follows the release naming convention — replace `dxvk-3.2.tar.gz` below with the exact name you downloaded.

```bash
# Debian / Ubuntu
sudo apt install vulkan-tools mesa-vulkan-drivers

# Arch
sudo pacman -S vulkan-tools vulkan-icd-loader
```

**Example:** on Debian, `sudo apt install vulkan-tools` is enough to make `vulkaninfo` available; the driver package is only needed if `vulkaninfo` reports no devices.

If you are on an Android handheld and want a Linux terminal there first, the procedure is described in [How to Enable the Linux Terminal App on Android](https://ai-release.org/guides/kak-vklyuchit-linux-terminal-na-android-trebovaniya-sna.html?utm_source=tg&utm_medium=channel&utm_campaign=guide_inline&utm_content=guide_to_guide) — note that running DXVK itself in that environment is outside the scope of this guide; check the documentation.

## Step 1. Verify the Vulkan stack and back up the prefix

**What to do:** confirm that the GPU exposes a Vulkan device, then create a restore point of the Wine prefix before touching any DLL.

```bash
vulkaninfo --summary | grep -E "deviceName|apiVersion"
cp -a "$HOME/.wine-dxvk-test" "$HOME/.wine-dxvk-test.bak"
ls -d "$HOME/.wine-dxvk-test.bak"
```

**Why:** DXVK is a translation layer that turns Direct3D 9/10/11 calls into Vulkan calls. If Vulkan is not visible to the system, DXVK cannot load and the game will fall back to Wine's built-in (slower) Direct3D implementation. The backup exists because installing DXVK overwrites `d3d11.dll`, `dxgi.dll` and related libraries inside the prefix.

**How to check:** `vulkaninfo --summary` must print a `deviceName = …` line with your GPU and an `apiVersion = 1.x` line. The `cp` command produces no output on success; `ls -d` must print the `.bak` directory path.

**Example:** expected output looks like:

```
deviceName        = AMD Radeon RX 6700 XT (RADV NAVI22)
apiVersion        = 1.3.XXX
```

The exact version numbers depend on your driver — do not compare them to a fixed value, only confirm the lines exist.

## Step 2. Install DXVK 3.2 and enable present timing
![Illustration: Step 2. Install DXVK 3.2 and enable present timing](https://ai-release.org/guides/img/kak-ustanovit-dxvk-3-2-na-linux-i-vklyuchit-present-tim-en-2.jpg?v=1795769014)


**What to do:** unpack the archive, install the DLLs into the prefix with the bundled `setup_dxvk.sh` script, then write a `dxvk.conf` with the present-timing options.

```bash
tar -xzf dxvk-3.2.tar.gz
cd dxvk-3.2
grep -n -i -E "latency|tearfree|maxFrameLatency|present" dxvk.conf
```

**Why:** every DXVK release ships a commented `dxvk.conf` sample that lists the exact option names and accepted values for that release. Option names change between releases, so you copy the names from that file instead of trusting a tutorial (including this one). Only after that do you install:

```bash
WINEPREFIX="$HOME/.wine-dxvk-test" ./setup_dxvk.sh install
```

`setup_dxvk.sh` copies the 64-bit DLLs into `drive_c/windows/system32` and the 32-bit DLLs into `drive_c/windows/syswow64`, and sets the DLL overrides in the prefix registry. The `uninstall` argument reverses it.

Next, create the config file next to the game executable (DXVK reads `dxvk.conf` from the application directory and from `$XDG_CONFIG_HOME/dxvk/dxvk.conf`):

```ini
# dxvk.conf — present timing / latency block
dxvk.tearFree = Auto
dxvk.latencySleep = True
dxvk.latencyTolerance = 1
dxvk.maxFrameLatency = 1
dxvk.hud = fps,frametimes,gpuload
```

| Option | What it changes | Note |
|---|---|---|
| `dxvk.tearFree` | Present mode selection (tearing vs. vsync-style presentation) | Accepted values listed in the shipped sample |
| `dxvk.latencySleep` | Enables the low-latency sleep path used for frame pacing | Confirm spelling in the shipped sample |
| `dxvk.latencyTolerance` | Tolerance window for the latency sleep logic | Units are defined in the shipped sample — check the documentation |
| `dxvk.maxFrameLatency` | Caps how many frames the CPU may queue ahead | `0` means "let the application decide" |
| `dxvk.hud` | Same effect as the `DXVK_HUD` environment variable | Use it to see the result on screen |

**How to check:** `ls -l "$HOME/.wine-dxvk-test/drive_c/windows/system32/d3d11.dll"` must show a file with a fresh timestamp, and the same path under `syswow64` must exist for 32-bit games. For the config, run the game with `DXVK_LOG_LEVEL=info` (Step 3) and look for the `DXVK: Reading config file` line — it names the file DXVK actually loaded.

**Example:** a Steam game installed in a Proton prefix gets the same treatment, but Proton ships its own DXVK, so place the DLLs next to the game executable and force native overrides instead:

```bash
WINEDLLOVERRIDES="d3d11,d3d10core,dxgi=n" %command%
```

That string goes into the Steam launch options field, not into a shell.

## Step 3. Verify that present timing is actually active
![Illustration: Step 3. Verify that present timing is actually active](https://ai-release.org/guides/img/kak-ustanovit-dxvk-3-2-na-linux-i-vklyuchit-present-tim-en-3.jpg?v=1795769019)


**What to do:** launch the game with the HUD and the info-level log enabled, and read both.

```bash
cd "$HOME/.wine-dxvk-test/drive_c/Games/<your-game>"
DXVK_HUD=fps,frametimes,gpuload DXVK_LOG_LEVEL=info \
  WINEPREFIX="$HOME/.wine-dxvk-test" wine <game>.exe 2>&1 | tee dxvk-run.log
grep -i -E "config|dxvk" dxvk-run.log | head -n 20
```

**Why:** the HUD proves DXVK is rendering (not Wine's built-in Direct3D), and the log proves which `dxvk.conf` was parsed. Without both, a silent fallback looks identical to a working install.

**How to check:** on screen you must see the HUD overlay in a corner with a live FPS counter, frame-time graph and GPU load percentage. In `dxvk-run.log` you must see the DXVK initialisation block containing the `Reading config file` line pointing at your `dxvk.conf` path.

**Example:** if the HUD shows `DXVK: <your GPU name>` in the device line, the layer is active. If the game runs but no overlay appears, DXVK was not loaded — go to Troubleshooting.

## Troubleshooting

**Problem. The game exits immediately with a Vulkan instance error**

- Error: `err: DxvkInstance::createInstance: Failed to create Vulkan instance`
- Cause: the Vulkan loader or the GPU driver is missing/broken — often the 32-bit loader on a 64-bit system running a 32-bit game.
- Solution: `sudo apt install mesa-vulkan-drivers libvulkan1 libvulkan1:i386` (Debian/Ubuntu) or the equivalent for your distribution, then re-run `vulkaninfo --summary`. Message wording varies between releases — check the documentation if your text differs.

**Problem. Wine cannot import the DXVK library**

- Error: `err: module:import_dll Library vulkan-1.dll (which is needed by L"...d3d11.dll") not found`
- Cause: the prefix has DXVK DLLs but no Vulkan loader visible inside the prefix, or the install was run without `WINEPREFIX` and landed in `~/.wine` instead.
- Solution: restore the backup and reinstall with the variable set explicitly: `cp -a "$HOME/.wine-dxvk-test.bak/." "$HOME/.wine-dxvk-test/"` then `WINEPREFIX="$HOME/.wine-dxvk-test" ./setup_dxvk.sh install`.

**Problem. The config has no effect, no HUD appears**

- Error: `warn: DXVK: Unknown config option: dxvk.latencySleep` (name may differ per release)
- Cause: the option name does not exist in your build, or `dxvk.conf` sits in a directory DXVK never reads.
- Solution: `grep -n -i latency dxvk.conf` inside the extracted release archive, copy the exact spelling from there into your config, and place the file either next to the `.exe` or in `$XDG_CONFIG_HOME/dxvk/dxvk.conf`. Re-check the `Reading config file` line in the log.

## Summary and next steps

You now have DXVK 3.2 installed in a backed-up Wine prefix with a verified `dxvk.conf` and two independent proofs that the layer and its config are active. Next, tune the present-timing values one at a time and re-measure with the HUD; if you also maintain a dual-boot machine, the Windows side is covered in [How to Install Windows 11 26H2: Step-by-Step Guide with Official ISO](https://ai-release.org/guides/kak-ustanovit-windows-11-26h2-poshagovaya-instruktsiya.html?utm_source=tg&utm_medium=channel&utm_campaign=guide_inline&utm_content=guide_to_guide).

## FAQ

**Do I need to install DXVK manually if I use Proton?**
No. Proton bundles its own DXVK build. You only replace it when you need a specific release — copy the DLLs next to the game executable and use the `WINEDLLOVERRIDES="d3d11,d3d10core,dxgi=n"` launch option.

**How do I confirm that present timing is enabled rather than just guessing?**
Run the game with `DXVK_LOG_LEVEL=info` and find the `Reading config file` line in the output. If that line points at your `dxvk.conf`, the options were parsed; the HUD confirms the layer is rendering.

**How do I roll back to the previous state?**
Either run `WINEPREFIX="$HOME/.wine-dxvk-test" ./setup_dxvk.sh uninstall`, or restore the backup: `cp -a "$HOME/.wine-dxvk-test.bak/." "$HOME/.wine-dxvk-test/"`.

**Will this get me banned in online games?**
Replacing graphics DLLs can be flagged by anti-cheat software. Check the specific game's policy before launching multiplayer — this guide covers local rendering only.
