Summary: | x11-drivers/ati-drivers + x11-drivers/nvidia-drivers - libOpenCL.so.1 file collision | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bartosz Krzeszewski <bartek> |
Component: | [OLD] Unspecified | Assignee: | Luca Barbato <lu_zero> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ahbritto, cardoe, enrico.tagliavini, jer, spock, x11, xarthisius |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 372847 | ||
Bug Blocks: | 395521 |
Description
Bartosz Krzeszewski
2011-11-20 16:03:48 UTC
Hi Bartosz. Unluck at the moment it is not supported. That's why i added the opencl USE flag to ati-drivers, so you can avoid installing opencl runtime libraries and the file collision with nvidia-drivers. As soon as bug #372847 will be fixed i will adapt ati-drivers to use eselect opencl so you will be able to have as many opencl libraries as you wish :). Of course if you want to help developing/testing eselect opencl (see bug #372847 ) you are more then welcome. I leave the bug open waiting for the merge of eselect-opencl module in the main tree. Cheers Added a blocker to x11-drivers/ati-drivers Thank you, this nice idea didn't come to my mind :| Please change ebuilds to this: opencl? ( video_cards_nvidia? ( x11-drivers/nvidia-drivers >=dev-util/nvidia-cuda-toolkit-3.1 ) ) The real issue here is that both package install precompiled libs directly to /usr/lib. @ati/nvidia drivers maintainer Please start by installing libraries where they belong i.e. /opt or at least into some subdirectory of /usr/lib like it's done for OpenGL. Use symlink for now if you must or better envd file, until we have eselect working. (In reply to comment #5) > Please start by installing libraries where they belong i.e. /opt or at least > into some subdirectory of /usr/lib like it's done for OpenGL. Promising place used by Intel OpenCL is: /usr/$(get_libdir)/OpenCL/vendor/{ati,nvidia,intel} Please notice we would need to modify icd files to include full path. Having all implementations in common place would make eselecting dead easy. (In reply to comment #5) > @ati/nvidia drivers maintainer > > Please start by installing libraries where they belong i.e. /opt or at least > into some subdirectory of /usr/lib like it's done for OpenGL. Use symlink for > now if you must or better envd file, until we have eselect working. I've just uploaded a revision of ati-drivers to x11 overlay http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commitdiff;h=49a88849d73ae9790e55e628330ab78f0b55e7a0 Please take a look at it and request any additional change if needed :). I've used the /usr/$(get_libdir)/OpenCL/vendor/amd directory for the runtime libraries and an envd file as you suggested. *nvidia-drivers-290.10-r1 (04 Feb 2012) 04 Feb 2012; Kacper Kowalik <xarthisius@gentoo.org> +nvidia-drivers-290.10-r1.ebuild, metadata.xml: Add revbump that installs OpenCL related libraries in place that doesn't create conflicts and is expected by app-admin/eselect-opencl *ati-drivers-12.1-r1 (04 Feb 2012) 04 Feb 2012; Kacper Kowalik <xarthisius@gentoo.org> ati-drivers-12.1-r1.ebuild: Drop opencl use flag and install OpenCL unconditionally 04 Feb 2012; Kacper Kowalik <xarthisius@gentoo.org> +ati-drivers-12.1-r1.ebuild: Add revbump that installs OpenCL related libraries in place that doesn't create conflicts and is expected by app-admin/eselect-opencl. Env file and blocker against nvidia are no longer needed Thank you very very much! Just installed it. Works :D. Marking as FIXED |