sledwards Posted January 6, 2022 Share Posted January 6, 2022 If it helps any, here is what I get after reinstall of rocm-dkms: Link to comment
sledwards Posted January 6, 2022 Share Posted January 6, 2022 @Miska So with everything running as it should with rocm installed, are there any disadvantages to having loaded that will effect HQPe performance? Admittingly, I am probably only a step above novice as far as lLinux goes. However, I can follow instructions and if you can provide me with the exact command line needed to just to allow the AMD version of embedded to install, I will try that. Forgive me if it somewhere else in this post, may just be missing it. Link to comment
Miska Posted January 6, 2022 Share Posted January 6, 2022 53 minutes ago, sledwards said: Just try to run "hqplayerd" as root from the command line. Signalyst - Developer of HQPlayer Pulse & Fidelity - Software Defined Amplifiers Link to comment
sledwards Posted January 6, 2022 Share Posted January 6, 2022 19 minutes ago, Miska said: Just try to run "hqplayerd" as root from the command line. Link to comment
Miska Posted January 6, 2022 Share Posted January 6, 2022 8 minutes ago, sledwards said: That is because you are missing valid path in /etc/ld.so.conf.d and it is not related to the kernel driver. You can do "find /opt -name libamdhip64.so.4" Signalyst - Developer of HQPlayer Pulse & Fidelity - Software Defined Amplifiers Link to comment
sledwards Posted January 6, 2022 Share Posted January 6, 2022 16 minutes ago, Miska said: That is because you are missing valid path in /etc/ld.so.conf.d and it is not related to the kernel driver. You can do "find /opt -name libamdhip64.so.4" 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". 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
Miska Posted January 6, 2022 Share Posted January 6, 2022 3 minutes ago, jvvita said: So you did Sudo nano /etc/ld.so.conf.d/rocm.conf add "/opt/rocm-4.5.0/lib” sudo ldconfig is this so? Sounds correct yes. Signalyst - Developer of HQPlayer Pulse & Fidelity - Software Defined Amplifiers Link to comment
Popular Post sledwards Posted January 6, 2022 Popular Post Share Posted January 6, 2022 1 minute ago, jvvita said: So you did Sudo nano /etc/ld.so.conf.d/rocm.conf add "/opt/rocm-4.5.0/lib” sudo ldconfig is this so? Yes. I manually edited rocm.conf. I removed 3 identical paths that said " /opt/rocm/lib" and added /opt/rocm-4.5.0/lib. I also got rid of of rock-dkms installation and all is working. jvvita and Miska 2 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
pavi Posted January 7, 2022 Share Posted January 7, 2022 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 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
Miska Posted January 7, 2022 Share Posted January 7, 2022 29 minutes ago, pavi said: 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 Note that for current HQPlayer releases, you need Nvidia GPU driver version >= 49x. pavi 1 Signalyst - Developer of HQPlayer Pulse & Fidelity - Software Defined Amplifiers 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
sledwards Posted January 7, 2022 Share Posted January 7, 2022 11 hours ago, Miska said: Note that for current HQPlayer releases, you need Nvidia GPU driver version >= 49x How do we know when GPU driver needs update? Latest version of HQPe (4.28.3-107) was working fine on version 470 (CUDA 11.4). Updated to 495 and CUDA 11.5 and HQPe still runs fine. Or is the fact its running doesn't ensure compatibility? Link to comment
Miska Posted January 7, 2022 Share Posted January 7, 2022 31 minutes ago, sledwards said: How do we know when GPU driver needs update? Latest version of HQPe (4.28.3-107) was working fine on version 470 (CUDA 11.4). Updated to 495 and CUDA 11.5 and HQPe still runs fine. Or is the fact its running doesn't ensure compatibility? When the driver is too old, CUDA offload doesn't get enabled. You can see this from the web interface for example when you have playback ongoing. Currently Nvidia ships driver version 495.46 with CUDA 11.5.1 for Ubuntu. Generally, if you stick to latest available driver, things should continue to work. HQPlayer is always built with latest CUDA available at the moment of release. pavi 1 Signalyst - Developer of HQPlayer Pulse & Fidelity - Software Defined Amplifiers Link to comment
pavi Posted January 7, 2022 Share Posted January 7, 2022 3 hours ago, jvvita said: Confirmed. Work for me too on a clean install (i9-10900k no GPU). Thanks thanks so much, @jvvita & @Miska, for working together to bring this to clarity — very much appreciated. jvvita 1 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
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
sledwards Posted February 10, 2022 Share Posted February 10, 2022 Yes, it was active in my install. Have tried to go back with no luck. I point to 4.5 repository and hqplayerd returns this: hqplayerd: error while loading shared libraries: libamdhip64.so.4: cannot open shared object file: No such file or directory. Please help. Link to comment
Miska Posted February 10, 2022 Share Posted February 10, 2022 2 hours ago, sledwards said: Yes, it was active in my install. Have tried to go back with no luck. I point to 4.5 repository and hqplayerd returns this: hqplayerd: error while loading shared libraries: libamdhip64.so.4: cannot open shared object file: No such file or directory. This is what I have: jussi@ubuntu-srv:~$ cat /etc/ld.so.conf.d/rocm.conf /opt/rocm/lib But if your alternatives of /opt/rocm is pointing now to 5.0, you may need to use /opt/rocm-4.5.0/lib instead. Note that you can have both there as well, that should transition you over to 5.0 smoothly. Or just wait for next HQPlayer Embedded release which should happen shortly and uses ROCm 5.0. pavi 1 Signalyst - Developer of HQPlayer Pulse & Fidelity - Software Defined Amplifiers Link to comment
sledwards Posted February 10, 2022 Share Posted February 10, 2022 When I list the repositories I get this: I can navigate to the above location. When I try to update, I get this: From there I am lost. When I try to install hqplayer: 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
sledwards Posted February 10, 2022 Share Posted February 10, 2022 This is not working: deb [trusted=yes] [arch=amd64] https://repo.radeon.com/rocm/apt/4.5/dists/ ubuntu main Link to comment
Miska Posted February 10, 2022 Share Posted February 10, 2022 2 minutes ago, sledwards said: This is not working: deb [trusted=yes] [arch=amd64] https://repo.radeon.com/rocm/apt/4.5/dists/ ubuntu main This works just fine: deb [arch=amd64] https://repo.radeon.com/rocm/apt/4.5/ ubuntu main As documented here: https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html#ubuntu Signalyst - Developer of HQPlayer Pulse & Fidelity - Software Defined Amplifiers Link to comment
sledwards Posted February 10, 2022 Share Posted February 10, 2022 25 minutes ago, jvvita said: 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 I just replaced the arch=amd64 with trusted=yes and it worked! I am back to running again. Thank you very much! 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