Skip to content

[Bug]: #406

Description

@martin152

Pre-submission Checklist

  • I have attached the bug report file generated by the app (camera-bug-report-*.md)
  • I have searched existing issues to make sure this bug hasn't been reported
  • I am using the latest version of Camera
  • I have tried restarting the application

Bug Description

The Photo/Video mode toggle (ModeCarousel) expansion animation causes ~80% GPU utilization on hardware Vulkan (RADV). The same animation on software Vulkan (lavapipe) produces identical visual output at ~7–8% GPU — a 10:1 cost ratio for the same work. The GPU spike is present regardless of whether a camera is connected.

A secondary symptom: when no camera is streaming (GPU otherwise idle), the spike is large enough to electromagnetically couple into the camera module's VCM coil, producing an audible buzz. This disappears when a camera is streaming because the GPU baseline is already elevated, but the underlying GPU overuse remains in both cases.

Steps to Reproduce

Open COSMIC Camera (camera connected or not)
Monitor GPU: watch -n 0.1 cat /sys/class/drm/card1/device/gpu_busy_percent
Hover over the Photo/Video toggle

Expected Behavior

GPU usage comparable to other UI animations (~10–20%)

Bug Report File

camera-bug-report-20260514_043659.md

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    app-reportBug report submitted from the appbugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions