PhantomSDR Support Forum

General Category => PhantomSDR Software => Topic started by: Bas ON5HB on Sep 26, 2024, 03:57 PM

Title: Intel i5-6500T OpenCL installation.
Post by: Bas ON5HB on Sep 26, 2024, 03:57 PM
**** I do assume you have a minimal knowledge of the Command-prompt, else get HELP  ;) ****

First install Ubuntu 22.04, not a newer version as it will give troubles.

Second: apt install git clinfo intel-gpu-tools
Now goto this page:

https://github.com/intel/compute-runtime/releases

wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.17537.20/intel-igc-core_1.0.17537.20_amd64.deb
wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.17537.20/intel-igc-opencl_1.0.17537.20_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/24.35.30872.22/intel-level-zero-gpu-legacy1_1.3.30872.22_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/24.35.30872.22/intel-level-zero-gpu_1.3.30872.22_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/24.35.30872.22/intel-opencl-icd-legacy1_24.35.30872.22_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/24.35.30872.22/intel-opencl-icd_24.35.30872.22_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/24.35.30872.22/libigdgmm12_22.5.0_amd64.deb

Install them with apt install ./*.debInstall also apt install libclfft-dev

After installation run clinfo and the ouput should be something like this at the start:

Quoteroot@Intel-Elitedesk-Test:/opt/Intel-Opencl# clinfo
Number of platforms                               1
  Platform Name                                   Intel(R) OpenCL Graphics
  Platform Vendor                                 Intel(R) Corporation
  Platform Version                                OpenCL 3.0
  Platform Profile                                FULL_PROFILE

Now goto the Phantom+ page here:

https://github.com/Steven9101/PhantomSDR-Plus

Follow the instructions....

During the running of install.sh, at the end, make sure this is looking like this:

QuoteRun-time dependency opencl found: YES 3.0
Run-time dependency clfft found: YES 2.12.2

If they are NOT found then the binary WILL NOT compile OpenCL support into it, ergo you can not use OpenCL as accelerator.

When everything went without errors....warnings are ok, they happen. When it errors it won't build the binary. Simple enough :o

Now edit the appropriate toml and .sh file to the right frequency and turn on opencl in the toml file.

When the server is running, check with: intel_gpu_top

And the GPU must be redenering like the picture below:

Schermafdruk op 2024-09-26 15-52-53.png

Now you are done apart from tweaking the toml and receiver parameters :-)

I have tested and written this for several people that have trouble to get it running.

This should (not sure about old Intels!!) work on the Intel I used and newer.
If people use other Intels and it works, don't hesitate to post the Intel Model (model-name, typical a Lake).





Title: Re: Intel i5-6500T OpenCL installation.
Post by: Martin G8JNJ on Sep 26, 2024, 09:07 PM
Bas.

Thanks for the updated instructions.

I'll try it when I get the replacement PC, and report back.

Regards,

Martin