Jump to content
IGNORED

HQPlayer Linux Desktop and HQplayer embedded


ted_b

Recommended Posts

5 hours ago, Miska said:

 

Use the "x64gen" image, there the UAC2 input should work and also hqplayerd should work. Atom CPU's don't support AVX2 instruction set, so the "x64amd" image doesn't work due to that reason (invalid opcode).

 

This looks similar to the error I'm getting running the latest version on Ubuntu (Signalyst HQPlayer Embedded v4.26.2):

hqplayerd[375522] trap invalid opcode ip:298369e sp:7fff3bc511b0 error:0 in hqplayerd[23d0000+858000]

 

The previous version I was using before (Signalyst HQPlayer Embedded v4.25.0) works just fine. Anything I can do to fix the error?

Massimiliano

Link to comment
6 hours ago, Miska said:

 

Use the "x64gen" image, there the UAC2 input should work and also hqplayerd should work. Atom CPU's don't support AVX2 instruction set, so the "x64amd" image doesn't work due to that reason (invalid opcode).

 

Thanks @Miska! Got it. Will test the UAC2 functionality.

Link to comment

After some initial tests with the UAC2 input on the UP-Gateway, unfortunately I am not too happy with the outcome.

The source ( for testing purposes a Windows 10 running Qobuz ) is connected via OTG to USB.

1. Select Network as OUTPUT to Kadas Tone Board simple DAC and use PCM 192 settings 

2. Select UAC2 as INPUT SOURCE in the menu -> Windows 10 immediately sees the NEW USB Device 'DAC'

3. Press PLAY on Main Page in the browser menu

4. No sound on my system

5. When I try to change the input back to PLAYLIST mode, HQP crashes, reporting a need to reboot.

 

I know there aren't many out there using the UP-Gateway but those who are successfully using a certain image I would appreciate some hints.

@Miskaare your current versions also tested with this UAC2 functionality on Up-Board hardware? 

Link to comment
21 hours ago, realmassy said:

This looks similar to the error I'm getting running the latest version on Ubuntu (Signalyst HQPlayer Embedded v4.26.2):

hqplayerd[375522] trap invalid opcode ip:298369e sp:7fff3bc511b0 error:0 in hqplayerd[23d0000+858000]

 

The previous version I was using before (Signalyst HQPlayer Embedded v4.25.0) works just fine. Anything I can do to fix the error?

 

Check which package you download. There are two, the generic one and the "amd" one that requires AVX2 instruction set. This has been the rule for quite a while already.

 

The "amd" one should work on any recent bigger CPU, it has been in Intel's Core/Xeon since Haswell introduced in 2013. If you have Atom or similar small CPU, you need to use the generic package that requires SSE4.2 but supports also AVX, AVX2 and AVX-512.

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
1 hour ago, D-0211 said:

After some initial tests with the UAC2 input on the UP-Gateway, unfortunately I am not too happy with the outcome.

The source ( for testing purposes a Windows 10 running Qobuz ) is connected via OTG to USB.

1. Select Network as OUTPUT to Kadas Tone Board simple DAC and use PCM 192 settings 

2. Select UAC2 as INPUT SOURCE in the menu -> Windows 10 immediately sees the NEW USB Device 'DAC'

3. Press PLAY on Main Page in the browser menu

4. No sound on my system

 

You have switched the USB port to Device mode in UP Gateway BIOS? Did you start playback at the USB source side too?

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
1 hour ago, Miska said:

 

Check which package you download. There are two, the generic one and the "amd" one that requires AVX2 instruction set. This has been the rule for quite a while already.

 

The "amd" one should work on any recent bigger CPU, it has been in Intel's Core/Xeon since Haswell introduced in 2013. If you have Atom or similar small CPU, you need to use the generic package that requires SSE4.2 but supports also AVX, AVX2 and AVX-512.

 

Got it, thanks, the generivpc version is working fine 

Massimiliano

Link to comment
19 hours ago, Miska said:

 

Does the playback get running? Any errors in HQPlayer log? HQPlayer playback is running?

 

I had several testruns and reboots... 

If the USB OTG is connected to the source, the playback in the Status bar is always on 'stopped' .

