Libgl error mesa loader failed to open iris

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....

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

ALbertittor's user avatar

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

mhdadk's user avatar

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

Zeather's user avatar

ZeatherZeather

512 silver badges4 bronze badges

1

#
1 год, 6 месяцев назад

(отредактировано

1 год, 6 месяцев назад)

Темы:

132

Сообщения:

978

Участник с: 11 октября 2013

Есть немного аппимаджей, которые я использую. В качестве резерва-эталона (реализации) в случае необходимости (и пр., пр., пр.) среди немногих https://github.com/FreeCAD/FreeCAD/releases и (или ) https://github.com/realthunder/FreeCAD_assembly3/releases/tag/0.11 апимадж freecad. Но вот внезапно возникла необходимость воспользоваться и облом-с. Да, скачивается, да, запускается. Но при попытке отркыть файл взлетает процессор и навсегда. Но не виснет. И ошибок не выдает. Или при попытке создания внутри программы новый файл (меню-файл-создать) — аналогичный взлет и навсегда. Очевидно, что какой-то из наших пакетов обновился и мешает жить.

Кто подскажет причину и решение?

vs220

#
1 год, 6 месяцев назад

Темы:

22

Сообщения:

8090

Участник с: 16 августа 2009

Надо запускать из консоли смотреть вывод, и когда жрет проц смотреть htop какой процесс жрет. Может из питона что то.
Стандартный фрикад из реп вас не устраивает?

wau

#
1 год, 6 месяцев назад

Темы:

132

Сообщения:

978

Участник с: 11 октября 2013

Стандартный — нет (линкстэйбл = да). Собранный из исходников линкстэйбл работает, но иногда бывает нужно (при выявлении косяков) запустить эталонную версию для описания проблемы разработчикам.
Разумеется, htop и показывал кто жрет — процесс freecad.

vs220

#
1 год, 6 месяцев назад

Темы:

22

Сообщения:

8090

Участник с: 16 августа 2009

Попробовал запустить по вашим ссылкам , оба appimage нормально работают.
Либы системные частично используются.

[[email protected] tmp]$  ldd '/tmp/squashfs-root/usr/bin/freecad' |grep -v squashfs-root
	linux-vdso.so.1 (0x00007ffcbadda000)
	/usr/${LIB}/libgtk3-nocsd.so.0 => /usr/lib/libgtk3-nocsd.so.0 (0x00007f9ed1cab000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007f9ece7c3000)
	libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f9ece7bc000)
	libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f9ece79b000)
	libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f9ece592000)
	libm.so.6 => /usr/lib/libm.so.6 (0x00007f9ecde07000)
	/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f9ed1cc0000)
	libutil.so.1 => /usr/lib/libutil.so.1 (0x00007f9ecde00000)
	librt.so.1 => /usr/lib/librt.so.1 (0x00007f9ecddf5000)
	libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007f9ecbb4f000)
	libGLX.so.0 => /usr/lib/libGLX.so.0 (0x00007f9ecbb1c000)

Пакеты с этими либами
glibc 2.33-5
libglvnd 1.3.3-1 и соответственно нвидиевский опенгл из nvidia-utils у меня

Попробуйте распаковать appimage , проверить либы и потрейсить бинарник — может что то и будет видно.

mkdir /home/ваш_юзер/testapp
cd  /home/ваш_юзер/testapp
'/home/где_находится/FreeCAD_0.19-24291-Linux-Conda_glibc2.12-x86_64.AppImage'  --appimage-extract
ldd ./squashfs-root/usr/bin/freecad
#вывести терминал перед глазами и
strace ./squashfs-root/usr/bin/freecad

По анализу процессов у vasek есть тема в блогах https://archlinux.org.ru/forum/topic/19282/

wau

#
1 год, 6 месяцев назад

(отредактировано

1 год, 6 месяцев назад)

Темы:

132

Сообщения:

978

Участник с: 11 октября 2013

Спасибо за наводку. Распаковывать я уже раньше научился.

При запуске в консоли пишет —

