FL STUDIO 12 on WINE error

Questions about Wine on Linux
Locked
el_nano
Level 1
Level 1
Posts: 6
Joined: Fri May 29, 2015 12:35 pm

FL STUDIO 12 on WINE error

Post by el_nano »

Hi all!

I've recently installed FL Studio 12 on my pc. I'm running Kubuntu 15.04 64bit with Plasma.

FL 11 works fine, but opening the 12's FL.exe appears this:

Code: Select all

    el_nano@C1B8:~/.wine/drive_c/Program Files (x86)/Image-Line/FL Studio 12$ wine FL.exe
    fixme:service:scmdatabase_autostart_services Auto-start service L"SecDrv" failed to start: 2
    fixme:thread:GetThreadUILanguage : stub, returning default language.
    fixme:thread:GetThreadPreferredUILanguages 56, 0x33d0b8, (nil) 0x33d0e0
    fixme:thread:GetThreadPreferredUILanguages 56, 0x33d0b8, (nil) 0x33d0e0
    fixme:thread:GetThreadUILanguage : stub, returning default language.
    fixme:thread:GetThreadPreferredUILanguages 56, 0x33cce8, (nil) 0x33cd10
    fixme:thread:GetThreadPreferredUILanguages 56, 0x33cce8, (nil) 0x33cd10
    fixme:dwmapi:DwmIsCompositionEnabled 0x33f5ac
    fixme:thread:GetThreadUILanguage : stub, returning default language.
    fixme:thread:GetThreadPreferredUILanguages 56, 0x33ca78, (nil) 0x33caa0
    fixme:thread:GetThreadPreferredUILanguages 56, 0x33ca78, (nil) 0x33caa0
    fixme:thread:GetThreadUILanguage : stub, returning default language.
    fixme:thread:GetThreadPreferredUILanguages 56, 0x33c6a8, (nil) 0x33c6d0
    fixme:thread:GetThreadPreferredUILanguages 56, 0x33c6a8, (nil) 0x33c6d0
    fixme:dwmapi:DwmIsCompositionEnabled 0x33ef6c
    fixme:wtsapi:WTSRegisterSessionNotification Stub 0x100e2 0x00000000
    fixme:uxtheme:BufferedPaintInit Stub ()
    wine: Unhandled page fault on read access to 0x00000000 at address (nil) (thread 0009), starting debugger...
Here the Debug Output:

