I just installed AMD Catalyst 12.2 and SDK 2.6 on a fresh Ubuntu 11.10 installation and I am getting segmentation faults when running any OpenCL program, including samples and even clinfo when I run them from the terminal within X... They all give "Segmentation fault"
However when I connect to machine with ssh and set DISPLAY=:0 then they work fine. I tried to set the DISPLAY from the terminal also but it has no effect (besides it was probably set by default anyway). I also tried COMPUTE:=0 from terminal in X and I still get segmentation faults...
The kernel is:
Linux extremum-desktop 3.0.0-16-generic #29-Ubuntu SMP Tue Feb 14 12:48:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Does anybody know why this is happening? or any hints on what to look for?