libGL error: MESA-LOADER: failed to open iris: /home/memfis/yaourt-tmp-memfis/app/squashfs-root/usr/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/memfis/yaourt-tmp-memfis/app/squashfs-root/usr/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/memfis/yaourt-tmp-memfis/app/squashfs-root/usr/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
Fontconfig error: Cannot load default config file

после чего на экране окно программы, в котором все работает до попытки открыть файл или создать файл, после чего = взлет и тишина в консоли. Видеокарта у меня встроенная, ноутбучная, интел. Никогда ничего нвидовского не ставил.

Стоят glibc 2.33-5, libstdc++5 3.3.6-7.

Из системных либ использует —


linux-vdso.so.1
libc.so.6 => /usr/lib/libc.so.6
libpthread.so.0 => /usr/lib/libpthread.so.0
libm.so.6 => /usr/lib/libm.so.6
libGL.so.1 => /usr/lib/libGL.so.1
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f636b310000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f6367453000)
libutil.so.1 => /usr/lib/libutil.so.1 (0x00007f636744e000)
librt.so.1 => /usr/lib/librt.so.1 (0x00007f6367443000)
libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007f636519d000)
libGLX.so.0 => /usr/lib/libGLX.so.0 (0x00007f636516a000)

vs220

#
1 год, 6 месяцев назад

(отредактировано

1 год, 6 месяцев назад)

Темы:

22

Сообщения:

8090

Участник с: 16 августа 2009

wau
libstdc++5

Это не то, у вас на 6 жалуется а это gcc-libs , пакет gcc-libs
Гляньте используется ли встроенная реализация libstdc++.so.6 либы или системная, я сейчас не за компом.
Если встроенная , можно попробовать заменить на системную (ссылкой)

vs220

#
1 год, 6 месяцев назад

Темы:

22

Сообщения:

8090

Участник с: 16 августа 2009

И вывод гляньте

strings /usr/lib/libstdc++.so.6 | grep GLIBCXX

И если встроенная либа используется то и для нее

strings /путь/libstdc++.so.6 | grep GLIBCXX

wau

#
1 год, 6 месяцев назад

Темы:

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 месяцев назад

(отредактировано

1 год, 6 месяцев назад)

Темы:

22

Сообщения:

8090

Участник с: 16 августа 2009

А какая либа используется системная или встроенная ?
Вывод

ldd /путь до бинарника|grep libstdc  

И на всякий случай проверить сам опенгл

LIBGL_DEBUG=verbose glxgears

wau

#
1 год, 6 месяцев назад

Темы:

132

Сообщения:

978

Участник с: 11 октября 2013

Все «не встроенные» поименовал выше —


linux-vdso.so.1
libc.so.6 => /usr/lib/libc.so.6
libpthread.so.0 => /usr/lib/libpthread.so.0
libm.so.6 => /usr/lib/libm.so.6
libGL.so.1 => /usr/lib/libGL.so.1
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f636b310000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f6367453000)
libutil.so.1 => /usr/lib/libutil.so.1 (0x00007f636744e000)
librt.so.1 => /usr/lib/librt.so.1 (0x00007f6367443000)
libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007f636519d000)
libGLX.so.0 => /usr/lib/libGLX.so.0 (0x00007f636516a000)

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?

View previous topic :: View next topic   Author Message pablo_supertux
Advocate
Advocate

Joined: 25 Jan 2004
Posts: 2895
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Wed May 11, 2022 9:28 pm    Post subject: LibGl fails to load iris Reply with quote

Hi

I do once a week a world update, so my system is up-to-date. I realized that some when I start some programs from the terminal, I get this error/warning message:

Code:

libGL error: MESA-LOADER: failed to open iris: /usr/lib64/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri)

libGL error: failed to load driver: iris

libGL error: MESA-LOADER: failed to open iris: /usr/lib64/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri)

libGL error: failed to load driver: iris

This error message is new, I don’t know since when it appears. But it seems that everything is working fine anyway.

