Skip to content
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

OBS crash at start when no MIDI device is plugged in #83

Open
ogmkp opened this issue Oct 5, 2023 · 2 comments
Open

OBS crash at start when no MIDI device is plugged in #83

ogmkp opened this issue Oct 5, 2023 · 2 comments

Comments

@ogmkp
Copy link

ogmkp commented Oct 5, 2023

Hello,
I use this plugin on Debian 12.

When I launch OBS with this plugin but no midi device connected (USB), OBS does not launch completely and gives up with this message:

warning: Failed to load 'en-US' text for module: 'obs-midi-mg.so'
info: [obs-midi-mg] Main -> Loading plugin...

raw_alsa_helpers::enumerator::enumerate_devices: cannot determine device number: Ioctl() inapproprié pour un périphérique

terminate called after throwing an instance of 'libremidi::driver_error'
  what():  raw_alsa_helpers::enumerator::enumerate_devices: cannot determine device number: Ioctl() inapproprié pour un périphérique
Abandon

Is it possible to have an exception and be able to launch the plugin without a midi controller and then have hot plug and play management if I plug it in?

I should point out that it works if I have a midi keyboard plugged in already.

Thanks a lot!

@pl-gauthier
Copy link

Same core dumped here. Archlinux with obs-midi-mg 2.3.0 and 2.3.1.

@nhielost
Copy link
Owner

Thanks for the feedback!

This should be fixed with the new 3.0.0 betas, but I am unable to test in a Linux environment. Let me know how it goes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants