10 Replies Latest reply on Jan 13, 2010 1:30 PM by Tasp

    Ubuntu 9.10 CPU working, GPU not



      First of all I need to run


      export DISPLAY=[my IP]:0

      or all samples will end with a segfault!

      With DISPLAY set I got it working for CPU devices, but I also have a HD4850 and I get a


      ERROR: clCreateContextFromType(-1)

      when trying to create a context.

      -1 probably is CL_DEVICE_NOT_FOUND.

      Additionally fglrxinfo only works with DISPLAY=:0


      $ fglrxinfo

      Error: unable to open display (null)

      $ export DISPLAY=:0
      $ fglrxinfo
      display: :0.0  screen: 0
      OpenGL vendor string: ATI Technologies Inc.
      OpenGL renderer string: ATI Radeon HD 4800 Series
      OpenGL version string: 3.2.9239

      The fglrx driver is setup properly.


      $ glxgears
      46713 frames in 5.0 seconds

      Any suggestions?