Use OpenCL disabled?

AfterShot Pro General Questions & Getting Started Forum
Post Reply
imhotep
Posts: 23
Joined: Sat Jul 27, 2013 10:32 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit

Use OpenCL disabled?

Post by imhotep »

Hi Folks,

I just wanted to give the OpenCL accelleration a try. But I can't enable it. The check box just does not accept the click.

I am using Linux and a Nvidia Graphics Card.

Is there anything particular I have to do to get switch it on?

Regards,

Karsten
afx
Posts: 1675
Joined: Thu Jan 12, 2012 1:38 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Video Card: FirePro 4900
Monitor/Display Make & Model: NEC PA301w, ColorMunki
Location: München
Contact:

Re: Use OpenCL disabled?

Post by afx »

Looks like you do not have the needed drivers installed.
Are you using the drivers directly from Nvidia?

cheers
afx
Send bugs to the Monkey // AfterShot Kickstart Guide // sRGB clipping sucks and Adobe RGB is just as bad
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
imhotep
Posts: 23
Joined: Sat Jul 27, 2013 10:32 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit

Re: Use OpenCL disabled?

Post by imhotep »

Yes, I think I do.

Code: Select all

imhotep:~ # lspci -nnk | grep VGA -A2
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation NV44 [GeForce 7100 GS] [10de:016a] (rev a1)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:0340]
        Kernel driver in use: nvidia
afx
Posts: 1675
Joined: Thu Jan 12, 2012 1:38 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Video Card: FirePro 4900
Monitor/Display Make & Model: NEC PA301w, ColorMunki
Location: München
Contact:

Re: Use OpenCL disabled?

Post by afx »

Looks similar enough;-)

Code: Select all

$ lspci -nnk | grep VGA -A2
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF119M [Quadro NVS 4200M] [10de:1057] (rev a1)
	Subsystem: Lenovo Device [17aa:21cf]
	Kernel driver in use: nvidia
Do you have this:
/usr/lib32/libnvidia-compiler.so.331.38
(I found this lib comparing the lsof output of AS with and without OpenCL enabled)

Does the AS preferences screen show that you have an Nvidia card?

This is what I see in the AS log file:

Code: Select all

0.130: ****     Making CLManager
0.134: Got 1 platforms
0.134: OpenCL is enabled in low mem mode
0.134: platform 0xa4b9fc0 "NVIDIA Corporation" OpenCL Version: "OpenCL 1.1 CUDA 6.0.1"
0.134: device: 0xa3df360 "NVS 4200M"
0.172: ****** Device  "NVS 4200M" enabled
0.172:  LDS size 49152
0.172:  Compute units: 1
0.172:  Freqency: 1620
0.172:  Max work items: 1024
0.172:  Max work item sizes: 1024 1024 64
0.172:  Device OpenCL Version: OpenCL 1.1 CUDA
0.172:  Device OpenCL C Version: OpenCL C 1.1
0.172:  Device Memory: true
0.172:  Zero Copy: false
0.172: **************
0.172: ****** Device  "NVS 4200M" enabled
0.172:  LDS size 49152
0.172:  Compute units: 1
0.172:  Freqency: 1620
0.173:  Max work items: 1024
0.173:  Max work item sizes: 1024 1024 64
0.173:  Device OpenCL Version: OpenCL 1.1 CUDA
0.173:  Device OpenCL C Version: OpenCL C 1.1
0.173:  Device Memory: true
0.173:  Zero Copy: false
0.173: **************
cheers
afx
Send bugs to the Monkey // AfterShot Kickstart Guide // sRGB clipping sucks and Adobe RGB is just as bad
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
imhotep
Posts: 23
Joined: Sat Jul 27, 2013 10:32 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit

Re: Use OpenCL disabled?

Post by imhotep »

Well, it's a 64 Bit System. So there is a whole bunch of nvidia 64bit libraries:

Code: Select all

imhotep:~ # ls /usr/lib64/libnv*
/usr/lib64/libnvcore.so           /usr/lib64/libnvidia-cfg.so.1             /usr/lib64/libnvidia-ml.so          /usr/lib64/libnvidia-opencl.so.304.119  /usr/lib64/libnvimage.so
/usr/lib64/libnvcuvid.so          /usr/lib64/libnvidia-cfg.so.304.119       /usr/lib64/libnvidia-ml.so.1        /usr/lib64/libnvidia-tls.so.304.119     /usr/lib64/libnvmath.so
/usr/lib64/libnvcuvid.so.1        /usr/lib64/libnvidia-compiler.so.304.119  /usr/lib64/libnvidia-ml.so.304.119  /usr/lib64/libnvidia-wfb.so.1           /usr/lib64/libnvtt.so
/usr/lib64/libnvcuvid.so.304.119  /usr/lib64/libnvidia-glcore.so.304.119    /usr/lib64/libnvidia-opencl.so.1    /usr/lib64/libnvidia-wfb.so.304.119
But the OpenCL function seem to be disabled

