SSVOpenHexagon icon indicating copy to clipboard operation
SSVOpenHexagon copied to clipboard

Fails to launch on Ubuntu 22.04 (Wayland)

Open alexozer opened this issue 2 years ago • 3 comments

I get this crash when launching on Ubuntu 22.04 Wayland. Game was installed via Steam.

[Steam]                               Initializing Steam API
[S_API] SteamAPI_Init(): Loaded '/home/alex/.steam/debian-installation/linux64/steamclient.so' OK.
Setting breakpad minidump AppID = 1358090
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561198934588117 [API loaded no]
[Steam]                               Steam API successfully initialized
[Steam]                               User Steam ID: '76561198934588117'
[Steam]                               Successfully requested stats and achievements
[Discord]                             Failed to initialize core
[::loadConfig]                        loading config
[hg::Config::root()]                  No suitable config file found, using defaults
[::reapplyResolution]                 reapplying resolution
libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
Failed to create an OpenGL context for this window
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  149 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  52
  Current serial number in output stream:  53
~/.steam/debian-installation/steamapps/common/Op

lspci graphics card: 00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)

alexozer avatar Sep 04 '22 01:09 alexozer

Hello, what are your computer specs? What's your GPU? Do you have the latest drivers installed?

As a workaround, please consider playing Open Hexagon under Proton or Wine, it should work fine.

vittorioromeo avatar Sep 05 '22 05:09 vittorioromeo

So it's an i7-1260P laptop with integrated Intel graphics (Iris Xe). It's an Ubuntu 22.04 LTS install so I assume I have the right drivers installed. In fact, it seems like I have iris_dri.so at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so instead of /usr/lib/dri/iris_dri.so. Maybe that's related?

alexozer avatar Sep 05 '22 12:09 alexozer

This workaround works: LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6 ~/.steam/debian-installation/steamapps/common/Open\ Hexagon/SSVOpenHexagonLinux

Related: https://stackoverflow.com/questions/71010343/cannot-load-swrast-and-iris-drivers-in-fedora-35

alexozer avatar Sep 05 '22 13:09 alexozer