mixxxdj / mixxx

Mixxx is Free DJ software that gives you everything you need to perform live mixes.
http://mixxx.org
Other
4.46k stars 1.27k forks source link

75-80% CPU-Usage (starting with 1.9.0beta1) #5709

Closed mixxxbot closed 2 years ago

mixxxbot commented 2 years ago

Reported by: toomuch Date: 2010-12-11T12:34:30Z Status: Invalid Importance: High Launchpad Issue: lp688916 Tags: cpu


I have 2 tracks playing. When I click on the waveform of the prelistening track playback freezes for a short moment.

Latency is 42ms.

Have Win7 x64 and installed the beta without deinstalling the last stable version.

mixxxbot commented 2 years ago

Commented by: Pegasus-RPG Date: 2010-12-11T12:51:36Z


All playback including the master out freezes or just the headphone out?

Can you use the Record Mix feature and let us know if the dropout is heard in that recording as well?

mixxxbot commented 2 years ago

Commented by: toomuch Date: 2010-12-11T13:27:19Z


Master out freezes.

I recorded to WAV and had no clicks or freezes.

mixxxbot commented 2 years ago

Commented by: esbrandt Date: 2011-08-19T12:00:34Z


Is this still a issue with Mixxx 1.9.0 final?

mixxxbot commented 2 years ago

Commented by: toomuch Date: 2011-11-13T13:14:10Z


It has now (Mixxx 1.10.0beta1) dropped to 50-70%. It still think this is a bit high. What CPU load do you have on your systems (preferebly laptops for better comparison)?

mixxxbot commented 2 years ago

Commented by: rryan Date: 2011-11-13T20:53:23Z


Lenovo T400 Core 2 Duo at 2.5GHz with Intel Mobile 4 Series graphics.

25% with 2 tracks playing a 2ms latency 30% with 2 tracks and 4 samplers playing at 2ms latency

mixxxbot commented 2 years ago

Commented by: rryan Date: 2011-11-13T20:56:10Z


toomuch -- what speed is your CPU?

Can you compare the CPU usage of other DJ software? Maybe download a VirtualDJ trial and see what CPU that uses?

Mixing audio tracks takes a lot of CPU -- there are still some areas of waste in our engine code that we need to improve, though. Particularly the equalizers.

mixxxbot commented 2 years ago

Commented by: toomuch Date: 2011-11-13T23:30:45Z


CPU Speed is 1.87GHz.

I just saw that even in idle mode (no track playing, no lib scanning, etc.) the CPU load was 45-50%. :O This is not permanent, but just happened as I wrote this message and one more time before.

Tested with Virtual DJ Home 7.0.5 and had a CPU load of about 15-20% with two tracks playing (latency 11ms = playing smoothly). In Mixxx I have to use 10.7ms latency to hear anything. Before that the track is crawling and cracking. With ASIO the latency can be dropped to nearly 3ms.

mixxxbot commented 2 years ago

Commented by: rryan Date: 2011-11-13T23:52:57Z


What is your CPU type? Atom ? Core2Duo ? Pentium D? Pentium 4? Celeron ? etc.

Thanks RJ

On Sun, Nov 13, 2011 at 6:30 PM, toomuch

CPU Speed is 1.87GHz.

I just saw that even in idle mode (no track playing, no lib scanning, etc.) the CPU load was 45-50%. :O This is not permanent, but just happened as I wrote this message and one more time before.

Tested with Virtual DJ Home 7.0.5 and had a CPU load of about 15-20% with two tracks playing (latency 11ms = playing smoothly). In Mixxx I have to use 10.7ms latency to hear anything. Before that the track is crawling and cracking. With ASIO the latency can be dropped to nearly 3ms.

-- You received this bug notification because you are a member of Mixxx Development Team, which is subscribed to Mixxx. https://bugs.launchpad.net/bugs/688916

Title: 75-80% CPU-Usage with 1.9.0beta1

To manage notifications about this bug go to: https://bugs.launchpad.net/mixxx/+bug/688916/+subscriptions

mixxxbot commented 2 years ago

Commented by: toomuch Date: 2011-11-14T07:29:59Z


I have a Intel Pentium Dual Core T2390 with 3GB RAM (Asus X51L laptop).

mixxxbot commented 2 years ago

Commented by: toomuch Date: 2011-12-15T21:53:20Z


In idle mode (no track loading or playing) I have 50% CPU load.

mixxxbot commented 2 years ago

Commented by: rryan Date: 2011-12-15T22:05:01Z


With waveforms turned on or off?

On Thu, Dec 15, 2011 at 4:53 PM, toomuch

In idle mode (no track loading or playing) I have 50% CPU load.

-- You received this bug notification because you are a member of Mixxx Development Team, which is subscribed to Mixxx. https://bugs.launchpad.net/bugs/688916

Title: 75-80% CPU-Usage with 1.9.0beta1

To manage notifications about this bug go to: https://bugs.launchpad.net/mixxx/+bug/688916/+subscriptions

mixxxbot commented 2 years ago

Commented by: toomuch Date: 2011-12-15T23:16:50Z


Before: Waveforms are enabled, but no track is loaded.

I just wanted to reproduce: Now < 5%. Strange!
Now I loaded a track (70-80% CPU), afterwards stayed at 30% CPU, although I did not play it or something. Just loading the track (13MB, 5:43 min, 320kBit/s) keeps Mixxx consuming 30% CPU constantly. Playing it adds another 20% CPU (pausing it reduces 20% again as expected). Turned waveforms of -> drops CPU below 5%.
Loading a track with no waveforms consumes about 50%, afterwards < 5%. Turning waveforms back on: about 50%.
Just to have said it clearly: No track was playing when I did these tests. Only loading, idling and changing waveforms setting.

Seems like it is connected to this bug #⁠888817.

What is different on my setup that other windows users don't have? :(

mixxxbot commented 2 years ago

Issue closed with status Invalid.