Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

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

I'm looking to use OpenCL for Bitcoin mining. Obviously it is technologically possible to use a GPU and OpenCL without X; Windows machines do it all the time. I'm wondering if there is a way to use OpenCL on a graphics card on Linux or similar without installing/running X. About a year ago I read that this was not possible, but I figure that what I read may be incorrect and/or things may have changed in the last year.

Is it possible now? How can it be done? Would it provide any performance improvement (theoretical or actual) when mining Bitcoins?

share|improve this question

migrated from bitcoin.stackexchange.com Sep 4 '12 at 17:57

This question came from our site for Bitcoin crypto-currency enthusiasts.

Have you tried any OpenCL sdk yet, ATI's or Nvidia's – warl0ck Sep 6 '12 at 1:02
I, unfortunately, have not had a chance to try this on an actual computer yet. I was hoping to know more before then, but I may try soon. – Daniel H Sep 8 '12 at 1:43
If I rememmber correctly, AMD is working on opencl without X dependency, but at the moment, wokring Xorg session is needed for opencl calculations on graphics card. – UldisK Feb 5 '13 at 21:35

You can use xvfb. I used it to run a download client based on mono and some graphical stuff on a machine without graphics card and monitor.

share|improve this answer
I think you're answering the opposite question to the one being asked; he wants to access the graphics card without running X, while you are talking about running X without a graphics card. – itsbruce Oct 9 '12 at 0:27
Ok, in that case some links: CUDA(Nvidia) on Fedora and on Ubuntu. A link for AMD and Intel. Hope it helps... – max.haredoom Oct 9 '12 at 18:14

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.