Haruna codec error on all videos

Hello! Haruna has stopped playing videos on one of my EndeavourOS machines and I can’t quite pinpoint why or which codecs it’s trying to access. VLC and MPV are working normally on the same video files.

Didn’t occur after a system update. I don’t recall installing/changing anything on that PC specifically, simply tried to play videos one day and it threw an error.

I left it alone, I was due to update the system in a few days anyway. Updated with eos-update (which I believe calls a pacman -Syu and a few other things), issue persisted.

I then manually uninstalled:

  • vlc
  • vlc-plugins-all
  • ffmpeg-full
  • haruna
  • mpv

All native packages. Rebooted. Reinstalled all of the above. Issue persists on any video files I try opening. Haruna only plays the audio and gives a “No video track detected” error. Screenshot attached trying to play a bog-standard mp4 file, same error occurs on many other files that play normally on other players/PCs (including Haruna itself on another PC).

OS: EndeavourOS x86_64
Kernel: Linux 6.18.2-arch2-1
Shell: bash 5.3.9
Display (GS27QC): 2560x1440 in 27", 60 Hz [External] *
DE: KDE Plasma 6.5.4
WM: KWin (Wayland)
CPU: AMD Ryzen 7 2700 (16) @ 3.20 GHz
GPU: NVIDIA GeForce RTX 3070 [Discrete]
Memory: 4.79 GiB / 15.54 GiB (31%)

$ haruna -v
unknown() : QIODevice::read (QProcess): device not open

haruna 1.7.0

I’m not sure what other outputs I could attach. Help much appreciated!

Have you tried different Hardware Decoding options at “Settings - Playback”?
Maybe something other than “auto” (the default) works.

There is a old, still open, bug report that looks similar but gone nowhere.

If switching Hardware Decoding options does not help you maybe can add
set terminal yes
set msg-level all=v
to the Custom Commands “Run at Startup” settings,


close Haruna and restart it from a Terminal window to get a little bit more information what is going wrong.

For example this is my Terminal output with Hardware Decoding set to “cuda” that fails to find the codec but than, in my case, successfully falls back to Software Decoding:

$ haruna
unknown() : QIODevice::read (QProcess): device not open

