mtasa-blue icon indicating copy to clipboard operation
mtasa-blue copied to clipboard

[Bug] Integrity Violation on Wine/Linux after Update (MainFunctions.cpp compatibility)

Open kacchathuranga99 opened this issue 7 months ago • 100 comments

Following the recent mandatory update, the client fails to launch on Linux via Wine/Bottles, triggering an "Integrity Violation" error. This occurs across multiple Wine runners (Soda, Caffe, Wine-GE) that were previously functional. Thank You Image

Steps to reproduce

Launch MTA:SA on Linux (Wine/Bottles).

The game successfully reaches the Main Menu.

After 2–5 seconds, the game freezes/hangs.

The game process closes automatically.

"Integrity Violation" error dialog appears.

Version

No response

Additional context

No response

Relevant log output


Security Policy

  • [x] I have read and understood the Security Policy and this issue is not security related.

kacchathuranga99 avatar Apr 09 '26 05:04 kacchathuranga99

This does not happen to me on my setup. This is most of the times caused by built-in/native selection of DLLs. For me, it was d3dx9_42 was native instead of builtin. Please, check your DLL overrides in winecfg. Ideally send screenshot here.

gamelaster avatar Apr 10 '26 11:04 gamelaster

This is most of the times caused by built-in/native selection of DLLs. For me, it was d3dx9_42 was native instead of builtin. Please, check your DLL overrides in winecfg.

I think this is different here. I don't have any special overrides set, only the default ones (I'm using bottles, caffe-9.7). When I add one, the game doesn't even start, I get instant integrity violation, CL29, I think that's what you are talking about. But with the newer nightly versions, it's different, you load into the game menu, and after a few seconds, it closes, but it the integrity violation window isn't the exact same.

Rilot06 avatar Apr 10 '26 12:04 Rilot06

@Rilot06 thanks for explanation. I did not encountered those on latest Wine ☹️

gamelaster avatar Apr 10 '26 12:04 gamelaster

Image

I also tried changing the default .dll override, but an error occurred before the main menu loaded. With the default settings, at least this loads the main menu, then it freezes and exits the game by giving error.. this all happened after that latest mandatory update

kacchathuranga99 avatar Apr 11 '26 04:04 kacchathuranga99

I also confirm, by Proton https://forum.multitheftauto.com/topic/147904-mta-on-proton-works-not-anymore/ .

jebez1 avatar Apr 11 '26 06:04 jebez1

I had the same integrity violation error - game launched, menu shows, then freeze and error. I then tried to create a brand new bottle, used profile Custom, selected 32 architecture, caffe-9.7. And then installed gta and mta version 24060 and it just works.

Main differences when looking at backup of configuration between the working and not working:

  • Arch: win32 instead of win64
  • Environment: Custom instead of Gaming
  • External Programs: {} empty
  • Installed dependencies: no d3dx9, msls31, d2dcompiler_43 and _47, mono, gecko
  • NVAPI: dxvk-nvapi-v0.9.1 vs v0.9.0
  • decorated: false
  • discrete_gpu: false
  • dxvk: false
  • mouse_wrap: false
  • sync: wine
  • vkd3d: false

Can someone try the configuration below to see if that helps?

config backup yml
Arch: win32
CompatData: ''
Creation_Date: '2026-04-18 13:53:50.827161'
Custom_Path: false
DLL_Overrides: {}
DXVK: dxvk-2.7.1-7-21eb344
Environment: Custom
Environment_Variables: {}
External_Programs: {}
Inherited_Environment_Variables:
  - DBUS_SESSION_BUS_ADDRESS
  - DISPLAY
  - HOME
  - LANG
  - LC_ALL
  - LC_CTYPE
  - LC_MESSAGES
  - PATH
  - PULSE_SERVER
  - TERM
  - TZ
  - USER
  - WAYLAND_DISPLAY
  - XAUTHORITY
  - XDG_RUNTIME_DIR
Installed_Dependencies:
  - andale32
  - arial32
  - arialb32
  - comic32
  - courie32
  - georgi32
  - impact32
  - tahoma32
  - times32
  - trebuc32
  - verdan32
  - webdin32
  - allfonts
Language: sys
LatencyFleX: latencyflex-v0.1.1
Limit_System_Environment: true
NVAPI: dxvk-nvapi-v0.9.1
Name: mta-28-04-2026-nightly
Parameters:
  custom_dpi: 96
  decorated: false
  discrete_gpu: false
  dxvk: false
  dxvk_nvapi: false
  fixme_logs: false
  fsr: false
  fsr_sharpening_strength: 8
  fullscreen_capture: false
  gamemode: false
  gamescope: false
  gamescope_borderless: false
  gamescope_custom_options: ''
  gamescope_fps: 0
  gamescope_fps_no_focus: 0
  gamescope_fullscreen: true
  gamescope_game_height: 0
  gamescope_game_width: 0
  gamescope_scaling: false
  gamescope_window_height: 0
  gamescope_window_width: 0
  latencyflex: false
  mangohud: false
  mangohud_display_on_game_start: true
  mouse_warp: false
  obsvkc: false
  pulseaudio_latency: false
  renderer: gl
  sandbox: false
  sync: wine
  take_focus: false
  use_be_runtime: true
  use_eac_runtime: true
  use_runtime: false
  use_steam_runtime: false
  versioning_automatic: false
  versioning_compression: false
  versioning_exclusion_patterns: false
  virtual_desktop: false
  virtual_desktop_res: 1280x720
  vkbasalt: false
  vkd3d: false
  vmtouch: false
  vmtouch_cache_cwd: false
  wayland: false
  winebridge: false