Code: Select all

    Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00000000).
    Register dump:
     CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
     EIP:00000000 ESP:0033f6d4 EBP:0033f6e8 EFLAGS:00210286(  R- --  I S - -P- )
     EAX:00000001 EBX:0107f301 ECX:ffffffff EDX:00fbdef4
     ESI:ffffffff EDI:00fbdef4
    Stack dump:
    0x0033f6d4:  00639cad 00000001 0033fdc8 00fbdcb0
    0x0033f6e4:  0107f301 0033f734 00688532 00688674
    0x0033f6f4:  00fbdcb0 00000000 0033f718 00577c97
    0x0033f704:  0033f734 00fbdcb0 00000000 0045f3f0
    0x0033f714:  00913289 0033fe40 009133f1 0033f734
    0x0033f724:  0045f3f0 00000000 00000000 00000000
    000c: sel=0067 base=00000000 limit=00000000 32-bit r-x
    Backtrace:
    =>0 0x00000000 (0x0033f6e8)
      1 0x00688532 in flengine (+0x118531) (0x0033f734)
      2 0x00939d8d in flengine (+0x3c9d8c) (0x0033f74c)
      3 0x0040137b in fl (+0x137a) (0x0033fdc0)
      4 0x00000000 (0x00570000)
      5 0x00000002 (0x00505a4d)
    0x00000000: -- no code accessible --
    Modules:
    Module   Address         Debug info   Name (123 modules)
    PE     400000-  45e000   Export          fl
    PE     570000-  d27000   Export          flengine
    PE    11e0000- 126a000   Deferred        quickfontcache
    PE    1270000- 12e7000   Deferred        freetype
    PE   10000000-111e3000   Deferred        dsp_ipp
    ELF   7b800000-7ba55000   Deferred        kernel32<elf>
      \-PE   7b810000-7ba55000   \               kernel32
    ELF   7bc00000-7bcd9000   Deferred        ntdll<elf>
      \-PE   7bc10000-7bcd9000   \               ntdll
    ELF   7bf00000-7bf04000   Deferred        <wine-loader>
    ELF   7eca2000-7ecc5000   Deferred        libtinfo.so.5
    ELF   7ecc5000-7eced000   Deferred        libncurses.so.5
    ELF   7eced000-7ed5c000   Deferred        advapi32<elf>
      \-PE   7ed00000-7ed5c000   \               advapi32
    ELF   7ef5c000-7ef6a000   Deferred        libnss_files.so.2
    ELF   7ef6a000-7ef77000   Deferred        libnss_nis.so.2
    ELF   7ef77000-7ef92000   Deferred        libnsl.so.1
    ELF   7ef92000-7efdf000   Deferred        libm.so.6
    ELF   f5ac4000-f5adc000   Deferred        wtsapi32<elf>
      \-PE   f5ad0000-f5adc000   \               wtsapi32
    ELF   f5adc000-f5af0000   Deferred        olepro32<elf>
      \-PE   f5ae0000-f5af0000   \               olepro32
    ELF   f5af0000-f5b07000   Deferred        powrprof<elf>
      \-PE   f5b00000-f5b07000   \               powrprof
    ELF   f5b07000-f5b1c000   Deferred        avrt<elf>
      \-PE   f5b10000-f5b1c000   \               avrt
    ELF   f5b1c000-f5b26000   Deferred        libffi.so.6
    ELF   f5b26000-f5b3f000   Deferred        libresolv.so.2
    ELF   f5b3f000-f5b96000   Deferred        libdbus-1.so.3
    ELF   f5b96000-f5c22000   Deferred        libgmp.so.10
    ELF   f5c22000-f5c51000   Deferred        libhogweed.so.2
    ELF   f5c51000-f5c87000   Deferred        libnettle.so.4
    ELF   f5c87000-f5c9b000   Deferred        libtasn1.so.6
    ELF   f5c9b000-f5cdf000   Deferred        libp11-kit.so.0
    ELF   f5cdf000-f5cec000   Deferred        libkrb5support.so.0
    ELF   f5cec000-f5d1e000   Deferred        libk5crypto.so.3
    ELF   f5d1e000-f5df1000   Deferred        libkrb5.so.3
    ELF   f5df1000-f5f31000   Deferred        libgnutls-deb0.so.28
    ELF   f5f31000-f5f81000   Deferred        libgssapi_krb5.so.2
    ELF   f5f81000-f6006000   Deferred        libcups.so.2
    ELF   f6011000-f6027000   Deferred        dwmapi<elf>
      \-PE   f6020000-f6027000   \               dwmapi
    ELF   f6027000-f605d000   Deferred        uxtheme<elf>
      \-PE   f6030000-f605d000   \               uxtheme
    ELF   f605d000-f6115000   Deferred        winmm<elf>
      \-PE   f6060000-f6115000   \               winmm
    ELF   f6115000-f61fa000   Deferred        comdlg32<elf>
      \-PE   f6120000-f61fa000   \               comdlg32
    ELF   f61fa000-f6270000   Deferred        wininet<elf>
      \-PE   f6200000-f6270000   \               wininet
    ELF   f62cd000-f6315000   Deferred        dsound<elf>
      \-PE   f62d0000-f6315000   \               dsound
    ELF   f6315000-f638b000   Deferred        shlwapi<elf>
      \-PE   f6320000-f638b000   \               shlwapi
    ELF   f63d1000-f63f5000   Deferred        imm32<elf>
      \-PE   f63e0000-f63f5000   \               imm32
    ELF   f63f5000-f642b000   Deferred        hhctrl<elf>
      \-PE   f6400000-f642b000   \               hhctrl
    ELF   f642b000-f6432000   Deferred        libxfixes.so.3
    ELF   f6432000-f643d000   Deferred        libxcursor.so.1
    ELF   f643d000-f644f000   Deferred        libxi.so.6
    ELF   f644f000-f6453000   Deferred        libxcomposite.so.1
    ELF   f6453000-f645e000   Deferred        libxrandr.so.2
    ELF   f645e000-f646a000   Deferred        libxrender.so.1
    ELF   f646a000-f6470000   Deferred        libxxf86vm.so.1
    ELF   f6470000-f6474000   Deferred        libxinerama.so.1
    ELF   f6474000-f647b000   Deferred        libxdmcp.so.6
    ELF   f647b000-f647f000   Deferred        libxau.so.6
    ELF   f647f000-f64a1000   Deferred        libxcb.so.1
    ELF   f64a1000-f65ec000   Deferred        libx11.so.6
    ELF   f65ec000-f6601000   Deferred        libxext.so.6
    ELF   f6607000-f660c000   Deferred        libkeyutils.so.1
    ELF   f660c000-f6620000   Deferred        libavahi-client.so.3
    ELF   f6622000-f66af000   Deferred        winex11<elf>
      \-PE   f6630000-f66af000   \               winex11
    ELF   f6726000-f674f000   Deferred        libexpat.so.1
    ELF   f674f000-f6792000   Deferred        libfontconfig.so.1
    ELF   f6792000-f67be000   Deferred        libpng12.so.0
    ELF   f67be000-f67d9000   Deferred        libz.so.1
    ELF   f67d9000-f6889000   Deferred        libfreetype.so.6
    ELF   f68ab000-f68b0000   Deferred        libcom_err.so.2
    ELF   f68b0000-f68be000   Deferred        libavahi-common.so.3
    ELF   f68be000-f68df000   Deferred        oleacc<elf>
      \-PE   f68c0000-f68df000   \               oleacc
    ELF   f68df000-f690a000   Deferred        msacm32<elf>
      \-PE   f68e0000-f690a000   \               msacm32
    ELF   f690a000-f6b33000   Deferred        shell32<elf>
      \-PE   f6920000-f6b33000   \               shell32
    ELF   f6b33000-f6c2c000   Deferred        comctl32<elf>
      \-PE   f6b40000-f6c2c000   \               comctl32
    ELF   f6c2c000-f6cd9000   Deferred        msvcrt<elf>
      \-PE   f6c40000-f6cd9000   \               msvcrt
    ELF   f6cdd000-f6d19000   Deferred        winspool<elf>
      \-PE   f6ce0000-f6d19000   \               winspool
    ELF   f6d19000-f6d2d000   Deferred        psapi<elf>
      \-PE   f6d20000-f6d2d000   \               psapi
    ELF   f6d2d000-f6d91000   Deferred        dbghelp<elf>
      \-PE   f6d30000-f6d91000   \               dbghelp
    ELF   f6d91000-f6dab000   Deferred        imagehlp<elf>
      \-PE   f6da0000-f6dab000   \               imagehlp
    ELF   f6dab000-f6dd2000   Deferred        mpr<elf>
      \-PE   f6db0000-f6dd2000   \               mpr
    ELF   f6dd2000-f6de6000   Deferred        msimg32<elf>
      \-PE   f6de0000-f6de6000   \               msimg32
    ELF   f6de6000-f6e62000   Deferred        rpcrt4<elf>
      \-PE   f6df0000-f6e62000   \               rpcrt4
    ELF   f6e62000-f6e7b000   Deferred        version<elf>
      \-PE   f6e70000-f6e7b000   \               version
    ELF   f6e7b000-f6f94000   Deferred        gdi32<elf>
      \-PE   f6e90000-f6f94000   \               gdi32
    ELF   f6f94000-f70e1000   Deferred        user32<elf>
      \-PE   f6fb0000-f70e1000   \               user32
    ELF   f70e1000-f720e000   Deferred        ole32<elf>
      \-PE   f7100000-f720e000   \               ole32
    ELF   f720e000-f7338000   Deferred        oleaut32<elf>
      \-PE   f7220000-f7338000   \               oleaut32
    ELF   f735c000-f7361000   Deferred        libdl.so.2
    ELF   f7361000-f751c000   Deferred        libc.so.6
    ELF   f751d000-f753a000   Deferred        libpthread.so.0
    ELF   f7551000-f755b000   Deferred        libnss_compat.so.2
    ELF   f755b000-f7711000   Dwarf           libwine.so.1
    ELF   f7713000-f7737000   Deferred        ld-linux.so.2
    ELF   f7739000-f773a000   Deferred        [vdso].so
    Threads:
    process  tid      prio (all id:s are in hex)
    00000008 (D) C:\Program Files (x86)\Image-Line\FL Studio 12\FL.exe
       00000009    0 <==
    0000000e services.exe
       0000001e    0
       0000001d    0
       00000014    0
       00000010    0
       0000000f    0
    00000012 winedevice.exe
       0000001a    0
       00000019    0
       00000017    0
       00000013    0
    0000001b plugplay.exe
       00000020    0
       0000001f    0
       0000001c    0
    00000021 explorer.exe
       00000023    0
       00000022    0
    System information:
        Wine build: wine-1.6.2
        Platform: i386 (WOW64)
        Host system: Linux
        Host version: 3.19.0-18-generic

