Jump to content
IGNORED

How To Install HQPlayer Embedded On Ubuntu


Recommended Posts

  • 3 weeks later...
On 1/7/2022 at 2:46 AM, 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

 

@pavi

January 4th Miska mentions that by using a realtime kernel you cannot have GPU offload because it breaks Nvidia driver (and the Nvidia driver knows this and refuses to work on realtime kernel). Did you get GPU offload working with the commands above?

Link to comment
On 4/4/2022 at 7:49 AM, Rovo said:

January 4th Miska mentions that by using a realtime kernel you cannot have GPU offload because it breaks Nvidia driver (and the Nvidia driver knows this and refuses to work on realtime kernel). Did you get GPU offload working with the commands above?

yes, but you’ve already sorted it out, all is well!

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
On 1/7/2022 at 2:46 AM, 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

 

@pavi

If I may ask you another question, I noticed that for the NVidia GPU driver you used "nvidia-utils-470-server". This is all what is needed to get CUDA offload? No "nvidia-driver-470-server" required?

 

Link to comment
3 hours ago, Rovo said:

If I may ask you another question, I noticed that for the NVidia GPU driver you used "nvidia-utils-470-server". This is all what is needed to get CUDA offload? No "nvidia-driver-470-server" required?

 

these days the current driver is nvidia-driver-510, so if you install that, you should be fine. don't use anything below 490, is what @Miska recommended some time ago

 

so,

 

$ ubuntu-drivers devices

 

should result in something like

 

vendor   : NVIDIA Corporation
driver   : nvidia-driver-470 - distro non-free recommended
driver   : nvidia-driver-510-server - distro non-free
driver   : nvidia-driver-510 - distro non-free
driver   : nvidia-driver-470-server - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin

 

and then, 

 

$ sudo apt install nvidia-driver-510

 

and you should be fine. use 

 

$ watch nvidia-smi

 

to observe the gpu load

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
9 hours ago, pavi said:
vendor   : NVIDIA Corporation
driver   : nvidia-driver-470 - distro non-free recommended
driver   : nvidia-driver-510-server - distro non-free
driver   : nvidia-driver-510 - distro non-free
driver   : nvidia-driver-470-server - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin

 

"nvidia-driver-xxx-server" sounds something that is potentially useful, if it's a version that doesn't pull in all the unnecessary Xorg things.

 

Just an assumption, is this the case?

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
54 minutes ago, Miska said:

Just an assumption, is this the case?

i’m not sure — i assumed the -server driver did pull in the unnecessary bits, so i’ve only used the regular driver. i should try it out…

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

Below the information I could find. Seems you would be looking for the "headless" driver. See the last part for the most interesting screen shot. 

 

 

image.thumb.png.9238ed5f67a7df73a549e291103cb0ab.png

 

 

image.thumb.png.3afd60cbf5e379c5eaa264d5c875004a.png

 

Could not see the answer on this one (you need to login!), but could be the answer to our questions: 

image.thumb.png.4d6190941d3bc01e29786a7fd716cc99.png

Link to comment

Installed a NVidia RTX A4000 16GB plus for the software/drivers: 

- sudo apt install nvidia-headless-510-server

- sudo apt install nvidia-utils-510-server (otherwise nvidia-smi is not available!)

 

Got this on the main screen of HQPlayer Embedded: 

image.png.9b9079c462f4369c8f66ee56e1e78fd2.png

And this for nvidia-smi: 

image.png.c5636b30ef7a67c12aad58f2ded7a66c.png

 

Seems that CUDA offload is functioning, but just want to check if I am correct? So anyone can confirm?

 

Robert

 

Link to comment
2 hours ago, stefano_mbp said:

Trying a download brings to the same error, but it is a quite old version

What happens if you try with this version (the last) https://www.signalyst.eu/bins/hqplayerd/focal/hqplayerd_4.30.3-127amd_amd64.deb ?

That worked!

 

However, I am fighting other problems inasmuch as several packages required for HQP Embedded don't deem to be installed. It's a bit of a pain!

 

Thanks for help!

Link to comment
6 hours ago, biosailor said:

That worked!

 

However, I am fighting other problems inasmuch as several packages required for HQP Embedded don't deem to be installed. It's a bit of a pain!

 

Depending on your CPU you can also try

https://www.signalyst.eu/bins/hqplayerd/focal/hqplayerd_4.30.3-126_amd64.deb

 

It is easier on dependencies... (no AMD ROCm required)

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
8 hours ago, Miska said:

 

Depending on your CPU you can also try

https://www.signalyst.eu/bins/hqplayerd/focal/hqplayerd_4.30.3-126_amd64.deb

 

It is easier on dependencies... (no AMD ROCm required)

 

Thanks, Miska!

 

Tried it, but I am getting the msg

 

HTTP request sent. awaiting response... 404 Not Found

2022-04-10 09:12:07 ERROR 404: Not Found.

 

Anything there could be done about it?

 

Thanks for help

Link to comment
3 hours ago, biosailor said:

Thanks, Miska!

 

Tried it, but I am getting the msg

 

HTTP request sent. awaiting response... 404 Not Found

2022-04-10 09:12:07 ERROR 404: Not Found.

 

Anything there could be done about it?

 

Thanks for help

 

Please check that your URL is correct. I copied the link from my website. You should just copy-paste the URLs straight from my website.

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment

I managed to get HQPlayer Embedded to get running on Linux Mint, at least this is what I think! I took a screenshot of HQPE service running and hopefully the experts will confirm!

 

If it is running fine, how can I now get into the HQPE web menu?

 

Thanks for your help!

HQPEmb.jpg

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