Path: mta-28-04-2026-nightly
Registry_Rules: []
Runner: caffe-9.7
RunnerPath: ''
Sandbox:
  share_net: false
  share_sound: false
State: 0
Uninstallers: {}
Update_Date: '2026-04-18 14:15:35.754130'
VKD3D: vkd3d-proton-3.0
Versioning: false
Versioning_Exclusion_Patterns: []
Windows: win10
Winebridge: false
WorkingDir: ''
data: {}
run_in_terminal: false
session_arguments: ''

Desovsky avatar Apr 21 '26 07:04 Desovsky

Not you read my link above? It's because of the new anti-cheat.

jebez1 avatar Apr 21 '26 10:04 jebez1

Ok? And I'm saying that I got it to work, so there's still a way to play and I'd like for someone to try this out as well to check if this is a working solution/workaround or was I just lucky.

Desovsky avatar Apr 21 '26 12:04 Desovsky

Indeed - it did work, with just plain MTA installed on 32win bottle, soda/caffe + allfonts, but now it does not work anymore, i didn't do anything to the installation/folders/settings - same as it was a few days ago, but now it just crashes again same way.

29380482390 avatar Apr 23 '26 17:04 29380482390

yml bottles config works, so atleast mta is playable. I used the build from mta's website and then server i connected to asked me to upgrade. But this should be fixed properly.

skajmer avatar Apr 25 '26 12:04 skajmer

Bottles does not work for me, even with the yml provided above, tested a 2 week old build (because of the reply above) and latest but all crash with the integrity violation. I was able to play MTA just fine in the past on proton without bottles setup etc.

update: integrity violation is resolved for me with latest build on wine, without bottles. but still persists with proton

meowette avatar May 01 '26 14:05 meowette

Strangely here, it doesn't work for me on Windows - when I try to join the server, with "CSRW" gamemode launched, and try to skip the motd message, game instantly crashes with this message

Image

I removed all models, ASI files, etc.: that I had - in my GTA:SA. Never had this problem before, and this script is only causing that. Any ideas? Uploaded this particular gamemode to Github so you can check it out https://github.com/AlfredoAnonym/csrw

This script worked at the beginning of the year, without no problems. It is outdated, but it worked. I'm clueless what is the issue here, as installing other scripts won't cause that problem.

AlfredoAnonym avatar May 11 '26 03:05 AlfredoAnonym

Strangely here, it doesn't work for me on Windows - when I try to join the server, with "CSRW" gamemode launched, and try to skip the motd message, game instantly crashes with this message

Image I removed all models, ASI files, etc.: that I had - in my GTA:SA. Never had this problem before, and this script is only causing that. Any ideas? Uploaded this particular gamemode to Github so you can check it out https://github.com/AlfredoAnonym/csrw

This script worked at the beginning of the year, without no problems. It is outdated, but it worked. I'm clueless what is the issue here, as installing other scripts won't cause that problem.

And this anti-cheat error is also bothering me. I'm not inactive in map editor, or in my private server - yet it still kicks me. The most annoying thing is, that I can't re-join the server afterwards, but I need to restart it..

Image

If picture somehow gets lost:

Disconnected [CD46] Disconnected: You were kicked by (AC #95 - HB Timeout)

It happens on a private server, but still it's an annoying bug. And I know I can turn off the anticheat, but I always keep it on because I simply never had that problem.

AlfredoAnonym avatar May 15 '26 07:05 AlfredoAnonym

It is not happening only on Linux, it's happening on Windows too. There's mass reports flooding in from many players in the Help forum on Discord. This needs to be addressed asap.

moon91210 avatar May 15 '26 16:05 moon91210

It is not happening only on Linux, it's happening on Windows too. There's mass reports flooding in from many players in the Help forum on Discord. This needs to be addressed asap.

Confirming that, was watching an video from my friend, from MTA - and people complained how awful it become with these problems, and it was pretty recent...

AlfredoAnonym avatar May 16 '26 03:05 AlfredoAnonym

And now it doesn't work with the yml config too, it's completely broken. Will somebody fix this at some point?

skajmer avatar May 21 '26 11:05 skajmer

Linux support for client has always been a best-effort basis. We do plan to address this, but we simply have bigger things on our plate right now.

Let's also try not turn this thread/issue into a "me too, pls fix" chain.

Lpsd avatar May 21 '26 12:05 Lpsd

Let's also try not turn this thread/issue into a "me too, pls fix" chain.

Dutchman said the Linux playerbase is too small to care about. Now it's a problem too if people want to show that more and more people are playing on Linux and have issues? If you're never going to even try fixing it (like the serial validation), just say that

Rilot06 avatar May 21 '26 23:05 Rilot06

Dutchman said the Linux playerbase is too small to care about.

I didn't say that. What i said is that Linux support is on a best-effort basis, as it's not officially supported by MTA. I recently also said that an AC compatibility review (for Linux; the source of this issue) is set to take place later this month, but you need to remember we're volunteers with our own priorities and time, so when it comes to unsupported platforms it is exactly that: on a best-effort basis, worked on whenever we feel like it & have some spare time outside of MTA's operational priorities.

Dutchman101 avatar May 22 '26 03:05 Dutchman101

I didn't say that.

"Globally, we have less than 100 Linux users" "We won't sacrifise the fight against cheaters to accomodate for niche uses, like Linux" I can't really interpret this in another way, but alright, not trying to make a fight here, it's just a pretty shit situation that even to develop scripts on a LOCAL SERVER, I have to downgrade the game constantly and force the server to use an old min client version.

Rilot06 avatar May 22 '26 14:05 Rilot06