Login Page - Create Account

Support Board


Date/Time: Fri, 23 Feb 2024 17:42:44 +0000



[User Discussion] - Linux

View Count: 70950

[2022-04-15 13:53:46]
BeardPower - Posts: 51
@YSS

SC implemented its own settings widget, which is not using the WIN32 API, but SC uses the WIN32 API for rendering/blitting other GUI components like panels, windows, and more. They do not use a cross-platform GUI framework. Many different frameworks have been discussed long ago, but they all have their shortcomings, and there was not really a solution SC wanted to use/agreed on.
They plan to phase out/move to a separate component as much of the WIN32 API as possible, including rendering, blitting, etc., which would lead to an independent core that could use any GUI framework in the future. At least, that is the plan and the goal to achieve true cross-platform capabilities.
Date Time Of Last Edit: 2022-04-15 14:05:30
[2022-04-15 15:23:14]
Luigi - Posts: 18
yes, I also run SC on linux for live trading for few years now.
Recently, compared to windows on same hw, settings and feed and linux was faster on average as far as chart updates. No performance issues at all on linux.
[2022-04-22 06:40:26]
d9e5c763 - Posts: 78
when using the newer version of wine, I encountered the problem of frequent disconnection of the data feed connection. before I temporarily disabled the udp data connection to alleviate the disconnection about once or twice a week. Recently, it was solved by increasing the max number of file descriptors. maybe the default value have been optimized in other linux distros, I used gentoo linux.
recent versions of sierrachart are gradually stripping away MFC, maybe a cross-platform headless version of the dtc protocol server is a good start?
[2022-06-22 15:59:10]
Tony - Posts: 445
Hi everyone,

Experiencing some difficulties with Linux Mint 20.3, I am currently running 19.3 (on 2015 iMac), thought I should start testing version 20.

After I installed Mint and wine 7 (luckily, on a back up computer), I had serious issues with Sierra Chart, the program either frozen or quit by itself 6 out of 10 times, first I thought it was wine 7 issue, removed it, install wine 5, still have the same issue.

So, this morning, I installed LMDE 5 and wine 7, everything runs fast and smoothly, no problem whatsoever.

I could stay with LMDE, but prefer Mint 20 for easy of use, I don't really understand the differences from technical perspective between those 2 though.

Wonder anyone could give me some directions to tackle the issue with Linux Mint 20.3.

Thanks so much!!

P.S. Thanks ertrader and Luigi for answering my other post
Date Time Of Last Edit: 2022-06-22 18:26:47
[2022-07-01 15:17:53]
ertrader - Posts: 630
Hi Tony, it is possible on Mint 20.3 the Xlib patch may help. The symptoms sounds similar. There is a discussion on this thread regarding the issue around post #310 (pages 12,13,14). Glad LMDE is working...I have not tried this version so not sure which xlib driver it uses.
Date Time Of Last Edit: 2022-07-01 15:26:52
[2022-07-01 15:23:49]
ertrader - Posts: 630
Latest updates: Linux to 5.15.0-33, Wine 7.11 and SC 2409. Everything has been solid!

Current configuration:
SierraChart Version 2409 64 bit (2 instances)
wine-7.11 Development
Mint Linux 20.3/Cinnamon desktop
Kernel 5.15.0-33 generic
OpenGL X11lib: 1.7.0
AMD Ryzen 7 3800X
GeForce GTX 1660 Nvidia video card w/6 GB GDDR5 and driver 460.91.03
Dual Monitors 1920X1080 60 Hz for both monitors
Total System RAM: 16 Gig
Memory usage: <480 Meg per instance.
CPU Utilization: <5% per SC instance
48 Charts, 6 instruments (ES, YM, NQ, RTY, GC, CL)
Denali datafeed with MBO data
Teton Order Routing with Stage5/Advantage
RealVNC for remote access
Updated 7/1/22
Date Time Of Last Edit: 2022-07-01 16:40:04
[2022-07-02 00:29:55]
Tony - Posts: 445
Thanks so much ertrader! My knowledge about Linux is next to zero, I probably wouldn't have the guts to deal with Xlib patch.

What I had before LMDE were pretty similar with yours: Mint 20.3, Wine 7.0 Stale, Sierra 2408, would 7.11 and 2409 really make a difference? or just something to do with my hardware? (Paste system info below)

LMDE is great except that 2 of my fairy important programs don't work: Nitroshare and Tiger VNC Server.

