HQPlayer Embedded Discussion [2023]

Ubuntu 22.04.4 LTS

Not the Ubuntu version but the kernel … type uname -r

1 Like

@IgorSki


6.5. 0-35-generic

1 Like

@Moy , this is Ubuntu “stock” kernel. For linux media servers in general and for HQPlayer Server in particular either “low latency” or “real-time” kernels are more suitable. For 14th generation “low latency HWE” kernel does a good job since it addresses the latest hardware (p-core and e-core utilisation notably on 14th Gen). Jussi is also providing his custom version kernel JL+ which in very most cases gives great performance and most importantly allows better compatibility for high DSD rates (@1024 that is) for systems directly (via USB) connected to DAC"s

Potentially you can squeeze more performance out of your current box only by switching to one of the mentioned versions. I would warmly recommend you to try.

For my current build I stepped back to 13900KS CPU and I am very happy with Jussi’s kernel (even-though I use NAA architecture I find JL+ performance smashing!!!) Amazingly, as we speak Jussy has just released the newer version of JL+ kernel. I have not yet tried the most recent one.

So… for your case with 14th Gen Intel. My recommendation would be to try JL+ kernel first, and you may stop there. But you can also try lowlatency-HWE version (HWE is a key word here) to compare if there any gains for your particular CPU model.

Jussi’s kernel may be found here (same folder as Libgmpris):
https://www.sonarnerd.net/src/jammy/

For JL+ version, the installation is via “dpkg”. And make sure you get both image and headers packages. The installation process would normally make this a default kernel at boot.

As I said you may stop at that point.

But if you"d like to compare with lowlatency-HWE, switching between kernels is done via GRUB at the system boot.

1 Like

I really appreciate the advice! Would you just mind refer or point me out the steps to do a kernel update? I’m looking now, but I want to make sure I don’t make a mistake. :pray:

@IgorSki

# sudo apt-get install linux-image-$version

@Moy, since this subject is new to you, I suggest to start with JL+ kernel from Jussi. The installation commands you already know, this should do the trick

wget https://www.sonarnerd.net/src/jammy/linux-headers-6.6.30-jl+_6.6.30-00012-g83f5d207ad07-2_amd64.deb
wget https://www.sonarnerd.net/src/jammy/linux-image-6.6.30-jl+_6.6.30-00012-g83f5d207ad07-2_amd64.deb
sudo dpkg -i linux-headers-6.6.30-jl+_6.6.30-00012-g83f5d207ad07-2_amd64.deb
sudo dpkg -i linux-image-6.6.30-jl+_6.6.30-00012-g83f5d207ad07-2_amd64.deb
sudo reboot
1 Like

After reboot, I can continue doing regular updates shown in Ubuntu right?
Is there anything I shouldn’t do after upgrading a custom Kernel?

Many thanks!

Jussi’s kernels are not in the repositories from Ubuntu and so you’ve to install/update them manually.
If you get from Ubuntu a kernel update, then you’ve to reinstall Jussi’s kernel or configure grub.

I’m only using Ubuntu’s realtime kernel (hwe):

sudo apt-get install linux-lowlatency

As mentioned before: Jussi’s kernel may be important, if you directly connect your DAC to the PC running HQPlayer.

2 Likes

Tested and 6.6.30-jl+ wins

But still not 100% stable, still drops DSD 1024 every 30 sec


1 Like

Wow, cool! What about other combinations? Gauss-xl may be a bit heavy without GPU (i don’t remember if you have one in this build)

and I assume, all the standard “drill”… multicore=“1”, ecores, nblocks all “correct” in config?

1 Like

@Burkhardt_Petermann , hm, interesting…

I install HWE for Ubuntu 22.04 kernel always like this:
sudo apt install linux-lowlatency-hwe-22.04

The line you quoted would normally give me a “generic-lowlatency” kernel, not an HWE one. Is this because you install Ubuntu with HWE kernel from the start you get HWE lowlatency with “your” line ?

This is on an i9-14900? 44.1 → DSD1024 with ASDM5EC-ul + gauss should be no problem. Something else must be going on.

edit - I don’t use btop but why does it say 4.2Gh on the upper right? The p-cores should run up to 5.7Ghz+. That would explain why your 2 primary threads are at 92%+ maybe. can you run htop instead of btop?

2 Likes

Wow, @nquery - well spotted, I have not noticed that one.

For the frequency monitoring I also use utility: i7z but it needs to be installed first, and it runs under super user, so it will be

sudo i7z

it gives frequencies, utilization, thermals and voltages for the cores directly ( not for the threads ). I personally find it very useful…

@Moy, for htop the screen may be configured to your liking, to show frequencies you need to enable that option, click F2 and you’ll get into that menu, here’s how my htop screen looks like

1 Like

Multicore =“1”
encores= “pool”
nblocks =“4”

Using B660 AsRock Desktop Mini

Maybe something to adjust on Bios?

Will adjust and report. Maybe something on Bios needs to be done?

Many thanks

Don’t use ecores = pool. Often the worst choice. Change to “filters”. Set nblocks to default.

But the desktop mini will be thermally limited due to size and power supply is too small and will prevent you from fully utilizing the i9-14900 :frowning: I know this because I made the mistake of starting with a B660 deskmeet.
But you should get the -ul at 1024 that you tried earlier with the setting changes above.

1 Like

What version of bios have you flashed to? ASRock bios intentionally limits power PL1 and PL2 on Deskmini (and Deskmeet to a degree) because of the small PS. So you will ultimately be limited in core speeds you can reach with 14900.

1 Like

Latest 14.02

Yes your cpu is supported, with a tdp of 65w. But it actually has a PL2 (short term power limit) of 219w for up to 28 seconds, while your power supply can provide max 120w. So your cpu will never be able to do the turbo boost speeds of up to 5.8ghz that it supports. Unfortunately.

But try ecores=filters and blocks=default and see what you can do.

1 Like

Yes! Seems how long I can play DSD 1024 without droppings :joy:. Will adjust and report back.

Many thanks :pray: