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

--- Comment #35 from Mike Leach <[email protected]> ---
(In reply to pallaswept from comment #34)
> If you really don't have that driver installed, then you don't have the same
> bug that everyone here has. Logs would be very useful. If you run spectacle
> (without setting the variable which had a positive effect), what does that
> say? What does the command vainfo give you?

Interesting, looks like spectacle is using VAAPI via Mesa for my AMD CPU by
default. I thought the nvidia driver included VAAPI support but the Arch wiki
says otherwise. Here's the logs from a normal (failing) run that produces a
broken 422 byte file:

$ spectacle
kpipewire_vaapi_logging: VAAPI: Mesa Gallium driver 25.3.2-arch1.1 for AMD
Ryzen 7 9800X3D 8-Core Processor (radeonsi, raphael_mendocino, LLVM 21.1.6, DRM
3.64, 6.18.2-arch2-1) in use for device "/dev/dri/renderD129"
[libvpx-vp9 @ 0x7fdfd8062780] v1.15.2
kf.kio.workers.file: copy()
QUrl("file:///tmp/Spectacle.WWMogj/Screencast_20260103_191555.webm") to
QUrl("file:///home/USERNAME/Screencasts/Screencast_20260103_191555.webm") mode=
-1
qt.multimedia.ffmpeg: Using Qt multimedia with FFmpeg version n8.0.1 GPL
version 3 or later
[matroska,webm @ 0x7fe020001ec0] Duplicate element
[matroska,webm @ 0x7fe020001ec0] 0x00 at pos 100 (0x64) invalid as first byte
of an EBML number
[matroska,webm @ 0x7fe020001ec0] Duplicate element
[matroska,webm @ 0x7fe020001ec0] 0x00 at pos 167 (0xa7) invalid as first byte
of an EBML number
[matroska,webm @ 0x7fe020001ec0] Element at 0x5d ending at 0x1aec0100000066
exceeds containing master element ending at 0x1409
qt.multimedia.ffmpeg.mediadataholder: Could not open media. FFmpeg error
description: End of file

Here's the logs from the working command which produces a 217kb file that plays
normally:

$ LIBVA_DRIVER_NAME=none spectacle
kpipewire_vaapi_logging: VAAPI: Failed to initialize display
kpipewire_vaapi_logging: VAAPI: Failed to initialize display
kpipewire_vaapi_logging: DRM device not found
[libvpx-vp9 @ 0x7f37cc062a40] v1.15.2
kpipewire_dmabuf_logging: eglChooseConfig returned this many configs: 1
kf.kio.workers.file: copy()
QUrl("file:///tmp/Spectacle.HeOtCU/Screencast_20260103_191650.webm") to
QUrl("file:///home/USERNAME/Screencasts/Screencast_20260103_191650.webm") mode=
-1
qt.multimedia.ffmpeg: Using Qt multimedia with FFmpeg version n8.0.1 GPL
version 3 or later
Input #0, matroska,webm, from
'/home/USERNAME/Screencasts/Screencast_20260103_191650.webm':
  Metadata:
    ENCODER         : Lavf62.3.100
  Duration: 00:00:03.22, start: 0.022000, bitrate: 552 kb/s
  Stream #0:0: Video: vp9 (Profile 0), yuv420p(tv), 966x790, SAR 1:1 DAR
483:395, 60 fps, 60 tbr, 1k tbn, start 0.022000
    Metadata:
      DURATION        : 00:00:03.223000000


Happy to make a new issue if that makes sense. Looks like I'm getting ffmpeg
errors.

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

Reply via email to