Closed jannekem closed 2 years ago
Unfortunately there is a known bug in the latest current official portmidi release, which is quite old, that affects MINGW64. It is resolved in the later development releases, but those are not packaged for MINGW. You can download and install it yourself from here https://sourceforge.net/p/portmedia/code/HEAD/tree/portmidi/trunk/ or if you want you can use the version I compiled myself (with very little knowledge of MSYS2 so it was a journey): mingw-w64-x86_64-portmidi-234-1-any.pkg.tar.zst.zip
GitHub doesn't allow uploading zst files so you need to unzip before installing using pacman -U.
Thanks, that solved it!
That info could be added to the PR so that anyone else testing this on Windows would find it too.
I'm able to configure both A and B layers to different functions, which is really nice. Sometimes the value jumps to one end after switching layers but other than that it works really well. I also have a spare Launchpad that I could test a little but I'm not sure if anyone would actually want to use it for image editing.
You are right, I should have added the info to the PR after the problem developed. Initially all worked well under windows as well, until I made the change to open all midi devices at the same time (you should be able to use both the x-touch and launchpad together). That triggered the crash, but I only found out much later and was still hoping to work around it at some point. Having had no feedback from windows users even though it must have been broken for a while I assumed/hoped that nobody had tried it anyway...
Now I've put a link in the PR to this topic.
Midi/device support needs further development to make it fully configurable and support many types of devices each with their own quirks. I may be able to somewhat fix the jumping when switching between A and B, but it can't be completely avoided because of the way the x-touch firmware ignores any updates received for the "invisible" bank.
This issue did not get any activity in the past 30 days and will be closed in 365 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.
PortMidi 234 is now available in MSYS2 (https://packages.msys2.org/package/mingw-w64-x86_64-portmidi?repo=mingw64) which resolves this issue.
Describe the bug/issue
Darktable crashes on startup when a MIDI device is connected on Windows 10. It opens normally when the device is unplugged. I'm using the Behringer X-Touch Mini.
I have built the installer according to the instructions with MSYS, and I have installed the portmidi library with this command:
I chose the installer build and used the exe to install darktable.
Platform
Additional context
Error log