dxvk icon indicating copy to clipboard operation
dxvk copied to clipboard

Flickering on MTA (Multi Theft Auto) Client

Open Heus-Sueh opened this issue 1 year ago • 10 comments

in Fullscreen the game is practically unplayable with low fps and constant flickering to work around this it is necessary to leave the client in windowed mode

MTA in Fullscreen: Kooha-2023-04-29-23-20-28.webm

Software information

MTA (Multi Theft Auto) is a client for GTA SA to play online

System information

  • GPU: GTX 1060 6GB
  • Driver: 530.41.03
  • Wine version: Wine 8.0
  • DXVK version: 2.1

Apitrace file(s)

Multi Theft Auto-apitrace.zip sorry if i didn't use the apitrace correctly

Log files

Multi Theft Auto-logs.zip

getting MTA running is a bit tricky but here's how to run it:

  • MTA:SA will only work in GTA:SA v1.0
  • there is an error when trying to run the client on linux to resolve this it is necessary to run the server for a few seconds and close so that it can validate your computer as a user perhaps
  • here is the tutorial to run the server: https://wiki.multitheftauto.com/wiki/Installing_and_Running_MTASA_Server_on_GNU_Linux

Heus-Sueh avatar May 11 '23 23:05 Heus-Sueh

Try with current master as this might already have been fixed. You can download here https://github.com/doitsujin/dxvk/actions/runs/4949140079 The apitrace doesn't contain anything sadly. If it's just a few KB that means it didnt work

Blisto91 avatar May 11 '23 23:05 Blisto91

Try with current master as this might already have been fixed. You can download here https://github.com/doitsujin/dxvk/actions/runs/4949140079 The apitrace doesn't contain anything sadly. If it's just a few KB that means it didnt work

ok i will test

Heus-Sueh avatar May 12 '23 00:05 Heus-Sueh

The newly released 2.2 is also fine to test with

Blisto91 avatar May 12 '23 11:05 Blisto91

That apitrace is useless unfortunately. It's practically empty.

K0bin avatar May 12 '23 11:05 K0bin

See if "https://github.com/SirSAC/dxvk/actions/runs/5000894491" have the same effect on the client.

SirSAC avatar May 17 '23 13:05 SirSAC

@SirSAC There's no way that altering a couple of build flags will make any difference here and I would appreciate it if you didn't spam that under any open issues you come across.

K0bin avatar May 17 '23 13:05 K0bin

ok

SirSAC avatar May 17 '23 13:05 SirSAC

d3d9.deferSurfaceCreation = 1 as a workaround fixes the issue, at least on borderless windowed mode (which is enabled by default). Standard fullscreen crashes for some reason.

Screenshot_20230521_141024

Log: gta_sa_log.txt

Log with standard fullscreen: gta_sa_defer_fs_log.txt I even tried ANV driver just in case if it's a driver bug. Same thing. Fortunately it will show dialog about switching back to borderless windowed after several crashes (like if it was mod issue and not DXVK itself) I'm also missing some patches like child window or shared resources, which maybe can cause the crash.

I can't manage to make apitrace at all. Mod has weird anti-cheat which blocks everything in game path and just loads d3d9.dll from SysWOW64. Maybe someone with Windows rig will help here.

HunterCZ122 avatar May 21 '23 12:05 HunterCZ122

Okey so I managed to get traces with wined3d and dxvk (crashing). Sadly the crash doesnt reproduce with dxvk on replay of the wined3d trace.

mta_dxvk_trace.tar.gz

mta_wined3d_trace.tar.gz

Riesi avatar May 23 '23 13:05 Riesi

Maybe the flickering was resolved. I tested it on wine 8.14 with the latest version of dxvk and I was able to navigate the menus without the screen constantly blinking. If anyone can test, confirm if the bug has been resolved as well.

Heus-Sueh avatar Dec 24 '23 17:12 Heus-Sueh