mixxxdj / mixxx

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

After playing a track, mixxx from git master outputs strange sound and no longer plays anything #7843

Closed mixxxbot closed 2 years ago

mixxxbot commented 2 years ago

Reported by: borgdylan Date: 2015-02-03T13:43:12Z Status: Fix Released Importance: Medium Launchpad Issue: lp1417582


Using the latest mixxx from git on linux (compiled with faad=1 and tuned=1), makes mixxx unable to play anything after playing just 1 track.

mixxxbot commented 2 years ago

Commented by: daschuer Date: 2015-02-03T14:35:19Z


Please give more details. Which version (AboutBox) or git commit are you using and on which bistro. Do you have a recipe how to reproduce it?

mixxxbot commented 2 years ago

Commented by: borgdylan Date: 2015-02-03T14:50:01Z


i am using commit 3907041ce811ef0d9bfc2f41f00997f8e7f2c9ac. I am on Ubuntu 14.10 32 bit using an Intel Sandy Bridge Core i7 2600.

Build process used: git pull origin sudo scons faad=1 tuned=1 sudo scons /usr/local install

mixxxbot commented 2 years ago

Commented by: borgdylan Date: 2015-02-03T14:51:28Z


To reproduce I just load a track on both decks. I play the first track till the end (after which a strange hum is put out). When I try to play the second track no audio comes out.

mixxxbot commented 2 years ago

Commented by: daschuer Date: 2015-02-03T15:46:02Z


Could it be a regression from on of the last commits? Do you know a version where it works?

What does the latency meter (Below the clock in Shade and Deere) show once the hum appears?
Does the hum happen when you stop the first deck or if you start the second? What happen if you start both decks again after humming appears?

There is known a bug in the scons scripts, that disables normal prevention with your settings. You may try CXXFLAGS="-mfpmath=sse" sudo scons faad=1 tuned=1 or sudo scons faad=1 tuned=0 optimize=8

mixxxbot commented 2 years ago

Commented by: borgdylan Date: 2015-02-05T12:14:04Z


After further testing, it seems that if both decks are loaded with a track and you try to play one of the tracks while the other is not playing you get erroneous behavior.

mixxxbot commented 2 years ago

Commented by: borgdylan Date: 2015-02-05T12:21:29Z


The latency remains the same i.e. 21.3333 ms. I do get a lot of buffer underflows (almost one every second). The hum appears in a running deck once the other deck has been stopped (with the exception of having a non-playing deck that has never been played on since the start of the mixxx process) If I have both decks playing, no hum happens and playback is OK.

mixxxbot commented 2 years ago

Commented by: borgdylan Date: 2015-02-05T12:31:39Z


It all used to work ok before the effects stuff started to be included precisely before the view effects rack menu was added if i recall well.

mixxxbot commented 2 years ago

Commented by: borgdylan Date: 2015-02-05T12:42:11Z


I can confirm that passing "faad=1 tuned=0 optimize=8" yields a properly working build of mixxx. It could be that gcc was being badly invoked or gcc has some issue that optimizes code in the wrong way.

mixxxbot commented 2 years ago

Commented by: daschuer Date: 2015-02-05T13:01:39Z


Thank you for the report. Improved Flags will be introduced by: https://github.com/mixxxdj/mixxx/pull/436

An optimized build for your system will be generated by: scons faad=1 optimize=native

mixxxbot commented 2 years ago

Commented by: daschuer Date: 2015-03-10T14:42:32Z


https://github.com/mixxxdj/mixxx/pull/436

mixxxbot commented 2 years ago

Issue closed with status Fix Released.