HQPlayer Embedded Discussion

Hi!

After updating drivers using Ubuntu App update, adding a new NVIDIA CUDA version, I restarted and after login then all my apps keep hanging and wont open. On terminal all works and hqplayer embedded is running fine. Anyone any ideas?

Many thanks!!

Ubuntu 24.04.4 LTS (GNU/Linux 6.12.43-jl+ x86_64)

Sounds like a bug in the driver, or in the packaging. If the X.org drivers are not in sync with the kernel module, none of the OpenGL accelerated applications will open. Such as HQPlayer Client or Chrome in your screenshot.

Many thanks :folded_hands:t3: Any recommendations to fix? Should I remove and reinstall the driver again?

Just wondering what is the source of such driver and whether you have possibly conflicting driver packages.

Canonical provides one set of drivers through their GUI, these are ones they package based on something coming from Nvidia. While Nvidia also provides their set of driver packages. These two shouldn’t be mixed.

I use the latter one, as it is better in sync with CUDA. And if someone has read my instructions here about driver installation, then it’s about the Nvidia provided packges.

Canonical used to be quite a bit behind, but I don’t know if they’ve been catching up a bit lately.

1 Like

I found Jussi’s post I was looking for, so I’ll use it for the next update. :wink:

1 Like

I found the HQPlayer 5 Client app now displays the processing speed.
Cool!

Just to confirm, the larger figures represent faster processing speed, right?
And perhaps below 1.0x implies there’s not enough computational power to run the particular settings.

Yes, exactly. Depending on settings, and load from other applications, speed can vary enough that a longer run average value shown may not tell everything. So values over 1 don’t necessarily guarantee that there are no dropouts.

1 Like

Had to revert to version 580.126.20 Cuda Ver. 13.0 all works fine.

Version 590 keeps crashing the graphic interphase. Maybe If go headless will work fine.

will wait further updates on nvidia

1 Like

If you have a graphical desktop, and you install just the ā€œnvidia-driverā€ package, but not the others, you will have a problem.

For full driver set for desktop, just install ā€œnvidia-openā€ package. It will pull in all necessary packages. Mine is currently on version ā€œ595.45.04-1ubuntu1ā€.

1 Like

Will try again.

This was the error that was showing when opening apps :slight_smile:

But on terminal the driver showed running fine:

I’m thinking of doing this for now:

sudo apt install -y wget gnupg &&

wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/cuda-keyring_1.1-1_all.deb &&

sudo dpkg -i cuda-keyring_1.1-1_all.deb

sudo apt update && sudo apt install -y nvidia-driver-590 cuda-runtime-13-1

sudo apt install libcufft-13-1

reboot

I was researching that this should be less likely to cause issues with GUI and sufficient for HQplayer.

Or just try

sudo apt update
sudo apt install nvidia-driver-590

Done, now will reboot

Broken GUI

But HQplayer and driver are working fine:

Will stay headless for the meantime, and wait for a bugless NVIDIA driver update.

Why do you install cuda-runtime and libcufft?

And ā€œnvidia-driver-590ā€ is the old closed kernel driver. Now if you mix this with any ā€œnvidia-openā€ things some other way, you have a problem. You should install just ā€œnvidia-openā€ since you have a graphical desktop. That is enough and covers everything needed. Nothing else needs to be installed.

So I recommend to ā€œapt remove nvidia-driver-590 cuda-runtime-13-1 libcufft-13-1ā€ and then ā€œapt autoremove –purgeā€ and then start over with ā€œapt install nvidia-openā€.

This is because HQPlayer Embedded doesn’t use OpenGL graphics rendering on top of Xorg. It talks straight to the kernel driver. But for graphical desktop OpenGL rendering there is also Xorg driver that needs to talk to the kernel driver. If the Xorg driver and kernel driver versions don’t match exactly, the OpenGL rendering doesn’t work.

For example HQPlayer Client and Chrome browser require OpenGL for hardware accelerated graphics rendering.

So it is mandatory to pull both the kernel driver and the Xorg driver from a common meta-package. Which is ā€œnvidia-openā€ in this case. But this goes wrong if there’s something else installed that is conflicting.

So run ā€œdpkg -l | grep nvidiaā€ and ā€œdpkg -l | grep cudaā€ and check that you don’t have anything else installed with these names apart from nvidia-firmware package which you can leave there. If there’s something else, remove it all before starting fresh with ā€œnvidia-openā€. And then do not install anything else. This will also keep you always up to date with latest driver automatically. So don’t install any drivers through the graphical interface.

In normal cases, HQPlayer Embedded is running on a headless system without Xorg at all, so only text console and no graphics. (for example minimal Ubuntu Server, Fedora Server or Debian)

Thank you.
Regarding the ā€œ20kHzā€ toggle switch on the Client, I found that its use consumes quite a bit of computational power. What would you say about the filter?
I searched for some description in the Desktop manual, but I couldn’t find any…

It is a relatively steep filter cutting just above 20 kHz. How much power it takes depends on the source format. It can also run on Nvidia GPU if you have such possibility.

But for something like 96k or 192k source it’s load is almost unnoticeable.

1 Like

I see.
I tried several different source formats, and the one that caused issues (meaning it pushes down below 1.0x) was DSD64 sources. Others seem fine.
Is there a way to pass it all to the GPU?

If you have CUDA active, it goes there at least if you have ā€œMulticore DSPā€ set to full.

1 Like

I assume it is set to full for HQPe, right?

HQPlayer Embedded defaults to ā€œautoā€, so same as with Desktop.

1 Like

Got it.
I found the entry in the xml file, so I’ll edit it during the weekend.
Thank you so much! :wink: