SSVOpenHexagon
SSVOpenHexagon copied to clipboard
Fails to launch on Ubuntu 22.04 (Wayland)
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)
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.
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?
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