You are not logged in.

#1 2012-11-19 14:59:14

warkus
Member
Registered: 2012-04-22
Posts: 7

OpenCL no nvidia device found after switch to systemd [solved]

Hello,

Today I wanted to test some openCL code however the platform (nvidia) does not return a device. The last time I programmed with openCL (before update to systemd) everything worked fine.
Then I tried to see the settings of the graphic card but the nvidia-settings could not be opened. My first guess is that I have made a mistake when I switched to systemd. Has anybody a clue?

graphic card: nvidia gtx 460m

Last edited by warkus (2012-12-10 15:16:09)

Offline

#2 2012-11-19 17:08:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: OpenCL no nvidia device found after switch to systemd [solved]

What's the output of 'nvidia-settings' when you run it from the terminal?
https://bugs.archlinux.org/task/32745

Offline

#3 2012-11-19 17:33:13

warkus
Member
Registered: 2012-04-22
Posts: 7

Re: OpenCL no nvidia device found after switch to systemd [solved]

karol wrote:

What's the output of 'nvidia-settings' when you run it from the terminal?
https://bugs.archlinux.org/task/32745

Exactly the same as in the bug report...

$nvidia-settings 
nvidia-settings: error while loading shared libraries: libpangox-1.0.so.0: cannot open shared object file: No such file or directory

Offline

#4 2012-11-19 17:37:45

warkus
Member
Registered: 2012-04-22
Posts: 7

Re: OpenCL no nvidia device found after switch to systemd [solved]

So I fixed the nvidia-settings bug, however this did not resolve the opencl device problem...

Offline

#5 2012-11-19 18:18:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: OpenCL no nvidia device found after switch to systemd [solved]

Do you have opencl-nvidia installed?

Offline

#6 2012-11-19 18:42:38

warkus
Member
Registered: 2012-04-22
Posts: 7

Re: OpenCL no nvidia device found after switch to systemd [solved]

Yes opencl-nvidia is installed, I can see the vendor int /etc/OpenCL/vendors and in the code I can query for the platform but it doesn't return a device. If I set the device type to CPU it returns the processor as usual.

Offline

#7 2012-11-20 15:38:20

kichawa
Member
Registered: 2008-07-15
Posts: 32

Re: OpenCL no nvidia device found after switch to systemd [solved]

You should install:

pacman  -S pangox-compat

Offline

Board footer

Powered by FluxBB