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

[BUG] Ubuntu 22.04 LTS errors (MESA and GLIBC) #146

Open
giancarloerra opened this issue Jul 9, 2022 · 3 comments
Open

[BUG] Ubuntu 22.04 LTS errors (MESA and GLIBC) #146

giancarloerra opened this issue Jul 9, 2022 · 3 comments

Comments

@giancarloerra
Copy link

I installed FS-UAE on Ubuntu 22.04 LTS.

When I try to launch, first I get this error:

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
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: 105
Current serial number in output stream: 106

This is weird because actually they are in the search path, specifically in /usr/lib/x86_64-linux-gnu/dri

Anyway if I create a soft alias /usr/lib/dri to /usr/lib/x86_64-linux-gnu/dri, I get a different error message:

libGL error: MESA-LOADER: failed to open iris: /home/giancarloerra/Applications/FS-UAE/FS-UAE-Launcher/Linux/x86-64/libstdc++.so.6: version GLIBCXX_3.4.30' not found (required by /lib/x86_64-linux-gnu/libLLVM-13.so.1) (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: /home/giancarloerra/Applications/FS-UAE/FS-UAE-Launcher/Linux/x86-64/libstdc++.so.6: version GLIBCXX_3.4.30' not found (required by /lib/x86_64-linux-gnu/libLLVM-13.so.1) (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
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: 105
Current serial number in output stream: 106
LaunchHandler.start is done

Any suggestion?

@giancarloerra
Copy link
Author

I solved renaming the libstc++ that was with fs-uae-launcher and creating in there a softlink to my own system libstsc++ that contained the .30 object, and it all worked.

As I did the same for the MESA libs, makes sense. Working perfectly now!

@FrodeSolheim
Copy link
Owner

I'm reopening the issue because it shouldn't be necessary to do this. Also moving to the fs-uae-launcher project since this error seems to be limited to FS-UAE Launcher.

@FrodeSolheim FrodeSolheim reopened this Jul 10, 2022
@FrodeSolheim FrodeSolheim transferred this issue from FrodeSolheim/fs-uae Jul 10, 2022
@FrodeSolheim
Copy link
Owner

The solution is probably to remove libstc++ from fs-uae-launcher

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