Add a CPU usage widget.

Bug #892981 reported by Troy R.
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Wishlist
Daniel Schürmann

Bug Description

It would be useful if Mixxx provided a way to add a CPU usage widget to the interface.

* Virtual DJ provides a CPU usage widget.
* Serato Itch also provides a CPU usage widget.

The rationale here is that compressing, recording to disk, and manipulating live audio streams is fairly cycle-intensive. A CPU meter would allow any potential CPU usage problems to be uncovered before they interfere with your performance or recording.

Current implementations (in VDJ, for example) use a green coloured bar that changes to red as it grows in length inside a rectangular boundary to indicate usage. This could be extended to multi-core/smp systems by providing additional bars for CPU0/CPU1/CPU2, etc, or save screen real estate with a combined/averaged usage meter. Taking the "saving space" idea further, a small text output label would be more than sufficient, perhaps changing the text colour as load increases.

Tags: easy weekend
jus (jus)
Changed in mixxx:
status: New → Confirmed
importance: Undecided → Wishlist
RJ Skerry-Ryan (rryan)
tags: added: easy weekend
tags: removed: wishlist
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

This would be a nice touch for 1.12.

Revision history for this message
Daniel Schürmann (daschuer) wrote :

This could be implemented as a audio callback duration / buffer size ratio.
IMHO this is the most significant value for us.
In addition it can display buffer underflows.
All the same as VU.Meters, but for time.

Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

Instead of a dedicated widget, a dedicated potmeter CO that represents that ratio could be hooked up to a <Display> widget.

Changed in mixxx:
assignee: nobody → Daniel Schürmann (daschuer)
status: Confirmed → In Progress
Revision history for this message
Daniel Schürmann (daschuer) wrote :
Revision history for this message
Daniel Schürmann (daschuer) wrote :
Changed in mixxx:
status: In Progress → Fix Committed
jus (jus)
Changed in mixxx:
milestone: none → 1.12.0
Revision history for this message
Troy R. (dsm-iv-tr) wrote : Re: [Bug 892981] Re: Add a CPU usage widget.

This looks great. Thanks so much, all of you. I wish I had time to
implement rather than just suggest things (coming to grips with a big
codebase is a little much at the moment for me), but I'm so happy to be
heard as an end-user.

Cheers. :)

--
Troy Rennie
p: 647-889-9570
e: <email address hidden>
flickr: http://www.flickr.com/photos/dsm-iv-tr/

On Tue, Apr 22, 2014 at 12:23 AM, jus <email address hidden> wrote:

> ** Changed in: mixxx
> Milestone: None => 1.12.0
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/892981
>
> Title:
> Add a CPU usage widget.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/892981/+subscriptions
>

Revision history for this message
Daniel Schürmann (daschuer) wrote :

Thank you. ;-)
Once you have time, we can give you a grip to fix an easy bug. Just ask.

Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

Should we file a separate bug for an actual CPU monitor and rename this "latency monitor"? It may also be useful information to know if the CPU usage is high in addition to latency usage.

Revision history for this message
Daniel Schürmann (daschuer) wrote :

I am not sure if there is a benefit to re-implement the OS's CPU monitor.

What might be a benefit is to watch additional time critical things like:
video_sync_usage
broadcast_latency_usage

Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

I think the goal of the dedicated in-Mixxx widgets (battery, CPU, etc.) is so that you can make Mixxx full screen and still see things that are typically in the OS toolbar.

Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

(the time widget as well)

RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/6124

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.