[SOLVED] Disappearing MIDI Connections

Optimize your system for ultimate performance.

Moderators: khz, MattKingUSA

Post Reply
User avatar
Flan_TheDude
Established Member
Posts: 13
Joined: Sun Nov 01, 2020 12:08 pm
Location: UK
Contact:

[SOLVED] Disappearing MIDI Connections

Post by Flan_TheDude »

Hello, everyone.

I'm having an issue whereby all jack MIDI ports displayed in QjackCtl or Carla (the red MIDI ports) have disappeared. MIDI devices are correctly recognised:

Output of aplaymidi --list

Code: Select all

 Port    Client name                      Port name
 14:0    Midi Through                     Midi Through Port-0
 24:0    Rubix44                          Rubix44 MIDI 1
 28:0    MIDIFlex4                        MIDIFlex4 MIDI 1
 28:1    MIDIFlex4                        MIDIFlex4 MIDI 2
 28:2    MIDIFlex4                        MIDIFlex4 MIDI 3
 28:3    MIDIFlex4                        MIDIFlex4 MIDI 4
 32:0    MIDI Mix                         MIDI Mix MIDI 1
 36:0    Keystation Mini 32 MK3           Keystation Mini 32 MK3 MIDI 1
My jackd command

Code: Select all

jackd -R -d alsa -d hw:Rubix44 \
	-D -r 48000 \
	-p 128 \
	-n 3 \
	-midi seq \
	&>> myjack.log &
Messages from jackd when starting

Code: Select all

JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
audio_reservation_init
Acquire audio card Audio2
creating alsa driver ... hw:Rubix44|hw:Rubix44|128|3|48000|0|0|nomon|swmeter|-|32bit
configuring for 48000Hz, period = 128 frames (2.7 ms), buffer = 3 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 3 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 3 periods for playback
Curiously, all MIDI devices do appear as ALSA MIDI ports in QjackCtl, but not being jack ports, they're unusable. In addition my sound card has 4 capture ports, and now the QjackCtl or Carla system inputs list shows 4 monitor ports as well the 4 capture ports (only 4 playback ports listed). To be extra clear, all MIDI ports were working a few days ago, and suddenly disappeared after I installed the build dependencies to compile geonkick; but since then I have completely reinstalled Debian but this has not resolved the problem.

Has anyone experienced this before and found a solution? Any help or hints would be greatly appreciated :D
Last edited by Flan_TheDude on Sun Jul 18, 2021 4:07 pm, edited 1 time in total.
Linux noise maker, Dudeist and cat weirdo.
User avatar
Flan_TheDude
Established Member
Posts: 13
Joined: Sun Nov 01, 2020 12:08 pm
Location: UK
Contact:

Re: Disappearing MIDI Connections

Post by Flan_TheDude »

A small development: I created a test user account, made sure was part of the audio group etc, and on running.the same jackd command, all jack MIDI ports appeared in QjackCtl.

So the problem is local to my user account, but what's causing the problem? I have deleted all config/cache files and folders not related to things like browser cache etc, but to no avail.

Tiny progress. Maybe better to try data backup and recreate the user... :? :?:
Linux noise maker, Dudeist and cat weirdo.
User avatar
Flan_TheDude
Established Member
Posts: 13
Joined: Sun Nov 01, 2020 12:08 pm
Location: UK
Contact:

Re: [SOLVED] Disappearing MIDI Connections

Post by Flan_TheDude »

SOLVED

To be honest, I am not sure what's happened to resolve this problem.

After changing

Code: Select all

--midi seq
To

Code: Select all

-X seq
All jack MIDI have reappeared.

...but I am CERTAIN I tried this several times already! :lol:

Oh well, will wait and see if it's a long-term fix, fingers crossed.
Linux noise maker, Dudeist and cat weirdo.
Post Reply