When unplugged and starting HQ OS ( latest !) and selecting UAC2 as INPUT the Status is 'playing'. ( 'without pressing 'play button' on the main screen)

As soon as I plug in the USB source the status switches to 'stopped'.

 

This is the LOGFILE after HQ OS started and UAC2 Input selected...but Status = 'stopped' 

2021/10/28 12:20:40 Set transport (5): USB Audio Class 2

  2021/10/28 12:20:40 found matching input: USB Audio Class 2

  2021/10/28 12:20:40 Audio transport: rate=0 channels=2 format=auto buffer=100

  2021/10/28 12:20:40 Output SDM packing: 1

+ 2021/10/28 12:20:40 UAC2 input engine initializing...

  2021/10/28 12:20:40 UAC2 input initial state 44100/32/2

  2021/10/28 12:20:40 UAC2 input sampling rate: 44100 (44100)

  2021/10/28 12:20:40 UAC2 input channels: 2 (2)

  2021/10/28 12:20:40 UAC2 input Available rates:

  2021/10/28 12:20:40 UAC2 input      32000

  2021/10/28 12:20:40 UAC2 input      44100

  2021/10/28 12:20:40 UAC2 input      48000

  2021/10/28 12:20:40 UAC2 input      64000

  2021/10/28 12:20:40 UAC2 input      88200

  2021/10/28 12:20:40 UAC2 input      96000

  2021/10/28 12:20:40 UAC2 input      128000

  2021/10/28 12:20:40 UAC2 input      176400

  2021/10/28 12:20:40 UAC2 input      192000

  2021/10/28 12:20:40 UAC2 input      256000

  2021/10/28 12:20:40 UAC2 input      352800

  2021/10/28 12:20:40 UAC2 input      384000

  2021/10/28 12:20:40 UAC2 input      512000

  2021/10/28 12:20:40 UAC2 input      705600

  2021/10/28 12:20:40 UAC2 input      768000

+ 2021/10/28 12:20:40 UAC2 input engine initialized

  2021/10/28 12:20:40 Audio transport: rate=0 channels=2 format=auto buffer=100 (normal)

& 2021/10/28 12:20:40 Play

+ 2021/10/28 12:20:40 Playback engine running

  2021/10/28 12:20:40 Rate or blocksize change triggered

  2021/10/28 12:20:40 Rate: 44100, block size: 4704, frame size: 588

  2021/10/28 12:20:40 Block size: 4704 (sample: 4)

  2021/10/28 12:20:40 Web switch input: USB Audio Class 2

  2021/10/28 12:20:40 Playback engine ratio: 2.17687

  2021/10/28 12:20:40 Filter: extended poly sinc 2

  2021/10/28 12:20:40 Dither: gaussian probability density function for 24-bit

  2021/10/28 12:20:40 Set volume: -14.4249 +

  2021/10/28 12:20:40 Offload: resampler=disabled convolution=disabled

  2021/10/28 12:20:40 Initialization complete, starting audio engine

  2021/10/28 12:20:40 Teams: 1

  2021/10/28 12:20:40 Places: 1

  2021/10/28 12:20:40 Parallel threads: 4

  2021/10/28 12:20:40 Nested parallelism: 4

  2021/10/28 12:20:40 Parallel pipelines: 4

+ 2021/10/28 12:20:41 ALSA output engine starting...

  2021/10/28 12:20:41 ALSA output set hardware parameters for requested rate: 96000

  2021/10/28 12:20:41 ALSA output channels: 2 - 2

  2021/10/28 12:20:41 ALSA output active channels: 2

  2021/10/28 12:20:41 ALSA output number of periods: 2 - 1024

  2021/10/28 12:20:41 ALSA output period times: 125 - 2730667

  2021/10/28 12:20:41 ALSA output period sizes: 12 - 262144

  2021/10/28 12:20:41 ALSA output period time: 100000

  2021/10/28 12:20:41 ALSA output periods: 9600 (100) / 2

+ 2021/10/28 12:20:41 ALSA output engine started at: 96000 (96000)

+ 2021/10/28 12:20:41 ALSA output engine running...

+ 2021/10/28 12:20:41 UAC2 input engine starting...

+ 2021/10/28 12:20:41 UAC2 input engine started

  2021/10/28 12:20:41 UAC2 input engine parameter change: 0/0

  2021/10/28 12:20:41 UAC2 input channels: 0 (0)

  2021/10/28 12:20:41 UAC2 input sampling rate: 0 (0)

  2021/10/28 12:20:41 Stop request (tail)

& 2021/10/28 12:20:41 Stop...

- 2021/10/28 12:20:41 ALSA output engine stopping...

 

- 2021/10/28 12:20:42 ALSA output engine stop request...

- 2021/10/28 12:20:43 ALSA output engine stopped

- 2021/10/28 12:20:43 Playback engine stopped

& 2021/10/28 12:20:43 ...stopped

  2021/10/28 12:20:43 Set volume: -14.4249 +

- 2021/10/28 12:20:43 UAC2 input engine stopping...

- 2021/10/28 12:20:43 UAC2 input engine stopped

  2021/10/28 12:20:43 Audio transport: rate=0 channels=2 format=auto buffer=100 (normal)

 

Link to comment
1 hour ago, AudioDoctor said:

@Miska lastnight my ubuntu updated and pulled in some new rocm bits. Today I get this. It appears to be the old problem back again, but the fix did not work this time.

 

edit: There were warnings about dpkg not being able to delete some folders because they were not empty as well.

 

Is for example your /opt/rocm symlink still pointing to a correct place?

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
7 hours ago, AudioDoctor said:

I have been messing with this for a while today, and even after a fresh install of Ubuntu 20.04 LTS, rocm will not install. I get an error message shown below. There is an update for rocm in the update queue, I strongly caution you against doing that update.

 

AMD seems to have tradition of horribly bad software quality. However, if you don't have AMD GPU, you don't need to install rocm-dkms as it won't load anyway without AMD GPU. Just let hqplayerd package pull in the needed dependencies.

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
5 hours ago, Miska said:

 

AMD seems to have tradition of horribly bad software quality. However, if you don't have AMD GPU, you don't need to install rocm-dkms as it won't load anyway without AMD GPU. Just let hqplayerd package pull in the needed dependencies.

 

 

ok, I will do that. I was just following the directions on the rocm install website.

 

I already had the rocm repository added so I did a sudo apt install -f and it downloaded a bunch of stuff. didn't start. Ran the command to add it to my path, didn't work. Ran the fix you noted in a PM, didn't work. Error looks the same though.

 

 

 

Screen Shot 2021-10-29 at 9.32.36 AM.png

No electron left behind.

Link to comment
7 hours ago, AudioDoctor said:

ok, I will do that. I was just following the directions on the rocm install website.

 

I already had the rocm repository added so I did a sudo apt install -f and it downloaded a bunch of stuff. didn't start. Ran the command to add it to my path, didn't work. Ran the fix you noted in a PM, didn't work. Error looks the same though.

 

Dynamic loader cannot find one of the dynamic libraries. Check that your /opt/rocm symlink is pointing to correct place, and that you have something in /etc/ld.so.conf.d pointing to /opt/rocm/lib

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
11 hours ago, AudioDoctor said:

Ok. How do I do that via command line?

 

I cannot provide just simple set of commands that you could do and that would continue to work across ROCm updates.

 

But usually there should be /opt/rocm symlink pointing to the actual /opt/rocmXX installation folder. It should get updated when the relevant packages get updated, but it is not always the case.

 

Then the dynamic link loader called ld.so should be configured to look for libraries under /opt/rocm/lib which you can do by adding a file called rocm.conf to /etc/ld.so.conf.d folder and then running "ldconfig".

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
13 hours ago, AudioDoctor said:

 

Ok. How do I do that via command line?


Just seeing this and can commiserate. I had the exact same error after purging the previous HQPlayer install and having hqplayerd alone pulling in dependencies.

 

Toward the end of the Ubuntu section on this page there is a command line instruction under the heading :

Quote

Note: To run the ROCm programs, add the ROCm binaries in your PATH

I was unable to locate similar instruction on the latest ROMm installation page (currently v4.5) but the documentation for ROCm v4.3 pulls in the most current version at this time.

 

ROCm has been such a consistent hassle I think I’ll stop doing a fresh install for each new HQPlayerd release for the foreseeable future.

Link to comment
6 hours ago, perpetualapprentice said:


Just seeing this and can commiserate. I had the exact same error after purging the previous HQPlayer install and having hqplayerd alone pulling in dependencies.

 

Toward the end of the Ubuntu section on this page there is a command line instruction under the heading :

I was unable to locate similar instruction on the latest ROMm installation page (currently v4.5) but the documentation for ROCm v4.3 pulls in the most current version at this time.

 

ROCm has been such a consistent hassle I think I’ll stop doing a fresh install for each new HQPlayerd release for the foreseeable future.

 

yeah, I did that.

No electron left behind.

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