Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 755986 - media-gfx/darktable-3.2.1-r2 segfaults with new media-libs/mesa-20.3.0_rc2
Summary: media-gfx/darktable-3.2.1-r2 segfaults with new media-libs/mesa-20.3.0_rc2
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-21 19:16 UTC by Anton Gubarkov
Modified: 2021-01-18 12:33 UTC (History)
1 user (show)

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


Attachments
segfault stack trace (darktable_bt_AG1MU0.txt,11.87 KB, text/plain)
2020-11-21 19:16 UTC, Anton Gubarkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Gubarkov 2020-11-21 19:16:28 UTC
Created attachment 674170 [details]
segfault stack trace

downgrading mesa to 20.2.2 restores normal work of the darktable
Comment 1 Anton Gubarkov 2020-11-21 19:20:29 UTC
segfault happens immediately after starting the app
Comment 2 Marek Szuba archtester gentoo-dev 2020-11-21 21:47:25 UTC
The stack trace you have posted shows you use libOpenCL provided by Nvidia, which is no longer supported by Gentoo. Please make sure you use libOpenCL from either dev-libs/ocl-icd or dev-libs/opencl-icd-loader, then try again and let us know if the problem persists.
Comment 3 Anton Gubarkov 2020-11-22 14:03:53 UTC
Thanks for pointing out.

I tried my best looking at https://wiki.gentoo.org/wiki/OpenCL to find a way to direct darktable to the /usr/lib64/libOpenCL.so that I have installed from the dev-libs/ocl-icd-2.2.12-r3 but I failed to grasp how I can control this behaviour.

Can you point me to the right direction? What changes should I do to my system to make it behave?
Comment 4 Marek Szuba archtester gentoo-dev 2020-12-03 15:18:32 UTC
Just make sure your system is up to date, the current versions of virtual/opencl automatically pull in one of the two ICD loaders and said loaders now install their libOpenCL.so directly into /usr/$(get_libdir).

Oh, and if the problem persists disable USE=opencl on Mesa - it seems you have got it on and I vaguely recall having seen some mention of ongoing work on extending OpenCL support in that library to more modern Nvidia GPUs.
Comment 5 Marek Szuba archtester gentoo-dev 2021-01-18 12:33:44 UTC
Closing due to lack of feedback for over a month.