https://bugs.kde.org/show_bug.cgi?id=521434
Bug ID: 521434
Summary: Haruna wakes and initializes the NVIDIA GPU even
though rendering is done on Intel and hardware
decoding is disabled.
Classification: Applications
Product: Haruna
Version First 1.8.1
Reported In:
Platform: CachyOS
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
I noticed that Haruna keeps my NVIDIA dGPU active on a hybrid Intel/NVIDIA
laptop even when no media is loaded.
It appears that Haruna initializes CUDA/NVIDIA components despite rendering
being performed on the Intel iGPU and hardware decoding being disabled. This
causes the NVIDIA GPU to wake up and prevents runtime power management from
suspending it.
On the same system, running `mpv --idle` does not load CUDA libraries, does not
access NVIDIA device nodes, and leaves the dGPU suspended.
### Environment
* Haruna 1.8.1
* mpv 0.41.0
* mpvqt 1.2.0
* FFmpeg 8.1.1
* KDE Plasma Wayland
* Intel iGPU + NVIDIA GeForce RTX Laptop GPU
* Linux 7.0.11-1-cachyos - CachyOS x86_64
* NVIDIA Driver 610.43.02
### Reproduction
1. Verify the NVIDIA GPU is suspended:
2. Launch Haruna without opening any media.
3. Check again
4. Check NVIDIA device usage:
Haruna opens:
/dev/nvidia0
/dev/nvidiactl
/dev/nvidia-uvm
### Investigation
Haruna reports:
OpenGL VENDOR: Intel
RENDERER: Mesa Intel(R) Graphics (RPL-P)
which indicates rendering is performed on the Intel GPU.
The issue persists:
* With hardware decoding disabled in Haruna settings
* With a completely fresh Haruna profile
* With no media loaded
ALSO:
LD_DEBUG=libs,files haruna
shows:
file=libcuda.so.1 [0]; dynamically loaded by /usr/lib/libmpv.so.2 [0]
The process also loads Intel VAAPI components:
iHD_drv_video.so
libva.so
libva-wayland.so
libva-x11.so
### Comparison with mpv
Running: mpv --idle
does not load `libcuda.so`, does not open `/dev/nvidia*`, and leaves the NVIDIA
GPU suspended.
### Expected Behavior
If Haruna is rendering on the Intel GPU and hardware decoding is disabled,
NVIDIA/CUDA components should not be initialized unnecessarily.
### Actual Behavior
Launching Haruna causes `libmpv` to load `libcuda.so.1`, opens NVIDIA device
nodes, and wakes the NVIDIA dGPU , which causes unnecessary battery usage for
Laptops.
--
You are receiving this mail because:
You are watching all bug changes.