Login Page - Create Account

Support Board


Date/Time: Tue, 07 May 2024 21:01:25 +0000



Sierra Chart on macOS with wine

View Count: 8683

[2019-09-05 15:53:12]
Mack - Posts: 83
These are some install notes for Sierra Chart on macOS. I moved from Parallels to wine because the overal performance is better. There is no delay when you activate the app. Also, I/O should be faster as your disk is not virtualized.

The 64 bit version of Sierra Chart stopped working after build 2011.

install wine-stable with brew
brew cask install xquartz
brew cask install wine-stable
wine --version
# wine-5.0-rc6

install Sierra Chart
cd ~/Downloads/
wine SierraChartFileDownloader.exe

64bit -> you must specify the 2021 build, credit Zombiekray
32bit -> you can install more recent versions (incl. 2083)

manually start the 32 bit version (for recent builds)
cd ~/.wine/drive_c/SierraChart
wine SierraChart.exe

Tested with macOS High Sierra 10.13.6 / Sierra Chart 2083 / wine-5.0-rc6 / xquartz 2.7.11
Date Time Of Last Edit: 2020-04-13 16:22:20
imageScreen Shot 2019-11-27 at 8.30.22 AM.png / V - Attached On 2019-11-27 07:30:38 UTC - Size: 25.55 KB - 542 views
[2019-09-06 03:13:46]
User106180 - Posts: 88
I've done a similar thing over the last 2 weeks and have Sierra Chart running directly in Wine (slightly more involved process than using PlayOnMac). I had also been previously running a Windows VM in Parallels but didn't like how Parallels used so much of my Mac's resources.

Yet to come across any problems with using Wine instead of a Windows VM, but haven't tested it extensively as yet.
[2019-10-25 04:24:08]
uM8137 - Posts: 180
I've run SierraChart_64.exe under wine64 on macOS. It mostly runs fine, but my custom ACSIL DLLs would not load. I would get the complaint in the SC log: windows error code 998 memory location unavailable, and the DLL would not be available.

I finally went to try and debug this, and immediately discovered a work around. This makes me very happy.

WINEDEBUG=+seh,+loaddll,+relay wine64 ./SierraChart_64.exe

seems to do the trick, allowing my windows built DLLs to load into SC (all on the native mac, without Parallels/VM).

Yay!

update: +relay alone is sufficient, and may reducing the log load: WINEDEBUG=+relay wine64 ./SierraChart_64.exe >>log2.txt 2>&1
Date Time Of Last Edit: 2019-10-25 04:34:42
[2019-11-05 21:08:38]
Mack - Posts: 83
@User106180
@zombiekray

Have you tried running two SierraChart instances at the same time using wine?
I want to plot the yields, so I need one SierraChart instance connected to
"SC Data" all services.

I wonder if you already tried this, and whether it is possible.
[2019-11-05 21:12:35]
uM8137 - Posts: 180
> Have you tried running two SierraChart instances at the same time using wine?

They must have separate install directories (as always), but then sure why not?
[2019-11-05 21:16:07]
User106180 - Posts: 88
Mack - I haven't tried this but I imagine if one instance works two probably should.

Please note that there are currently some issues running Wine on macOS 10.15 Catalina - https://forum.winehq.org/viewtopic.php?f=9&t=32590. Their advise is to essentially stay on 10.14 for the time being because of the limitations 10.15 places on 32-bit apps (Wine).
[2019-11-05 21:28:19]
uM8137 - Posts: 180
For what its worth, I always run wine64 and the SierraCharts_64.exe 64-bit executable and DLLs.

32 bits is so over.
[2019-11-05 21:37:50]
Mack - Posts: 83
@zombiekray
That's awesome. I haven't managed to get wine64 to work on MacOs with PlayOnMac. Do you run a custom wine install? (or are you on Linux?)

@all
I can run two instances of SierraChart with PlayOnMac. I still have to figure out how to share data between
instances. Right now I have two separate virtual drives.
[2019-11-05 21:44:36]
uM8137 - Posts: 180
> Do you run a custom wine install? (or are you on Linux?)

No, just stock wine64. On mac.

> I still have to figure out how to share data between
instances. Right now I have two separate virtual drives.

You can't share Data. One SC process expects to be the only accessor of its files.
I doubt it does any locking or synchronization to enable them to be shared -- nor
should it as that would slow things down. You could copy the Data directory from
one to another before starting either of them if you have alot of Data and don't
want to wait.
[2019-11-05 22:14:47]
Mack - Posts: 83
@Zombiekray
Thanks for the feedback. I'll have to look at a manual install for wine64 at some point.

