Latency issues using VST in Wine on mac osx

Discussion in 'Mac / Hackintosh' started by William C, Aug 8, 2023.

  1. Zoketula

    Zoketula Guest

    Hi William C. So you actually got it working, huh ? :) Good job! I will try to get it working on Cataliina.. From my fuzzy memory, on Linux I had to run jackd set to ALSA and check "Realtime" and "Single instance mode" in QJACKCTL to prevent xruns. Probably not necessary if it works for you without crackles.
    It might be possible to use plugins as a standalone app with Savihost (https://www.hermannseib.com/english/savihost.htm).
    Interesting that Wine just compiles without issues on macOS above 10.14. There are no binaries on WineHQ, but that's maybe because there is no maintainer. The last thing would be a good plugin bridge like yabridge, but that's probably not written with portability in mind.
     
  2. blaak

    blaak Member

    Joined:
    Oct 31, 2023
    Messages:
    17
    Likes Received:
    9
    First off, thanks for the effort. It's gotten me closer to making Wine work for me. I'm on a similar set up and I've just been running a VM for Mac/Windows interplay. (I'm tri-booting so I have the best of all worlds if need be.) With that being said, your instructions aren't completely clear. For instance, Part 2 Steps 8 and 9 weren't able to be completed UNTIL I did step 10. From what I understand and experienced so far is that even with 64-bit Wine installed, you still have to make and build 32-bit Wine, because I can't install any applications to my wrapper, as well as run the CMD winetrick because it's only available for 32-bit. I don't see this covered in the instructions. Audiogridder will open and act like everything is ok, but as soon as I try to open a plugin, it fails with:

    "Error
    Failed to add Lindell 80 Bus plugin!
    Error: failed to initialize sandbox: fatal error: failed to connect to sandbox process"

    And this is no matter what settings I change in Audiogridder, but every plugin works just fine if I do Audiogridder via VM. Maybe you have some insight for a remedy to these issues. Hope to hear soon. Once again, thanks for everything thus far.

    System: AMD 5950x
    oSX : 10.15.7
    Wineskin Version : 2.9.2.0
    Engine : WS11WineCX64Bit22.1.1-14


    Winetricks

    MFC42
    CMD
     
  3. William C

    William C Newbie

    Joined:
    Nov 7, 2022
    Messages:
    18
    Likes Received:
    1
    Thankyou I have amended the guide as seems these steps weren’t in quite the right order.

    what’s your setup ? Are you trying to get this to work in Linux or Mac OS or both ? What’s the host operating system you are running the under, or is it a hypervisor - can’t recall the full correct term and at 3am my brain is dead .

    I didn’t find necessary or even possible to build 32 bit wine or wineasio because the mac os version I’m using doesn’t support 32 bit. The only scenario I would invisage you using 32 big is if either your host is is 32 bit or the VST software is 32 bit. Tho looking at the version of osx you are using you might have quite the opposite problem. Is there any reason you are using a very old version of osx , rather than Ventura ?

    I think the problem you are describing abt winetricks is that it uses the binary wine and not wine64. In my case simply making a duplicate of wine64 and naming it wine enabled me to use winetricks without issue
     
    Last edited: Nov 10, 2023
  4. William C

    William C Newbie

    Joined:
    Nov 7, 2022
    Messages:
    18
    Likes Received:
    1
    I decided in the end to fork the cash and buy the osx version of the VST plugin for east west piano bundle , for which I was using wine / wineasio/ audio gridder.



    the only reason I needed to use wine Asio was because I didn’t have an osx version of the VST . I was glad I did because it runs much quicker and smother as the vendor released opus player which is much quicker to load than play 6
     
  5. blaak

    blaak Member

    Joined:
    Oct 31, 2023
    Messages:
    17
    Likes Received:
    9
    Host Operating system is Mac OS X 10.15.7.
    As stated everything with Audiogridder runs perfectly in a Virtualbox VM running Windows 10 (Couple incompatible plugins but I think it's ones everyone has problems with like Pulsar stuff).
    The main problem is that I cannot install any software using the wineskin wrapper, nor can I open any plugins successfully in Audiogridder. When I try to open a vst plugin in Audiogridder I get error:

    "Error
    Failed to add Lindell 80 Bus plugin!
    Error: failed to initialize sandbox: fatal error: failed to connect to sandbox process"

    When running winetricks with your suggested settings here is the output:

    "------------------------------------------------------
    warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
    ------------------------------------------------------
    Using winetricks 20230212-next - sha256sum: ae6b18f87bcac15d678e5d22db322dfcfede1614b70fe3261dd06df932f3d1cf with wine-7.7 (WineskinCX 22.1.1) and WINEARCH=win64
    Executing w_do_call cmd
    ------------------------------------------------------
    warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
    ------------------------------------------------------
    Executing load_cmd
    Executing cabextract -q --directory=/Users/name/Applications/Wineskin/AGridderServer.app/Contents/SharedSupport/prefix/drive_c/windows/syswow64 /Users/name/.cache/winetricks/cmd/Q811493_W2K_SP4_X86_EN.exe -F cmd.exe
    Using native,builtin override for following DLLs: cmd.exe
    Executing wine C:\windows\syswow64\regedit.exe /S C:\windows\Temp\override-dll.reg
    wine: failed to open "C:\\windows\\syswow64\\regedit.exe": c0000135
    ------------------------------------------------------
    warning: Note: command wine C:\windows\syswow64
    egedit.exe /S C:\windows\Temp\override-dll.reg returned status 53. Aborting.
    ------------------------------------------------------

    Winetricks Commands Finished!!"

    Now when downloading "Q811493_W2K_SP4_X86_EN.exe" myself and trying to run it in the wineskin wrapper, it won't open because it's 32-bit. This is what I mean by needing 32-bit. I can't install anything.

    Maybe you can try uploading your Audiogridder wineskin wrapper, as you've successfully made it work and see if that helps at all. Thanks for your help.
     
  6. 6ixcore

    6ixcore Producer

    Joined:
    Apr 4, 2016
    Messages:
    185
    Likes Received:
    90
    why use Lindell 80 Win version on a Mac when that plug-in is available for Mac on the sister site?
     
  7. blaak

    blaak Member

    Joined:
    Oct 31, 2023
    Messages:
    17
    Likes Received:
    9
    That's neither here nor there, it was just a test plugin apart of a larger bundle that's not available for mac on the sister site.
     
  8. tzzsmk

    tzzsmk Audiosexual

    Joined:
    Sep 13, 2016
    Messages:
    3,430
    Likes Received:
    2,093
    Location:
    Heart of Europe
    sorry for bit offtopic, since you're on hackintosh and have powerful enough hardware specs, have you considered running MacOS and Windows simultaneously on top of proper KVM hypervisor like Proxmox?
    :invision:
     
  9. blaak

    blaak Member

    Joined:
    Oct 31, 2023
    Messages:
    17
    Likes Received:
    9
    Yeah I saw the video when it first dropped from that one youtuber. Did some minor research on it. Saw some people say it's complicated and it still uses OC. I'm already tri-booting successfully so I guess the only plus would be the full integration. Might try it one day. Don't know if I should risk an otherwise fully working setup.
     
  10. MokuseiFolf13

    MokuseiFolf13 Ultrasonic

    Joined:
    Dec 25, 2021
    Messages:
    125
    Likes Received:
    27
    Good morning! I managed to somehow get the driver .dll file (as well as it's accompanying .dll.so file) built (through the Wine 8.13 package, as per your directions) and registered in my CrossOver bottle, however upon trying to select it in any DAW or softsynth, it'd either lock up the DAW or display an error message stating that the driver couldn't return any response(?). I was wondering if it was a dll creation failure or some other cause for this anomaly.

    Though I will note that I haven't tried QJACKCTL, at least not too it's full advantage as I only used the Mac version as opposed to any other version. Was I supposed to install QJACKCTL (not the actual Unix assets) inside of my Mac or use the Windows version within the CrossOver bottle? I can confirm ASIO works superbly better than DirectSound as FL Studio's own ASIO driver rectified a lot of buffering and clipping within UVI Falcon and Play 6, though with Play 6 the issues would arise upon using any instrument that incorporated reverb effects.

    I'd love to hear more about this and see what can be done about it! Thanks in advance, Will.
     
Loading...
Loading...