Jump to content
IGNORED

HQPlayer Linux Desktop and HQplayer embedded


ted_b

Recommended Posts

18 minutes ago, shadowlight said:

@Miska, what are the differences between hqplayerd_4.3.0-14 and hqplayerd_4.3.1-15, since they were released a day apart?

 

Please check the included changelog or my web page... ;)

 

But I fixed two bugs related to convolution engine and matrix configuration. I just finally found those bugs today based on information I got. If you don't use either feature, you don't need to update.

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
14 minutes ago, Miska said:

 

Please check the included changelog or my web page... ;)

 

But I fixed two bugs related to convolution engine and matrix configuration. I just finally found those bugs today based on information I got. If you don't use either feature, you don't need to update.

 

Sorry, should have checked the change file first ?

Link to comment
1 hour ago, Miska said:

 

It is for the cases where the hardware has multiple network interfaces. Otherwise multicast routing becomes a nightmare. It also works around issue on systemd waiting forever on unconnected interfaces to become ready and thus preventing service from coming up.

 

Those messages are normal for bridge setup, it takes a while for the bridge (which works just like a switch) to learn MAC addresses on the interfaces and detect link status.

 

Frequently problem finding a NAA case has been multi-homed configuration where HQPlayer machine has multiple network interfaces and then multicasts are being routed to the wrong one.

 

I understand.

 

Do you think am i missing something in the process of installation I describe above??

 

Thank you

Link to comment
9 minutes ago, jmmbarco said:

Do you think am i missing something in the process of installation I describe above??

 

No, seems correct to me. But depends on the hardware, does either one of the machines have multiple network interfaces?

 

Just in case you could also check firewall on both machines with "iptables -L".

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
16 hours ago, Miska said:

 

No, seems correct to me. But depends on the hardware, does either one of the machines have multiple network interfaces?

 

Just in case you could also check firewall on both machines with "iptables -L".

Hi Miska, I checked firewall as well and it was disabled. No multiple network interfaces either.

 

Today I have used another machine and started from the begining. I have followed the steps as yesterday but today I cannot enter the configuration page. It asks for the username and password but after introducing it says connection refused. I have repeated the whole process twice with same results...

 

I have some doubts

1. After update the kernel with LAST patches (jl+) I install these libraries: "libglib2.0-0, libflac8, libasound2, libasound2-data, libgomp1", but I don´t install rygel because I want to use hqplayer with roon. is it correct? i am confused in this point because i see that some rygel libraries are isntalled when I check dependencies of  hqplayerd (last version as well)

2. I have been following the only manual I have found to help in the installation as I am sure you already know. In this manual, after installing hqplayerd it creates some directories and manage some xml files. Is it necessary? One of them is rygel related.

3. After this I just configure: "sudo hqplayerd -s <user> <pass> and restart hqplayerd.service. Is it necessary to do "hqplayerd -u <user> <pass> " as well?

 

I have reinstalled everything twice and I am unable to access to hqplayer settings....I don´t understand what am i doing wrong....

 

Thank you in advance,

JM

Link to comment
3 hours ago, jmmbarco said:

1. After update the kernel with LAST patches (jl+) I install these libraries: "libglib2.0-0, libflac8, libasound2, libasound2-data, libgomp1", but I don´t install rygel because I want to use hqplayer with roon. is it correct? i am confused in this point because i see that some rygel libraries are isntalled when I check dependencies of  hqplayerd (last version as well)

 

Yes, Rygel libraries are always needed, regardless if you use the UPnP functionality or not.

 

3 hours ago, jmmbarco said:

2. I have been following the only manual I have found to help in the installation as I am sure you already know. In this manual, after installing hqplayerd it creates some directories and manage some xml files. Is it necessary? One of them is rygel related.

 

Yes, but all this is handled by the package installation.

 

3 hours ago, jmmbarco said:

3. After this I just configure: "sudo hqplayerd -s <user> <pass> and restart hqplayerd.service. Is it necessary to do "hqplayerd -u <user> <pass> " as well?

 

Yes it is necessary if you want to use the web interface to do any configuration, if you want to enter the configuration data by manually editing /etc/hqplayer/hqplayerd.xml instead, you don't need to have the authentication data set.

 

When the hqplayerd is running in failed/unconfigured state, web interface only allows using configuration page. If you fail to provide correct credentials, you access is blocked.

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment

Sorry Miska, but I am not understanding.

 

1. The library called just "rygel" must be installed if you want to use hqplayer and roon? If I install it there is a bunch of dependencies too...

2. After the installation of hqplayerd there is no .config or .hqpe in the home directory. I am refering to these commands:

 

mkdir /home/hqpe/.config

chmod 750 /home/hqpe/.config

mkdir /home/hqpe/.hqplayer

zcat /usr/share/doc/hqplayerd/rygel.conf.gz > /home/hqpe/.config/rygel.conf

sudo mv /etc/hqplayer/hqplayerd.xml /etc/hqplayer/hqplayerd.xml.orig

 

