cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

yurtesen
Miniboss

Ubuntu 11.10 SDK 2.6 giving segmentation faults

Hello,

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?

Thanks,

Evren

0 Likes
1 Solution

Yes, login was working because the clinfo was not able to find GPU. (therefore no segmentation fault with CPU only).

I found my problem could have been a mixture of stuff..

First of all, after installing app sdk, maybe I should have re-installed catalyst to avoid segmentation fault?

http://devgurus.amd.com/message/1278575#1278575

When I installed catalyst, it installed libraries to /usr/lib64 for some reason and X stopped working altogether. I found out that the libraries were installed to /usr/lib64 which is wrong. I went ahead and removed everything.

Then I found this hint which suggests linking /usr/lib to /usr/lib64 in ubuntu

http://ubuntucomputing.blogspot.com/2012/01/amd-catalyst-121-driver-on-hp-pavilion.html

I have done the link and re-installed everything. It works!

View solution in original post

0 Likes
11 Replies