MIDI freezes entirely until playback is toggled

Bug #1848150 reported by Polar Shock
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Confirmed
Critical
Unassigned

Bug Description

MIDI queue seems to randomly freeze and MIDI across all devices is halted. Unfreezes only when I manually toggle any deck's play button with the mouse.
I use a Launchpad and a Liine Lemur with wizard mappings. Windows 10 x64. Version 2.2.2.

Revision history for this message
ronso0 (ronso0) wrote :

Please attach the mapping files to the bug report.

Does it freeze while it's playing, and unfreezes if playback is stopped?

Revision history for this message
ronso0 (ronso0) wrote :

Apart from the mappings, can you describe your setup and configuration?
Lemur seems to be a powerful app, maybe it's simply sending to many messages.
Does it freeze without the Lemur device attached?

Revision history for this message
Polar Shock (polarshock) wrote :

Attached mapping.
MIDI freezes randomly during playback. It may start freezing after I've done something on the Lemur, but I can't confirm since there's no way to check. My Lemur setup is pretty basic - just some CC knobs and note buttons that I map to the mixer, effect chains, and some other parameters. Nothing complex - shouldn't send more messages per minute than an ordinary DJ controller would. It doesn't seem to freeze when the Lemur isn't attached, but again, I can't confirm 100%.

When such a freeze happens, if I click on a deck to resume playback, or go to preferences to disable and reenable the Lemur, all the changes I have done on the lemur during the freeze are instantly applied, which suggests that something is halting up the midi queue.

I attempted reading the logs, but couldn't find any MIDI-related errors. Could send it over as well if needed.

Lemur is routed as follows: Transmitted over wifi to Lemur Daemon (desktop driver,) relayed to LoopMIDI, then opened as controller in Mixxx. There doesn't seem to be an issue in this signal path. (Checked with MIDI monitoring)

Sorry if I'm a bit clumsy with the details, it's my first day with Mixxx, aha. Loving it otherwise.

Revision history for this message
ronso0 (ronso0) wrote :

To debug MIDI you can start Mixxx via command line "mixxx --controllerDebug"

Maybe you can detect what happens just before the freeze, and also where the MIDI messages get stuck.

Revision history for this message
Be (be.ing) wrote :

My friend has also reported this on Windows with an Electrix Tweaker.

FYI, if you have a serious issue with a controller during a performance, you can go to the Mixxx preferences, disable the controller, then re-enable it without interrupting playback.

Changed in mixxx:
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
Polar Shock (polarshock) wrote :

Ran it with -controllerDebug
---
C:\Program Files\Mixxx>Warning [Main]: SoundSourcePluginLibrary - Failed to dynamically load plugin library "C:/Program Files/Mixxx/plugins/soundsource/soundsourcemediafoundation.exp" : "Cannot load library C:\\Program Files\\Mixxx\\plugins\\soundsource\\soundsourcemediafoundation.exp: Unknown error 0x000000c1."
Warning [Main]: SoundSourceProxy - Failed to load SoundSource plugin "C:/Program Files/Mixxx/plugins/soundsource/soundsourcemediafoundation.exp"
Warning [Main]: SoundSourcePluginLibrary - Failed to dynamically load plugin library "C:/Program Files/Mixxx/plugins/soundsource/soundsourcemediafoundation.lib" : "Cannot load library C:\\Program Files\\Mixxx\\plugins\\soundsource\\soundsourcemediafoundation.lib: Unknown error 0x000000c1."
Warning [Main]: SoundSourceProxy - Failed to load SoundSource plugin "C:/Program Files/Mixxx/plugins/soundsource/soundsourcemediafoundation.lib"
Warning [Main]: SoundSourcePluginLibrary - Failed to dynamically load plugin library "C:/Program Files/Mixxx/plugins/soundsource/soundsourcemediafoundation.pdb" : "Cannot load library C:\\Program Files\\Mixxx\\plugins\\soundsource\\soundsourcemediafoundation.pdb: Unknown error 0x000000c1."
Warning [Main]: SoundSourceProxy - Failed to load SoundSource plugin "C:/Program Files/Mixxx/plugins/soundsource/soundsourcemediafoundation.pdb"
Warning [Main]: src\skin\legacyskinparser.cpp:2110 SKIN ERROR at skin:tool_bar.xml:344 <Connection>: LegacySkinParser::setupConnections(): EmitOnPressAndRelease must not set false
Warning [Main]: src\skin\legacyskinparser.cpp:2110 SKIN ERROR at skin:skin_settings.xml:40 <Connection>: LegacySkinParser::setupConnections(): EmitOnPressAndRelease must not set false
Warning [Controller]: USB permissions problem (or device error.) Your account needs write access to USB HID controllers.
Warning [Controller]: USB permissions problem (or device error.) Your account needs write access to USB HID controllers.
Warning [Controller]: USB permissions problem (or device error.) Your account needs write access to USB HID controllers.
Warning [Main]: GLSLWaveformRendererSignal::createFrameBuffer - frame buffer not valid
Warning [Thread (pooled)]: libpng warning: iCCP: known incorrect sRGB profile
---
Won't say anything when the freeze happens. I did try to run it with admin priviledges after I saw the USB permissions problem. Both the issue and the log message persisted. Maybe it's one of those skin errors? I do use the default skin, though.

Revision history for this message
Polar Shock (polarshock) wrote :

Never mind! My bad. I forgot the second "-" in the suffix. Here's what happens right before the freeze.
---
Debug [Controller]: sending MIDI bytes: 144 , 25 , 53
Debug [Controller]: Launchpad MK2: outgoing: status 0x90 (ch 1, opcode 0x9), ctrl 0x19, val 0x35
Debug [Controller]: Launchpad MK2: t:464418 ms status 0x90 (ch 1, opcode 0x9), ctrl 0x19, val 0x00
Debug [Controller]: sending MIDI bytes: 144 , 25 , 55
Debug [Controller]: Launchpad MK2: outgoing: status 0x90 (ch 1, opcode 0x9), ctrl 0x19, val 0x37
---
Doesn't look like it even has anything to do with the Lemur.

tags: added: controllers midi
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/9776

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.