If I use RealVNC's paid service ($81/year), then all the problem will be solved, my only concern is there would be privacy breach. (how much I could trust RealVNC)


System: Kernel: 5.10.0-15-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: Cinnamon 5.2.7 Distro: LMDE 5 Elsie
base: Debian 11.2 bullseye
Machine: Type: Desktop System: Apple product: iMac14,3 v: 1.0 serial: <filter>
Mobo: Apple model: Mac-77EB7D7DAF985301 v: iMac14,3 serial: <filter> UEFI: Apple v: IM143.88Z.0129.B00.1802091637
date: 02/09/2018
CPU: Info: Quad Core model: Intel Core i5-4570S bits: 64 type: MCP arch: Haswell rev: 3 L2 cache: 6 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 23148
Speed: 1422 MHz min/max: 800/2900 MHz Core speeds (MHz): 1: 1422 2: 816 3: 866 4: 1026
Graphics: Device-1: NVIDIA GK107M [GeForce GT 750M Mac Edition] vendor: Apple driver: nouveau v: kernel bus ID: 01:00.0
Device-2: Apple FaceTime HD Camera (Built-in) type: USB driver: uvcvideo bus ID: 1-7:4
Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting unloaded: fbdev,vesa resolution: 1: 1920x1080~60Hz
2: 1080x1920~60Hz 3: 1080x1920~60Hz
OpenGL: renderer: NVE7 v: 4.3 Mesa 20.3.5 direct render: Yes

Date Time Of Last Edit: 2022-07-02 00:34:49
[2022-07-02 04:27:13]
ertrader - Posts: 630
RealVNC has worked well and have not had any issues. Their security seems to be good. RealVNC is needed only if you need remote access.
https://www.realvnc.com/en/connect/security/

Even with my current configuration, if I did not have the Xlib update, I am quite sure I would have start up and stability issues with native Wine.
Date Time Of Last Edit: 2022-07-02 04:42:06
[2022-07-02 04:39:10]
ertrader - Posts: 630
I see you are using Nvidia as am I. I do still set persistence per instructions below. Originally, I did have issues and this helped... I still do this setting change when updating. It is possible the change is no longer needed but further testing is needed. With the setting change, performance is not degraded as best I can tell.

https://forums.developer.nvidia.com/t/setting-up-nvidia-persistenced/47986/11
Date Time Of Last Edit: 2022-07-02 04:40:59
[2022-07-02 06:26:28]
User921987 - Posts: 230
@Tony
You don't need to patch anything if your xlib11 Client library is >= 1.7.0

You can check the version currently installed as follows:

dpkg -l | grep libx11-6

From the command output see the 3rd column for example:

2:1.7.2-1

This is version 1.7.2
[2022-07-02 06:54:45]
Tony - Posts: 445
Thanks ertrader, User921987,

I checked the version, it is 1.7.2 (on LMDE 5)

I am just trying to avoid additional work/setups, to me, that would always be ingredients of disaster:) with Mint 20.3 + Wine 7, all other Windows programs worked fine except Sierra Chart, that was scary.

Anyway, I am glad LMDE works so great, Sierra Chart is now trouble free, this is really The most important thing.
[2022-07-02 09:46:58]
User921987 - Posts: 230
Because SierraChart is a closed source code application we cannot go and check why. SierraChart doesn't support Linux so they are not going to do the job either. But time to time there has been rumors that Sierra may support "unix" based operating systems in future. So our only chance is to pray it will happen someday :) ... and continue using Windows bullshit.

Edit
For some users Sierra is working just fine in Linux.
Date Time Of Last Edit: 2022-07-02 09:52:23
[2022-07-02 10:10:13]
YSS - Posts: 105
@User921987 because Sierrachart is using the Windows API to create GUI graphics and not a cross platform one.

It has to rewrite basically everything that is GUI related to be able to run natively on Linux, this will never happen imho.

The only thing that could happen is microsoft rewriting it's apis to be run on linux, but why would they do that. Linux on the desktop is minimual and 0 danger for MS Windows.
Date Time Of Last Edit: 2022-07-02 10:11:23
[2022-07-02 12:47:15]
User921987 - Posts: 230
@YSS I've seen some writings from the SierraChart staff, but nothing technical, so I can't say how they have been planning to do it.
Date Time Of Last Edit: 2022-07-11 03:16:57
[2022-07-11 00:15:04]
ertrader - Posts: 630
I've found a very annoying issue that occurs on Linux/Wine but NOT of Windows (as best I can tell)

