I have a few problems (refer to messages below) with launching third party scientific softwares (e.g. coot, pymol or chimera).
I use the coot binary (0.9.5). Chimera is 1.14 build 42018. Ubuntu 20.04.2 LTS Gnome. I use the pymol-open-source from Github
Graphic card: VGA compatible controller: Intel Corporation UHD Graphics 620 (Whiskey Lake)
Model: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz
It seems that there are some problems with iris and swrast (please refer the message below).
I always get this message for chimera:
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)
libGL error: failed to load driver: iris
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)
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)
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: 152 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 890
Current serial number in output stream: 891
I got this message for pymol:
Qt not available, using GLUT/Tk interface
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)
libGL error: failed to load driver: iris
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)
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)
libGL error: failed to load driver: swrast
freeglut Unable to create OpenGL 1.0 context (flags 0, profile 0)
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 50
Current serial number in output stream: 51
PyMOL: abrupt program termination.
Thanks for the help.
lsmod | grep
drm rm_kms_helper 184320 1 i915
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
drm 491520 9 drm_kms_helper,i915
$ glxinfo | grep Vendor
Vendor: Intel Open Source Technology Center (0x8086)
$ lshw -C video
WARNING: you should run this program as super-user.
*-display
description: VGA compatible controller
product: UHD Graphics 620 (Whiskey Lake)
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:150 memory:9b000000-9bffffff memory:50000000-5fffffff ioport:3000(size=64)
memory:c0000-dffff
$ vainfo
libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_7
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.7 (libva 2.6.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 ()
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
when executing a python script, I get this after generating a figure:
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 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
I dont know how to fix it, i have searched for information but have found nothing to help me
asked May 4, 2022 at 9:02
2
Here are two possible solutions. Try them both and see what works.
Solution 1
Follow the instructions in this answer.
Solution 2
If you are using Anaconda to run this Python script, Anaconda may be the reason. This solution was taken from here (update 3), which in turn was taken from here.
From the latter link:
According to online information, there is a problem with the libstdc++.so file in Anaconda (I use this commercial python distribution). It cannot be associated with the driver of the system, so we removed it and used the libstdc++ that comes with Linux. so creates a soft link there.
To solve this problem, run this in bash:
$ cd /home/$USER/miniconda/lib
$ mkdir backup # Create a new folder to keep the original libstdc++
$ mv libstd* backup # Put all libstdc++ files into the folder, including soft links
$ cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6 ./ # Copy the c++ dynamic link library of the system here
$ ln -s libstdc++.so.6 libstdc++.so
$ ln -s libstdc++.so.6 libstdc++.so.6.0.19
where $USER should be your own username.
answered May 29, 2022 at 22:27
mhdadkmhdadk
3852 silver badges10 bronze badges
3
This worked for me:
mv ~/anaconda3/lib/libstdc++.so.6 ~/libstdc++.so.6
answered Aug 23, 2022 at 15:05
ZeatherZeather
512 silver badges4 bronze badges
1
Today, I upgraded my linux ubuntu OS and the open GL has started to misbehave. When I run matlab from the terminal, the following error messages shows up in the terminal:
libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: swrast
Gtk-Message: 19:01:01.023: Failed to load module «canberra-gtk-module»
libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: swrast
In addition, when matlab opens, i get the following error messages in MATLAB prompt:
com.jogamp.opengl.GLException: X11GLXDrawableFactory — Could not initialize shared resources for X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x0, owner false, ResourceToolkitLock[obj 0x21f25922, isOwner false, <7e533fff, 73c0ad7a>[count 0, qsz 0, owner <NULL>]]]
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:326)
at jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:297)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.jogamp.opengl.GLException: AWT-EventQueue-0-SharedResourceRunner: Unable to create temp OpenGL context(1)
at jogamp.opengl.x11.glx.X11GLXContext.createImpl(X11GLXContext.java:368)
at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:759)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:642)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:580)
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:297)
…
For this reason, the figures are poorly rendered.
Any help please?
Hey all. I recently got a new laptop and am having some problems with the graphics card.
I am running XFCE 4.16 with the 6.0.11-arch1-1 kernel. I have the 12th Gen Intel i7-12650H with Intel Alder Lake-P GT1 [UHD Graphics] and an NVIDIA GeForce RTX 3050 Mobile GPUs and 32 GB of RAM. I wanted to tests the capabilities of the integrated Intel GPU before installing the nvidia drivers. So I ran glxgears and here is the error I am getting
glxgears
error: Kernel is too old for Iris. Consider upgrading to kernel v4.16.
libGL error: glx: failed to create dri3 screen
libGL error: failed to load driver: iris
error: Kernel is too old for Iris. Consider upgrading to kernel v4.16.
libGL error: glx: failed to create dri2 screen
libGL error: failed to load driver: iris
I tried to check what the OpenGl Renderer is and here is what I get
glxinfo | grep "OpenGL renderer"
OpenGL renderer string: llvmpipe (LLVM 14.0.6, 256 bits)
At first I thought that this may be because I do not have some installed package, so I ran a check
Here are the packages I have installed as of posting this:
pacman -Q | grep -iE '(nvidia|mesa|intel|cuda|vulkan|vdpau)'
intel-gmmlib 22.1.4-2
intel-media-driver 22.4.4-2
intel-ucode 20221108-1
intellij-idea-community-edition 4:2022.3-1
lib32-libva-intel-driver 2.4.1-1
lib32-libva-mesa-driver 22.2.3-1
lib32-libvdpau 1.5-1
lib32-mesa 22.2.3-1
lib32-mesa-demos 8.5.0-1
lib32-mesa-utils 8.5.0-1
lib32-mesa-vdpau 22.2.3-1
lib32-vulkan-icd-loader 1.3.235-1
lib32-vulkan-intel 22.2.3-1
lib32-vulkan-mesa-layers 22.2.3-1
libva-intel-driver 2.4.1-2
libva-mesa-driver 22.2.3-1
libvdpau 1.5-1
mesa 22.2.3-1
mesa-demos 8.5.0-2
mesa-utils 8.5.0-2
mesa-vdpau 22.2.3-1
vdpauinfo 1.5-1
vulkan-headers 1:1.3.235-1
vulkan-icd-loader 1.3.235-1
vulkan-intel 22.2.3-1
vulkan-mesa-layers 22.2.3-1
vulkan-tools 1.3.226-1
xf86-video-intel 1:2.99.917+916+g31486f40-2
I also double checked to see if I have the proper files within the
and the
directories (as well as their 32bit counterparts), the output bellow is identical to both and it appears to be correct:
-rwxr-xr-x 1 root root 7.8M Mar 6 2022 i965_drv_video.so
-rwxr-xr-x 1 root root 32M Aug 23 01:38 iHD_drv_video.so
-rwxr-xr-x 12 root root 25M Nov 8 19:19 zink_dri.so
-rwxr-xr-x 12 root root 25M Nov 8 19:19 vmwgfx_dri.so
-rwxr-xr-x 12 root root 25M Nov 8 19:19 virtio_gpu_dri.so
-rwxr-xr-x 12 root root 25M Nov 8 19:19 swrast_dri.so
-rwxr-xr-x 4 root root 12M Nov 8 19:19 radeonsi_drv_video.so
-rwxr-xr-x 12 root root 25M Nov 8 19:19 radeonsi_dri.so
-rwxr-xr-x 4 root root 12M Nov 8 19:19 r600_drv_video.so
-rwxr-xr-x 12 root root 25M Nov 8 19:19 r600_dri.so
-rwxr-xr-x 12 root root 25M Nov 8 19:19 r300_dri.so
-rwxr-xr-x 4 root root 12M Nov 8 19:19 nouveau_drv_video.so
-rwxr-xr-x 12 root root 25M Nov 8 19:19 nouveau_dri.so
-rwxr-xr-x 12 root root 25M Nov 8 19:19 kms_swrast_dri.so
-rwxr-xr-x 12 root root 25M Nov 8 19:19 iris_dri.so
-rwxr-xr-x 4 root root 12M Nov 8 19:19 d3d12_drv_video.so
-rwxr-xr-x 12 root root 25M Nov 8 19:19 d3d12_dri.so
-rwxr-xr-x 12 root root 25M Nov 8 19:19 crocus_dri.so
I then made sure that I have the correct modules in use via lsmod
lsmod | grep -iE '(iris|965|915|nouveau)'
snd_timer 49152 3 snd_seq,snd_hrtimer,snd_pcm
i915 3149824 4
nouveau 2752512 1
drm_ttm_helper 16384 1 nouveau
drm_buddy 20480 1 i915
mxm_wmi 16384 1 nouveau
intel_gtt 28672 1 i915
drm_display_helper 180224 2 i915,nouveau
cec 81920 2 drm_display_helper,i915
ttm 94208 3 drm_ttm_helper,i915,nouveau
i8042 49152 1 ideapad_laptop
wmi 45056 4 wmi_bmof,ideapad_laptop,mxm_wmi,nouveau
video 65536 3 ideapad_laptop,i915,nouveau
From this it would seem that the i915 driver is loaded and in use. Looking at the relevant lspci output seems to confirm this
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-P GT1 [UHD Graphics] [8086:46a3] (rev 0c)
Subsystem: Lenovo Device [17aa:3af6]
Kernel driver in use: i915
Kernel modules: i915
0000:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA107M [GeForce RTX 3050 Mobile] [10de:25a2] (rev a1)
Subsystem: Lenovo Device [17aa:3af6]
Kernel driver in use: nouveau
Kernel modules: nouveau
So I then tried to run the glxgears with the following option
MESA_LOADER_DRIVER_OVERRIDE=i915 glxgears
libGL error: MESA-LOADER: failed to open i915: /usr/lib/dri/i915_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: i915
libGL error: MESA-LOADER: failed to open i915: /usr/lib/dri/i915_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: i915
24014 frames in 5.0 seconds = 4802.632 FPS
MESA_LOADER_DRIVER_OVERRIDE=i915 glxinfo | grep "OpenGL renderer"
libGL error: MESA-LOADER: failed to open i915: /usr/lib/dri/i915_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: i915
libGL error: MESA-LOADER: failed to open i915: /usr/lib/dri/i915_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: i915
MESA_LOADER_DRIVER_OVERRIDE=i915 glxinfo -B | grep "OpenGL"
libGL error: MESA-LOADER: failed to open i915: /usr/lib/dri/i915_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: i915
libGL error: MESA-LOADER: failed to open i915: /usr/lib/dri/i915_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: i915
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 14.0.6, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 22.2.3
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.5 (Compatibility Profile) Mesa 22.2.3
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.2.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
Still no luck in getting the proper render driver in use. The next thing I tried was to preload the paths via
LIBGL_DRIVERS_PATH=/usr/lib/dri LD_LIBRARY_PATH=/usr/lib/dri MESA_LOADER_DRIVER_OVERRIDE=i915
, however I still get the same results as above. I also checked the
and it is empty. Tried to remove the xf86-video-intel package and I was still getting the same results, so I reinstalled it. Then I thought that there may be some hints within the
, Here is the output filtered via grep
cat /var/log/Xorg.0.log | grep -iE '(iris|965|915|nouveau|mode)'
[ 7.553] (==) Matched nouveau as autoconfigured driver 1
[ 7.553] (==) Matched modesetting as autoconfigured driver 3
[ 7.554] (II) LoadModule: "nouveau"
[ 7.555] (WW) Warning, couldn't open module nouveau
[ 7.555] (EE) Failed to load module "nouveau" (module does not exist, 0)
[ 7.555] (II) LoadModule: "modesetting"
[ 7.555] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 7.556] (II) Module modesetting: vendor="X.Org Foundation"
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
[ 7.556] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 7.556] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 7.556] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 7.562] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20201103
[ 7.562] (WW) Falling back to old probe method for modesetting
[ 7.562] (II) modeset(G0): using drv /dev/dri/card1
[ 7.563] (--) intel(0): Output eDP1 using initial mode 1920x1200 on pipe 0
[ 7.564] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[ 7.564] (==) modeset(G0): RGB weight 888
[ 7.564] (==) modeset(G0): Default visual is TrueColor
[ 7.713] (II) modeset(G0): Refusing to try glamor on llvmpipe
[ 7.714] (II) modeset(G0): glamor initialization failed
[ 7.714] (II) modeset(G0): ShadowFB: preferred YES, enabled YES
[ 7.714] (II) modeset(G0): Double-buffered shadow updates: off
[ 7.715] (II) modeset(G0): Output HDMI-1-1 has no monitor section
[ 7.717] (II) modeset(G0): EDID for output HDMI-1-1
[ 7.717] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[ 7.717] (==) modeset(G0): DPI set to (96, 96)
[ 7.718] (II) intel(0): [DRI2] DRI driver: i965
[ 7.718] (==) modeset(G0): Backing store enabled
[ 7.718] (==) modeset(G0): Silken mouse enabled
[ 7.718] (II) modeset(G0): Initializing kms color map for depth 24, 8 bpc.
[ 7.718] (==) modeset(G0): DPMS enabled
[ 7.720] (EE) AIGLX error: dlopen of /usr/lib/dri/i965_dri.so failed (/usr/lib/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[ 7.720] (EE) AIGLX error: unable to load driver i965
[ 7.721] (II) Initializing extension XFree86-VidModeExtension
[ 7.722] (II) modeset(G0): Damage tracking initialized
[ 7.723] (II) intel(0): switch to mode 1920x1200@165.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[ 9.721] (II) intel(0): Printing DDC gathered Modelines:
[ 9.721] (II) intel(0): Modeline "1920x1200"x0.0 445.82 1920 1968 2000 2080 1200 1203 1209 1299 -hsync -vsync (214.3 kHz eP)
Even here it would appear that everything gets loaded correctly, if I am reading it right.
I also checked to see if there are any environment variables set within
and with
and the environment file seems to be empty and
does not have anything in it that jumps out at me.
Finally I checked to see if there are any modules being insert in the kernel when using
and here is what config file looks like for modules
I honestly have no idea what else I could even look at or how to fix this. If anyone is able to offer any advice, it will be greatly appreciated.
Also, sorry for the long post but I wanted to make sure that I provided all relevant information.
Last edited by trardokont (2022-12-08 16:52:05)
I’m running the following code in the python console
import pygame
pygame.init()
Here is the output from the terminal
libGL error: MESA-LOADER: failed to open iris: /home/souvik/anaconda3/envs/game_env/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/iris_dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris: /home/souvik/anaconda3/envs/game_env/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/iris_dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /home/souvik/anaconda3/envs/game_env/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/swrast_dri.so) (search paths /usr/lib/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: 152 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 99
Current serial number in output stream: 100
I’ve just installed Manjaro Linux «5.10.42-1-MANJARO».
I’m guessing there’s some driver error for openGL or something. I’d like to know how to resolve this issue.
asked Jun 23, 2021 at 15:10
3
I had the same issue with `GLIBCXX_3.4.29' not found.
- First you should check if you can see
GLIBCXX_3.4.29in your conda lib:strings ~/miniconda3/lib/libstdc++.so.6 | grep GLIBCXX_3.4.2 - If not you should check if it exists in your systems lib:
strings /lib/libstdc++.so.6 | grep GLIBCXX_3.4.2 - If this shows the version you can simply copy the file from the
/libto theminiconda3/libwith:copy /lib/libstdc++.so.6 ~/miniconda3/lib/but also check where the
libfolder is located in yourminicondaenvironment!
AdminBee
20.8k18 gold badges47 silver badges69 bronze badges
answered Jul 14, 2021 at 8:45
2
|
# (отредактировано 1 год, 6 месяцев назад) |
|
|
Темы: 132 Сообщения: 978 Участник с: 11 октября 2013 |
Есть немного аппимаджей, которые я использую. В качестве резерва-эталона (реализации) в случае необходимости (и пр., пр., пр.) среди немногих https://github.com/FreeCAD/FreeCAD/releases и (или ) https://github.com/realthunder/FreeCAD_assembly3/releases/tag/0.11 апимадж freecad. Но вот внезапно возникла необходимость воспользоваться и облом-с. Да, скачивается, да, запускается. Но при попытке отркыть файл взлетает процессор и навсегда. Но не виснет. И ошибок не выдает. Или при попытке создания внутри программы новый файл (меню-файл-создать) — аналогичный взлет и навсегда. Очевидно, что какой-то из наших пакетов обновился и мешает жить.
Кто подскажет причину и решение? |
|
vs220 |
# |
|
Темы: 22 Сообщения: 8090 Участник с: 16 августа 2009 |
Надо запускать из консоли смотреть вывод, и когда жрет проц смотреть htop какой процесс жрет. Может из питона что то. Стандартный фрикад из реп вас не устраивает? |
|
wau |
# |
|
Темы: 132 Сообщения: 978 Участник с: 11 октября 2013 |
Стандартный — нет (линкстэйбл = да). Собранный из исходников линкстэйбл работает, но иногда бывает нужно (при выявлении косяков) запустить эталонную версию для описания проблемы разработчикам. Разумеется, htop и показывал кто жрет — процесс freecad. |
|
vs220 |
# |
|
Темы: 22 Сообщения: 8090 Участник с: 16 августа 2009 |
Попробовал запустить по вашим ссылкам , оба appimage нормально работают. Либы системные частично используются.
Пакеты с этими либами Попробуйте распаковать appimage , проверить либы и потрейсить бинарник — может что то и будет видно.
По анализу процессов у vasek есть тема в блогах https://archlinux.org.ru/forum/topic/19282/ |
|
wau |
# (отредактировано 1 год, 6 месяцев назад) |
|
Темы: 132 Сообщения: 978 Участник с: 11 октября 2013 |
Спасибо за наводку. Распаковывать я уже раньше научился.
При запуске в консоли пишет —
после чего на экране окно программы, в котором все работает до попытки открыть файл или создать файл, после чего = взлет и тишина в консоли. Видеокарта у меня встроенная, ноутбучная, интел. Никогда ничего нвидовского не ставил. Стоят glibc 2.33-5, libstdc++5 3.3.6-7. Из системных либ использует —
|
|
vs220 |
# (отредактировано 1 год, 6 месяцев назад) |
|
Темы: 22 Сообщения: 8090 Участник с: 16 августа 2009 |
Это не то, у вас на 6 жалуется а это gcc-libs , пакет gcc-libs |
|
vs220 |
# |
|
Темы: 22 Сообщения: 8090 Участник с: 16 августа 2009 |
И вывод гляньте
И если встроенная либа используется то и для нее
|
|
wau |
# |
|
Темы: 132 Сообщения: 978 Участник с: 11 октября 2013 |
gcc-libs 11.1.0-1
и по strings /usr/lib/libstdc++.so.6 | grep GLIBCXX находится GLIBCXX_3.4.29 |
|
vs220 |
# (отредактировано 1 год, 6 месяцев назад) |
|
Темы: 22 Сообщения: 8090 Участник с: 16 августа 2009 |
А какая либа используется системная или встроенная ? Вывод
И на всякий случай проверить сам опенгл
|
|
wau |
# |
|
Темы: 132 Сообщения: 978 Участник с: 11 октября 2013 |
Все «не встроенные» поименовал выше —
|