Are these commands necessary?

 

When I rename the config file to .orig there is no config file in /etc/hqplayer but service runs and if I don´t execute the command service does not start. In a system log I have read that hqplyayerd receives the "\config" web request but it restarts inmediately maybe because this missing file???

 

 

 

Link to comment
17 minutes ago, jmmbarco said:

1. The library called just "rygel" must be installed if you want to use hqplayer and roon? If I install it there is a bunch of dependencies too...

 

Yes...

 

17 minutes ago, jmmbarco said:

2. After the installation of hqplayerd there is no .config or .hqpe in the home directory. I am refering to these commands:

 

mkdir /home/hqpe/.config

chmod 750 /home/hqpe/.config

mkdir /home/hqpe/.hqplayer

zcat /usr/share/doc/hqplayerd/rygel.conf.gz > /home/hqpe/.config/rygel.conf

sudo mv /etc/hqplayer/hqplayerd.xml /etc/hqplayer/hqplayerd.xml.orig

 

Are these commands necessary?

 

I don't know where that comes from, but no, those are not necessary if you run hqplayerd as a service.

 

There are some instructions in the readme.txt included in the package. But if you feel setting up hqplayerd is complex, why don't you use the bootable image that has everything needed, including a custom OS? You can just use "bmaptool" to dump it to a USB memory stick and you are ready to go by booting from that stick. Same goes for the NAA side.

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
26 minutes ago, Miska said:

 

Yes...

 

 

I don't know where that comes from, but no, those are not necessary if you run hqplayerd as a service.

 

There are some instructions in the readme.txt included in the package. But if you feel setting up hqplayerd is complex, why don't you use the bootable image that has everything needed, including a custom OS? You can just use "bmaptool" to dump it to a USB memory stick and you are ready to go by booting from that stick. Same goes for the NAA side.

 

OK. Thank you very much. I am trying again to install

 

I don´t want to use the images because i want to install roon as well....

 

 

Link to comment

I am completely confused. Just don´t get what I am doing wrong. This is what I do:

 

1. Install Ubuntu 16.04.5. Only SSH and base.

2. wget https://www.sonarnerd.net/src/xenial/linux-headers-4.14.65-jl+_16_amd64.deb

3. wget https://www.sonarnerd.net/src/xenial/linux-image-4.14.65-jl+_16_amd64.deb 

4. sudo dpkg -i linux-image-4.14.65-jl+_16_amd64.deb

5. sudo dpkg -i linux-headers-4.14.65-jl+_16_amd64.deb

6. wget https://www.sonarnerd.net/src/xenial/libgmpris_2.2.1-4_amd64.deb

7. sudo dpkg -i libgmpris_2.2.1-4_amd64.deb

8. sudo apt-get -y install libglib2.0-0 libflac8 libasound2 libasound2-data libgomp1
9. sudo apt-get -y install rygel

10. wget https://www.signalyst.eu/bins/hqplayerd/xenial/hqplayerd_4.3.1-15_amd64.deb 

11. sudo dpkg -i hqplayerd_4.3.1-15_amd64.deb

12. sudo hqplayerd -s user pass

13. sudo systemctl start hqplayerd.service.

I get an error starting the service: Failed with result 'core-dump'

 

- If I rename the file /etc/hqplayerd/hqplayerd.xml to /etc/hqplayerd/hqplayerd.xml.bkp service starts but I am unable to access the config page after validating user/pass. Error: kernel: traps: hqplayerd[2989] trap invalid opcode ip:9d635f......

 

 

 

 

Link to comment
15 minutes ago, jmmbarco said:

1. Install Ubuntu 16.04.5. Only SSH and base.

 

2. Edit /etc/network/interfaces to configure your ethernet interfaces as necessary

 

15 minutes ago, jmmbarco said:

2. wget https://www.sonarnerd.net/src/xenial/linux-headers-4.14.65-jl+_16_amd64.deb

3. wget https://www.sonarnerd.net/src/xenial/linux-image-4.14.65-jl+_16_amd64.deb 

4. sudo dpkg -i linux-image-4.14.65-jl+_16_amd64.deb

5. sudo dpkg -i linux-headers-4.14.65-jl+_16_amd64.deb

6. wget https://www.sonarnerd.net/src/xenial/libgmpris_2.2.1-4_amd64.deb

7. sudo dpkg -i libgmpris_2.2.1-4_amd64.deb

 

This is fine...

 

Then skip 8 and 9.

 

15 minutes ago, jmmbarco said:

10. wget https://www.signalyst.eu/bins/hqplayerd/xenial/hqplayerd_4.3.1-15_amd64.deb 

11. sudo dpkg -i hqplayerd_4.3.1-15_amd64.deb

 

Just ignore the errors and then here do

12. sudo apt install -f

this will fix the remaining missing dependency errors.

 

15 minutes ago, jmmbarco said:

12. sudo hqplayerd -s user pass

13. sudo systemctl start hqplayerd.service

 

