The community websdr-plus-github can be found here: https://github.com/ny4qphil/PhantomSDR-Plus ..it is compatible with the normal version, but enhanced.

Phantom SDR Plus & RX888 - setup

Started by Martin G8JNJ, Sep 23, 2024, 10:55 PM

Previous topic - Next topic

Martin G8JNJ

root@phantom:/home/wessex/PhantomSDR-Plus# apt purge
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  intel-igc-cm libigc1 libigdfcl1 libz3-4
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


root@phantom:/home/wessex/PhantomSDR-Plus# sudo ldconfig
/sbin/ldconfig.real: File /lib/x86_64-linux-gnu/libOpenCL.so.1.0.0 is empty, not checked.
/sbin/ldconfig.real: File /lib/x86_64-linux-gnu/libOpenCL.so.1 is empty, not checked.
/sbin/ldconfig.real: File /lib/x86_64-linux-gnu/libOpenCL.so is empty, not checked.
/sbin/ldconfig.real: File /lib/libOpenCL.so is empty, not checked.



Quote from: magicint1337 on Sep 25, 2024, 06:34 PMYea apt purge and run sudo ldconfig again

The libs are broken

Reboot should not be needed when the ldconfig is run

Bas ON5HB

I give up. It shouldn't be this hard.

Especially on modern Intel CPU's.

Maybe a good idea to format and start again, then FIRST install OpenCL.

Looks like your Ubuntu 22.04 is a real mess. Maybe even upgraded to new version, what should NOT be done.
Best regards,

Bas ON5HB

Ps. the Community Edition can be found here: https://github.com/ny4qphil/PhantomSDR-Plus

magicint1337

Maintainer and Developer of PhantomSDR-Plus

magicint1337

Run this

sudo apt remove intel-oneapi-runtime-opencl intel-basekit clinfo opencl-headers


Then this


sudo apt install intel-oneapi-runtime-opencl intel-basekit clinfo opencl-headers

And then this


sudo ldconfig
Maintainer and Developer of PhantomSDR-Plus

Martin G8JNJ

This is a mess.

I think I've spent enough time on this today.

Maybe the best option is to start again with a clean Linux build, then try adding OpenCL before installing PhantomSDR-Plus.

Do you wish to add anything to the existing instructions before I do this ?

e.g.

Ubuntu Prerequisites

apt install build-essential cmake pkg-config meson libfftw3-dev libwebsocketpp-dev libflac++-dev zlib1g-dev libzstd-dev libboost-all-dev libopus-dev libliquid-dev git psmisc


Restart your Terminal after you ran install.sh otherwise it wont work..

git clone --recursive https://github.com/Steven9101/PhantomSDR-Plus.git
cd PhantomSDR-Plus
chmod +x *.sh
sudo ./install.sh


Reboot

check for Cypress drivers

lsusb



Check for OpenCL


install intel-gpu-tools and run intel_gpu_top



Start


./start-rx888mk2.sh










magicint1337

apt install build-essential cmake pkg-config meson libfftw3-dev libwebsocketpp-dev libflac++-dev zlib1g-dev libzstd-dev libboost-all-dev libopus-dev libliquid-dev git psmisc libclfft-dev intel-oneapi-runtime-opencl intel-basekit clinfo opencl-headers

This should be fine for your system
Maintainer and Developer of PhantomSDR-Plus

magicint1337

But i went to your system when it ran without opencl and havent had any issues (it ran smoothly)
Maintainer and Developer of PhantomSDR-Plus

Martin G8JNJ

root@phantom:/# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.5 LTS
Release:        22.04
Codename:      jammy


Quote from: Bas ON5HB on Sep 25, 2024, 06:52 PMI give up. It shouldn't be this hard.

Especially on modern Intel CPU's.

Maybe a good idea to format and start again, then FIRST install OpenCL.

Looks like your Ubuntu 22.04 is a real mess. Maybe even upgraded to new version, what should NOT be done.

magicint1337

Did you try the apt remove and other commands i posted earlier?
Maintainer and Developer of PhantomSDR-Plus

Martin G8JNJ

Yeh, but I upgraded the PC specifically to extract the maximum from it, and that includes running OpenCL.



Quote from: magicint1337 on Sep 25, 2024, 07:12 PMBut i went to your system when it ran without opencl and havent had any issues (it ran smoothly)

Martin G8JNJ

Yes but many files were not present or found.

I'll start again.

Quote from: magicint1337 on Sep 25, 2024, 07:15 PMDid you try the apt remove and other commands i posted earlier?

Bas ON5HB

Ubuntu has the habit of breaking things:

root@Websdr:~# lsb_release -a
No LSB modules are available.
Distributor ID:    Linuxmint
Description:    Linux Mint 21.3
Release:    21.3
Codename:    virginia

Base is the same but Mint protects things they are not sure about.
Best regards,

Bas ON5HB

Ps. the Community Edition can be found here: https://github.com/ny4qphil/PhantomSDR-Plus

Martin G8JNJ

But I thought Linux was supposed to be great !

Looks like it's broken the PC hardware too, probably too many reboots :-)

I'll have to return the new PC for a replacement, as it will no longer power up.

Not a good day...

Thanks for everyone's help.

Regards,

Martin


Martin G8JNJ

Come on guy's make your mind up, I though Ubuntu 22.04 was the preferred OS.

I've now tasted Debian, Fedora, Mint, Puppy, Alpine, CentOS, Redhat, Pure and Ubuntu, and they all seem to inflect their own type of pain.

Regards,

Martin

Quote from: Bas ON5HB on Sep 25, 2024, 07:19 PMUbuntu has the habit of breaking things:

root@Websdr:~# lsb_release -a
No LSB modules are available.
Distributor ID:    Linuxmint
Description:    Linux Mint 21.3
Release:    21.3
Codename:    virginia

Base is the same but Mint protects things they are not sure about.


magicint1337

Maintainer and Developer of PhantomSDR-Plus

Powered by EzPortal