Jump to content
IGNORED

How To Install HQPlayer Embedded On Ubuntu


Recommended Posts

56 minutes ago, The Computer Audiophile said:

I have two drives in my CAPS 20 server. One boots to windows the other HPQ OS. I boot to Windows, use Ethcher to write HQP OS image to the other NVMe drive and boot to that drive when done. 

That is indeed a fast and easy way to avoid building grub. Thanks!

Link to comment
  • 2 weeks later...

So, HQPlayer OS did not work for me. Does not recognize network card.

 

When installing on Ubuntu server, I got stuck with the error:  hqplayerd: error while loading shared libraries: libamdhip64.so.4: cannot open shared object file: No such file or directory

 

I have followed all steps to rocm packages. rocm-dkms fails to install because I do not have an AMD video card. Below, the steps I followed. I am now clueless.

 

sudo apt install libnuma-dev
 
sudo reboot
 
sudo apt install gnupg2
 
wget -q -O - https://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add -
 
echo 'deb [arch=amd64] https://repo.radeon.com/rocm/apt/debian/ ubuntu main' | sudo tee /etc/apt/sources.list.d/rocm.list
 
wget -q -O - https://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add -
 
sudo apt update
 
sudo apt install rocm-dkms [FAILED]
 
sudo reboot
 
echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/rocprofiler/bin:/opt/rocm/opencl/bin' | sudo tee -a /etc/profile.d/rocm.sh
 
sudo sh -c "echo '/opt/rocm/lib' >> /etc/ld.so.conf.d/rocm.conf"
 
sudo ldconfig
Link to comment
8 hours ago, AudioDoctor said:

@jvvita

 

ok so try this, this just worked for me. I am listening now on HQPe

 

install a fresh copy of Ubuntu server 20.04

 

reboot

 

update it

 

reboot

 

then, here is the tricky part, notice Miska says in the directions to add the ROCM repository, not ROCM itself. This is key.

 

 

Screen Shot 2022-01-03 at 7.56.12 PM.png

 

follow these to the letter, reboot when it says reboot and DONT GO ADDING ANY MORE ROCM STUFF

 

MAKE SURE YOU USE THE HIGHLIGHTED LINE IN THE PICTURE ABOVE, as the one above it won't work as it is a generic example only.

 

Then, reboot.

 

Then install libgmpris and hqplayerd  Do you know how?

 

wget libgmpris and then sudo dpkg -i libgmpris. Same with hqplayerd

 

sudo apt install -f

 

Let HQPlayer Embedded pull in all its dependencies

 

reboot

 

change username and password for HQP Embedded, reboot after this. it's important, you won't be able to sign in and will be frustrated until you do.

 

enable it

 

start it

 

it should be running

 

 

Thanks for this. Exactly what I had done before (following the guide up to the end of step 2). Still no go. Same libamdhip64 error. Rocm repo is added, as I can see them in sudo install update

 

Any clues?

Link to comment

ok. Success. After some hours of work, it came alive. This is the step-by-step for everyone to review and criticize

 

sudo apt update

sudo apt upgrade

sudo apt install libnuma-dev

sudo reboot

sudo apt install gnupg2 alien

wget -q -O - https://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add -

echo 'deb [arch=amd64] https://repo.radeon.com/rocm/apt/debian/ ubuntu main' | sudo tee /etc/apt/sources.list.d/rocm.list

wget -q -O - https://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add -

sudo apt update

wget https://repo.radeon.com/rocm/yum/4.3/rock-dkms-4.3-52.el7.noarch.rpm

sudo alien -i rock-dkms-4.3-52.el7.noarch.rpm

sudo apt install rocm-dkms

sudo reboot

echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/rocprofiler/bin:/opt/rocm/opencl/bin' | sudo tee -a /etc/profile.d/rocm.sh

sudo sh -c "echo '/opt/rocm/lib' >> /etc/ld.so.conf.d/rocm.conf"

sudo ldconfig

wget https://www.sonarnerd.net/src/focal/libgmpris_2.2.1-8_amd64.deb

sudo dpkg -i libgmpris_2.2.1-8_amd64.deb

wget https://www.signalyst.eu/bins/hqplayerd/focal/hqplayerd_4.28.3-107amd_amd64.deb

sudo dpkg -i hqplayerd_4.28.3-107amd_amd64.deb

sudo apt install -f

sudo hqplayerd -s hqplayer hqplayer

sudo systemctl enable hqplayerd 

systemctl start hqplayerd

sudo systemctl status hqplayerd
Link to comment

