title: OpenCl: Minimal configuration to work with AMD GPU
body: <p>Suppose we have AMD GPU (for example Radeon HD 7970) and minimal linux system without X and etc.</p>
  
  <p>What should be installed and what should be launched and how it should be launched to have proper OpenCL environment? In best case it should be headless environment.</p>
  
  <p>Requirements to environment:</p>
  
  <ol>
  <li>GPU visible by OpenCL programs (<code>clinfo</code> for example)</li>
  <li>It is possible to monitor temperature and set fan speed (for example using <code>aticonfig</code>).</li>
  </ol>
  
  <p>P.S. Simple install Xserver, catalyst and run <code>X :0</code> won't work properly. See <a href="https://unix.stackexchange.com/questions/87626/x-server-with-fglrx-driver-wont-responce-after-exactly-49-accesses-to-x-server">X server with fglrx driver won't responce after exactly 49 accesses to X server</a></p>
  
  <p><strong>UPD</strong> When you use AMD GPU on linux, OpenCL applications don't see AMD GPU if Xserver isn't launched.</p>