Summary: | media-libs/mesa - Nvidia OpenCL implementation not working anymore. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pablo Cholaky <waltercool> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | stefantalpalaru |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Pablo Cholaky
2018-06-23 08:21:37 UTC
I think the real problem is that because you cannot install mesa[opencl], you don't get opencl headers? (In reply to Matt Turner from comment #1) > I think the real problem is that because you cannot install mesa[opencl], > you don't get opencl headers? Yes, exactly, without opencl USE flag it doesn't appears, and I can't use it because is only enabled for radeonsi/r600. I had to locally modify the ebuild to support nvidia, and works fine. Also, without Mesa's OpenCL USE Flag, I miss a lot of applications with OpenCL, which already works perfectly with Nvidia binary driver. My petition is to get back OpenCL USE flag support for Nvidia driver also at Mesa ebuild. > Also, without Mesa's OpenCL USE Flag, I miss a lot of applications with OpenCL, which already works perfectly with Nvidia binary driver.
Re-emerge eselect-opencl-1.1.0-r4 and it will symlink the right headers under "/usr/include/CL". You might have to manually remove some old, broken symlink in there.
(In reply to Ștefan Talpalaru from comment #3) > > Also, without Mesa's OpenCL USE Flag, I miss a lot of applications with OpenCL, which already works perfectly with Nvidia binary driver. > > Re-emerge eselect-opencl-1.1.0-r4 and it will symlink the right headers > under "/usr/include/CL". You might have to manually remove some old, broken > symlink in there. Many thanks. It works perfectly. I can confirm this as solved. Still a broken symlink at ../../lib64/OpenCL/vendors/mesa/include/CL/cl.hpp under /usr/include/CL/ , but seems to work. |