Hi Phil,
Thanks so much for the detailed response! I'll give this a try.
I see you enabled the rawhide repo, does this install a different driver
than from regular RPM Fusion?
What are the last two commands doing? Adding some needed OpenCL support?
On 2015-11-30 14:55, Phil Evans wrote:
> 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