Which package provides the file /usr/lib64/dri/iris_dri.so and why might I me missing it?
_________________
A! Elbereth Gilthoniel!

silivren penna míriel

o menel aglar elenath,

Gilthoniel, A! Elbereth!

Last edited by pablo_supertux on Thu May 12, 2022 7:31 am; edited 1 time in total

Back to top pablo_supertux
Advocate
Advocate

Joined: 25 Jan 2004
Posts: 2895
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Wed May 11, 2022 9:58 pm    Post subject: Reply with quote

Something is strange.

Code:

$ lspci -k

00:02.0 VGA compatible controller: Intel Corporation CometLake-S GT2 [UHD Graphics 630] (rev 05)

   DeviceName: Onboard — Video

   Subsystem: ASUSTeK Computer Inc. CometLake-S GT2 [UHD Graphics 630]

   Kernel driver in use: i915



01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)

   Subsystem: Gigabyte Technology Co., Ltd GV-N105TOC-4GD

   Kernel driver in use: nouveau

In /etc/portage/make.conf I have: VIDEO_CARDS=»nouveau vesa fbdev i915 i965″

Code:

eix media-libs/mesa

[I] media-libs/mesa

     Available versions:  21.3.8^t 22.0.3^t ~22.1.0_rc4^t **9999*l^t {+X +classic d3d9 debug +egl +gallium +gbm gles1 +gles2 +llvm lm-sensors opencl osmesa +proprietary-codecs selinux test unwind vaapi valgrind vdpau vulkan vulkan-overlay wayland xa xvmc zink +zstd ABI_MIPS=»n32 n64 o32″ ABI_S390=»32 64″ ABI_X86=»32 64 x32″ CPU_FLAGS_X86=»sse2″ VIDEO_CARDS=»crocus freedreno i915 i965 intel iris lima nouveau panfrost r100 r200 r300 r600 radeon radeonsi v3d vc4 virgl vivante vmware»}

     Installed versions:  22.0.3^t(03:24:44 PM 05/08/2022)(X gles2 llvm zstd -d3d9 -debug -gles1 -lm-sensors -opencl -osmesa -selinux -test -unwind -vaapi -valgrind -vdpau -vulkan -vulkan-overlay -wayland -xa -xvmc -zink ABI_MIPS=»-n32 -n64 -o32″ ABI_S390=»-32 -64″ ABI_X86=»32 64 -x32″ CPU_FLAGS_X86=»sse2″ VIDEO_CARDS=»nouveau -freedreno -intel -lima -panfrost -r300 -r600 -radeon -radeonsi -v3d -vc4 -virgl -vivante -vmware»)

     Homepage:            https://www.mesa3d.org/ https://mesa.freedesktop.org/

     Description:         OpenGL-like graphic library for Linux

The first line of eix that shows the available versions shows i915 and iris in the list of video cards. But when I do emerge media-libs/mesa -pv these do not appear:

Code:

$ emerge media-libs/mesa -pv

These are the packages that would be merged, in order:

Calculating dependencies… done!

[ebuild   R    ] media-libs/mesa-22.0.3::gentoo  USE=»X gles2 llvm zstd -d3d9 -debug -gles1 -lm-sensors -opencl -osmesa (-selinux) -test -unwind -vaapi -valgrind -vdpau -vulkan -vulkan-overlay -wayland -xa -xvmc -zink» ABI_X86=»32 (64) (-x32)» CPU_FLAGS_X86=»sse2″ VIDEO_CARDS=»nouveau (-freedreno) -intel (-lima) (-panfrost) -r300 -r600 -radeon -radeonsi (-v3d) (-vc4) -virgl (-vivante) -vmware» 0 KiB

what am I missing?
_________________
A! Elbereth Gilthoniel!

silivren penna míriel

o menel aglar elenath,

Gilthoniel, A! Elbereth!

Back to top alamahant
Advocate
Advocate

Joined: 23 Mar 2019
Posts: 3304

Back to top pablo_supertux
Advocate
Advocate

