Install Problems with Fedora34

Im trying to get HQplayer up and running on Fedora-server 34 but seem to be getting a seg-fault :frowning:

The output is as follows:
Signalyst HQPlayer Embedded v4.25.2
Copyright (C) 1998-2021 Jussi Laako / Signalyst. All rights reserved.
** Message: 06:11:28.684:       additional mime type: audio/ogg
** Message: 06:11:28.684:       additional mime type: audio/vnd.wave
** Message: 06:11:28.684:       additional mime type: audio/L32;rate=44100
** Message: 06:11:28.684:       additional mime type: audio/L32;rate=48000
** Message: 06:11:28.684:       additional mime type: audio/L32;rate=88200
** Message: 06:11:28.684:       additional mime type: audio/L32;rate=96000
** Message: 06:11:28.684:       additional mime type: audio/L32;rate=176400
** Message: 06:11:28.684:       additional mime type: audio/L32;rate=192000
** Message: 06:11:28.684:       additional mime type: audio/L32;rate=352800
** Message: 06:11:28.684:       additional mime type: audio/L32;rate=384000
** Message: 06:11:28.684:       additional mime type: audio/L32;rate=705600
** Message: 06:11:28.684:       additional mime type: audio/L32;rate=768000
** Message: 06:11:28.684:       additional mime type: audio/L24;rate=44100
** Message: 06:11:28.684:       additional mime type: audio/L24;rate=48000
** Message: 06:11:28.684:       additional mime type: audio/L24;rate=88200
** Message: 06:11:28.684:       additional mime type: audio/L24;rate=96000
** Message: 06:11:28.684:       additional mime type: audio/L24;rate=176400
** Message: 06:11:28.684:       additional mime type: audio/L24;rate=192000
** Message: 06:11:28.684:       additional mime type: audio/L24;rate=352800
** Message: 06:11:28.684:       additional mime type: audio/L24;rate=384000
** Message: 06:11:28.684:       additional mime type: audio/L24;rate=705600
** Message: 06:11:28.684:       additional mime type: audio/L24;rate=768000
** Message: 06:11:28.684:       additional mime type: audio/L16;rate=44100
** Message: 06:11:28.684:       additional mime type: audio/L16;rate=48000
** Message: 06:11:28.684:       additional mime type: audio/L16;rate=88200
** Message: 06:11:28.684:       additional mime type: audio/L16;rate=96000
** Message: 06:11:28.684:       additional mime type: audio/L16;rate=176400
** Message: 06:11:28.684:       additional mime type: audio/L16;rate=192000
** Message: 06:11:28.684:       additional mime type: audio/L16;rate=352800
** Message: 06:11:28.684:       additional mime type: audio/L16;rate=384000
** Message: 06:11:28.684:       additional mime type: audio/L16;rate=705600
** Message: 06:11:28.684:       additional mime type: audio/L16;rate=768000
** Message: 06:11:28.685: Enable UPnP Renderer functionality for interface: auto
** Message: 06:11:28.686: Adding interface 'enp4s0' for UPnP Renderer
** Message: 06:11:28.710: property updated; volume: 0.95

** (process:7832): WARNING **: 06:11:28.710: clPlayerDaemon::OnNameLost() for 'org.mpris.MediaPlayer2.hqplayerd'
Segmentation fault

Anyone have a really easy solution for me that i’ve obviously missed :slight_smile:

Remember to set your web interface credentials with “hqplayerd” command line first! I have fixed this bug for next release.

I assume you are running hqplayerd as a service (as the default packaging is), so you’d set the credentials with “hqplayerd -s username password”.

Did you install the latest libgmpris package?

Just checked and yes it is installed

[root@hqplayer pmeeke]# dnf install libgmpris
Last metadata expiration check: 1:55:13 ago on Sun 10 Oct 2021 20:41:27 BST.
Package libgmpris-2.2.1-3.fc34.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

I have it running using v4.25.0 but have another issue :frowning: CUDA.
All the drivers are installed and running as should but for some unknown issue things just don’t want to play nicely.

The logs are as follows which has me mystified.
When starting hqplayerd this is a snippet of the log file:

2021/10/10 22:33:55  discovery from 0.0.0.0
& 2021/10/10 22:33:55  discovered network audio: name='ropieee' version='Signalyst Network Audio Daemon 4.1.1'  @192.168.1.206:43210
& 2021/10/10 22:33:55  discovered network audio: name='ropieee' version='Signalyst Network Audio Daemon 4.1.1'  @192.168.1.206:43210
  2021/10/10 22:33:56  connect to 192.168.1.206:43210 [ipv4]
  2021/10/10 22:33:56  network endpoint: Scarlett 2i2 USB: USB Audio (hw:CARD=USB,DEV=0)
  2021/10/10 22:33:56 CUDA offload requested
  2021/10/10 22:33:56 ROCm/HIP offload requested
  2021/10/10 22:33:56 libDSP version 21.19.1
  2021/10/10 22:33:56 HQPlayer Engine version 4.42.0
  2021/10/10 22:33:56 CUDA offload: all
  2021/10/10 22:33:56 Number of processor cores: 8
  2021/10/10 22:33:56 Core mask: 0000000000000000000000000000000000000000000000000000000011111111
  2021/10/10 22:33:56 CPU brand name: GenuineIntel

