realnc / dosbox-core

A DOSBox core for use in RetroArch and other libretro frontends.
GNU General Public License v2.0
42 stars 17 forks source link

[linux] Midi support for Sound Canvas VA in retroarch #19

Closed mors-gotha closed 3 years ago

mors-gotha commented 3 years ago

Hello. I have set up Falcosoft Midiplayer to load the official version of the Roland Sound Canvas VA. It inputs from port 14:0 ("Midi Through Port-0").

In the stand-alone version of Dosbox, I just have modified the dosbox.conf as: mpu401 = intelligent mididevice = alsa midiconfig = 14:0

and it works perfectly.

In Retroarch I have tried to set up manually the dosbox.conf file but it doesn't work. If i set the "Sound: midi driver" to ALSA, in the core options, "Sound: ALSA midi port" returns me "(no midi ports found)".

Is there a way to solve this problem ? Am I doing anything wrong ?

My OS is CentOS 7, I am using the latest stable version of Retroarch (1.9.0) and the dosbox core. Thanks in advance!

realnc commented 3 years ago

Make sure you start Midiplayer before you start the core.

mors-gotha commented 3 years ago

Make sure you start Midiplayer before you start the core.

I did that, of course. Retroarch was installed with snapcraft, does that have anything to do with the problem?

realnc commented 3 years ago

I'm not familiar with snap. If it uses some kind of sandbox, it may be that RA does not have permission to access ALSA MIDI.

Try installing the Flatpak version of RA. Does it work with that? If yes, then it's probably a permission problem with snap.

mors-gotha commented 3 years ago

You were right, snap was the problem! I installed the Flatpak version of RA and everything works perfectly! Thank you!