Thanks in advance for your help.

El_Nano.


(Sorry for my english........:D)
User avatar
L. Rahyen
Moderator
Moderator
Posts: 338
Joined: Fri Feb 22, 2008 9:13 pm

Re: FL STUDIO 12 on WINE error

Post by L. Rahyen »

FL Studio 12 works for me pretty well (in fact I actually use it on Linux with Wine to compose music). I suggest you to read its description in the AppDB:
https://appdb.winehq.org/objectManager. ... &iId=32045
Among other things, it is suggested there to use 32-bit Wine prefix, and to use separate Wine prefix for it. So, for example, you could run these commands to install FL Studio 12 (replace "setup.exe" with actual FL Studio setup executable, usually something like flstudio_12.0.1.exe):

Code: Select all

export WINEARCH=win32
export WINEPREFIX=~/.wine.FL_Studio_12
wine setup.exe
Then you can run it like this:

Code: Select all

export WINEPREFIX=~/.wine.FL_Studio_12
cd "$WINEPREFIX/drive_c/Program Files/Image-Line/FL Studio 12"
wine FL.exe
However, before running it, you probably want to do some additional things, such as installing fonts, plugins, .NET (if necessary), etc. Read FL Studio 12 description in the AppDB for more details. Also, before attempting to install it, make sure your Wine version is not too old (I recommend 1.7.38 or higher).
el_nano
Level 1
Level 1
Posts: 6
Joined: Fri May 29, 2015 12:35 pm

