-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
External MIDI Keyboard in Flatpak not detected #1771
Comments
Apparently it seems that would need https://github.com/flathub/net.sourceforge.kmidimon/blob/master/net.sourceforge.kmidimon.json#L13 |
The wonders of sandboxing... Assign to @ColinKinloch |
It has access to the |
Furnace uses ALSA MIDI through RtMidi (yeah, I disabled JACK MIDI). |
Ah, the flatpak builds RtMidi separately with jack support. |
It is disabled because I plan to add a native JACK backend to Furnace. |
Seems that Debian KDE doesn't use pipewire by default yet. |
My recommendation would be to add this as a part of the installation documentation, so the users can override that behaviour themselves. That way, the Flatpak is still contained in a sane way and if anybody needs to override this, until the Jack implementation is ready, they can do that, with all the possible repercussions.
|
The flatpak currently supports jack via RTMidi and has permissions for specifically the pipewire implementation of jackd. The issue is how do you display these suggestions to the user:
Out of interest what distro do you use? |
Which version of Ubuntu? |
Yeah, this is focal, but has added pipewire support and jack via pipewire works for other applications (Bitwig for example). So that's not the problem: pgrep -a pulse:
pgrep -a jack is empty |
I feel it should work, I'll have a think and get back to you. |
Mine is using ALSA for MIDI as it turns out (via) pipewire 🤷. |
It appears that Furnace does not allow you to choose which RtMidi::Api to use, so RtMidi falls back to trying all available APIs... ...starting with ALSA. |
Are you sure Flatpak does not offer a way to only provide access to /dev/snd? |
There's a discussion here: flatpak/xdg-desktop-portal#1142 I checked just now and if I run furnace with Here's the line in flatpak that gives access to introduced in: flatpak/flatpak@4d1899b Looks like flatpak 0.6.1 was 8 years ago https://github.com/flatpak/flatpak/tree/0.6.1 The version of flatpak included in 20.04 LTS is too old by 4 years. I guess the question is what does LTS mean? It's a promise made by Ubuntu so let them provide the support 😁. |
I've updated the issue description to better reflect what v0.6.1 refers to. |
Can confirm it working on latest available Flatpak stable 1.14.4 👍 Thanks for the pointers :) |
Is the MIDI support also working in Flatpak? I do not see the permission in the context (only access to the pulseaudio socket).
Observed behaviour:
Expected behaviour:
Relevant log output:
Flatpak context:
Flatpak version of furnace:
v0.6.1
The text was updated successfully, but these errors were encountered: