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

Lots of errors when running AppImage #105

Open
fultonm opened this issue Dec 10, 2021 · 4 comments
Open

Lots of errors when running AppImage #105

fultonm opened this issue Dec 10, 2021 · 4 comments

Comments

@fultonm
Copy link

fultonm commented Dec 10, 2021

Maybe a more detailed installation section is needed?

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
libGL error: MESA-LOADER: failed to open iris: /tmp/.mount_VirtScWp3UyZ/usr/share/virtscreen/env/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib64/dri/iris_dri.so) (search paths /usr/lib64/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /tmp/.mount_VirtScWp3UyZ/usr/share/virtscreen/env/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib64/dri/swrast_dri.so) (search paths /usr/lib64/dri, suffix _dri)
libGL error: failed to load driver: swrast

Fedora 35

@fultonm fultonm changed the title Lots of errors on initial load Lots of errors when running AppImage Dec 10, 2021
@treasuretron
Copy link

same issues on Fedora 34 for me

@follower
Copy link

follower commented Apr 1, 2022

Does VirtScreen still run properly for you after displaying those errors?

As I understand it, partially translating this error message, this means:

libGL error: MESA-LOADER: failed to open iris: /tmp/.mount_VirtScWp3UyZ/usr/share/virtscreen/env/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib64/dri/iris_dri.so) (search paths /usr/lib64/dri, suffix _dri)

  1. the OpenGL loader program tried & failed to open a DRI "driver" named "iris" which is a shared library (contained in a file named /usr/lib64/dri/iris_dri.so).
  2. It failed to load the shared library because that shared library depends on a version (3.4.29) of libstdc++.so which could not be found.

So, that probably means either:

  • The shared library search path isn't set up correctly; or,
  • The AppImage was created on a OS version more recent than your own & wasn't configured to include the correct version of the shared library within the AppImage.

Given that the driver file (/usr/lib64/dri/iris_dri.so) seems to be located on your system, not within the AppImage, but it's trying to load /tmp/.mount_VirtScWp3UyZ/usr/share/virtscreen/env/bin/../lib/libstdc++.so.6 which is on the AppImage, I think that might mean that the AppImage was created on an OS version older than yours.

I wonder if this is somewhat an AppImage packaging issue in regard to loading local drivers from within an AppImage application.

The swrast driver is a software rasterizer/renderer which can be used (slowly) instead of a GPU.

The iris driver is used to render with Intel integrated graphics: https://linuxreviews.org/Intel_Iris.

@follower
Copy link

follower commented Apr 1, 2022

While I can't test this workaround (because I'm in the opposite situation of running on an older system that does need the libstdc++ version included in the AppImage) a LD_PRELOAD workaround was what I was thinking might help & appears to do so:

Alternatively, you could possibly try extracting the contents of the AppImage & deleting the version of libstdc++ included within it (not your system version of it).

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

3 participants