Installing FL Studio with WineASIO

Questions about Wine on Linux
Locked
zerocon
Newbie
Newbie
Posts: 4
Joined: Tue Jun 16, 2015 2:54 pm

Installing FL Studio with WineASIO

Post by zerocon »

Hi,

I've been trying to install the audio software FL Studio (64 bit) for days now, and I just can't get the WineASIO driver to work properly, so i hope you guys can tell me what I'm doing wrong. :wink:

I am running a 64 bit Arch Linux (Linux zeros 4.0.5-1-ARCH #1 SMP PREEMPT Sat Jun 6 18:37:49 CEST 2015 x86_64 GNU/Linux).

Packages installed manually or as a dependency are:
wine (1.7.44-2), wine-mono (4.5.6-1), winetricks (20150416-1), wine_gecko (2.36-1), wineasio (0.9.2-5), jack (0.124.1-3), qjackctl (0.3.13-1), lib32-jack (0.124.1-1) and lib32-ncurses (5.9-3)
I also copied the Microsoft fonts needed from a Windows machine to .wine/drive_c/windows/Fonts and did a usermod -aG audio.

When I run regsvr32 wineasio.dll, wine regsvr32 wineasio.dll or wine64 regsvr32 wineasio.dll, I get the following:

Code: Select all

$ wine64 regsvr32 wineasio.dll
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
regsvr32: Successfully registered DLL 'wineasio.dll'
err:ole:array_write_variance_and_marshall unknown array format 0x60
err:ole:array_write_variance_and_marshall unknown array format 0x60
err:rpc:I_RpcReceive we got fault packet with status 0x6f7
err:rpc:I_RpcReceive we got fault packet with status 0x6f7
I'm no Wine expert by any means and I don't really know what I'm doing here, different websites tell me different things ...

I also don't know what exactly I should do with qjackctl, I tried disabling "Realtime", I enabled "Soft Mode" with 4 periods and checked "Force 16bit", following the instructions on a website. Interestingly, as I just found out by prefixing qjackd with LANG=en_US.UTF-8 to get the English option names, I cannot even set the last 2 things mentioned, because these options are greyed out.
Anyways, there are no connections shown (just "ALSA/14: Midi Through"). I'm a bit surprised that I actually can hit the "Start" button without an error, because that's what had happened all the time before.
2 days ago, FL studio kept on saying sth like "Couldn't find WineASIO driver." each time I selected WineASIO, now it just says "The needed sample rate (44100Hz) couldn't be set or is not supported by the ASIO driver. Please try another sample rate.", no matter what sample rate I choose from the drop-down list. After that, it says "Division by zero." ... :shock:

I would really be happy if any of you could say what the problem is and what I need to do (or did wrong)! :D
User avatar
L. Rahyen
Moderator
Moderator
Posts: 339
Joined: Fri Feb 22, 2008 9:13 pm

Re: Installing FL Studio with WineASIO

Post by L. Rahyen »

I think you are trying to solve too many problems at once. I have some experience with running 64-bit FL Studio in Wine (but normally I use 32-bit FL Studio), and also I'm using qjackctl and WineASIO, so I probably could try to help you with these things, but most FL Studio users do not really need any of these.

I recommend installing FL Studio in 32-bit Wine prefix unless you really need 64-bit version. How to setup 32-bit FL Studio with FL Studio ASIO driver I already described in this thread: viewtopic.php?f=8&t=24705 (it is probably will be sufficient to read both my messages there and skip everything else).

Even if you really need 64-bit version, I recommend to try 32-bit version first anyway to make sure everything is working well, including sound, and to find out what real-world issues you have in 32-bit Wine prefix. For example, 32-bit versions of some plug-ins do not work in Wine, but 64-bit versions do (however, more often this is the other way around, this is why 32-bit Wine prefix is usually better choice for FL Studio); 64-bit also makes more memory available, but if you do not use so much memory that you have crashes with 32-bit version, this does not matter.

If you still have questions, please describe what issues you had with 32-bit FL Studio in 32-bit Wine prefix, why you want to use WineASIO instead of FL Studio ASIO, why you need JACK and if you really do need it then why choose qjackctl and not Cadence. I ask these questions because perhaps you did not know about an alternative or assumed you need 64-bit FL Studio just because you are using 64-bit OS.
zerocon
Newbie
Newbie
Posts: 4
Joined: Tue Jun 16, 2015 2:54 pm

Re: Installing FL Studio with WineASIO

Post by zerocon »

Thank you for your answer!

Yes· I thought 64 bit would be the better choice because of my 64 bit OS. And I honestly didn't know that there is an alternative to WineASIO and JACK.
I'm going to try that all tomorrow. :D
User avatar
L. Rahyen
Moderator
Moderator
Posts: 339
Joined: Fri Feb 22, 2008 9:13 pm

Re: Installing FL Studio with WineASIO

Post by L. Rahyen »

JACK does not really have an alternative, but its front-ends do (qjackctl, Cadence, etc). But one of my points was that most people do not need JACK at all. For example, if you just want to hear sound in FL Studio with reasonable latency, you probably will be happy with FL Studio ASIO without JACK.

Feel free to ask more questions if you encounter problems.
zerocon
Newbie
Newbie
Posts: 4
Joined: Tue Jun 16, 2015 2:54 pm

Re: Installing FL Studio with WineASIO

Post by zerocon »

Oh, I just noticed that I forgot to tell you that it worked! Thanks a lot! :D

I did what you suggested in the forum thread you linked to (installing FL Studio with 32 bit Wine prefix, executing the 32 bit version of FL Studio and using just FL Studio ASIO) and apart from some plugins not working, I was very happy.

But one problem remains:
I understand that after having recorded an external audio source, FL Studio is able to compensate for the latency caused by the hardware and the audio driver, so that no playback latency is noticeable after the recording is finished. This feature becomes especially important to me when using FL Studio to record guitar loops, because I'd like to do that without having to fiddle around much when adding another layer to the loop (and i don't even know how you could easily rotate a sample anyway).
The problem is that this feature seems to not work with my setup. I suspect that somehow FL Studio doesn't receive the actual latency value by the sound driver as it normally would (but then again, I really don't know anything about sound drivers, or Wine :D). The "Offset" setting shown in the image I attached has no effect on the latency, and I found no option to set the latency value manually.

Do you know a way to make this compensation feature work properly or at least to tweak the value manually? That would be great! :P
Attachments
FLSettings.png
Locked