Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836864 - media-libs/mesa-22.0.1 - fails to run properly with clang: libLLVM-13.so: cannot open shared object file: No such file or directory
Summary: media-libs/mesa-22.0.1 - fails to run properly with clang: libLLVM-13.so: can...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2022-04-05 21:58 UTC by Michael Egger
Modified: 2023-09-29 01:56 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge_info (file_836864.txt,8.55 KB, text/plain)
2022-04-05 21:58 UTC, Michael Egger
Details
build.log (mesa-22.0.1-build.log.zip,201.62 KB, application/zip)
2022-04-05 22:08 UTC, Michael Egger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Egger 2022-04-05 21:58:37 UTC
Created attachment 768924 [details]
emerge_info

Starting with mesa 22.0.0 the clang built mesa drivers are reporting an issue that LLVM-13.so cannot be loaded.
As a result of this all games that require wine and dxvk cannot be started.

This can be always reproduced with LLVM 13 and 14, however this doesn't occur on mesa 21.x.y.
Compiling mesa 22.0.1 with gcc fixes this issue.


Relevant log lines:

cat .local/share/sddm/xorg-session.log
...
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib64/va/drivers/radeonsi_drv_video.so
libva error: dlopen of /usr/lib64/va/drivers/radeonsi_drv_video.so failed: libLLVM-13.so: cannot open shared object file: No such file or directory
libva info: va_openDriver() returns -1
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib64/va/drivers/radeonsi_drv_video.so
libva error: dlopen of /usr/lib64/va/drivers/radeonsi_drv_video.so failed: libLLVM-13.so: cannot open shared object file: No such file or directory
libva info: va_openDriver() returns -1
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib64/va/drivers/radeonsi_drv_video.so
libva error: dlopen of /usr/lib64/va/drivers/radeonsi_drv_video.so failed: libLLVM-13.so: cannot open shared object file: No such file or directory
libva info: va_openDriver() returns -1
libva info: VA-API version 1.14.0
...
Comment 1 Michael Egger 2022-04-05 22:08:59 UTC
Created attachment 768925 [details]
build.log
Comment 2 Michael Egger 2022-05-31 11:10:06 UTC
This seems to be no longer an issue with media-libs/mesa-22.1.0::gentoo and sys-devel/llvm-14.0.3::gentoo.

Games can be played normally again with wine and dxvk, not sure what the culprit is here, but setting NODEVICE_SELECT=1 helped as suggested on different Github issues. I'm not very involved with mesa, but it might be not a problem with mesa?


However the log can still be seen:
May 31 12:21:31 gentoo3 plasmashell[3121]: libva info: va_openDriver() returns -1
May 31 12:21:31 gentoo3 plasmashell[3121]: libva error: dlopen of /usr/lib64/va/drivers/radeonsi_drv_video.so failed: libLLVM-14.so: cannot open shared object file: No such file or directory
May 31 12:21:31 gentoo3 plasmashell[3121]: libva info: Trying to open /usr/lib64/va/drivers/radeonsi_drv_video.so
May 31 12:21:31 gentoo3 plasmashell[3121]: libva info: VA-API version 1.14.0

but the log lines seem to stem from firefox with experimental hardware acceleration enabled.