Good, but as irrelevant detail, you don't need to have the .service suffix

 

13. sudo systemctl enable hqplayerd

14. sudo reboot

 

This is enough.

 

Then you can connect to port 8088 with browser and user username "user" password "pass" to login. It'll throw you to /config page.

 

Regarding core dump, what CPU model do you have?

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
5 minutes ago, jmmbarco said:

The today test machine is quite old, dual core or similar. The true one will be an i7-8650 form roon and hqplayerd and an i5-3470s for the naa. Do you think it will be enough?

 

Always depends on what you are going to do with it... Configuration changes in HQPlayer can have at least 100x impact on CPU load, etc.

 

But the reason why I asked is that if it doesn't have SSE4.2 then the binary will crash sooner or later when you try to run it.

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
8 hours ago, jmmbarco said:

 

2. I have been following the only manual I have found to help in the installation as I am sure you already know. In this manual, after installing hqplayerd it creates some directories and manage some xml files. Is it necessary? One of them is rygel related.

 

If you are using the guide that I posted, it really needs a overhaul and update.  Hopefully, I will be able to do that over the next couple of weeks.

Link to comment

One change to the old stuff is that rygel.conf and separate rygel process is not needed anymore. Although one can still use Rygel in the old way if also media server functionality is needed.

 

P.S. I have upgraded one of my servers to Ubuntu Server 18.04.1 LTS and so far I have not found any problems. So at this point one can probably also safely start the build on that one instead, except if CUDA support is needed.

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
2 hours ago, Miska said:

One change to the old stuff is that rygel.conf and separate rygel process is not needed anymore. Although one can still use Rygel in the old way if also media server functionality is needed.

 

P.S. I have upgraded one of my servers to Ubuntu Server 18.04.1 LTS and so far I have not found any problems. So at this point one can probably also safely start the build on that one instead, except if CUDA support is needed.

 

I will remove the rygel.conf file information from the next install guide and add information for Ubuntu LTS 18.04 and Fedora information.

 

If anyone has information on the steps needed to get CUDA working can you send me that information so I can add it to the mix.  Can I use a K2000 card for testing installation?

Link to comment
8 hours ago, shadowlight said:

If anyone has information on the steps needed to get CUDA working can you send me that information so I can add it to the mix.  Can I use a K2000 card for testing installation?

 

I think best way for 16.04 is to add the Nvidia's 16.04 CUDA package repository and pull the driver from there, that way it stays in sync with the software built for CUDA.

 

I have following /etc/apt/sources.list.d/cuda.list

deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 /

And then from there "apt install cuda-drivers" which is meta package that should pull in all required things.

 

I think K2000 should be fine.

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment

Hi again!

 

I finally found the reason for such a strange behaviour. It was due to the cpus I was using. It didn´t support SSE4.2. Today I have tested again with a newer laptop as naa and a small i3 as server. Both are supporting the requirements and the installation has been surprisingly simple and straight forward.

I really want to thank you for your kind support in my first step in this journey, specially to Miska for his infinite patience ???.

 

This weekend I will test at home....

 

Thanks again!?

Link to comment
10 hours ago, Miska said:

 

I think best way for 16.04 is to add the Nvidia's 16.04 CUDA package repository and pull the driver from there, that way it stays in sync with the software built for CUDA.

 

I have following /etc/apt/sources.list.d/cuda.list


deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 /

And then from there "apt install cuda-drivers" which is meta package that should pull in all required things.

 

I think K2000 should be fine.

Thx, I will try it and update the build guides accordingly.

Link to comment

Ahh, you will still need the repository key imported, which I believe is:

https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub

 

And then "apt-key add 7fa2af80.pub"...

 

By the way, that server seems to have https too, so it may be better to use that one in cuda.list too...

 

Other alternative is to download and install the CUDA "network install" package which does just two things, adds the repository key and the cuda.list file to apt.

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
On 8/31/2018 at 2:47 AM, Miska said:

 

I think best way for 16.04 is to add the Nvidia's 16.04 CUDA package repository and pull the driver from there, that way it stays in sync with the software built for CUDA.

 

I have following /etc/apt/sources.list.d/cuda.list


deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 /

And then from there "apt install cuda-drivers" which is meta package that should pull in all required things.

 

I think K2000 should be fine.

Miska, when I run the apt install cuda-drivers I get lots of additional package include various X Windows /Unity/Pulse Audio etc.  Is it possible to identify the exact packages needed?

 

Once I reboot the system I end up with Unity screen, I believe.

 

Link to comment
2 hours ago, shadowlight said:

Miska, when I run the apt install cuda-drivers I get lots of additional package include various X Windows /Unity/Pulse Audio etc.  Is it possible to identify the exact packages needed?

 

Once I reboot the system I end up with Unity screen, I believe.

 

 

"nvidia-396" is the base driver package, but I couldn't see a generic meta package other than the cuda thing that would bring the latest version in always, instead of a specific version like the nvidia-396...

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

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