Hi all
Having used arch linux and opensuse for several years and having no
problem installing the nvidia proprietry drivers and enabling opencl
for darktable, I allways found it difficult to get opencl working on
fedora and not having it break after a kernel update. However I was
determined to crack it on fedora 23. I used the following method which
worked for my geforce 650ti card. And has survived the recent kernel
update.
There will probably be an easier way to do it, but nothing else worked
for me and not all the packages might be required but this did work
without tweaking anything else.
I am no expert but this is what I did if it helps. 

        
        
        


Nvidia
proprietry drivers. opencl packages and cuda install




After a clean install of fedora 23 enable free and nonfree rpmfusion repos

then install the kernel devel
package with


sudo
dnf install “kernel-devel-uname-r == $(uname -r)”








now add
rpm fusion non free rawhide repo and nvidia driver with


sudo
–enablerepo=rpmfusion-nonfree-rawhide install akmod-nvidia








sudo
reboot

        
        
        



su       enter root passwd then






dnf
install mesa-libOpenCL opencl-filesystem.noarch opencl-utils.x86_64
opencl-headers.noarch mesa-libOpenCL.i686 opencl-utils.i686
gromacs-opencl.x86_64








reboot

        
        
        



sudo
dnf install xorg-x11-drv-nvidia-cuda.x86_64








sudo
reboot








test
darktable for opencl and it should be working! well it is on my rigg
No guarantees but try it, after doing all your backups.
This uses the akmod driver which should rebuild on a kernel update,
kmod will not.
Regards Phil Evans






On Mon, 2015-11-30 at 13:03 -0700, Riley Brandt wrote:
> Has anyone managed to get OpenCL working with Nvidia drivers in
> Fedora 23?
> 
> I've tried the proprietary drivers from both RPM Fusion and the
> Negativo17 repos, without success. I've also installed the nvidia-
> modprobe package that I needed back when I was on Ubuntu, but that
> also didn't help.
> 
> Going through the OpenCL documentation, I haven't found any of the
> files talked about. In /etc/ there isn't OpenCL/vendors/nvidia.icd.
> In /dev/ there isn't nvidia0, nvidiactl and nvidia-uvm files. My
> output of darktable -d opencl (Nvidia GeForce GTX 760, Fedora 23) is:
> 
> [opencl_init] opencl related configuration options:
> [opencl_init] 
> [opencl_init] opencl: 1
> [opencl_init] opencl_library: ''
> [opencl_init] opencl_memory_requirement: 768
> [opencl_init] opencl_memory_headroom: 300
> [opencl_init] opencl_device_priority: '*/!0,*/*/*'
> [opencl_init] opencl_size_roundup: 16
> [opencl_init] opencl_async_pixelpipe: 0
> [opencl_init] opencl_synch_cache: 0
> [opencl_init] opencl_number_event_handles: 25
> [opencl_init] opencl_micro_nap: 1000
> [opencl_init] opencl_use_pinned_memory: 0
> [opencl_init] opencl_use_cpu_devices: 0
> [opencl_init] opencl_avoid_atomics: 0
> [opencl_init] opencl_omit_whitebalance: 0
> [opencl_init] 
> [opencl_init] could not find opencl runtime library 'libOpenCL'
> [opencl_init] could not find opencl runtime library 'libOpenCL.so'
> [opencl_init] could not find opencl runtime library 'libOpenCL.so.1'
> [opencl_init] no working opencl library found. Continue with opencl
> disabled
> [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
> [opencl_init] initial status of opencl enabled flag is OFF.
> 
> And ls -l /dev/nvidia*:
> crw-rw-rw-. 1 root root 195,   0 Nov 30 07:06 /dev/nvidia0
> crw-rw-rw-. 1 root root 195, 255 Nov 30 07:06 /dev/nvidiactl
> crw-rw-rw-. 1 root root 195, 254 Nov 30 07:06 /dev/nvidia-modeset
> 
> I am trying to switch to Fedora 23 from Ubuntu and this is the last
> problem I need to solve. Any help is appreciated.
> 
> Riley
> -------------------------------------------------------------------
> -----------
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for
> multiple OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
> _______________________________________________
> Darktable-users mailing list
> Darktable-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/darktable-users
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Darktable-users mailing list
Darktable-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-users

Reply via email to