Joined: 25 Jan 2004
Posts: 2895
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Wed May 11, 2022 11:37 pm    Post subject: Reply with quote

@alamahant: thanks for the suggestion.

I was also inspecting the ebuilds and I think the ebuild dropped the i915 and iris drivers:

/usr/portage/media-libs/mesa/mesa-21.3.8.ebuild on line 29

Code:

VIDEO_CARDS=»${RADEON_CARDS} crocus freedreno i915 i965 intel iris lima nouveau panfrost v3d vc4 virgl vivante vmware»

/usr/portage/media-libs/mesa/mesa-22.0.3.ebuild on line 30

Code:

VIDEO_CARDS=»${RADEON_CARDS} freedreno intel lima nouveau panfrost v3d vc4 virgl vivante vmware»

and I have currently installed media-libs/mesa-22.0.3 that would explain why there is no i915 option. The question is whether this is intentional or a mistake in the ebuild.
_________________
A! Elbereth Gilthoniel!

silivren penna míriel

o menel aglar elenath,

Gilthoniel, A! Elbereth!

Back to top alamahant
Advocate
Advocate

Joined: 23 Mar 2019
Posts: 3304

Back to top pablo_supertux
Advocate
Advocate

Joined: 25 Jan 2004
Posts: 2895
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Wed May 11, 2022 11:50 pm    Post subject: Reply with quote

So, a question about the names of the drivers.

The kernel module for intel integrated cards is called i915 (lspci says this module is being used), I have a i7-10700K CPU (10gen?), so based on https://wiki.gentoo.org/wiki/Intel I should set (as you suggested) intel i965 iris. The name of the drivers for x11 is not i915 but i965 or iris (in my case), right? Why the different names?
_________________
A! Elbereth Gilthoniel!

silivren penna míriel

o menel aglar elenath,

Gilthoniel, A! Elbereth!

Back to top pablo_supertux
Advocate
Advocate

Joined: 25 Jan 2004
Posts: 2895
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Wed May 11, 2022 11:54 pm    Post subject: Reply with quote

alamahant wrote:
Quote:

and I have currently installed media-libs/mesa-22.0.3 that would explain why there is no i915 option. The question is whether this is intentional or a mistake in the ebuild.



Intentional.

Ithing they need to streamline the drivers and not having to specify individual little drivers separately.

That seems to be the case. I set my VIDEO_CARDS as you suggested, recompiled media-libs/mesa and now I have the iris_dri.so file, libgl is not complaining anymore and my web browser renders maps way more smoother. Thanks for the suggestion.
_________________
A! Elbereth Gilthoniel!

silivren penna míriel

o menel aglar elenath,

Gilthoniel, A! Elbereth!

Back to top

Display posts from previous:   

I’m trying to run an app on Fedora 33, but when I run the executable, I get this error:

error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib64/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib64/dri)
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  149 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  52
  Current serial number in output stream:  51

I tried following the thread here: https://www.reddit.com/r/Fedora/comments/hhytvl/libgl_error_mesaloader_failed_to_open_iris/ but haven’t gotten anything to work

Note that the driver iris_dri.so is present in both /usr/lib/dri and /usr/lib64/dri

Any help is appreciated, thanks in advance!

Vojtech Trefny's user avatar

asked Nov 23, 2020 at 15:53

SClark's user avatar

I ran into the same warning (but the iris part only) on my Gentoo Linux system. In my case, the solution was to reinstall the mesa package with support for iris video cards. Apparently, the «Intel iRISx graphics» sticker on my laptop would have suggested that, had I been sufficiently knowledgeable to recognise it.

I don’t know what the equivalent is for fedora systems, but something along the same lines (an iris option for the mesa package?; a separate iris package?) should fix your case as well.

answered Jan 30, 2022 at 10:20

AstroFloyd's user avatar

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Libgl error failed to load driver iris
  • Libgl error failed to create dri screen
  • Libgcov profiling error
  • Libdvbpsi error psi decoder
  • Libdl so 2 error adding symbols dso missing from command line

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии