Jump to content

[Linux/proton/wine] Crash on startup when loading webrtc


Recommended Posts

Posted

First of all, I know linux is not officially supported in any way, so do as little or as much as you want with this information :)

 

 

As of the latest patch (2.5.6.45317) trying to start the game through proton/wine on linux causes a crash after login before the game starts. The relevant portion of the log mentions the following:

 

020-03-20 17:56:33.183 INFO    UIBASERENDERER: Cannot load font [C:\windows\Fonts\Arial.ttf]!
2020-03-20 17:56:33.183 INFO    EDCORE: try to write dump information
2020-03-20 17:56:33.183 INFO    EDCORE: # -------------- 20200320-175634 --------------
2020-03-20 17:56:33.183 INFO    EDCORE: DCS/2.5.6.45317 (x86_64; Windows NT 5.2.3790)
2020-03-20 17:56:33.183 INFO    EDCORE: Z:\home\frans\.local\share\Steam\steamapps\common\DCSWorld\bin\DCS.exe
2020-03-20 17:56:33.183 INFO    EDCORE: # C0000005 ACCESS_VIOLATION at 407C9C1F 00:00000000
2020-03-20 17:56:34.053 INFO    EDCORE: SymInit: Symbol-SearchPath: '.;Z:\home\frans\.local\share\Steam\steamapps\common\DCSWorld;Z:\home\frans\.local\share\Steam\steamapps\common\DCSWorld\bin;C:\windows;C:\windows\system32;SRV*c:\websymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: 'steamuser'
2020-03-20 17:56:34.053 INFO    EDCORE: OS-Version: 5.2.3790 (Service Pack 2) 0x0-0x1
2020-03-20 17:56:36.100 INFO    EDCORE: 0x00000000007C9C1F (dcs): (function-name not available) + 0x0
2020-03-20 17:56:36.100 INFO    EDCORE: 0x00000000007BCD4D (dcs): (function-name not available) + 0x0
2020-03-20 17:56:37.132 INFO    EDCORE: Minidump created.

Editing the CoreMods/services/VoiceChat/entry.lua file to prevent loading the module, along with some other modifications works around the problem and makes the game start fine.

 

 

Further investigating the issue, I modified `bin/webrtc_plugin.dll` to return directly from the `CreatePlugin` which also made the game start fine. This makes me fairly certain that (at least one of the issues) is in that specific function.

 

 

It is possible that this issue actually appeared in the last two versions as well, but there logins were broken. I know for sure that the game worked in both 2.5.5 and the first 2.5.6 version at the very least. It happens on both standalone and the steam version, using proton 5.0 and lutris wine 5.2

 

 

 

If you're interested, you can see a more detailed list of steps we took in the proton github page https://github.com/ValveSoftware/Proton/issues/1722 which also shows that there are a few of us with an interest in the game running on linux.

 

 

If you want more info about this, i'll gladly provide it, and I hope you don't mind me poking around in the game internals :)

  • 2 months later...
Posted

If you have already installed Windows just delete the drive_c/windows/Fonts folder in your Wine/Proton Prefix and copy original Fonts folder from your Windows instalation folder to the prefix folder. I did the same and DCS finally loads F-16C.

Posted
First of all, I know linux is not officially supported in any way, so do as little or as much as you want with this information :)

 

 

As of the latest patch (2.5.6.45317) trying to start the game through proton/wine on linux causes a crash after login before the game starts. The relevant portion of the log mentions the following:

 

020-03-20 17:56:33.183 INFO    UIBASERENDERER: Cannot load font [C:\windows\Fonts\Arial.ttf]!
2020-03-20 17:56:33.183 INFO    EDCORE: try to write dump information
2020-03-20 17:56:33.183 INFO    EDCORE: # -------------- 20200320-175634 --------------
2020-03-20 17:56:33.183 INFO    EDCORE: DCS/2.5.6.45317 (x86_64; Windows NT 5.2.3790)
2020-03-20 17:56:33.183 INFO    EDCORE: Z:\home\frans\.local\share\Steam\steamapps\common\DCSWorld\bin\DCS.exe
2020-03-20 17:56:33.183 INFO    EDCORE: # C0000005 ACCESS_VIOLATION at 407C9C1F 00:00000000
2020-03-20 17:56:34.053 INFO    EDCORE: SymInit: Symbol-SearchPath: '.;Z:\home\frans\.local\share\Steam\steamapps\common\DCSWorld;Z:\home\frans\.local\share\Steam\steamapps\common\DCSWorld\bin;C:\windows;C:\windows\system32;SRV*c:\websymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: 'steamuser'
2020-03-20 17:56:34.053 INFO    EDCORE: OS-Version: 5.2.3790 (Service Pack 2) 0x0-0x1
2020-03-20 17:56:36.100 INFO    EDCORE: 0x00000000007C9C1F (dcs): (function-name not available) + 0x0
2020-03-20 17:56:36.100 INFO    EDCORE: 0x00000000007BCD4D (dcs): (function-name not available) + 0x0
2020-03-20 17:56:37.132 INFO    EDCORE: Minidump created.

Editing the CoreMods/services/VoiceChat/entry.lua file to prevent loading the module, along with some other modifications works around the problem and makes the game start fine.

 

 

Further investigating the issue, I modified `bin/webrtc_plugin.dll` to return directly from the `CreatePlugin` which also made the game start fine. This makes me fairly certain that (at least one of the issues) is in that specific function.

 

 

It is possible that this issue actually appeared in the last two versions as well, but there logins were broken. I know for sure that the game worked in both 2.5.5 and the first 2.5.6 version at the very least. It happens on both standalone and the steam version, using proton 5.0 and lutris wine 5.2

 

 

 

If you're interested, you can see a more detailed list of steps we took in the proton github page https://github.com/ValveSoftware/Proton/issues/1722 which also shows that there are a few of us with an interest in the game running on linux.

 

 

If you want more info about this, i'll gladly provide it, and I hope you don't mind me poking around in the game internals :)

I'm interested; does DCS run with Ubuntu ? Actually I'm using W10, as I have lots of other W10 apps, but DCS is one of my core games.

  • 2 months later...
Posted (edited)

Can confirm, this helps me get past the login screen crash, now it just opens to a larger black screen which i presume is supposed to be ingame, but then it complains that it can't load the voice chat plugin and refuses to start the game..

Edited by draika
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...