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?

  • 1
    Have you tried any OpenCL sdk yet, ATI's or Nvidia's
    – daisy
    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.

  • 1
    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... Oct 9 '12 at 18:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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