Yes, I understand it. But I was unable to start hqplyerd service without installing both packages (rock-dkms and rocm-dkms). Only loading rocm repo was insufficient (I know it was loaded without any issue because ver 1GB of unneeded weight as installed when going install -f after installing hpqlayerd).

 

rock-dkms seem to be a pre-requisite of rocm-dkms, but apparently was deprecated from rocm debian repo. I could only find it as rpm package.

Link to comment
19 minutes ago, Miska said:

 

I have neither one installed on my Intel i5-10600 machine. That package only contains kernel modules and it is not related to running the application. In fact, in normal case trying to install that package on a machine without AMD GPU would just make the package installation fail.

 

that is very strange. I followed the guidelines of your website up until this step 2.

 

when I ran sudo hqplalyerd -s, I got the error message, of the missing libamdhip64.so.4 shared library. systemctl enable would run fine. systemctl start would not start the service. It ony worked with the full install of the driver. 

 

Running ubuntu server 20.04, kernel 5.11.0-43-generic. Nothing else installed but ssh server.

 

Since I did not clean install after receiving the error message, should there be a full log, I could gladly send it to you.

Link to comment

I had done these steps, to no avail. 

 

echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/rocprofiler/bin:/opt/rocm/opencl/bin' | sudo tee -a /etc/profile.d/rocm.sh

sudo sh -c "echo '/opt/rocm/lib' >> /etc/ld.so.conf.d/rocm.conf"

sudo ldconfig

 

But I believe I can uninstall the rock and rock packages and see what happens. 

 

Thanks for the tip regarding low latency. Will sure do the install

Link to comment

Thanks for this. In fact, the lines come from the OP tutorial. I did not think the first one  would hurt, even though I won't be running rocm software. 

 

The second one I trusted amd package doing its job properly and creating the symlink. But you are right. Now I know where to look should any update break the system.

 

I am eagerly waiting for a update of the kernel version you use for your HQPOs, so I can move away of this jungle.

Link to comment
20 minutes ago, sledwards said:

Thanks Jussi. Found out what I had wrong. Saw your previous post about adding path to ld.so.conf.d. I was adding "4.5" as rocm version shown in your example, when the correct designation is "4.5.0".

So you did

 

Sudo nano /etc/ld.so.conf.d/rocm.conf

add "/opt/rocm-4.5.0/lib”

sudo ldconfig 

 

is this so?

Link to comment
11 hours ago, pavi said:

so, based on the very useful ongoing discussion, the following works on a fresh ubuntu 20.04 install on an i9-12900k:

 

sudo apt update

 

sudo apt upgrade

sudo apt install linux-image-lowlatency-hwe-20.04 linux-headers-lowlatency-hwe-20.04

sudo reboot

sudo apt install libnuma-dev

 

sudo reboot

 

sudo apt install gnupg2

 

wget -q -O - https://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add -

 

echo 'deb [arch=amd64] https://repo.radeon.com/rocm/apt/debian/ ubuntu main' | sudo tee /etc/apt/sources.list.d/rocm.list

 

sudo sh -c "echo '/opt/rocm-4.5.0/lib' >> /etc/ld.so.conf.d/rocm.conf"

 

sudo ldconfig

 

wget https://www.sonarnerd.net/src/focal/libgmpris_2.2.1-8_amd64.deb

 

sudo dpkg -i libgmpris_2.2.1-8_amd64.deb

 

wget https://www.signalyst.eu/bins/hqplayerd/focal/hqplayerd_4.28.3-107amd_amd64.deb

 

sudo dpkg -i hqplayerd_4.28.3-107amd_amd64.deb

 

sudo apt install -f

 

sudo hqplayerd -s hqplayer hqplayer

 

sudo systemctl enable hqplayerd

 

sudo systemctl start hqplayerd

 

sudo systemctl status hqplayerd

 

 

after that, I used the following to identify and install the gpu driver (Nvidia 3080)

 

sudo apt install ubuntu-drivers-common

 

ubuntu-drivers devices

 

sudo apt install nvidia-utils-470-server

 

Confirmed. Work for me too on a clean install (i9-10900k no GPU). Thanks

Link to comment
  • 1 month later...
2 hours ago, Gato said:

Yes , password.

But you changed your password to hqplayerd, when you ran hqplayerd -s hqplayer hqplayer.

 

You could try two combinations:

Login hqplayer

Password hqplayer

 

Login hqplayer

Password password

If neither works, then stop the service, and re-run hqplayerd -s hqplayer hqplayer.

 

Reboot.

 

Your password will be hqplayer

 

 

 

Link to comment
  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...