@all
I did manage to share data between 2 instances with wine on MacOs. I followed this part of the documentation, and it was very helpful:

Using DTC Server for Data and Trading in Another Sierra Chart Instance: Using DTC Server for Data and Trading in Another Sierra Chart Instance


What you get is this:

- A master SierraChart instance that is connected to your broker
- A source SierraChart instance with DTS enabled that serves data on 127.0.0.1:$port

In the master instance I added a custom symbol, eg. XBTUSD-CUSTOM, and I specified to get the data from the source at 127.0.0.1:$port. This procedure is relatively easy to follow if you need just add a few symbols.
[2019-11-26 19:15:10]
Mack - Posts: 83
Update:

I switched to wine 4.0.2 after getting so annoyed by a small delay when flipping through chart books. I guess the wine that ships with PlayOnMac is very outdated.
[2020-02-12 13:56:26]
Mack - Posts: 83
@Zombiekray

Have you managed to run something better than SC build 2005*?
I'm stuck on the 2005 build with wine-4.0.2.
Date Time Of Last Edit: 2020-02-12 14:31:05
[2020-02-12 14:01:24]
uM8137 - Posts: 180
@Mack

See this thread where SierraChart abandons wine support as of version 2022. The last I got to work was 2021.

SC version 2022 and later crash under wine64 on OSX, while SC version 2021 runs fine
[2020-02-12 15:20:45]
ganz - Posts: 1048
Mack

Cannot run SC on MacOS 10.15.2
[2020-02-12 16:07:40]
seandunaway - Posts: 213
I really hope they fix it.
Date Time Of Last Edit: 2020-02-13 14:20:50
[2020-02-12 16:36:25]
Mack - Posts: 83
Perhaps getting a newer wine version might help us.

------------------------------------------------------------------
# wine 5.0-rc6 development
wget https://raw.githubusercontent.com/Homebrew/homebrew-cask-versions/b93ad7c2762dfc74647fcadbbbe36f96b837ea56/Casks/wine-devel.rb

# wine 5.0-rc6 staging
wget https://raw.githubusercontent.com/Homebrew/homebrew-cask-versions/b93ad7c2762dfc74647fcadbbbe36f96b837ea56/Casks/wine-staging.rb

brew cask install wine-xxxxxx.rb
------------------------------------------------------------------

Linux user etrader is running Wine 5.0 rc6 and SC V2036. See Linux | Post: 204262
[2020-02-12 16:47:27]
seandunaway - Posts: 213
If Engineering will list which API calls or compiler flags they've added between 2021 and 2022, I'll get this submitted to the wine team.
Date Time Of Last Edit: 2020-02-13 14:22:57
[2020-02-12 18:12:49]
User468340 - Posts: 2
I’m using it with CrossOver from code weavers (paid version of wine) on Mac Catalina but only the Sierra 32bit version works.
[2020-02-12 21:21:46]
Mack - Posts: 83
> Yeah but Linux users weren't getting a segfault on launch

This error is indeed pretty consistent across different wine versions.
With wine 5.0-rc6 you see the same pattern: 2021 still works, but 2022
does not.
[2020-02-13 03:14:52]
User35525 - Posts: 180
You can also run Wine on Linux in Virtualbox on MacOS. I did that to get cross-compilation of 64-bit ACSIL working and so far SC updates flawlessly. So if there are Wine probs in MacOS, just setup Linux.

I also run SC in Wine in a Linux VPS and depend upon it like so many here. The day that stops working will be horrible for the SC Wine community, as there are good reasons to dislike Windows.
[2020-02-24 04:38:03]
Tony - Posts: 460
I have both Mac OS 10.13 and Linux Mint running on my iMac, and both have wine installed
Sierra Chart stopped working on Mac OS, but Linux Mint works as usual.

Since wine is not working on Mac OS 10.15, I wouldn't see running Sierra on Mac OS is an
option in the near future.
[2020-04-11 05:38:21]
yellowandy - Posts: 20
This sucks, I'm considering building a new windows rig now given that wine breaks with 2021 and up on Mac :( I'm not a windows fan at all but so many trading apps are optimized for it still!
[2020-04-11 06:13:48]
yellowandy - Posts: 20
Does anybody have a version of 2021 they can send me? I had an older version and just tried the latest but unable to install and unable to find 2021 publicaly available. Thanks!
[2020-04-11 06:21:01]
Sierra Chart Engineering - Posts: 104368
Version 2021 is available. Instructions to install that version are here:
Software Download: Software Rollback Procedure

If you have any trouble getting it following those instructions let us know.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account