jvvita Posted December 19, 2021 Share Posted December 19, 2021 Just wandering if it is possible to write hqplayerOs to the hard drive and boot normally. I guess one would have to build grub entries for hqplayerOs. Link to comment
jvvita Posted December 20, 2021 Share Posted December 20, 2021 56 minutes ago, The Computer Audiophile said: I have two drives in my CAPS 20 server. One boots to windows the other HPQ OS. I boot to Windows, use Ethcher to write HQP OS image to the other NVMe drive and boot to that drive when done. That is indeed a fast and easy way to avoid building grub. Thanks! Link to comment
jvvita Posted January 3, 2022 Share Posted January 3, 2022 So, HQPlayer OS did not work for me. Does not recognize network card. When installing on Ubuntu server, I got stuck with the error: hqplayerd: error while loading shared libraries: libamdhip64.so.4: cannot open shared object file: No such file or directory I have followed all steps to rocm packages. rocm-dkms fails to install because I do not have an AMD video card. Below, the steps I followed. I am now clueless. 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 [FAILED] 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 Link to comment
jvvita Posted January 4, 2022 Share Posted January 4, 2022 You are right. But if I understood it correctly, this is more of a compatibility version, that don't carry all the optimizations. Link to comment
jvvita Posted January 4, 2022 Share Posted January 4, 2022 8 hours ago, AudioDoctor said: @jvvita ok so try this, this just worked for me. I am listening now on HQPe install a fresh copy of Ubuntu server 20.04 reboot update it reboot then, here is the tricky part, notice Miska says in the directions to add the ROCM repository, not ROCM itself. This is key. follow these to the letter, reboot when it says reboot and DONT GO ADDING ANY MORE ROCM STUFF MAKE SURE YOU USE THE HIGHLIGHTED LINE IN THE PICTURE ABOVE, as the one above it won't work as it is a generic example only. Then, reboot. Then install libgmpris and hqplayerd Do you know how? wget libgmpris and then sudo dpkg -i libgmpris. Same with hqplayerd sudo apt install -f Let HQPlayer Embedded pull in all its dependencies reboot change username and password for HQP Embedded, reboot after this. it's important, you won't be able to sign in and will be frustrated until you do. enable it start it it should be running Thanks for this. Exactly what I had done before (following the guide up to the end of step 2). Still no go. Same libamdhip64 error. Rocm repo is added, as I can see them in sudo install update Any clues? Link to comment
jvvita Posted January 4, 2022 Share Posted January 4, 2022 ok. Success. After some hours of work, it came alive. This is the step-by-step for everyone to review and criticize sudo apt update sudo apt upgrade sudo apt install libnuma-dev sudo reboot sudo apt install gnupg2 alien 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 wget https://repo.radeon.com/rocm/yum/4.3/rock-dkms-4.3-52.el7.noarch.rpm sudo alien -i rock-dkms-4.3-52.el7.noarch.rpm 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.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 systemctl start hqplayerd sudo systemctl status hqplayerd sledwards 1 Link to comment
jvvita Posted January 4, 2022 Share Posted January 4, 2022 Yes, I understand it. But I was unable to start hqplyerd service without installing both packages (rock-dkms and rocm-dkms). Only loading rocm repo was insufficient (I know it was loaded without any issue because ver 1GB of unneeded weight as installed when going install -f after installing hpqlayerd). rock-dkms seem to be a pre-requisite of rocm-dkms, but apparently was deprecated from rocm debian repo. I could only find it as rpm package. Link to comment
jvvita Posted January 4, 2022 Share Posted January 4, 2022 19 minutes ago, Miska said: I have neither one installed on my Intel i5-10600 machine. That package only contains kernel modules and it is not related to running the application. In fact, in normal case trying to install that package on a machine without AMD GPU would just make the package installation fail. that is very strange. I followed the guidelines of your website up until this step 2. when I ran sudo hqplalyerd -s, I got the error message, of the missing libamdhip64.so.4 shared library. systemctl enable would run fine. systemctl start would not start the service. It ony worked with the full install of the driver. Running ubuntu server 20.04, kernel 5.11.0-43-generic. Nothing else installed but ssh server. Since I did not clean install after receiving the error message, should there be a full log, I could gladly send it to you. Link to comment
jvvita Posted January 4, 2022 Share Posted January 4, 2022 I had done these steps, to no avail. 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 But I believe I can uninstall the rock and rock packages and see what happens. Thanks for the tip regarding low latency. Will sure do the install Link to comment
jvvita Posted January 6, 2022 Share Posted January 6, 2022 Thanks for this. In fact, the lines come from the OP tutorial. I did not think the first one would hurt, even though I won't be running rocm software. The second one I trusted amd package doing its job properly and creating the symlink. But you are right. Now I know where to look should any update break the system. I am eagerly waiting for a update of the kernel version you use for your HQPOs, so I can move away of this jungle. Link to comment
jvvita Posted January 6, 2022 Share Posted January 6, 2022 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
jvvita Posted January 6, 2022 Share Posted January 6, 2022 Just now, Miska said: Sounds correct yes. Thanks. I will try later. And then we could update the guide from the OP. It is nice to have a step-by-step. Will do a clean install to verify Link to comment
jvvita Posted January 7, 2022 Share Posted January 7, 2022 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 pavi 1 Link to comment
jvvita Posted February 10, 2022 Share Posted February 10, 2022 Just to give everyone a heads up: amd updated the rocm packages to v5. But HQPlayer will not work with v5. You have to stick to v4.5, as @Miska has advised. So be careful when doing apt upgrade if the rocm repo is active in your install Link to comment
jvvita Posted February 10, 2022 Share Posted February 10, 2022 Did you try adding the flag [trusted=yes] in the rocm.list file? It should be added in the line that defines the repository path, after deby You should find the file in /etc/apt/sources.list.d/ Link to comment
jvvita Posted February 11, 2022 Share Posted February 11, 2022 Hello @Miska, just saw a new version of embedded. I\does this one require rocm v5? Link to comment
jvvita Posted February 14, 2022 Share Posted February 14, 2022 Try stopping the service (systemctl stop hqplayerd), and setting password again. The (re)start the service (or even reboot). Gato 1 Link to comment
jvvita Posted February 14, 2022 Share Posted February 14, 2022 2 hours ago, Gato said: Yes , password. But you changed your password to hqplayerd, when you ran hqplayerd -s hqplayer hqplayer. You could try two combinations: Login hqplayer Password hqplayer Login hqplayer Password password If neither works, then stop the service, and re-run hqplayerd -s hqplayer hqplayer. Reboot. Your password will be hqplayer Gato 1 Link to comment
jvvita Posted March 16, 2022 Share Posted March 16, 2022 You just download and install. No tricks needed. Just be sure to use Ubuntu desktop, and not the server version. Link to comment
jvvita Posted March 16, 2022 Share Posted March 16, 2022 Hello. @Miska, April, 21st is getting near. Do you plan on upgrading embedded libraries to support the 22.04 Ubuntu server (Jammy Jellysfish)? 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