Code: Select all

0.586: Build Mode:   Release 
0.586: Product Name: "AfterShot Pro" 
0.587: AfterShot Pro key used. 6 
0.587: Registered Version 
0.587: AfterShot Pro key used. 6 
0.587: Initializing 
0.588: Cpu Manager init: 8
0.588: ****     Making CLManager 
0.590: Got 0 platforms 
0.590: OpenCL is disabled in low mem mode 
0.590: "Could not select an OpenCL platform" 
0.591: ****     CLManager not initialized 
Any idea how to fix it?

Best regards,

Karsten
afx
Posts: 1675
Joined: Thu Jan 12, 2012 1:38 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Video Card: FirePro 4900
Monitor/Display Make & Model: NEC PA301w, ColorMunki
Location: München
Contact:

Re: Use OpenCL disabled?

Post by afx »

Who cares about the 64bit stuff?
AS is a 32bit app.

See the library I mentioned in my post.

cheers
afx
Send bugs to the Monkey // AfterShot Kickstart Guide // sRGB clipping sucks and Adobe RGB is just as bad
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
imhotep
Posts: 23
Joined: Sat Jul 27, 2013 10:32 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit

Re: Use OpenCL disabled?

Post by imhotep »

There is no /usr/lib32/ at all on my system.
I'll try to install the library. Let's see whether it conflicts with something else...

Regards,

Karsten
afx
Posts: 1675
Joined: Thu Jan 12, 2012 1:38 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Video Card: FirePro 4900
Monitor/Display Make & Model: NEC PA301w, ColorMunki
Location: München
Contact:

Re: Use OpenCL disabled?

Post by afx »

Hmm,
older Nvidia drivers hat a problem and did not contain the 32bit libs, but current drivers should have them.

cheers
afx
Send bugs to the Monkey // AfterShot Kickstart Guide // sRGB clipping sucks and Adobe RGB is just as bad
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
SteveCase
Posts: 71
Joined: Fri Jan 13, 2012 8:16 pm
operating_system: Windows 7 Professional
System_Drive: N/A
32bit or 64bit: 64 Bit
motherboard: ASRock 990FX Extreme4
processor: AMD FX-8350
ram: 16.0 GB
Video Card: GTX 550ti
Hard_Drive_Capacity: 4TB
Location: Seattle, WA

Re: Use OpenCL disabled?

Post by SteveCase »

Just a thought.... Looks like you use a GeForce 7100 GS. Could be this GPU is no longer supported?
From the nvidia site.

"Thus OpenGL 3.0/3.1/3.2/3.3 is not supported on NV3x, NV4x nor G7x hardware. "
Steve in Seattle,WA
afx
Posts: 1675
Joined: Thu Jan 12, 2012 1:38 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Video Card: FirePro 4900
Monitor/Display Make & Model: NEC PA301w, ColorMunki
Location: München
Contact:

Re: Use OpenCL disabled?

Post by afx »

Steve, your quote refers to a newer version of OpenGL, not OpenCL.

cheers
afx
Send bugs to the Monkey // AfterShot Kickstart Guide // sRGB clipping sucks and Adobe RGB is just as bad
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
imhotep
Posts: 23
Joined: Sat Jul 27, 2013 10:32 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit

Re: Use OpenCL disabled?

Post by imhotep »

Having solved some other issues I am back to this one.

However, there is no library "libnvidia-compiler.so.331.38" available in any of my repositories for the OpenSuSE 13.1 64bit.

Regards,

Karsten
afx
Posts: 1675
Joined: Thu Jan 12, 2012 1:38 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Video Card: FirePro 4900
Monitor/Display Make & Model: NEC PA301w, ColorMunki
Location: München
Contact:

Re: Use OpenCL disabled?

Post by afx »

You have to get it from Nvidia, not SuSE.

I just installed a brand new 14.04 Ubuntu and then Nvidia driver 331.67 on top of it and OpenCL is available.

cheers
afx
Send bugs to the Monkey // AfterShot Kickstart Guide // sRGB clipping sucks and Adobe RGB is just as bad
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
Post Reply