And once I start to play a song this is what happens:

& 2021/10/10 22:34:16 Stop...
& 2021/10/10 22:34:16 Playlist clear
& 2021/10/10 22:34:16 Playlist add URI: http://192.168.1.214:9103/27eeddbd6224462da250adb66e282be3/stream.raw
& 2021/10/10 22:34:16 Play
  2021/10/10 22:34:16 Offload: resampler=disabled convolution=disabled
+ 2021/10/10 22:34:16 Playback engine running
  2021/10/10 22:34:16 NAA output set sampling rate: 96000 (96000)
  2021/10/10 22:34:16 Automatic output rate: 96000
  2021/10/10 22:34:16 Rate or blocksize change triggered
  2021/10/10 22:34:16 Rate: 44100, block size: 2352, frame size: 588
  2021/10/10 22:34:16 Block size: 2352 (sample: 2)
  2021/10/10 22:34:16 Playback engine ratio: 2.17687
  2021/10/10 22:34:16 Filter: extended poly sinc 2
  2021/10/10 22:34:16 Dither: gaussian probability density function for 24-bit
  2021/10/10 22:34:16 Set volume: -3 +
  2021/10/10 22:34:16 Offload: resampler=disabled convolution=disabled
  2021/10/10 22:34:16 Initialization complete, starting audio engine
  2021/10/10 22:34:16 Teams: 1
  2021/10/10 22:34:16 Places: 1
  2021/10/10 22:34:16 Parallel threads: 16
  2021/10/10 22:34:16 Nested parallelism: 4
  2021/10/10 22:34:16 Parallel pipelines: 4
+ 2021/10/10 22:34:16 NAA output network engine starting...
  2021/10/10 22:34:16 NAA output network PCM streaming
  2021/10/10 22:34:16 NAA output channels: 2 (2)
+ 2021/10/10 22:34:16 NAA output network engine started at: 96000

Anyone any solutions for me :slight_smile: ?

I ran hqplayerd -s username password on 4.25.0-64.fc34.x86_64 all is good!
I’m back up to hqplayerd-4.25.2-66.fc34.x86_64 and it starts fine now. Playing through network audio is working.
But… Still no cuda offload :frowning:

Just for info CUDA does seem to be installed correctly on my system?

./deviceQuery Starting...

 CUDA Device Query (Runtime API) version (CUDART static linking)

Detected 1 CUDA Capable device(s)

Device 0: "NVIDIA GeForce RTX 2060"
  CUDA Driver Version / Runtime Version          11.4 / 11.4
  CUDA Capability Major/Minor version number:    7.5
  Total amount of global memory:                 5935 MBytes (6222839808 bytes)
  (030) Multiprocessors, (064) CUDA Cores/MP:    1920 CUDA Cores
  GPU Max Clock rate:                            1845 MHz (1.85 GHz)
  Memory Clock rate:                             7001 Mhz
  Memory Bus Width:                              192-bit
  L2 Cache Size:                                 3145728 bytes
  Maximum Texture Dimension Size (x,y,z)         1D=(131072), 2D=(131072, 65536), 3D=(16384, 16384, 16384)
  Maximum Layered 1D Texture Size, (num) layers  1D=(32768), 2048 layers
  Maximum Layered 2D Texture Size, (num) layers  2D=(32768, 32768), 2048 layers
  Total amount of constant memory:               65536 bytes
  Total amount of shared memory per block:       49152 bytes
  Total shared memory per multiprocessor:        65536 bytes
  Total number of registers available per block: 65536
  Warp size:                                     32
  Maximum number of threads per multiprocessor:  1024
  Maximum number of threads per block:           1024
  Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
  Max dimension size of a grid size    (x,y,z): (2147483647, 65535, 65535)
  Maximum memory pitch:                          2147483647 bytes
  Texture alignment:                             512 bytes
  Concurrent copy and kernel execution:          Yes with 3 copy engine(s)
  Run time limit on kernels:                     No
  Integrated GPU sharing Host Memory:            No
  Support host page-locked memory mapping:       Yes
  Alignment requirement for Surfaces:            Yes
  Device has ECC support:                        Disabled
  Device supports Unified Addressing (UVA):      Yes
  Device supports Managed Memory:                Yes
  Device supports Compute Preemption:            Yes
  Supports Cooperative Kernel Launch:            Yes
  Supports MultiDevice Co-op Kernel Launch:      Yes
  Device PCI Domain ID / Bus ID / location ID:   0 / 1 / 0
  Compute Mode:
     < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >

deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 11.4, CUDA Runtime Version = 11.4, NumDevs = 1
Result = PASS

CUDA is not supported on current Fedora builds, only on Ubuntu.

Nvidia just recently released CUDA for Fedora 34, and I will likely include support in next release since they seem to be a bit better now keeping up with Fedora releases.

Thanks @jussi_laako… At least now I don’t have to wreck my brains trying the figure why I can get CUDA working :slight_smile:
I decided to take a change to Fedora from ubuntu, I was starting to get well umm ‘bored’ of Ubuntu.
I have a made a dedicated machine just for hqplayer with pretty high specs. 11th Gen Intel(R) Core(TM) i9-11900K with a nice M.2 drive & RTX2060. So looking forward to getting it all up and running to full potential.
And just as a show-off look at this beautiful little machine.

1 Like