steam-runtime
steam-runtime copied to clipboard
Hearts of Iron 4
Compatibility Report
- Name of the game with compatibility issues: Hearts of Iron 4
- Steam AppID of the game: 394360
System Information
- GPU: Intel® HD Graphics 5500 (BDW GT2)
- Video driver version: Mesa 24.2.3
- Kernel version: 6.8.0-51-generic
- Link to full system information report as Gist:
- Proton version: None
I confirm:
- [x] that I haven't found an existing compatibility report for this game.
- [x] that I have checked whether there are updates for my system available.
Symptoms
I've been trying to run the game with different versions of Proton, but only the native Linux version allows me to start the Launcher; But when I try to start the game I get the following error:
/home/user/snap/steam/common/.local/share/Steam/steamapps/common/Hearts of Iron IV/hoi4: error while loading shared libraries: libOpenGL.so.0: cannot open shared object file: No such file or directory
I've tried updating OpenGl but it says it is already updated. I'm using Ubuntu 24.04.
Reproduction
- Launcher starts
- Start the game with no mods
- Get an error message (exit code 127) with the forementioned error
Hello @D0B4R0V1CH, hoi4 is the Linux native variant of the game and Proton isn't involved, I've chosen to transfer this issue report to the steam-runtime issue tracker for a runtime dev to ponder, but this probably should be evaluated by the game's dev(s) instead.
It's unusual for native Linux games to use/require libOpenGL.so.0: it's more common for them to use libGL.so.1. If HOI 4 is one of the minority of games that use libOpenGL.so.0 then that might be a significant factor here.
I also notice that you're using Canonical's Snap packaging for Steam. This is not supported or recommended by Valve. One possibility is that the Snap app might not provide libOpenGL.so.0?
A detailed log from attempting to launch this game (with STEAM_LINUX_RUNTIME_LOG=1 and ideally also STEAM_LINUX_RUNTIME_VERBOSE=1`) would probably be useful. Please see: https://github.com/ValveSoftware/steam-runtime/blob/master/doc/reporting-steamlinuxruntime-bugs.md#essential-information
For what it's worth, the native Linux version of HOI 4 has been rated as Playable for the Steam Deck, so it can clearly work on Linux under at least some circumstances.