Popular Post The Computer Audiophile Posted August 20, 2021 Popular Post Share Posted August 20, 2021 This is only a thread for installing HQPlayer Embedded on Ubuntu 20.04. 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'm sending audio out to a Network Audio Adapter (NAA) and don't need a custom kernel for USB DACs. I made each command its own line rather than combine a couple. I'm open to changing whatever needs to be changed and streamlined. At the end I set the username and password both to hqplayer. This is used when accessing the web interface after install. 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. El Guapo and brother love 1 1 Founder of Audiophile Style | My Audio Systems Link to comment
Outlaw Posted August 20, 2021 Share Posted August 20, 2021 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
The Computer Audiophile Posted August 20, 2021 Author Share Posted August 20, 2021 Just now, Outlaw said: Don’t see installation of Linux headers and image ? Weren't necessary. Founder of Audiophile Style | My Audio Systems Link to comment
Outlaw Posted August 20, 2021 Share Posted August 20, 2021 2 minutes ago, The Computer Audiophile said: Weren't necessary. So your just using the generic Linux kernel not jussi Link to comment
The Computer Audiophile Posted August 20, 2021 Author Share Posted August 20, 2021 Just now, Outlaw said: So your just using the generic Linux kernel not jussi I just installed Ubuntu and got HQPlayer Embedded up and running. szczemirek 1 Founder of Audiophile Style | My Audio Systems Link to comment
AudioDoctor Posted August 20, 2021 Share Posted August 20, 2021 Just fyi, you HAVE to be on 20.04, this will not install on 21.04 because 21.04 has libpython3.9 and this requires libpython3.8 No electron left behind. Link to comment
The Computer Audiophile Posted August 20, 2021 Author Share Posted August 20, 2021 1 minute ago, AudioDoctor said: Just fyi, you HAVE to be on 20.04, this will not install on 21.04 because 21.04 has libpython3.9 and this requires libpython3.8 just updated the title. AudioDoctor 1 Founder of Audiophile Style | My Audio Systems Link to comment
GMG Posted August 20, 2021 Share Posted August 20, 2021 This looks great Chris, going to give a try right away. Maybe it's worth mentioning that this is for intel config? The Computer Audiophile 1 Link to comment
Popular Post Miska Posted August 20, 2021 Popular Post Share Posted August 20, 2021 If you use a NAA, you don't necessarily need my custom kernel. If you connect DAC directly to the HQPlayer server, then my custom kernel may be beneficial. If you go with a stock kernel, I'd recommend switching over to Ubuntu's "lowlatency" flavor kernel instead of "generic" that comes as a default. The Computer Audiophile, DomiJi and 4est 1 2 Signalyst - Developer of HQPlayer Pulse & Fidelity - Software Defined Amplifiers Link to comment
The Computer Audiophile Posted August 20, 2021 Author Share Posted August 20, 2021 I can update instructions for whatever is the best way to do it. Founder of Audiophile Style | My Audio Systems Link to comment
GMG Posted August 20, 2021 Share Posted August 20, 2021 Worked perfect for me :-) MANY THANKS! How do I switch to the low latency kernel? Should I do that if I plan to run Roon Server on the same machine? Link to comment
Popular Post ericuco Posted August 20, 2021 Popular Post Share Posted August 20, 2021 46 minutes ago, GMG said: How do I switch to the low latency kernel? 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. The Computer Audiophile and Patatorz 1 1 Eric Audio System Link to comment
GMG Posted August 21, 2021 Share Posted August 21, 2021 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
The Computer Audiophile Posted August 21, 2021 Author Share Posted August 21, 2021 I moved some posts over to @ted_b’s main thread. Founder of Audiophile Style | My Audio Systems Link to comment
ericuco Posted August 21, 2021 Share Posted August 21, 2021 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 Eric Audio System Link to comment
GMG Posted August 21, 2021 Share Posted August 21, 2021 Thanks. It worked for me also on Ubuntu Server. Anyone know of another thread for recommended OS settings that would benefit HQPlayer? Link to comment
The Computer Audiophile Posted August 21, 2021 Author Share Posted August 21, 2021 5 minutes ago, GMG said: Thanks. It worked for me also on Ubuntu Server. Anyone know of another thread for recommended OS settings that would benefit HQPlayer? You’re borderline on HQP OS territory :~) Founder of Audiophile Style | My Audio Systems Link to comment
GMG Posted August 21, 2021 Share Posted August 21, 2021 You mean that using stock Ubuntu server running HQPlayer embedded is almost same as running HQPlayer OS? Link to comment
The Computer Audiophile Posted August 21, 2021 Author Share Posted August 21, 2021 22 minutes ago, GMG said: You mean that using stock Ubuntu server running HQPlayer embedded is almost same as running HQPlayer OS? No. Seeking customizations for stock Ubuntu is getting you closer to HQP OS territory. It may be best to use that and put Roon on another box. Founder of Audiophile Style | My Audio Systems Link to comment
Miska Posted August 22, 2021 Share Posted August 22, 2021 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
GMG Posted August 22, 2021 Share Posted August 22, 2021 @Miska Can you advise how to confirm the 2 recommendations in the message that pops up when installing HQPlayer embedded? Link to comment
Outlaw Posted August 22, 2021 Share Posted August 22, 2021 15 minutes ago, GMG said: @Miska Can you advise how to confirm the 2 recommendations in the message that pops up when installing HQPlayer embedded? Hit Enter GMG 1 Link to comment
GMG Posted August 22, 2021 Share Posted August 22, 2021 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? 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
Miska Posted August 23, 2021 Share Posted August 23, 2021 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. DomiJi 1 Signalyst - Developer of HQPlayer Pulse & Fidelity - Software Defined Amplifiers Link to comment
GMG Posted August 23, 2021 Share Posted August 23, 2021 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now