Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to launch on Ubuntu 22.04 (Wayland) #377

Open
alexozer opened this issue Sep 4, 2022 · 3 comments
Open

Fails to launch on Ubuntu 22.04 (Wayland) #377

alexozer opened this issue Sep 4, 2022 · 3 comments

Comments

@alexozer
Copy link

alexozer commented Sep 4, 2022

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)

@vittorioromeo
Copy link
Owner

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.

@alexozer
Copy link
Author

alexozer commented Sep 5, 2022

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
Copy link
Author

alexozer commented Sep 5, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants