Jump to content
IGNORED

How To Install HQPlayer Embedded On Ubuntu


Recommended Posts

@Miska So with everything running as it should with rocm installed, are there any disadvantages to having loaded that will effect HQPe performance?  Admittingly, I am probably only a step above novice as far as lLinux goes. However, I can follow instructions and if you can provide me with the exact command line needed to just to allow the AMD version of embedded to install, I will try that. Forgive me if it somewhere else in this post, may just be missing it.

Link to comment
16 minutes ago, Miska said:

That is because you are missing valid path in /etc/ld.so.conf.d and it is not related to the kernel driver.

 

You can do "find /opt -name libamdhip64.so.4"

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".

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

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

 

HQPe on 7950/4090/Ubuntu 22.04 → Holo Red → T+A DAC200 / Wavedream Sig-Bal / Holo May KTE 

Zähl HM1 → Mass Kobo 465 / Feliks Envy  → Susvara / D8KP-LE / MYSPHERE 3.1 / ...

Zähl HM1 → LTA Z40+ → Salk BePure 2

Pass XP25 → Salk Song3 BeAT

Link to comment
29 minutes ago, pavi said:

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

 

 

Note that for current HQPlayer releases, you need Nvidia GPU driver version >= 49x.

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

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
11 hours ago, Miska said:

Note that for current HQPlayer releases, you need Nvidia GPU driver version >= 49x

How do we know when GPU driver needs update? Latest version of HQPe (4.28.3-107) was working fine on version 470 (CUDA 11.4). Updated to 495 and CUDA 11.5 and HQPe still runs fine.  Or is the fact its running doesn't ensure compatibility?

Link to comment
31 minutes ago, sledwards said:

How do we know when GPU driver needs update? Latest version of HQPe (4.28.3-107) was working fine on version 470 (CUDA 11.4). Updated to 495 and CUDA 11.5 and HQPe still runs fine.  Or is the fact its running doesn't ensure compatibility?

 

When the driver is too old, CUDA offload doesn't get enabled. You can see this from the web interface for example when you have playback ongoing. Currently Nvidia ships driver version 495.46 with CUDA 11.5.1 for Ubuntu.

 

Generally, if you stick to latest available driver, things should continue to work. HQPlayer is always built with latest CUDA available at the moment of release.

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
3 hours ago, jvvita said:

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

thanks so much, @jvvita & @Miska, for working together to bring this to clarity — very much appreciated.

HQPe on 7950/4090/Ubuntu 22.04 → Holo Red → T+A DAC200 / Wavedream Sig-Bal / Holo May KTE 

Zähl HM1 → Mass Kobo 465 / Feliks Envy  → Susvara / D8KP-LE / MYSPHERE 3.1 / ...

Zähl HM1 → LTA Z40+ → Salk BePure 2

Pass XP25 → Salk Song3 BeAT

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

Yes, it was active in my install. Have tried to go back with no luck. I point to 4.5 repository and hqplayerd returns this:

 

hqplayerd: error while loading shared libraries: libamdhip64.so.4: cannot open shared object file: No such file or directory.

 

This is what I have:

jussi@ubuntu-srv:~$ cat /etc/ld.so.conf.d/rocm.conf 
/opt/rocm/lib

 

But if your alternatives of /opt/rocm is pointing now to 5.0, you may need to use /opt/rocm-4.5.0/lib instead. Note that you can have both there as well, that should transition you over to 5.0 smoothly.

 

Or just wait for next HQPlayer Embedded release which should happen shortly and uses ROCm 5.0.

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
2 minutes ago, sledwards said:

This is not working:

 

deb [trusted=yes] [arch=amd64] https://repo.radeon.com/rocm/apt/4.5/dists/ ubuntu main

 

This works just fine:

deb [arch=amd64] https://repo.radeon.com/rocm/apt/4.5/ ubuntu main

 

As documented here:

https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html#ubuntu

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment

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...