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

Ver. 1.2.2 won't open in Windows 11 #1893

Closed
LHud opened this issue Nov 1, 2023 · 8 comments
Closed

Ver. 1.2.2 won't open in Windows 11 #1893

LHud opened this issue Nov 1, 2023 · 8 comments
Milestone

Comments

@LHud
Copy link

LHud commented Nov 1, 2023

Hydrogen version * :1.2.2
Operating system + version :Windows 11 64b
Audio driver + version : Focusrite Scarlet 2i2 driver ver. 4.65.5


I have recently gotten back in to Hydrogen drum machine and saw that there is an update to ver. 1.2.2 and I have ver. 1.1.1 and it works but figured getting the latest version from the Hydrogen website wouldn't hurt but it doesn't work. Basically it comes up for about a second and then disappears. I haven't fully investigated it as of yet, I did try to run it in compatibility mode to Windows 7 and 8 and as administrator but that didn't work. I am hoping someone here has experienced it and has a suggestion however mostly I am just posting the problem. I''m going to investigate further what the cause might be and if I find it I'll post that to help others who might experience this problem as well.

@LHud
Copy link
Author

LHud commented Nov 1, 2023

This has been resolved. Apparently this version, 1.2.2, will not open if Ableton Live 10 Standard is running in the background. The version I have before this one, 1.1.1, runs fine with Ableton up so didn't see that as a problem. Sorry for the alarm, guess it'll be one or the other from here on out. I'd say for now this is resolved.

@theGreatWhiteShark
Copy link
Contributor

this version, 1.2.2, will not open if Ableton Live 10 Standard is running in the background.

Ah, okay. Seems like they are both fighting for the same audio device. But Hydrogen should nevertheless be able to start up. So, that's definitely a bug.

I just tried to reproduce it using a trial version of the most recent Ableton Live 11 but both applications could run side by side regardless of the audio settings. Which audio driver/device settings have you done in Ableton and Hydrogen (screenshot suffices)? Does the problem still occur when opening Hydrogen without Ableton, switching to a different PortAudio device or Host API, and trying to run both in parallel again?

And most importantly: could you paste the log message emitted by Hydrogen during startup in here?

@LHud
Copy link
Author

LHud commented Nov 2, 2023 via email

@theGreatWhiteShark
Copy link
Contributor

I've attached screenshots of the audio preferences of both Hydrogen 1.2.2
and Ableton Live 10.

I can not see any screenshots. But the logs show that this seems to be indeed an issue of conflicting device access. But of the MIDI device, not the audio one. Does the crash still happens when switching to another MIDI device?

With all your clues I will try to reproduce the crash locally next week and try to come up with a fix.

@theGreatWhiteShark
Copy link
Contributor

Hey @LHud ,

I couldn't reproduce the crash but found some issues in the PortMidi driver and added some safeguards in the PortAudio one. Could you check whether this version of Hydrogen is able to start up?

@LHud
Copy link
Author

LHud commented Nov 8, 2023

Sorry about the late response, we are in the middle of buying a house so have been busy with that. I will give that a shot and post back. Strange those screen shots didn't translate from email, will respond directly in here from now on. Thank for you help too btw :)

Ableton Live 10 Audio Preferences
Hydrogen 1 2 2 Audio Preferences

@LHud
Copy link
Author

LHud commented Nov 8, 2023

I have 1.2.2 v.64 already installed but here's the strange part. It's working. I have both up and functioning fine side by side. I didn't do anything or make any changes so can't say what is going on. I rebooted several times when it first occurred but that didn't fix it so I don't know what did, just that it's fixed. Thanks again for your help.

@theGreatWhiteShark
Copy link
Contributor

I have 1.2.2 v.64 already installed

Point taken. Our build pipeline should mark develop builds by appending a suffix. I'll change that :D . But the exe I linked was a different version patched just for you. I hardened the code to hopefully fix the crash during startup.

here's the strange part. It's working

So, you didn't installed the patched version and it is working with the official 1.2.2 one too? Yeah. Fun on Windows.

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

No branches or pull requests

2 participants