dxvk icon indicating copy to clipboard operation
dxvk copied to clipboard

Batman Arkham Knight black ladders on textures

Open skeidGX opened this issue 3 years ago • 35 comments

In the Batman Arkham Knight game, black squares appear on textures. I tried all possible graphics settings of the game, ran it in a window, full screen, tried different graphics card drivers, different versions of DXVK, including different versions of DXVK Async, but none of this helped me.

Software information

Batman Arkham Knight, Windows 11

System information

  • GPU: RX 5500 XT 8GB
  • Driver: AMD Software Adrenalin Edition 22.10.1
  • DXVK version: dxvk-1.10.3

Apitrace

BatmanAK.zip

Batman Arkham Knight_2022 10 19-10 53 Batman Arkham Knight_2022 10 19-10 53_1 Batman Arkham Knight_2022 10 19-10 52

skeidGX avatar Oct 19 '22 08:10 skeidGX

Try with latest master. 🙂 https://github.com/doitsujin/dxvk/actions/runs/3268994708

If it's still an issue then please make a apitrace https://github.com/doitsujin/dxvk/wiki/Using-Apitrace

Blisto91 avatar Oct 19 '22 08:10 Blisto91

Try with latest master. 🙂 https://github.com/doitsujin/dxvk/actions/runs/3268994708

If it's still an issue then please make a apitrace https://github.com/doitsujin/dxvk/wiki/Using-Apitrace

OK, I downloaded the archive. dxgi.dll and d3d11.dll just drop it into the root folder of the game?

skeidGX avatar Oct 19 '22 08:10 skeidGX

Yup just like with a regular release

Blisto91 avatar Oct 19 '22 08:10 Blisto91

Yup just like with a regular release

And what to do with the usr folder?

skeidGX avatar Oct 19 '22 08:10 skeidGX

Ignore that one. That's a Linux thing.

Blisto91 avatar Oct 19 '22 08:10 Blisto91

Yup just like with a regular release

Unfortunately it didn't help, the problem is still here( Batman Arkham Knight_2022 10 19-11 36

skeidGX avatar Oct 19 '22 08:10 skeidGX

Could you circle the problematic part? Just so i'm sure i'm looking at the correct places.

Blisto91 avatar Oct 19 '22 08:10 Blisto91

Could you circle the problematic part? Just so i'm sure i'm looking at the correct places. 3qjwrykh4qc

skeidGX avatar Oct 19 '22 08:10 skeidGX

Thanks. Try to make a apitrace. Note that by default apitrace doesn't go through dxvk on windows so it won't reproduce when you do, so just get ingame to a place where it usually reproduces and then the devs can replay it together with dxvk later.

Blisto91 avatar Oct 19 '22 08:10 Blisto91

Thanks. Try to make a apitrace. Note that by default apitrace doesn't go through dxvk on windows so it won't reproduce when you do, so just get ingame to a place where it usually reproduces and then the devs can replay it together with dxvk later.

I compressed Apitrace into a ZIP file and uploaded it, thank you for trying to help

skeidGX avatar Oct 19 '22 09:10 skeidGX

The file you uploaded is 0 bytes.

mbriar avatar Oct 19 '22 09:10 mbriar

In general, if it's small enough that you can upload it to github, it won't be long enough to show the issue. You need to play the game until you reach the section where the issue usually occurs with apitrace active and the resulting file should be about a gigabyte or more in size.

mbriar avatar Oct 19 '22 09:10 mbriar

In general, if it's small enough that you can upload it to github, it won't be long enough to show the issue. You need to play the game until you reach the section where the issue usually occurs with apitrace active and the resulting file should be about a gigabyte or more in size.

The game started with a black screen, at first I tried to delete some files from the apitrace archive, but nothing helped, and then I decided that it should be so

skeidGX avatar Oct 19 '22 09:10 skeidGX

It's possible that it would have progressed from the blackscreen into the game after a while, apitracing, especially on windows, can be very slow.

mbriar avatar Oct 19 '22 09:10 mbriar

Did you extract d3d11.dll, dxgi.dll and dxgitrace.dll into the game folder next to the exe?

Blisto91 avatar Oct 19 '22 09:10 Blisto91