[cplayer] Set property: terminal=yes -> 1
[cplayer] Set property: msg-level=all=v -> 1
[libmpv_render] GL_VERSION='OpenGL ES 3.2 NVIDIA 590.48.01'
[libmpv_render] Detected GLES 3.2.
[libmpv_render] GL_VENDOR='NVIDIA Corporation'
[libmpv_render] GL_RENDERER='NVIDIA GeForce RTX 4070 Laptop GPU/PCIe/SSE2'
[libmpv_render] GL_SHADING_LANGUAGE_VERSION='OpenGL ES GLSL ES 3.20'
[libmpv_render] Loaded extension GL_EXT_texture_norm16.
[libmpv_render] Loaded extension GL_EXT_disjoint_timer_query.
[libmpv_render] Loaded extension GL_EXT_buffer_storage.
[libmpv_render] GL_*_swap_control extension missing.
[libmpv_render] Testing FBO format rgba16f
[libmpv_render] Using FBO format rgba16f.
[libmpv_render] Disabling HDR peak computation (one or more of the following is not supported: compute shaders=0, SSBO=1).
[libmpv_render] Loading hwdec driver 'vaapi'
[libmpv_render/vaapi] Using EGL dmabuf interop via GL_OES_EGL_image
[libmpv_render/vaapi] Trying to open a x11 VA display...
[libmpv_render/vaapi] Trying to open a wayland VA display...
[libmpv_render/vaapi/vaapi] libva: VA-API version 1.22.0
[libmpv_render/vaapi/vaapi] libva: User environment variable requested driver 'iHD'
[libmpv_render/vaapi/vaapi] libva: Trying to open /usr/lib/dri/iHD_drv_video.so
[libmpv_render/vaapi/vaapi] libva: Found init function __vaDriverInit_1_22
[libmpv_render/vaapi/vaapi] libva: va_openDriver() returns 0
[libmpv_render/vaapi/vaapi] Initialized VAAPI: version 1.22
[libmpv_render/vaapi] Going to probe surface formats (may log bogus errors)...
[libmpv_render/vaapi] Done probing surface formats.
[libmpv_render] Loading hwdec driver 'cuda'
[libmpv_render] Loading hwdec driver 'vdpau-gl'
[libmpv_render] Loading failed.
[libmpv_render] Loading hwdec driver 'drmprime'
[libmpv_render/drmprime] Using EGL dmabuf interop via GL_OES_EGL_image
[libmpv_render/drmprime] Using DRM device: /dev/dri/renderD128
[libmpv_render] Loading hwdec driver 'drmprime-overlay'
[libmpv_render/drmprime-overlay] Failed to retrieve DRM fd from native display.
[libmpv_render] Loading failed.
[libmpv_render] Loading hwdec driver 'vulkan'
[libmpv_render/vulkan] This is not a libplacebo vulkan gpu api context.
[cplayer] Set property: keep-open="always" -> 1
[cplayer] Set property: mute=true -> 1
[cplayer] Set property: pause=false -> 1
[cplayer] Set property: mute=false -> 1
[cplayer] Running hook: auto_profiles/on_before_start_file
[cplayer] Failed sending hook command auto_profiles/on_before_start_file. Removing hook.
[cplayer] Running hook: auto_profiles/on_load
[cplayer] Failed sending hook command auto_profiles/on_load. Removing hook.
[cplayer] Running hook: ytdl_hook/on_load
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] playlist hook
[ifo_dvdnav] Opening /home/karrde/Downloads/1416529-uhd_3840_2160_30fps.mp4
[bdmv/bluray] Opening /home/karrde/Downloads/1416529-uhd_3840_2160_30fps.mp4
[file] Opening /home/karrde/Downloads/1416529-uhd_3840_2160_30fps.mp4
[demux] Trying demuxers for level=normal.
[lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
[demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
[cplayer] Opening done: /home/karrde/Downloads/1416529-uhd_3840_2160_30fps.mp4
[find_files] Loading external files in /home/karrde/Downloads/
[cplayer] Running hook: auto_profiles/on_preloaded
[cplayer] Failed sending hook command auto_profiles/on_preloaded. Removing hook.
[cplayer] Running hook: ytdl_hook/on_preloaded
[lavf] select track 0
● Video  --vid=1  (h264 3840x2160 30 fps) [default]
[vd] Container reported FPS: 30.000000
[vd] Codec list:
[vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vd]     h264_v4l2m2m (h264) - V4L2 mem2mem H.264 decoder wrapper
[vd]     h264_qsv (h264) - H264 video (Intel Quick Sync Video acceleration)
[vd]     h264_amf (h264) - H264 AMD AMF video decoder
[vd]     h264_cuvid (h264) - Nvidia CUVID H264 decoder
[vd] Opening decoder h264
[vd] Looking at hwdec h264_cuvid-cuda...
[vd] Trying hardware decoding via h264_cuvid-cuda.
[vd] Using underlying hw-decoder 'h264_cuvid'
[vd] Requesting 4 threads for decoding.
[vd] Pixel formats supported by decoder: cuda nv12
[vd] Codec profile: unknown (0xffffff9d)
[vd] Hardware decoding of this stream is unsupported?
[vd] Requesting pixfmt '-' from decoder.
[ffmpeg/video] h264_cuvid: ff_get_format failed: -1
Could not open codec.
[vd] Attempting next decoding method after failure of h264_cuvid-cuda.
[vd] Using software decoding.
[vd] Detected 32 logical cores.
[vd] Requesting 16 threads for decoding.
[vd] Selected decoder: h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vf] User filter list:
[vf]   (empty)
[cplayer] Starting playback...
[vd] DR failed - disabling.
[vd] Using software decoding.
[vd] Decoder format: 3840x2160 [0:1] yuv420p bt.709/bt.709/bt.1886/limited/auto CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[vf] [in] 3840x2160 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[vf] [userdeint] 3840x2160 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[vf] [userdeint] (disabled)
[vf] [autovflip] 3840x2160 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[vf] [autovflip] (disabled)
[vf] [autorotate] 3840x2160 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[vf] [autorotate] (disabled)
[vf] [convert] 3840x2160 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[vf] [convert] (disabled)
[vf] [out] 3840x2160 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[cplayer] Set property: ab-loop-a="no" -> 1
[cplayer] Set property: ab-loop-b="no" -> 1
VO: [libmpv] 3840x2160 yuv420p
[cplayer] VO: Description: render API for libmpv
[vo/libmpv] reconfig to 3840x2160 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[libmpv_render] Window size: 1450x677 (Borders: l=0 t=0 r=0 b=0)
[libmpv_render] Video source: 3840x2160 (1:1)
[libmpv_render] Video display: (0, 0) 3840x2160 -> (123, 0) 1203x677
[libmpv_render] Video scale: 0.313281/0.313426
[libmpv_render] OSD borders: l=123 t=0 r=124 b=0
[libmpv_render] Video borders: l=123 t=0 r=124 b=0
[libmpv_render] Texture for plane 0: 3840x2160
[libmpv_render] Texture for plane 1: 1920x1080
[libmpv_render] Texture for plane 2: 1920x1080
[libmpv_render] Testing FBO format rgba16f
[libmpv_render] Using FBO format rgba16f.
[cplayer] first video frame after restart shown
[cplayer] playback restart complete @ 0.000000, audio=eof, video=playing
[libmpv_render] Dither to 8.
[osd/libass] libass API version: 0x1704000
[osd/libass] libass source: commit: 0.17.4-0-gbbb3c7f1570a4a021e52683f3fbdf74fe492ae84
[osd/libass] Shaper: FriBidi 1.0.16 (SIMPLE) HarfBuzz-ng 12.3.0 (COMPLEX)
[osd/libass] Setting up fonts...
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[lavf] EOF reached.
[vf] filter input EOF
[vf] filter output EOF
[cplayer] using demuxer frame duration for last frame
[cplayer] video EOF reached

And this is my Terminal output successfully using “nvdec” Hardware Decoding looks like:

unknown() : QIODevice::read (QProcess): device not open

[cplayer] Set property: msg-level=all=v -> 1
[cplayer] Done loading scripts.
[libmpv_render] GL_VERSION='OpenGL ES 3.2 NVIDIA 590.48.01'
[libmpv_render] Detected GLES 3.2.
[libmpv_render] GL_VENDOR='NVIDIA Corporation'
[libmpv_render] GL_RENDERER='NVIDIA GeForce RTX 4070 Laptop GPU/PCIe/SSE2'
[libmpv_render] GL_SHADING_LANGUAGE_VERSION='OpenGL ES GLSL ES 3.20'
[libmpv_render] Loaded extension GL_EXT_texture_norm16.
[libmpv_render] Loaded extension GL_EXT_disjoint_timer_query.
[libmpv_render] Loaded extension GL_EXT_buffer_storage.
[libmpv_render] GL_*_swap_control extension missing.
[libmpv_render] Testing FBO format rgba16f
[libmpv_render] Using FBO format rgba16f.
[libmpv_render] Disabling HDR peak computation (one or more of the following is not supported: compute shaders=0, SSBO=1).
[libmpv_render] Loading hwdec driver 'vaapi'
[libmpv_render/vaapi] Using EGL dmabuf interop via GL_OES_EGL_image
[libmpv_render/vaapi] Trying to open a x11 VA display...
[libmpv_render/vaapi] Trying to open a wayland VA display...
[libmpv_render/vaapi/vaapi] libva: VA-API version 1.22.0
[libmpv_render/vaapi/vaapi] libva: User environment variable requested driver 'iHD'
[libmpv_render/vaapi/vaapi] libva: Trying to open /usr/lib/dri/iHD_drv_video.so
[libmpv_render/vaapi/vaapi] libva: Found init function __vaDriverInit_1_22
[libmpv_render/vaapi/vaapi] libva: va_openDriver() returns 0
[libmpv_render/vaapi/vaapi] Initialized VAAPI: version 1.22
[libmpv_render/vaapi] Going to probe surface formats (may log bogus errors)...
[libmpv_render/vaapi] Done probing surface formats.
[libmpv_render] Loading hwdec driver 'cuda'
[libmpv_render] Loading hwdec driver 'vdpau-gl'
[libmpv_render] Loading failed.
[libmpv_render] Loading hwdec driver 'drmprime'
[libmpv_render/drmprime] Using EGL dmabuf interop via GL_OES_EGL_image
[libmpv_render/drmprime] Using DRM device: /dev/dri/renderD128
[libmpv_render] Loading hwdec driver 'drmprime-overlay'
[libmpv_render/drmprime-overlay] Failed to retrieve DRM fd from native display.
[libmpv_render] Loading failed.
[libmpv_render] Loading hwdec driver 'vulkan'
[libmpv_render/vulkan] This is not a libplacebo vulkan gpu api context.
[cplayer] Set property: keep-open="always" -> 1
[cplayer] Set property: mute=true -> 1
[cplayer] Set property: pause=false -> 1
[cplayer] Set property: mute=false -> 1
[cplayer] Running hook: auto_profiles/on_before_start_file
[cplayer] Failed sending hook command auto_profiles/on_before_start_file. Removing hook.
[cplayer] Running hook: auto_profiles/on_load
[cplayer] Failed sending hook command auto_profiles/on_load. Removing hook.
[cplayer] Running hook: ytdl_hook/on_load
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] playlist hook
[ifo_dvdnav] Opening /home/karrde/Downloads/1416529-uhd_3840_2160_30fps.mp4
[bdmv/bluray] Opening /home/karrde/Downloads/1416529-uhd_3840_2160_30fps.mp4
[file] Opening /home/karrde/Downloads/1416529-uhd_3840_2160_30fps.mp4
[demux] Trying demuxers for level=normal.
[lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
[demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
[cplayer] Opening done: /home/karrde/Downloads/1416529-uhd_3840_2160_30fps.mp4
[find_files] Loading external files in /home/karrde/Downloads/
[cplayer] Running hook: auto_profiles/on_preloaded
[cplayer] Failed sending hook command auto_profiles/on_preloaded. Removing hook.
[cplayer] Running hook: ytdl_hook/on_preloaded
[lavf] select track 0
● Video  --vid=1  (h264 3840x2160 30 fps) [default]
[vd] Container reported FPS: 30.000000
[vd] Codec list:
[vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vd]     h264_v4l2m2m (h264) - V4L2 mem2mem H.264 decoder wrapper
[vd]     h264_qsv (h264) - H264 video (Intel Quick Sync Video acceleration)
[vd]     h264_amf (h264) - H264 AMD AMF video decoder
[vd]     h264_cuvid (h264) - Nvidia CUVID H264 decoder
[vd] Opening decoder h264
[vd] Looking at hwdec h264-nvdec...
[vd] Trying hardware decoding via h264-nvdec.
[vd] Requesting 4 threads for decoding.
[vd] Selected decoder: h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vf] User filter list:
[vf]   (empty)
[cplayer] Starting playback...
[vd] Pixel formats supported by decoder: vdpau vulkan cuda vaapi yuv420p
[vd] Codec profile: High (0x64)
[vd] Requesting pixfmt 'cuda' from decoder.
Using hardware decoding (nvdec).
[vd] Decoder format: 3840x2160 [0:1] cuda[nv12] bt.709/bt.709/bt.1886/limited/auto CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[vf] [in] 3840x2160 cuda[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[vf] [userdeint] 3840x2160 cuda[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[vf] [userdeint] (disabled)
[vf] [autovflip] 3840x2160 cuda[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[vf] [autovflip] (disabled)
[vf] [autorotate] 3840x2160 cuda[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[vf] [autorotate] (disabled)
[vf] [convert] 3840x2160 cuda[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[vf] [out] 3840x2160 cuda[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[cplayer] Set property: ab-loop-a="no" -> 1
[cplayer] Set property: ab-loop-b="no" -> 1
VO: [libmpv] 3840x2160 cuda[nv12]
[cplayer] VO: Description: render API for libmpv
[vo/libmpv] reconfig to 3840x2160 cuda[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[libmpv_render] Window size: 1450x677 (Borders: l=0 t=0 r=0 b=0)
[libmpv_render] Video source: 3840x2160 (1:1)
[libmpv_render] Video display: (0, 0) 3840x2160 -> (123, 0) 1203x677
[libmpv_render] Video scale: 0.313281/0.313426
[libmpv_render] OSD borders: l=123 t=0 r=124 b=0
[libmpv_render] Video borders: l=123 t=0 r=124 b=0
[libmpv_render] Testing FBO format rgba16f
[libmpv_render] Using FBO format rgba16f.
[cplayer] first video frame after restart shown
[cplayer] playback restart complete @ 0.000000, audio=eof, video=playing
[libmpv_render] Dither to 8.
[osd/libass] libass API version: 0x1704000
[osd/libass] libass source: commit: 0.17.4-0-gbbb3c7f1570a4a021e52683f3fbdf74fe492ae84
[osd/libass] Shaper: FriBidi 1.0.16 (SIMPLE) HarfBuzz-ng 12.3.0 (COMPLEX)
[osd/libass] Setting up fonts...
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[lavf] EOF reached.
[vf] filter input EOF
[vf] filter output EOF
[cplayer] using demuxer frame duration for last frame
[cplayer] video EOF reached

Oooh! I hadn’t managed to get haruna to go/output verbose like that. Mostly just saying that so ‘haruna’ and ‘verbose’ are searchable in the same post!

It seems that this might be the issue:

[vo/libmpv] No render context set.
Error opening/initializing the selected video_out (–vo) device.

Full output (on hwdec=auto):

$ haruna
unknown() : QIODevice::read (QProcess): device not open

[cplayer] Set property: terminal=yes -> 1
unknown() : qrc:/qt/qml/org/kde/haruna/qml/Settings/PlaybackSettings.qml:15:1: QML PlaybackSettings: Created graphical object was not placed in the graphics scene.

[cplayer] Set property: keep-open="always" -> 1
[cplayer] Set property: mute=true -> 1
[cplayer] Set property: pause=false -> 1
[cplayer] Running hook: auto_profiles/on_before_start_file
[cplayer] Failed sending hook command auto_profiles/on_before_start_file. Removing hook.
[cplayer] Running hook: auto_profiles/on_load
[cplayer] Failed sending hook command auto_profiles/on_load. Removing hook.
[cplayer] Running hook: ytdl_hook/on_load
[cplayer] Set property: mute=false -> 1
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] playlist hook
[ifo_dvdnav] Opening /home/+++++/Yiruma/Kiss the Rain.mp4
[bdmv/bluray] Opening /home/+++++/Yiruma/Kiss the Rain.mp4
[file] Opening /home/+++++/Yiruma/Kiss the Rain.mp4
[demux] Trying demuxers for level=normal.
[lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
[file] stream level seek from 131072 to 5472481
[file] stream level seek from 5603553 to 8893907
[demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
[cplayer] Opening done: /home/+++++/Yiruma/Kiss the Rain.mp4
[find_files] Loading external files in /home/++++++/Yiruma/
[cplayer] Running hook: auto_profiles/on_preloaded
[cplayer] Failed sending hook command auto_profiles/on_preloaded. Removing hook.
[cplayer] Running hook: ytdl_hook/on_preloaded
[lavf] select track 0
[lavf] select track 1
● Video  --vid=1  --vlang=eng  (mpeg4 25 fps) [default]
● Audio  --aid=1  --alang=eng  (aac 2ch 44100 Hz 125 kbps) [default]
[vo/libmpv] No render context set.
Error opening/initializing the selected video_out (--vo) device.
[lavf] deselect track 0
Video: no video
[ad] Codec list:
[ad]     aac - AAC (Advanced Audio Coding)
[ad]     aac_fixed (aac) - AAC (Advanced Audio Coding)
[ad] Opening decoder aac
[ad] Requesting 1 threads for decoding.
[ad] Selected decoder: aac - AAC (Advanced Audio Coding)
[af] User filter list:$ haruna
unknown() : QIODevice::read (QProcess): device not open

[cplayer] Set property: terminal=yes -> 1
unknown() : qrc:/qt/qml/org/kde/haruna/qml/Settings/PlaybackSettings.qml:15:1: QML PlaybackSettings: Created graphical object was not placed in the graphics scene.

[cplayer] Set property: keep-open="always" -> 1
[cplayer] Set property: mute=true -> 1
[cplayer] Set property: pause=false -> 1
[cplayer] Running hook: auto_profiles/on_before_start_file
[cplayer] Failed sending hook command auto_profiles/on_before_start_file. Removing hook.
[cplayer] Running hook: auto_profiles/on_load

[af]   (empty)
[cplayer] Starting playback...
[file] stream level seek from 8956354 to 5472489
[cplayer] Set property: ab-loop-a="no" -> 1
[cplayer] Set property: ab-loop-b="no" -> 1
[af] [in] 44100Hz stereo 2ch floatp
[af] [userspeed] 44100Hz stereo 2ch floatp
[af] [userspeed] (disabled)
[af] [convert] 44100Hz stereo 2ch floatp
[ao] Trying audio driver 'pipewire'
[ao/pipewire] requested format: 44100 Hz, stereo channels, floatp
[ao/pipewire] Headers version: 1.4.9
[ao/pipewire] Library version: 1.4.9
[ao/pipewire] Core user: mazza
[ao/pipewire] Core host: EZBAKE9000
[ao/pipewire] Core version: 1.4.9
[ao/pipewire] Core name: pipewire-0
[ao/pipewire] using soft-buffer of 8820 samples.
AO: [pipewire] 44100Hz stereo 2ch floatp
[cplayer] AO: Description: PipeWire audio output
[af] [convert] (disabled)
[af] [out] 44100Hz stereo 2ch floatp
[cplayer] audio ready
[cplayer] starting audio playback
[cplayer] playback restart complete @ 0.023220, audio=playing, video=eof
[lavf] EOF reached.

Full output (on hwdec= cuda and nvdec)

on cuda:

[cplayer] finished playback, success (reason 2)
[cplayer] Running hook: ytdl_hook/on_after_end_file
[cplayer] Running hook: ytdl_hook/on_load
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] playlist hook
[ifo_dvdnav] Opening /home/+++++/Yiruma/Kiss the Rain.mp4
[bdmv/bluray] Opening /home/+++++/Yiruma/Kiss the Rain.mp4
[file] Opening /home/+++++/Yiruma/Kiss the Rain.mp4
[demux] Trying demuxers for level=normal.
[lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
[file] stream level seek from 131072 to 5472481
[file] stream level seek from 5603553 to 8893907
[demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
[cplayer] Opening done: /home/+++++/Yiruma/Kiss the Rain.mp4
[find_files] Loading external files in /home/+++++/Yiruma/
[cplayer] Running hook: ytdl_hook/on_preloaded
[lavf] select track 0
[lavf] select track 1
● Video  --vid=1  --vlang=eng  (mpeg4 25 fps) [default]
● Audio  --aid=1  --alang=eng  (aac 2ch 44100 Hz 125 kbps) [default]
[vo/libmpv] No render context set.
Error opening/initializing the selected video_out (--vo) device.
[lavf] deselect track 0
Video: no video
[ad] Codec list:
[ad]     aac - AAC (Advanced Audio Coding)
[ad]     aac_fixed (aac) - AAC (Advanced Audio Coding)
[ad] Opening decoder aac
[ad] Requesting 1 threads for decoding.
[ad] Selected decoder: aac - AAC (Advanced Audio Coding)
[af] User filter list:
[af]   (empty)
[cplayer] Starting playback...
[file] stream level seek from 8956354 to 5472489
[af] [in] 44100Hz stereo 2ch floatp
[af] [userspeed] 44100Hz stereo 2ch floatp
[af] [userspeed] (disabled)
[af] [convert] 44100Hz stereo 2ch floatp
[af] [convert] (disabled)
[af] [out] 44100Hz stereo 2ch floatp
[cplayer] audio ready
[cplayer] starting audio playback
[cplayer] playback restart complete @ 0.023220, audio=playing, video=eof
[cplayer] Set property: ab-loop-a="no" -> 1
[cplayer] Set property: ab-loop-b="no" -> 1
[lavf] EOF reached.



on nvdec:

[cplayer] Running hook: ytdl_hook/on_after_end_file
[cplayer] Running hook: ytdl_hook/on_load
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] playlist hook
[ifo_dvdnav] Opening /home/+++++/Yiruma/Kiss the Rain.mp4
[bdmv/bluray] Opening /home/+++++/Yiruma/Kiss the Rain.mp4
[file] Opening /home/+++++/Yiruma/Kiss the Rain.mp4
[demux] Trying demuxers for level=normal.
[lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
[file] stream level seek from 131072 to 5472481
[file] stream level seek from 5603553 to 8893907
[demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
[cplayer] Opening done: /home/+++++/Yiruma/Kiss the Rain.mp4
[find_files] Loading external files in /home/+++++/Yiruma/
[cplayer] Running hook: ytdl_hook/on_preloaded
[lavf] select track 0
[lavf] select track 1
● Video  --vid=1  --vlang=eng  (mpeg4 25 fps) [default]
● Audio  --aid=1  --alang=eng  (aac 2ch 44100 Hz 125 kbps) [default]
[vo/libmpv] No render context set.
Error opening/initializing the selected video_out (--vo) device.
[lavf] deselect track 0
Video: no video
[ad] Codec list:
[ad]     aac - AAC (Advanced Audio Coding)
[ad]     aac_fixed (aac) - AAC (Advanced Audio Coding)
[ad] Opening decoder aac
[ad] Requesting 1 threads for decoding.
[ad] Selected decoder: aac - AAC (Advanced Audio Coding)
[af] User filter list:
[af]   (empty)
[cplayer] Starting playback...
[file] stream level seek from 8956354 to 5472489
[af] [in] 44100Hz stereo 2ch floatp
[af] [userspeed] 44100Hz stereo 2ch floatp
[af] [userspeed] (disabled)
[af] [convert] 44100Hz stereo 2ch floatp
[af] [convert] (disabled)
[af] [out] 44100Hz stereo 2ch floatp
[cplayer] audio ready
[cplayer] starting audio playback
[cplayer] playback restart complete @ 0.023220, audio=playing, video=eof
[cplayer] Set property: ab-loop-a="no" -> 1
[cplayer] Set property: ab-loop-b="no" -> 1
[lavf] EOF reached.

Also tried ‘off’ and different video files, the error is the same. I’ve been looking through some results on what might cause the ‘render context’ error here and on other forums, but so far I haven’t figured what I could change or poke at. Will post if I figure it out.

Try QT_QPA_PLATFORM=xcb haruna

Also try mpc-qt see if that one works.

Nope. Output is the same (I think…?)

$ QT_QPA_PLATFORM=xcb haruna
unknown() : QIODevice::read (QProcess): device not open

[cplayer] Set property: terminal=yes -> 1
[cplayer] Done loading scripts.
[cplayer] Set property: keep-open="always" -> 1
[cplayer] Set property: mute=true -> 1
[cplayer] Set property: pause=false -> 1
[cplayer] Set property: mute=false -> 1
[cplayer] Running hook: auto_profiles/on_before_start_file
[cplayer] Failed sending hook command auto_profiles/on_before_start_file. Removing hook.
[cplayer] Running hook: auto_profiles/on_load
[cplayer] Failed sending hook command auto_profiles/on_load. Removing hook.
[cplayer] Running hook: ytdl_hook/on_load
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] playlist hook
[ifo_dvdnav] Opening /home/+++++/Yiruma/Kiss the Rain.mp4
[bdmv/bluray] Opening /home/+++++/Yiruma/Kiss the Rain.mp4
[file] Opening /home/+++++/Yiruma/Kiss the Rain.mp4
[demux] Trying demuxers for level=normal.
[lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
[file] stream level seek from 131072 to 5472481
[file] stream level seek from 5603553 to 8893907
[demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
[cplayer] Opening done: /home/+++++/Yiruma/Kiss the Rain.mp4
[find_files] Loading external files in /home/+++++/Yiruma/
[cplayer] Running hook: auto_profiles/on_preloaded
[cplayer] Failed sending hook command auto_profiles/on_preloaded. Removing hook.
[cplayer] Running hook: ytdl_hook/on_preloaded
[lavf] select track 0
[lavf] select track 1
● Video  --vid=1  --vlang=eng  (mpeg4 25 fps) [default]
● Audio  --aid=1  --alang=eng  (aac 2ch 44100 Hz 125 kbps) [default]
[vo/libmpv] No render context set.
Error opening/initializing the selected video_out (--vo) device.
[lavf] deselect track 0
Video: no video
[ad] Codec list:
[ad]     aac - AAC (Advanced Audio Coding)
[ad]     aac_fixed (aac) - AAC (Advanced Audio Coding)
[ad] Opening decoder aac
[ad] Requesting 1 threads for decoding.
[ad] Selected decoder: aac - AAC (Advanced Audio Coding)
[af] User filter list:
[af]   (empty)
[cplayer] Starting playback...
[file] stream level seek from 8956354 to 5472489
[cplayer] Set property: ab-loop-a="no" -> 1
[cplayer] Set property: ab-loop-b="no" -> 1
[af] [in] 44100Hz stereo 2ch floatp
[af] [userspeed] 44100Hz stereo 2ch floatp
[af] [userspeed] (disabled)
[af] [convert] 44100Hz stereo 2ch floatp
[ao] Trying audio driver 'pipewire'
[ao/pipewire] requested format: 44100 Hz, stereo channels, floatp
[ao/pipewire] Headers version: 1.4.9
[ao/pipewire] Library version: 1.4.9
[ao/pipewire] Core user: mazza
[ao/pipewire] Core host: EZBAKE9000
[ao/pipewire] Core version: 1.4.9
[ao/pipewire] Core name: pipewire-0
[ao/pipewire] using soft-buffer of 8820 samples.
AO: [pipewire] 44100Hz stereo 2ch floatp
[cplayer] AO: Description: PipeWire audio output
[af] [convert] (disabled)
[af] [out] 44100Hz stereo 2ch floatp
[cplayer] audio ready
[cplayer] starting audio playback
[cplayer] playback restart complete @ 0.023220, audio=playing, video=eof
[lavf] EOF reached.

mpc-qt works, but didn’t change anything noticeable in haruna as far as I could see.

Kiss the Rain Yiruma.mp4 (from Archive dot org) works for me.
Strangely in your output, compared to mine, the whole “libmpv_render …” stuff seems missing.

mpvqt (without a “-” in between) is installed? It should as it is a dependency for Haruna and from my, unfortunately not very deep, understanding the “libmpv” clue logic that connects Haruna to mpv.

Would according to a short google search rather point to a not fully correct installed driver and or egl/vulkan package but than again MPV itself working and Haruna as it is, more or less a GUI wrapper for MPV, does not work makes no sense if that would be the case (at least to me. Someone with more knowledge about Haruna has to take over from here.)

$ sudo pacman -Ss mpvqt
extra/mpvqt 1.1.1-1 [installed]

Yeah, i’t’s installed. It’s happening for any video file on this machine, which is just plain confusing. We have a near-identical EndeavourOS install on another PC where Haruna is working fine with these files (and they were working on this one, until suddenly not).

Try switching nvidia drivers: proprietary ↔ open source.