Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I try to install the package pyopencl, it pulls in Nvidia stuff (nvidia-current, I think). This appears to install without problems, but then messes up my OpenGL-related things. I thought a big part of the appeal of OpenCL is that it's .. open, not tied to Nvidia.

Is there a (hopefully easy) way to install and use PyOpenCL without pulling in Nvidia stuff, or (more importantly / precisely) without breaking my OpenGL setup? I realize that I'll see little in the way of performance advantages of OpenCL this way, but I want it for development, anyway.

Running Ubuntu 12.04, Intel 965GM integrated graphics.

share|improve this question
This might be worth bringing up with the Ubuntu maintainers. I've just checked myself to confirm this. Trusty only wants to pull the Nvidia ICD and not the drivers so it looks like someone has noticed an issue, it just hasn't been fixed in Precise. – Ken Sharp Dec 21 '14 at 2:55

Neither OpenCL nor PyOpenCL require any GPU at all. Try this howto for setup instructions.

share|improve this answer
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – fossfreedom Sep 30 '13 at 17:46
That's what I thought. Thanks for the link (and for all your work). // I may use that link, but - this being AskUbuntu - I was hoping for an Ubuntu-specific answer. IDK why the default package pulls in the Nvidia stuff. (It would be nice if the maint would change that.) I was hoping for something like "You can install the package and uninstall the nvidia part and it works fine" or "Download and manually unpack it, then run the __ script" or "Here's an alternate ppa". Sure, maybe the 'real' way is easy enough, but this is Ubuntu - home of the really lazy (and/or new-to-linux). – hunter2 Oct 4 '13 at 4:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.