Re: FL STUDIO 12 on WINE error

Post by el_nano »

L. Rahyen, thanks a lot for your reply. I tried to upgrade version to 1.7.38 and using the 32-bit prefix FL 12 works well!!

Thank you, thank you so much! :)

It is necessary some particular installation to use ASIO4ALL drivers?
User avatar
L. Rahyen
Moderator
Moderator
Posts: 338
Joined: Fri Feb 22, 2008 9:13 pm

Re: FL STUDIO 12 on WINE error

Post by L. Rahyen »

The description in the AppDB says "included ASIO4All -- it is unnecessary to test it now, but is known to not work". It also says "What works - The new Generic ASIO driver is nothing short of spectacular! No fiddling around with JACK anymore for low latencies ... Simply select the Generic ASIO driver in the Audio Settings, presto. It's magnificent. For best results, I recommend 512 or 1024 samples for instrument-heavy work". In my version of FL Studio there is no "Generic ASIO" but there is "FL Studio ASIO". However, I have not tried it, because I use WineASIO with JACK.

So, I recommend you try standard FL Studio ASIO first, and, if neither it nor Primary Sound Device is good enough for you, you may want to try http://kxstudio.sourceforge.net/ - there you can find repositories and instruction how to install WineASIO, JACK, etc. To control JACK I recommend Cadence (personally I use qjackctl, but it is harder to use and configure).

By the way, do not forget to install necessary fonts with winetricks or most fonts will not be displayed properly in menus:

Code: Select all

WINEPREFIX=~/.wine.FL_Studio_12 winetricks corefonts droid
el_nano
Level 1
Level 1
Posts: 6
Joined: Fri May 29, 2015 12:35 pm

Re: FL STUDIO 12 on WINE error

Post by el_nano »

Very good. I'm using FL Asio driver and all works.

Thank you for your clear instructions, L. Rahyen :)
Locked