Issue:
SC hangs for a few seconds then exits after clicking the add button in the order allocation menu. No message log. Just completely exits
Which chartbook does not seem to matter.
It happens 100% of the time.
Temporary fix: Click the remove button first to clear out the selection. Then add.
It occurs only during the time when setting up accounts to allocate/copy to. Account copying is working once set up.
I tested with 2 Rithmic paper trading accounts.
SC V 2411
Wine 7.11
Mint Linux 20.3
Kernel 5.15.0-33
Date Time Of Last Edit: 2022-07-22 20:38:20
imageScreenshot from 2022-07-10 20-12-54.png / V - Attached On 2022-07-11 00:14:59 UTC - Size: 22.96 KB - 184 views
[2022-07-11 14:50:28]
Sierra Chart Engineering - Posts: 104368
We will look this code over and see why there might be a problem. We would not expect that to happen. It could be a bug in Sierra Chart and not with the operating system.
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
Date Time Of Last Edit: 2022-07-11 15:07:47
[2022-07-11 15:13:43]
Tony - Posts: 445
Not sure if ertrader's issue is related to mine mentioned in post #553, I had exactly the same behavior: "No message log. Just completely exits", except it happened when Sierra Chart just started, and it didn't happen every time, maybe 6 out of 10.

I have switched to Linux Mint Debian Edition for 2 weeks now, and never had any issues, everything goes smoothly. (LMDE 5 + Wine 7.0 + Sierra 2411)

I had no problem with Linux Mint 19.3 either.
Date Time Of Last Edit: 2022-07-11 15:20:46
[2022-07-11 16:32:45]
ertrader - Posts: 630
Thanks Tony.. I'm confident this order allocation add button issue is different.

The startup issue was well documented as to the cause and solution. The version you are using now has the updated Xlib that fixed it. Very happy you are running smoothly now!

SC, thanks for looking into this too!
[2022-07-12 10:36:06]
Nicetas - Posts: 8
I've found a very annoying issue that occurs on Linux/Wine but NOT of Windows (as best I can tell)

Issue:
SC hangs for a few seconds then exits after clicking the add button in the order allocation menu. No message log. Just completely exits
Which chartbook does not seem to matter.
It happens about 50% of the time.
Seems to happen less if the remove button is pushed first to clear out the selection.
It occurs only during the time when setting up accounts to allocate/copy to. Account copying is working once set up.
I tested with 2 Rithmic paper trading accounts. I will test next with SC sim accounts.


Have the same issue. Although I've not tested it thoroughly, it seems to happen when you have the same account or a closed account in your added list. Remove these first and then adding new might help. This was my hypothesis/workaround around the issue.
[2022-07-12 10:47:32]
Sierra Chart Engineering - Posts: 104368
This sounds like a problem in Sierra Chart. Not at the operating system level.

We will do our best to reproduce and resolve.
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
Date Time Of Last Edit: 2022-07-12 10:47:40
[2022-07-20 07:53:10]
User845653 - Posts: 9
Hi, I recently downloaded linux mint 20.3 and wine 7.13. I'm having the same trouble some of you had, SierraChart often crashes as soon as I open it or it is frozen.

I used the command dpkg -l | grep libx11-6, the result is 2:1.6.9-2ubuntu1.2. It looks like I might have an old version but being a linux noob I am not able to update it. What is the process to update the library? I've seen the old posts about the subject but was unable to make it work.
[2022-07-20 11:21:31]
ertrader - Posts: 630
Hi User845653, in post #310, kiwi provided the steps and files to download. Were you able to get the files downloaded, uncompressed and copied to the location he identified?
[2022-07-20 11:55:21]
User845653 - Posts: 9
I tried but I get the following error:

Error opening file “/usr/lib/x86_64-linux-gnu/libx11_plugin.so.0.0.0”: Permission denied
[2022-07-20 12:25:16]
User921987 - Posts: 230
Message #312 has the latest version of that script
[2022-07-20 14:21:40]
User845653 - Posts: 9
Thank you, I ran the script with " bash create_libx11.sh".

I press enter a few times as explained and then am stuck here:

*** No targets specified and no makefile found. Stop.
make_errors.txt (END)
[2022-07-20 15:06:38]
User921987 - Posts: 230
I don't remember exactly the procedure but try: sudo ./create_libx11.sh
If it still doesn't work maybe someone who have Debian based distro (Mint is) could compile the required library for you ?!

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

Login

Login Page - Create Account