https://bugs.kde.org/show_bug.cgi?id=528565

animegravitation <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from animegravitation <[email protected]> ---
# KDE Bugzilla report draft — Haruna

**Product:** Haruna — **Version:** 1.9.1 — **Platform:** Fedora/Arch Packages
(CachyOS) — **OS:** Linux
**Component:** general (playback)
**Severity:** major
**Keywords:** wayland, nvidia

## Summary
1.9.1 never loads any media file on Wayland/NVIDIA: window opens, embedded mpv
silently does nothing (timecode stays 00:00:00 / 00:00:00)

## Environment
- Haruna 1.9.1 (distro package), mpvqt 1.2.1, mpv 0.42.0, ffmpeg 9.1
- Qt 6.12.0 / qt6-declarative 6.12.0, KDE Frameworks 6.x, KDE Plasma 6 (Wayland
session)
- Arch-based (CachyOS), kernel 7.3.5, NVIDIA RTX 5060 Ti, driver 620.73.04

## Steps to Reproduce
1. Launch `haruna /path/to/file.mp4` from a terminal in a KDE Plasma 6 Wayland
session (also reproducible by opening the file from Dolphin). The file is a
plain H.264 (High, yuv420p) + AAC MP4; the same file plays flawlessly with
`mpv` (same GPU/EGL stack).
2. Haruna window appears with menu and control bar.
3. Observe the video area and the timecode.

## Observed Results
- Video area shows only the dark placeholder ("H" logo); nothing renders.
- Timecode reads `00:00:00 / 00:00:00`, progress bar empty and static — the
file is **never loaded** into the embedded mpv (duration = 0).
- No error messages: stdout/stderr silent, no QML/qCDebug output even with
`QT_LOGGING_RULES="org.kde.haruna*=true"`.
- No audio is produced (consistent with "no file loaded").

## Expected Results
The file loads and plays, as it does with plain mpv.

## What has already been ruled out
- File/codec issue: same files play fine in standalone mpv (GPU, EGL, Wayland
OK; `ffprobe` clean).
- GPU/driver state: `nvidia-smi` 620.73.04, `vulkaninfo` lists the GPU, plain
`mpv --vo=gpu` renders.
- Rendering backend: `QSG_RHI_BACKEND=opengl haruna <file>` → same result
(startup warning about `QQuickWindow::setGraphicsApi(OpenGL)` disappears,
playback still never starts).
- Corrupt state: moved aside `~/.config/haruna`, `~/.local/share/haruna`
(haruna.db, playlist.json), removed the KDSingleApplication socket → same
result on a pristine config.
- Custom mpv config: reproducible with `~/.config/mpv` absent (tested with and
without).

## Additional notes
- Started after a full system update (Haruna 1.9.1 / Qt 6.12 / mpv 0.42 stack);
standalone mpv of the same version is unaffected, so the regression is on the
haruna/mpvqt integration side — the embedded mpv apparently never reaches
`ready`/`fileLoaded`.
- Reproduced with multiple H.264/HEVC/AV1 files and network URLs; behavior
identical.
- Single-instance forwarding: launching haruna a second time (while the broken
window is open) does not load the new file in the existing window either.

Happy to provide debug builds/backtraces (`-DBUILD_WITH_DEBUG_INFO`) or test
patches if needed.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to