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

            Bug ID: 500024
           Summary: WEBM encoder hangs and maxes out 1 core when stopping
                    the recording
    Classification: Applications
           Product: Spectacle
           Version: 24.12.2
          Platform: NixOS
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: General
          Assignee: noaha...@gmail.com
          Reporter: 18gatenmak...@gmail.com
                CC: k...@david-redondo.de
  Target Milestone: ---

Created attachment 178318
  --> https://bugs.kde.org/attachment.cgi?id=178318&action=edit
Coredump for spectacle

SUMMARY
When I try to record even the shortest video as a webm file (which is the
default) Spectacle hangs for a while, seems to only try to encode after the
fact only on a single core. If I make a 2 second video I can get back a result
after ~30 seconds...

STEPS TO REPRODUCE
1. Open spectacle
2. Record full screen
3. Stop the recording

OBSERVED RESULT
Spectacle is not responding anymore and it seems like it will never save the
file (even though it does after a disproportionally long time). I also get some
weird logs (only the ones after stopping the recording):
```
[libvpx-vp9 @ 0x7f83c0652340] v1.15.0
qt.multimedia.ffmpeg.mediadataholder: AVStream duration -9223372036854775808 is
invalid. Taking it from the metadata
vaExportSurfaceHandle failed
    failed to get textures for frame; format: 44
```

EXPECTED RESULT
The recording should finish quicker and preferrably asynchronously because
blocking the window loop doesn't seem like a good UX.

SOFTWARE/OS VERSIONS
Operating System: NixOS 25.05
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.12.12 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 2600 Six-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2

ADDITIONAL INFORMATION
I only received one coredump but this seems unrelated to the issue. Attached
anyways.

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

Reply via email to