I moved the dll from the master archive to the root of the replacement game, I replaced 4 files from apitrace and it worked and I got a kind of normal file apitrace updated

skeidGX avatar Oct 19 '22 09:10 skeidGX

The apitrace is sadly still borked. Would you be able to upload a save file from a location where it happens? I'll check it out in the game here later.

Blisto91 avatar Oct 19 '22 09:10 Blisto91

The apitrace is sadly still borked. Would you be able to upload a save file from a location where it happens? I'll check it out in the game here later.

It's easier to say where it doesn't happen. In closed locations, I did not notice this, especially these black bricks on the textures are visible if you climb higher. If you have them, then you won't miss them, because while moving or turning the camera, they start to flicker. The game version is 1.98, I tried to install the 1.6.2.0 steam version, but the same thing happens there. SaveData.zip

skeidGX avatar Oct 19 '22 13:10 skeidGX

Unless proven to also happen on Linux and Nvidia drivers, I'm going to strongly suspect just another AMD driver bug here.

Game is known to work fine at least with 1.10.3.

doitsujin avatar Oct 19 '22 14:10 doitsujin

Unless proven to also happen on Linux and Nvidia drivers, I'm going to strongly suspect just another AMD driver bug here.

Game is known to work fine at least with 1.10.3.

I tried different AMD drivers, the FPS is much worse on some of them, but the problem is still present, I tried different versions of dxvk, it's the same here as with AMD drivers. My OS is Windows 11. Could it be that the problem is in Windows 11?

skeidGX avatar Oct 19 '22 14:10 skeidGX

Just to make sure. It's not similar to this is it? https://youtu.be/5xE9pfGN_pc

Blisto91 avatar Oct 19 '22 16:10 Blisto91

I tried different AMD drivers, the FPS is much worse on some of them, but the problem is still present, I tried different versions of dxvk, it's the same here as with AMD drivers. My OS is Windows 11. Could it be that the problem is in Windows 11?

There's different AMD drivers on Linux which usually work better.

K0bin avatar Oct 19 '22 16:10 K0bin

Just to make sure. It's not similar to this is it?

nope

skeidGX avatar Oct 21 '22 11:10 skeidGX

I tried different AMD drivers, the FPS is much worse on some of them, but the problem is still present, I tried different versions of dxvk, it's the same here as with AMD drivers. My OS is Windows 11. Could it be that the problem is in Windows 11?

There's different AMD drivers on Linux which usually work better.

So I can't fix it?

skeidGX avatar Oct 23 '22 16:10 skeidGX

I haven't tried on Windows yet. But i couldn't reproduce at least on Linux with radv or amdvlk. The former is the driver most commonly used for AMD Vulkan on Linux and the latter is AMD's own and closeish to the Windows driver. Tho i'm using a amdvlk version thats over a year old same as on Windows since my card isn't supported anymore. This is on my R9 380.

Tho amdvlk had the weird issue i showed in the video above.

Blisto91 avatar Oct 23 '22 17:10 Blisto91

I was installing Manjaro, and I also couldn't reproduce this bug, and everything would be fine, only the fps in the game is significantly less, and I returned to windows. On a clean system, this bug is present, on all possible AMD drivers it is also present.

skeidGX avatar Oct 23 '22 17:10 skeidGX

Sounds like the fix is to play on windows without dxvk. If this does not happen with the AMD drivers on linux it's most like a driver and not DXVK bug.

mbriar avatar Oct 23 '22 17:10 mbriar

Sounds like the fix is to play on windows without dxvk. If this does not happen with the AMD drivers on linux it's most like a driver and not DXVK bug.

Or with dxvk on linux, because the fps on linux with dxvk is about the same as on windows without dxvk. But initially I decided to use dxvk to add fps in the game.

skeidGX avatar Oct 23 '22 18:10 skeidGX

I noticed something, these black ladders appear at the junction of non-rendered LODes and rendered textures. BatmanArkhamKnight_2022 10 24-09 34

skeidGX avatar Oct 24 '22 06:10 skeidGX

If this is actually a driver problem, does anyone know how I can fix it?

skeidGX avatar Oct 24 '22 06:10 skeidGX