doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
12.68k stars 808 forks source link

[d3d9] Texture rendering issues. GTA:SA(MP) #2560

Closed Akkiop closed 2 years ago

Akkiop commented 2 years ago

Texture rendering issues. Game gta sa, with mod multiplayer - samp. There are no other problems. It should be: normal How displayed: fafaf gta_sa_d3d9.log

K0bin commented 2 years ago

I need an apitrace to fix that.

Also try a build of master, I fixed a few texture issues recently: https://github.com/doitsujin/dxvk/actions/runs/2034097211

Akkiop commented 2 years ago

I tried to run it through apitrace for several hours and didn’t give any result, either I didn’t understand how to use it, or it doesn’t work on GTA sa, I checked everything works on other games, and when I try to start GTA sa, nothing happens at all, please help how it's right to do it for gta sa. Found this, and did not understand how to fix it https://github.com/apitrace/apitrace/issues/462

K0bin commented 2 years ago

The issue you linked was fixed. I've had people make GTA SA apitraces in the past. Just copy the 32bit d3d9.dll in the folder where the gta sa exe is, run the game, do what you need to do to show what would be broken with DXVK. Then upload the .trace file that was created on your desktop.

And please also try a build of DXVK master.

K0bin commented 2 years ago

How do you even open that inventory in GTA San Andreas, i didnt even know the game has an inventory.

EDIT: Looks like you're using a mod. I do need the apitrace, my version of San Andreas isn't compatible with that.

The Steam and Direct2Drive versions of GTA:SA are not currently supported and cannot be downgraded.

Akkiop commented 2 years ago

The fact is that this is not just gta sa, but with a mod for multiplayer, and this inventory is a server thing made on textdrives, I tried to use build of maste : https://github.com/doitsujin/dxvk/actions/runs/2034097211 the same error is there. When I just throw d3d9.dll (apitrace) into the root folder with the game, it does not start

Akkiop commented 2 years ago

How can you use both dxvk and apitrace at the same time if they are both d3d9.dll

K0bin commented 2 years ago

How can you use both dxvk and apitrace at the same time if they are both d3d9.dll

You don't. I don't need you to use apitrace with DXVK, apitrace with normal Windows d3d9 is fine too and will allow me to see the issue when replaying the apitrace file.

Akkiop commented 2 years ago

https://drive.google.com/file/d/16-pYYrX0kJ98ADJJeEgwgW0WX6mM82xT/view?usp=sharing

K0bin commented 2 years ago

Should be fixed now.