Jump to content
IGNORED

HQPlayer Linux Desktop and HQplayer embedded


ted_b

Recommended Posts

18 minutes ago, Outlaw said:

I ran it with those to lines already plus sudo apt update
sudo apt install rocm-dkms && sudo reboot.Should I only run the 2 lines you gave me ?

You don't want to run the sudo apt install rocm-dkms.  Jussi has written his install to fetch only the things he needs from rocm depo.

Link to comment
51 minutes ago, Louie said:

Hi there, I have just installed the cuda-driver, how I can check whether HQPe is using GPU during the playback?

Go to "main" page and look at upper right under "Offload" There will be an "R" and/or a "C" (if you are using convolution.

Link to comment
2 hours ago, Outlaw said:

Hi Miska.What are the ROC/HIP repository commands in need to use before installing latest version of HQPlayer on Ubuntu server ? Thanks

 

I don't want to turn this thread into generic "How to use Linux distribution with apt package manager", there's plenty of documentation out there about both apt/deb and rpm tools.

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
1 hour ago, sledwards said:

You want to make sure you are pointing to the version 4.1 repo:

 

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/4.1/ xenial main' | sudo tee /etc/apt/sources.list.d/rocm.list

 

Otherwise it will use version 4.2 and you will get dependency errors loading hqplayerd

 

Latest 4.23.1 build uses ROCm 4.2 and has dependencies updated to match latest AMD's release with non-version specific packages. In 4.2 AMD has dropped things like rocm-libs package.

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
7 hours ago, Miska said:

OK, so this is HQPlayer OS build. I'll make two refresh builds of HQPlayer OS to test, let's see if we can trace this down.

 

There's now 4.23.1 build and includes a second alternative build... The alternative one should at least be fine, but it may have limited performance.

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
12 hours ago, perpetualapprentice said:

Followed this advice, triple checked repository list, tried various alternatives, still no success. Web searches for "error while loading shared libraries" is a nice learning experience. Unfortunately, I'm unable to devote more time to this right now.

 

Reverted to hqplayerd_4.22.3-67_amd64 - Everything related to hqplayerd completely purged, "new" install succeeded on first attempt & running without issue.

 

Will survive listening to the fantastic poly-sinc-ext3 via modest PCM upsampling my M1 mini for now.

 

For what it's worth, I always autoremove and --purge before even attempting an install of the new version.

No electron left behind.

Link to comment

Can someone tell me if these are the right steps to install latest hqplayer on ubuntu focal ?

sudo apt -y update
sudo apt -y dist-upgrade
sudo apt -y autoremove

sudo wget https://www.sonarnerd.net/src/focal/linux-headers-5.4.91-jl+_5.4.91-jl+-6_amd64.deb
sudo wget https://www.sonarnerd.net/src/focal/linux-image-5.4.91-jl+_5.4.91-jl+-6_amd64.deb
sudo dpkg -i linux-headers-5.4.91-jl+_5.4.91-jl+-6_amd64.deb
sudo dpkg -i linux-image-5.4.91-jl+_5.4.91-jl+-6_amd64.deb

sudo 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 -q -O - https://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add -

echo 'deb [arch=amd64] https://repo.radeon.com/rocm/apt/4.1/ xenial main' | sudo tee /etc/apt/sources.list.d/rocm.list
sudo apt update
wget https://www.signalyst.eu/bins/hqplayerd/focal/hqplayerd_4.23.1-71_amd64.deb
sudo dpkg -i hqplayerd_4.23.1-71_amd64.deb
sudo apt install -f
sudo hqplayerd -s hqplayer hqplayer
sudo systemctl enable hqplayerd
sudo systemctl restart hqplayerd

sudo systemctl status hqplayer

Link to comment
3 hours ago, Miska said:

 

There's now 4.23.1 build and includes a second alternative build... The alternative one should at least be fine, but it may have limited performance.

Thank you. First build, oldest time stamp. White noise immediately. Build 2 plays fine first track but the stage/presentation using the same config settings with 4.22.3 is much less engaging. Stage width is narrow and 3D sound is flat and blah.

 

Link to comment
15 minutes ago, lpost said:

Thank you. First build, oldest time stamp. White noise immediately. Build 2 plays fine first track. How is performance limited? Less efficient and requires more CPU or unable to play some filter combinations?

In /bins/hqplayerd/focal/, I see 2 builds; 1 for Intel and 1 for AMD CPUs: 

 

hqplayerd_4.23.1-71_amd64.deb        hqplayerd_4.23.1-72amd_amd64.deb 

 

Should both of these work for Intel CPU? I am confused.

Link to comment
3 minutes ago, sledwards said:

Thats the bootable image HQPe OS. I have OS installed on server and am just installing the program

What OS are you running? You need the build for your particular OS. I've only ever run the embedded version so I'm sorry I can't help much. I believe amd64 will run on Intel.

Link to comment

Miska does this look right

 

sudo apt -y update
sudo apt -y dist-upgrade
sudo apt -y autoremove

sudo wget https://www.sonarnerd.net/src/focal/linux-headers-5.4.91-jl+_5.4.91-jl+-6_amd64.deb
sudo wget https://www.sonarnerd.net/src/focal/linux-image-5.4.91-jl+_5.4.91-jl+-6_amd64.deb
sudo dpkg -i linux-headers-5.4.91-jl+_5.4.91-jl+-6_amd64.deb
sudo dpkg -i linux-image-5.4.91-jl+_5.4.91-jl+-6_amd64.deb

sudo 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 -q -O - https://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add -

echo 'deb [arch=amd64] https://repo.radeon.com/rocm/apt/4.1/ xenial main' | sudo tee /etc/apt/sources.list.d/rocm.list
sudo apt update
wget https://www.signalyst.eu/bins/hqplayerd/focal/hqplayerd_4.23.1-71_amd64.deb
sudo dpkg -i hqplayerd_4.23.1-71_amd64.deb
sudo apt install -f
sudo hqplayerd -s hqplayer hqplayer
sudo systemctl enable hqplayerd
sudo systemctl restart hqplayerd

sudo systemctl status hqplayer

Link to comment
18 minutes ago, Outlaw said:

Miska does this look right

 

sudo apt -y update
sudo apt -y dist-upgrade
sudo apt -y autoremove

sudo wget https://www.sonarnerd.net/src/focal/linux-headers-5.4.91-jl+_5.4.91-jl+-6_amd64.deb
sudo wget https://www.sonarnerd.net/src/focal/linux-image-5.4.91-jl+_5.4.91-jl+-6_amd64.deb
sudo dpkg -i linux-headers-5.4.91-jl+_5.4.91-jl+-6_amd64.deb
sudo dpkg -i linux-image-5.4.91-jl+_5.4.91-jl+-6_amd64.deb

sudo 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 -q -O - https://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add -

echo 'deb [arch=amd64] https://repo.radeon.com/rocm/apt/4.1/ xenial main' | sudo tee /etc/apt/sources.list.d/rocm.list
sudo apt update
wget https://www.signalyst.eu/bins/hqplayerd/focal/hqplayerd_4.23.1-71_amd64.deb
sudo dpkg -i hqplayerd_4.23.1-71_amd64.deb
sudo apt install -f
sudo hqplayerd -s hqplayer hqplayer
sudo systemctl enable hqplayerd
sudo systemctl restart hqplayerd

sudo systemctl status hqplayer

How do i fix this issue ? thanks

shit.PNG

Link to comment
13 hours ago, sledwards said:

Go to "main" page and look at upper right under "Offload" There will be an "R" and/or a "C" (if you are using convolution.

I have installed the  cuda support with this command:

sudo apt-get install nvidia-dkms-465, and also enable cuda=1 in hqplayerd.xml.

Is it correct?

 

Now, I am choosing ADSM5EC, poly-sinc-ext3, DSD256 for the upscaling PCM.

 

However, I still cannot see any status under "offload". Thus, I would like to know whether the HQPe is using GPU to offload.

 

Link to comment
On 5/21/2021 at 9:28 PM, Miska said:

 

It is practically impossible to install anything on HQPlayer OS. So you'd need to use some regular distribution like Ubuntu.

 

 

Yes, it would be necessary to install Nvidia driver from their CUDA repository. Easiest way to keep it up to date in sync with CUDA updates and  HQPlayer.

 

 

Yes, either their low latency kernel or my custom kernel. If you use a NAA; then you are fine with their low latency kernel since the audio driver updates I've been maintaining are not necessary.

 

@MiskaFor the GPU support, I have added tbe CUDA repo, and Iinstall nvidia-dkms-465, is it enough to get HQPe using GPU to offload?

Link to comment
13 hours ago, lpost said:

Thank you. First build, oldest time stamp. White noise immediately. Build 2 plays fine first track but the stage/presentation using the same config settings with 4.22.3 is much less engaging. Stage width is narrow and 3D sound is flat and blah.

 

 

17 hours ago, Miska said:

 

There's now 4.23.1 build and includes a second alternative build... The alternative one should at least be fine, but it may have limited performance.

For the moment I have decided to roll back to 4.22.3, and wait. Another question since I have installed the bootable image on my main hard drive, is there a way to update to the latest build from within the terminal screen in HQPlayer Embedded. Can I telnet or ssh into the server to perform the update? Apologies I am a complete novice at this. Many thanks in advance. 

Link to comment
18 minutes ago, seasusa said:

since I have installed the bootable image on my main hard drive, is there a way to update to the latest build from within the terminal screen in HQPlayer Embedded. Can I telnet or ssh into the server to perform the update?

 

No, you need to always flash the full OS image. It is one complete piece, there's no tooling to make partial updates.

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
6 hours ago, Louie said:

@MiskaFor the GPU support, I have added tbe CUDA repo, and Iinstall nvidia-dkms-465, is it enough to get HQPe using GPU to offload?

 

Yes, it should be fine. You can check the web interface while playing that the offload becomes active.

 

Did you reboot after doing that? Does you GPU appear under "/proc/driver/nvidia" ? If not, try doing "sudo modprobe nvidia" first.

 

I'm assuming here that you are using Ubuntu Server with text mode console. If necessary, add "nomodeset" to kernel command line in /etc/default/grub and run "sudo update-grub".

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
14 hours ago, lpost said:

Thank you. First build, oldest time stamp. White noise immediately. Build 2 plays fine first track but the stage/presentation using the same config settings with 4.22.3 is much less engaging. Stage width is narrow and 3D sound is flat and blah.

 

 

OK, I think I'll need to stick with "build 2" method in future.

 

There shouldn't be any audible difference because both produce same output data. But CPU load with "build 2" can be higher since it contains less optimizations.

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment

Can see some on this thread have problems installing the hqplayer on ubuntu 20.04.

This is my installation script if it should be of any use...

This works on my VM Proxmox running ubuntu 20.04 in a Linux LXC container.

 

#!/bin/bash

### this is for the Intel version
hq_ver=hqplayerd_4.23.1-71_amd64.deb

# Amd    - hqplayerd_4.23.1-72amd_amd64.deb
# Intel  - hqplayerd_4.23.1-71_amd64.deb

libgmpris_ver=libgmpris_2.2.1-8_amd64.deb
hqplayer_user=admin
hqplayer_password=password
hqplayer_folder=https://www.signalyst.eu/bins/hqplayerd/focal/


### setting timezone
timedatectl set-timezone Europe/Copenhagen

#echo 'export LANG=en_US.UTF-8' >> /root/.bashrc
#echo 'export LC_MESSAGES="C"' >> /root/.bashrc

sudo apt update
sudo apt -y upgrade

sudo apt -y install net-tools cifs-utils libtool wavpack zip unzip libflac-dev libmad0-dev libvorbis-dev libfaad-dev libmpg123-dev libavformat-dev libasound2-dev autotools-dev pkg-config gnupg


### AMD Rocm ###
## ver 4.2 ##
cd /tmp;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/4.2/ xenial main' | sudo tee /etc/apt/sources.list.d/rocm.list


sudo apt update
sudo apt -y install rocm-libs

### mostly hqplayer stuff ###

sudo apt -y install libasound2 libflac8 libgupnp librygel-core librygel-renderer rygel

cd /tmp; wget https://www.sonarnerd.net/src/focal/$libgmpris_ver
cd /tmp; sudo dpkg -i $libgmpris_ver

cd /tmp; wget $hqplayer_folder$hq_ver
cd /tmp; sudo dpkg -i $hq_ver


sudo apt -y --fix-broken install

sudo systemctl enable hqplayerd

sudo systemctl start hqplayerd
sudo hqplayerd -s $hqplayer_user $hqplayer_password

### cleanup.

### jussi's recommended cleanup ###
sudo apt install -f ; sudo apt autoremove --purge ; sudo apt clean

reboot

 

Link to comment
6 minutes ago, michaelvv said:

sudo apt -y install net-tools cifs-utils libtool wavpack zip unzip libflac-dev libmad0-dev libvorbis-dev libfaad-dev libmpg123-dev libavformat-dev libasound2-dev autotools-dev pkg-config gnupg

 

Why this? Lot of unrelated development packages...

 

6 minutes ago, michaelvv said:

sudo apt -y install libasound2 libflac8 libgupnp librygel-core librygel-renderer rygel

 

This is not necessary. hqplayerd package has list of dependencies and will pull in the needed stuff automatically.

 

Quote

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

 

I have just "deb [arch=amd64] https://repo.radeon.com/rocm/apt/debian/ xenial main" as rocm.list

 

What you have will work for 4.23.1 release, but will need updates for new releases of hqplayerd depending on AMD's updates.

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
11 minutes ago, Miska said:

 

Why this? Lot of unrelated development packages...

 

 

This is not necessary. hqplayerd package has list of dependencies and will pull in the needed stuff automatically.

 

 

I have just "deb [arch=amd64] https://repo.radeon.com/rocm/apt/debian/ xenial main" as rocm.list

 

What you have will work for 4.23.1 release, but will need updates for new releases of hqplayerd depending on AMD's updates.

 

 

Great Point ... net-tools and cifs-utils was for seeing ip ( ifconfig ) + smb shares , I think the other things was for for compiling sox , Not related to hqplayer . Later todday i'll do a more optimized version ...

 

Thanks for pointing these thing out..

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