FS#46352 - [llvm] llvm 3.7.0+ crashes Mesa radeonsi (maybe not only) drivers

Attached to Project: Arch Linux
Opened by Maxim Sheviakov (mradermaxlol) - Saturday, 19 September 2015, 17:02 GMT
Last edited by Laurent Carlier (lordheavy) - Saturday, 19 September 2015, 18:09 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
LLVM 3.7.0+ crashes Mesa. Actually, installing llvm-libs >= 3.7.0 causes Mesa to fail loading radeonsi_dri.so and other radeon drivers + swrast.so, thus even display manager crashes on start.

Additional info:
package version - llvm and related packages (clang, lldb etc.) are 3.7.0-1 from testing repo. Multilib version also has this issues - lib32-clang, lib32-llvm and lib32-llvm-libs are 3.7.0-1. I am using Mesa 11.0.0 release built from source, but these errors occur with 10.6.7 and 10.6.6 too.
logs - glxinfo:
(begin)
name of display: :0
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 47
Current serial number in output stream: 46
(end)


Steps to reproduce:
1) Install mesa and some DE
2) Install llvm and all related stuff (llvm-libs, clang, clang-analyzer, clang-tools-extra + lib32-llvm, lib32-llvm-libs, lib32-clang)
3) Reboot your system
4) Enjoy the stop/error screen :)
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Saturday, 19 September 2015, 18:09 GMT
Reason for closing:  Not a bug
Additional comments about closing:  The only way to have proper packages, is to build them in a clean chroot.
Comment by Laurent Carlier (lordheavy) - Saturday, 19 September 2015, 17:53 GMT
Works for me with packages from testing:
OpenGL renderer string: Gallium 0.4 on AMD PITCAIRN (DRM 2.43.0, LLVM 3.7.0)
OpenGL core profile version string: 4.1 (Core Profile) Mesa 11.0.0
OpenGL core profile shading language version string: 4.10

Have you tried with packages from the testing repo instead of building them?
Comment by Maxim Sheviakov (mradermaxlol) - Saturday, 19 September 2015, 17:54 GMT
So someone confirms this one or what?
Comment by Maxim Sheviakov (mradermaxlol) - Saturday, 19 September 2015, 17:54 GMT
Trying now. Will report.
Comment by Maxim Sheviakov (mradermaxlol) - Saturday, 19 September 2015, 17:56 GMT
By the way, do you know the way to revert only mesa packages to extra in pacman?
Comment by Maxim Sheviakov (mradermaxlol) - Saturday, 19 September 2015, 17:57 GMT
Hmm, it works! Sorry for my report then, but... This thing happened only when I compiled llvm and/or mesa from source, maybe there's something wrong with the PKGBUILD/mesa config?
Comment by Laurent Carlier (lordheavy) - Saturday, 19 September 2015, 18:08 GMT
Please follow this https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot

It's the way all our packages are built.

Loading...