You are not logged in.

#1 2022-02-15 19:48:38

kamelie1706
Member
Registered: 2014-02-19
Posts: 176

[SOLVED] DOSBOX - Munt - Pipewire

Hi

I have just installed pipewire with pulseaudio &  alsa module.

It seems I cannot get dosbox to play nicely with munt using midi.

aconnect -l

client 0: 'System' [type=kernel]
    0 'Timer           '
        Connecting To: 142:0
    1 'Announce        '
        Connecting To: 142:0
client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
        Connecting To: 143:0[real:0]
        Connected From: 143:0[real:0]
client 28: 'Virtual Raw MIDI 3-0' [type=kernel,card=3]
    0 'VirMIDI 3-0     '
        Connecting To: 143:0[real:0]
        Connected From: 143:0[real:0]
client 29: 'Virtual Raw MIDI 3-1' [type=kernel,card=3]
    0 'VirMIDI 3-1     '
        Connecting To: 143:0[real:0]
        Connected From: 143:0[real:0]
client 30: 'Virtual Raw MIDI 3-2' [type=kernel,card=3]
    0 'VirMIDI 3-2     '
        Connecting To: 143:0[real:0]
        Connected From: 143:0[real:0]
client 31: 'Virtual Raw MIDI 3-3' [type=kernel,card=3]
    0 'VirMIDI 3-3     '
        Connecting To: 143:0[real:0]
        Connected From: 143:0[real:0]
client 128: 'Munt MT-32' [type=user,pid=2732]
    0 'Standard        '
        Connected From: 143:0[real:0]
client 142: 'PipeWire-System' [type=user,pid=1241]
    0 'input           '
        Connected From: 0:1, 0:0
client 143: 'PipeWire-RT-Event' [type=user,pid=1241]
    0 'input           '
        Connecting To: 14:0[real:0], 28:0[real:0], 29:0[real:0], 30:0[real:0], 31:0[real:0], 128:0[real:0]
        Connected From: 14:0[real:0], 28:0[real:0], 29:0[real:0], 30:0[real:0], 31:0[real:0]

Munt client is 128.

in .dosbox/dosbox-0.74-3.conf or .dosbox/dosbox.conf

mpu401=intelligent
mididevice=alsa
midiconfig=128

I can see dosbox audio ports exposed to pipewire but no midi ports related to dosbox.

I used "4D sports boxing" as testing. Setup the sound as MT32 via the SETUP tool.

Nothing seems to reach Munt.

DOSBOX log

MIXER:Got different values from SDL: freq 44100, blocksize 512
ALSA:Invalid alsa port 128
MIDI:Can't open device:alsa with config:128.
ALSA:Invalid alsa port 128
MIDI:Opened device:none

Archwiki is very lean related to dosbox and could not find anything in midi dosbox official page working for me.

What am I missing?

Thx

Last edited by kamelie1706 (2022-02-15 21:01:54)

Offline

#2 2022-02-15 20:28:25

Maniaxx
Member
Registered: 2014-05-14
Posts: 757

Re: [SOLVED] DOSBOX - Munt - Pipewire

Try this:

midiconfig=128:0

sys2064

Offline

#3 2022-02-15 20:59:57

kamelie1706
Member
Registered: 2014-02-19
Posts: 176

Re: [SOLVED] DOSBOX - Munt - Pipewire

worked! thx!

client 0: 'System' [type=kernel]
    0 'Timer           '
        Connecting To: 142:0
    1 'Announce        '
        Connecting To: 142:0
client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
client 28: 'Virtual Raw MIDI 3-0' [type=kernel,card=3]
    0 'VirMIDI 3-0     '
client 29: 'Virtual Raw MIDI 3-1' [type=kernel,card=3]
    0 'VirMIDI 3-1     '
client 30: 'Virtual Raw MIDI 3-2' [type=kernel,card=3]
    0 'VirMIDI 3-2     '
client 31: 'Virtual Raw MIDI 3-3' [type=kernel,card=3]
    0 'VirMIDI 3-3     '
client 128: 'Munt MT-32' [type=user,pid=2548]
    0 'Standard        '
        Connected From: 129:0
client 129: 'DOSBOX' [type=user,pid=3004]
    0 'DOSBOX          '
        Connecting To: 128:0
client 142: 'PipeWire-System' [type=user,pid=889]
    0 'input           '
        Connected From: 0:1, 0:0
client 143: 'PipeWire-RT-Event' [type=user,pid=889]
    0 'input

midi ports still not exposed in pipewire from dosbox but will dig that out later .... ;-)

Last edited by kamelie1706 (2022-02-15 21:41:22)

Offline

Board footer

Powered by FluxBB