Jump to content
IGNORED

How To Install HQPlayer Embedded On Ubuntu


Recommended Posts

13 minutes ago, The Computer Audiophile said:

This is only a thread for installing HQPlayer Embedded on Ubuntu. This top post will host the commands needed and a video of me installing it, so people can see what's supposed to happen. If you need help installing Ubuntu, this isn't the place. If you are lost trying to install Ubuntu, I highly recommend using @Miska's HQP OS or a product from a company that does everything for you.

 

I see this thread as only a quick list of what people need to do and that's it. When something is outdated please let me know and I'll update it. Creating this as a separate thread will keep this at the top and easy to find rather than a few hundred pages deep. 

 

For all discussions on HQP Desktop and Embedded see @ted_b's main HQP thread here - 

https://audiophilestyle.com/forums/topic/30983-hqplayer-linux-desktop-and-hqplayer-embedded/

 

 

As of Friday August 20, 2021, I used a standard install of Ubuntu 20.04 and entered the following commands exactly as below to get HQPlayer Embedded working. I made each command its own line rather than combine a couple. I'm open to changing whatever needs to be changed and streamlined. 

 

 


sudo apt update

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

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.25.1-83_amd64.deb

sudo dpkg -i hqplayerd_4.25.1-83_amd64.deb

sudo apt install -f

sudo hqplayerd -s hqplayer hqplayer

sudo systemctl enable hqplayerd 

systemctl start hqplayerd

sudo systemctl status hqplayerd

 

 

Here is the realtime video of my installation. Nothing to see here for most people, but I want to provide it so others can at least see what's supposed to happen.

 

Note: If it's blurry, YouTube is still processing the HD version. Just give it time. 

 

 

Don’t see installation of Linux headers and image ?

Link to comment
7 hours ago, ericuco said:


sudo apt-get install linux-lowlatency-hwe-20.04

 

This is what @Miska advised me to do several months ago. It will bring in everything (dependences) you need for Ubuntu 20.04.

Thanks

is this the same for Ubuntu Server and Ubuntu Desktop?

 

and how do I get the Ubuntu to switch to this kernel?

Link to comment
7 hours ago, GMG said:

Thanks

is this the same for Ubuntu Server and Ubuntu Desktop?

 

and how do I get the Ubuntu to switch to this kernel?

 

It worked for Ubuntu Studio Desktop and Linux Mint. I don't have Ubuntu Server.

 

It is my understanding that the latest version of the kernel is used by default. And if both the generic and low latency versions are installed then the low latency version is used by default.

 

I am running 5.11.0-25-lowlatency

Link to comment
On 8/21/2021 at 10:23 AM, GMG said:

is this the same for Ubuntu Server and Ubuntu Desktop?

 

and how do I get the Ubuntu to switch to this kernel?

 

Yes, it is the same on Ubuntu Server. It will switch automatically and leave the generic one as secondary option (in the GRUB boot menu).

 

If you for example want to get 1.5M PCM or DSD1024 out directly from the HQPlayer server, without a NAA, you need my custom kernel.

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
1 hour ago, GMG said:

@Miska

Can you advise how to confirm the 2 recommendations in the message that pops up when installing HQPlayer embedded?

 

37E094C8-B3ED-4CC9-8C1C-14728441D73E.jpeg

I found the answer for the "audio" group:

# sudo adduser <username> audio

But have no clue how to manage the audio daemons ;-)

 

Link to comment
17 hours ago, GMG said:

I found the answer for the "audio" group:


# sudo adduser <username> audio

But have no clue how to manage the audio daemons ;-)

 

You don't need to do anything unless you are running hqplayerd under graphical desktop session. In normal headless Ubuntu Server setup, hqplayerd runs as user "hqplayer" which is created by the installation script and already belongs to "audio" group.

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
9 minutes ago, Miska said:

 

You don't need to do anything unless you are running hqplayerd under graphical desktop session. In normal headless Ubuntu Server setup, hqplayerd runs as user "hqplayer" which is created by the installation script and already belongs to "audio" group.

 

Thanks 

but actually I did not see HQPlayer listed as a user in audio group. 
 

fgrep -ie 'audio' /etc/group
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...