-
Notifications
You must be signed in to change notification settings - Fork 220
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
libGL error Anaconda Navigator Launch Ubuntu 22.04 #12889
Comments
Did you try searching for the error? I did for the first line and found... "I just had same issue with Kiwix on Linux Mint and found your question. I was able to solve my issue reading: kiwix/kiwix-desktop#393. The issue I understood is that iris driver is configured on Ubuntu to be used by default on laptops whereas in my case on my old laptop graphic card supports older driver. So the solution/workaround is to set environmental variable before running the app in command prompt, like this: MESA_LOADER_DRIVER_OVERRIDE=i965 ./kiwix-deskop Hope that helps you too. P.S. in case you want to try to set this variable permanently and nothing else breaks, see: How to permanently set an environment variable" (some URL's in the text are missing above...copy/paste didn't keep them here) Using Linux requires the willingness to search out bugs/issues on your own. Often it's not immediately obvious who is at fault with an issue. Is it the base package mentioned in the error? The thing trying to use it? The distribution that didn't package everything up correctly? Etc... |
Facing the same driver issue. Looks like it's due to the GUI trying to use the GPU . Don't know how to fix this tho'. |
I'm also facing same issue. These are my errors WARNING linux_scaling.get_scaling_factor_using_dbus:44 libGL error: MESA-LOADER: failed to open radeonsi: /usr/lib/dri/radeonsi_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) |
I have the same problem. I am sure there is an easy fix. Just have to be patient. |
Problem still present with Anaconda 2.3.2 on Ubuntu Lunar (development) |
Please see my issue #13119 as the problem I was facing is the libstdc++ version shipped with Anaconda. It looks like issue can be revealed with C++ version symbols by using something like I found:
When running my app I see this:
Perhaps this is the cause of what you are seeing too? |
I am having a similar issue with Designer.
I was not having this issue a couple weeks ago. Since then, I have upgraded my linux kernel from 6.1.0 (I think) to 6.1.5. No other major changes from what I can remember. |
The issue persists on Ubuntu 23.10 with Anaconda 2023.09-0. The issue seems to be with the preinstalled libstdcxx-ng. At current the main channel has 11.2.0 and when the Anaconda Navigator is launched gives:
libstdcxx-ng on conda-forge is 13.2.0. Installation of it using:
When Anaconda Navigator is launched the error is removed and there is only a warning:
This works on Ubuntu 22.04 and 23.04. Hopefully Anaconda update libstdcxx-ng on main resolving this error. On Ubuntu 23.10 the terminal hangs at loading user... I've brought this up as another issue here #13278 |
Actual Behavior
Launching Anaconda Navigator and terminal displays warning and LibGL error:
(base) philip@pc2:~$ anaconda-navigator
2022-04-05 07:26:36,850 - WARNING linux_scaling.get_scaling_factor_using_dbus:44
Can't detect system scaling factor settings for primary monitor.
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
2022-04-05 07:26:54,218 - ERROR ads._log_errors:22
Tried to load advertisement image from https://optimise2.assets-servd.host/voracious-blesbok/production/api/navigator/Navigator-Commercialv6.png?w=315&auto=compress%2Cformat&fit=crop&dm=1643727003&s=77c3c1e618c897e6f1b9081f29103c53. Data is not fetched with status 522
Expected Behavior
Renaming the libstdc++.so, libstdc++.so.6 and libstdc++.so.6.0.28 to libstdc++.so.old, libstdc++.so.6.old and libstdc++.so.6.0.28.old in ~anaconda/lib and therefore forcing the use of operating system defaults removes the LibGL error however the warning remains:
(base) philip@pc2:~$ anaconda-navigator
2022-04-05 07:34:28,756 - WARNING linux_scaling.get_scaling_factor_using_dbus:44
Can't detect system scaling factor settings for primary monitor.
2022-04-05 07:34:45,512 - ERROR ads._log_errors:22
Tried to load advertisement image from https://optimise2.assets-servd.host/voracious-blesbok/production/api/navigator/Navigator-Commercialv6.png?w=315&auto=compress%2Cformat&fit=crop&dm=1643727003&s=77c3c1e618c897e6f1b9081f29103c53. Data is not fetched with status 522
Please release an update for Anaconda Navigator which includes updated versions of these files.
Steps to Reproduce
Install Anaconda on Ubuntu 22.04 LTS. Update Anaconda. Launch Anaconda Navigator using:
anaconda-navigator
Anaconda or Miniconda version:
Anaconda3-2021.11-Linux-x86_64.sh
Operating System:
Ubuntu 22.04 LTS
conda info
conda list --show-channel-urls
The text was updated successfully, but these errors were encountered: