FL Studio 20 Launch Freeze in Wine 4.x

Bugs: Audio, Wine, Linux

wine64 /home/herb/.winestudio/drive_c/Program\ Files\ \(x86\)/Image-Line/FL\ Studio\ 20/FL64.exe

If you fire up any version of FL Studio after the 11.x series in modern Wine (3.x+) with a command similar to the above, you'll quickly be greeted with a fruit logo that does nothing.

Fruity Freeze (FL version 20.5.0.1142)

The following message will be showing in your terminal output, repeating itself over and over again.

0052:err:ntdll:RtlpWaitForCriticalSection section 0x1535f20 "?" wait timed out in thread 0052, blocked by 0009, retrying (60 sec)

A couple of interesting bug reports over on WineHQ contain a suggestion that might get you past this. It worked for me. Apparently this indicates there might be a problem with how Wine is handling file descriptors. It's interesting that one of the bugs was closed as invalid while the problem is still consistently reproducible. Anyway, start FL Studio with the following syntax and you should be good to go.

wine64 /home/herb/.winestudio/drive_c/Program\ Files\ \(x86\)/Image-Line/FL\ Studio\ 20/FL64.exe 2>&1 | tee /tmp/flrun.log