Logo Platform
Company of Heroes Legacy
Universe banner wording

[Linux]CoH2 crashes on launch

Reply
Copied to clipboard!
8 months ago
Apr 3, 2024, 5:20:11 PM

Synopsis:

So I'm trying to play CoH2 from Steam on linux and it never starts. I've looked into it a little and tried adjusting the launch options to address an overlay error and to see if it was trying to grab the iGPU over the dGPU. I also tried a couple of the Beta channel, but all of these didn't make a difference. The following are a collection of specs and logs (note I can not upload the .dmp file, but can email it to the devs):


System Specifications:

Computer Information:
Manufacturer: Framework
Model: FRANMZCP09
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 9 7940HS w/ Radeon 780M Graphics
CPU Family: 0x19
CPU Model: 0x74
CPU Stepping: 0x1
CPU Type: 0x0
Speed: 5263 MHz
16 logical processors
8 physical processors
Hyper-threading: Supported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Supported
SSE41: Supported
SSE42: Supported
AES: Supported
AVX: Supported
AVX2: Supported
AVX512F: Supported
AVX512PF: Unsupported
AVX512ER: Unsupported
AVX512CD: Supported
AVX512VNNI: Supported
SHA: Supported
CMPXCHG16B: Supported
LAHF/SAHF: Supported
PrefetchW: Unsupported
Operating System Version:
"Fedora Linux 39 (KDE Plasma)" (64 bit)
Kernel Name: Linux
Kernel Version: 6.7.10-200.fc39.x86_64
X Server Vendor: The X.Org Foundation
X Server Release: 12302004
X Window Manager: KWin
Steam Runtime Version: steam-runtime_0.20240304.79797
Video Card:
Driver: AMD AMD Radeon Graphics (radeonsi, gfx1103_r1, LLVM 17.0.6, DRM 3.57, 6.7.10-200.fc39.x86_64)
Driver Version: 4.6 (Compatibility Profile) Mesa 23.3.6
OpenGL Version: 4.6
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 164 Hz
VendorID: 0x1002
DeviceID: 0x15bf
Revision Not Detected
Number of Monitors: 1
Number of Logical Video Cards: 2
Primary Display Resolution: 2560 x 1600
Desktop Resolution: 2560 x 1600
Primary Display Size: 13.39" x 8.66" (15.91" diag), 34.0cm x 22.0cm (40.4cm diag)
Primary VRAM: 512 MB
Sound card:
Audio device: ATI R6xx HDMI
Memory:
RAM: 63478 Mb
VR Hardware:
VR Headset: None detected
Miscellaneous:
UI Language: English
LANG: en_US.UTF-8
Total Hard Disk Space Available: 952244 MB
Largest Free Hard Disk Block: 661186 MB
Storage:
Number of SSDs: 2
SSD sizes: 1000G,0B
Number of HDDs: 0
Number of removable drives: 0


Steam Output:

/bin/sh\0-c\0/home/omega/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=231430 -- /home/omega/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/omega/.local/share/Steam/steamapps/common/Company of Heroes 2/CompanyOfHeroes2.sh'\0

chdir "/home/omega/.local/share/Steam/steamapps/common/Company of Heroes 2"

ERROR: ld.so: object '/home/omega/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

ERROR: ld.so: object '/home/omega/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.

ERROR: ld.so: object '/home/omega/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

ERROR: ld.so: object '/home/omega/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

pid 14336 != 14335, skipping destruction (fork without exec?)

pid 14337 != 14335, skipping destruction (fork without exec?)

pid 14338 != 14335, skipping destruction (fork without exec?)

ERROR: ld.so: object '/home/omega/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

CompanyOfHeroes2: crash reporter initialised with path "/home/omega/.local/share/feral-interactive/CompanyOfHeroes2/crashes"

Setting breakpad minidump AppID = 231430

Steam_SetMinidumpSteamID:  Caching Steam ID:  76561197975583671 [API loaded no]

terminate called after throwing an instance of 'std::ios_base::failure'

  what():  basic_filebuf::underflow error reading the file

CompanyOfHeroes2: dumped to "/home/omega/.local/share/feral-interactive/CompanyOfHeroes2/crashes/6c55afec-e918-d62f-0e9e08b5-54d308c4.dmp"

CompanyOfHeroes2: crash reporter "/home/omega/.local/share/Steam/steamapps/common/Company of Heroes 2/bin/feral_linux_crash_reporter" launching

Game crashed, if possible email [support@feralinteractive.com] with the crash file [/home/omega/.local/share/feral-interactive/CompanyOfHeroes2/crashes/6c55afec-e918-d62f-0e9e08b5-54d308c4.dmp] and details

Game 231430 created interface STEAMAPPLIST_INTERFACE_VERSION001 / AppList

Game 231430 created interface STEAMAPPS_INTERFACE_VERSION007 / Apps

Game 231430 created interface STEAMHTMLSURFACE_INTERFACE_VERSION_003 / HTMLSurface

Game 231430 created interface STEAMHTTP_INTERFACE_VERSION002 / HTTP

Game 231430 created interface STEAMINVENTORY_INTERFACE_V001 / Inventory

Game 231430 created interface STEAMMUSICREMOTE_INTERFACE_VERSION001 / MusicRemote

Game 231430 created interface STEAMMUSIC_INTERFACE_VERSION001 / Music

Game 231430 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION013 / RemoteStorage

Game 231430 created interface STEAMSCREENSHOTS_INTERFACE_VERSION002 / Screenshots

Game 231430 created interface STEAMUGC_INTERFACE_VERSION007 / UGC

Game 231430 created interface STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 / UnifiedMessages

Game 231430 created interface STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats

Game 231430 created interface STEAMVIDEO_INTERFACE_V001 / Video

Game 231430 created interface SteamController003 / Controller

Game 231430 created interface SteamFriends015 / Friends

Game 231430 created interface SteamMatchMaking009 / Matchmaking

Game 231430 created interface SteamMatchMakingServers002 / MatchmakingServers

Game 231430 created interface SteamNetworking005 / Networking

Game 231430 created interface SteamUser018 / User

Game 231430 created interface SteamUtils007 / Utils

Game 231430 method call count for IClientUtils::RecordSteamInterfaceCreation : 20

Game 231430 method call count for IClientUtils::GetAppID : 21

Game 231430 method call count for IClientUser::GetSteamID : 1

Uploaded AppInterfaceStats to Steam


Launch Options Tested:

LD_PRELOAD=~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libpcre.so.3 %command%
LD_PRELOAD=~/.local/share/Steam/ubuntu12_64/steam-runtime-heavy/amd64/lib/x86_64-linux-gnu/libpcre.so.3 %command%
DRI_PRIME=1! DXVK_FILTER_DEVICE_NAME="AMD Radeon RX 7700S (RADV NAVI33)" %command%
Updated 8 months ago.
0
0
5 months ago
Jun 19, 2024, 5:17:39 PM

Fixed it by making these adjustments in Steam:


  1. Open the properties and in the "Launch Options" put: DRI_PRIME=1! DXVK_FILTER_DEVICE_NAME="Your dGPU" %command%
    You'll need to modify the above options and change the "1" in the DRI_PRIME=1! and "YOUR dGPU" in DXVK_FILTER_DEVICE_NAME="YOUR dGPU" to the correct GPU from the output of this command from the terminal: vulkaninfo | grep "GPU[0123]" -A 10

  2. Select the "Compatibility" Tab and enable the setting Force the use of a specific Steam Play compatibility tool and select Steam Linux Runtime 1.0 (scout)
Updated 5 months ago.
0
?

Click here to login

Reply
Comment
0