Support Board
Date/Time: Fri, 22 Nov 2024 21:59:40 +0000
[User Discussion] - Linux
View Count: 81525
[2020-10-06 22:32:30] |
ertrader - Posts: 672 |
A couple updates: SC 2177 and Wine 5.18/Xll patch have been working well. Wine developers are closing the ticket as "not our bug" even through Proton GE managed to fix it without the Xll patch. I do respect programmers who go after a problem and fix it, no questions asked like Proton GE did, without the "not my job" or "not my problem" attitude. Hats off to Proton GE programmers! If further instabilities arise and we are able to isolate an issue, I'll open up a new ticket as the original problem statement in bug 35041 was addressed to the best of my knowledge. Also, Proton released a new version and Proton-5.9-GE-7-ST. Testing --- performance and stability are looking great! Configuration: SierraChart Version 2177 64 bit Wine 5.9 Staging from Proton-5.9-GE-7-ST Mint Linux 20/Ubuntu 20.04/Cinnamon desktop Kernel 5.4.0-48 generic OpenGL X11lib: 1.6.12 AMD Ryzen 7 3800X GeForce GTX 1660 Nvidia video card driver 455.23.04 Dual Monitors Internet: 275Mbps, 17ms ping, Comcast, Houston Date Time Of Last Edit: 2020-10-06 22:34:36
|
[2020-10-07 04:41:54] |
User921987 - Posts: 236 |
Proton GE is a fork of Proton (https://github.com/ValveSoftware/Proton) Does the original Proton environment give you the same help ? I read from the README it can be installed without Steam runtimes (if it has any matters). Just thinking it may be a good idea to avoid all extra layers in everything... I mean in this case the layer is an another group of maintainers. Anyway the day my system goes unstable under libx11 patch I will go and dig Proton more closely. Date Time Of Last Edit: 2020-10-07 05:41:23
|
[2020-10-07 16:11:23] |
ertrader - Posts: 672 |
Here is the best explanation of Proton https://en.wikipedia.org/wiki/Proton_(software) Proton GE runs in its own directory like wine and does not need the steam front end at all. They take Proton and add addition bug fixes and patches. Thanks to AlexPereira for finding this! To get it working: 1) Download the tar file from: https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/5.9-GE-7-ST 2) Extract to the desired directory. For me, I extracted to a Proton-5.9-GE-7-ST directory in my home 3) updated the .profile to export PATH="/home/todd/Proton-5.9-GE-7-ST/dist/bin:$PATH" 4) Create a shortcut as usual: Proton-5.9-GE-7-ST/dist/bin/wine64 /home/todd/.wine/drive_c/SierraChart/SierraChart_64.exe (I have two SCs running on the same computer so there is another shortcut referencing a second SC install. For all my testing, I run 2 SCs too.) 5) Log out and log back in to use the new .profile 6) Double click to start as usual If I want to test wine 5.18 development... I comment out the proton path and update the .profile export PATH="/opt/wine-devel/bin:$PATH". Logout and log back in and I'm back to whichever environment I want to test. Date Time Of Last Edit: 2020-10-07 16:14:20
|
[2020-10-07 17:01:55] |
User921987 - Posts: 236 |
I tried Photon GE some time ago just unzipping it in my home folder and running it as follows (if I remember it right): WINEPREFIX=~/.wine-pge ~/Proton-5.9-GE-7-ST/dist/bin/wine64 c:/sierrachart/sierrachart_64.exe I understand that pure Proton must be compiled until you can try it... but I really don't know this system at all. Maybe later. Date Time Of Last Edit: 2020-10-07 17:47:56
|
[2020-10-08 00:07:04] |
Kiwi - Posts: 375 |
Day 3 of KDE Neon. I really like KDE (and find the ubuntu base easy coming from Mint). Bugs ... so far every bug has been me not understanding a difference between kde/gnome/cinnamon and solved by a quick google starting `kde and whatever I want to fix`. I do some odd things and so far it tolerates me. I've been using QT5 for ages (pyqt) in three of my trading apps and never ran into a bug - I suspect that most bugs listed just show that there is a big community and everything is identified - but if I run into a bug I'll work around it. Funnily enough KDE Neon handles my multiscreen nvidia setup better than Mint did - oddities like when I exited kodi everything went blank for a second have disappeared. Xbindkeys works perfectly in Neon but was interfered with in Fedora 33 (which might have been a beta bug, and disappeared, but its still nice that Neon is more amenable). Did update the x11 files as above & moved to wine-5.18. But SC has shown no quirkiness, so joy. Operating System: KDE neon 5.19 KDE Plasma Version: 5.19.5 KDE Frameworks Version: 5.74.0 Qt Version: 5.15.0 Kernel Version: 5.4.0-48-generic OS Type: 64-bit Processors: 12 × AMD Ryzen 5 3600 6-Core Processor Memory: 15.6 GiB of RAM Graphics Processor: GeForce GT 1030/PCIe/SSE2 Its fast, reliable and flexible as all hell so far. |
[2020-10-08 03:55:17] |
User921987 - Posts: 236 |
I've been using QT5 for ages (pyqt) in three of my trading apps...
Just curious what trading apps are you talking about and in what trading platform ? |
[2020-10-08 04:11:12] |
Kiwi - Posts: 375 |
I use Python with QT5 for gui and asynch to enhance control of Sierra Chart. They communicate with SC using text files (read by dll functions), xdo, or updated scid and dly files. My primary interface now is Amp/CQG but some of the tools gather data from ib_insync and yahoo_historical as well. |
[2020-10-08 04:50:00] |
User921987 - Posts: 236 |
I understand. Thanks for the info.
|
[2020-10-08 12:31:44] |
UnixManiac - Posts: 46 |
I am being late into this thread sorry for that. I am going to just enter my feedback so far and for sure this not about starting a flame war for distros, Desktop Environments etc etc. For the past couple of years I relied on Ubuntu LTS as my Linux desktop. Running 18.04 LTS with SC for everyday trading Futures/Forex with some custom studies it was flawless for me. I switched to Ubuntu 20.04 ~1 month after its initial release. After getting sick of the all the wine idiosyncrasies I switched permanently to CrossOver. I run it like this ever since without any issues at all. Especially all the problems mentioned here, I never experienced. I upgraded to SC 2177 last week, running just fine. I run stock Ubuntu 20.04 LTS with a 1st Gen Threadripper CPU, 64 GB RAM ECC, Dual AMD cards, 3x 4k Monitors. Most of the times my computer and SC runs without a restart for many days even weeks. I also do not regularly update SC. I have a wine dev bottle meant to test a new version of SC and make sure it loads fine before I update it on my other wine bottles that I use for charting and live trading. I use CrossOver 19.0.2 which is now using a Wine 4.12.1 patched by the CodeWeavers people. Since mid-August all the nasty bugs on Ubuntu 20.04 (Gnome issues with multi screen etc) that were effecting me are resolved. All I can say for anyone interested is that I am perfectly happy with my current setup and errors free so far. |
[2020-10-08 13:48:26] |
User921987 - Posts: 236 |
@UnixManiac I asked this in #249 so thank you very much for your feedback.
|
[2020-10-08 16:50:38] |
DevTrader79 - Posts: 44 |
If Any of you can make a video on installing SC with (wine or ProtonGE or CrossOver) and publish on Youtube will be extremely helpful for newbies/Linux-migrators .
|
[2020-10-08 17:03:45] |
seandunaway - Posts: 268 |
Courtesy of one of the very helpful contributors here, @ticinotrader https://www.youtube.com/watch?v=ENAH3Tgd2-I&ab_channel=TraderTicino |
[2020-10-08 17:28:36] |
UnixManiac - Posts: 46 |
If Any of you can make a video on installing SC with (wine or ProtonGE or CrossOver) and publish on Youtube will be extremely helpful for newbies/Linux-migrators .
The install ones are outdated, but still maybe you can find them useful You can find my videos here: https://www.youtube.com/playlist?list=PLIx6yID6H8864ZnWeCAsGoVoxLggmgZuX and couple of scripts here https://github.com/unixmaniac/sierrachart-misc-files I will try to find some time to dedicate and make new ones for Ubuntu 20.04 and MacOS |
[2020-10-08 18:04:53] |
ganz - Posts: 1048 |
UnixManiac thnx 4 the info I run stock Ubuntu 20.04 LTS with a 1st Gen Threadripper CPU, 64 GB RAM ECC, Dual AMD cards, 3x 4k Monitors.
I've tested 2D chart scrolling on IntelHD and have seen a huge benefit to use Wayland/XWayland vs X11Would you be so kind to make the same tests w/wo OpenGL for AMD hw thnx. Date Time Of Last Edit: 2020-10-08 18:15:59
|
[2020-10-08 18:41:08] |
user2837 - Posts: 76 |
Great job by ertrader in tracking down bug 35041 in WineHQ, by TopDog in finding out the issue was a lack of thread safety in client side caching of objects by X11, and by Alex P in showing how to verify libs using checksums and pointing to proton-ge! If the hanging of SC under wine was a thread safety issue in X11 libs, X11 is where it must be fixed. I don't believe Wine should try to work around it. Has anyone used ldd (ld -verbose may also help) to find out if proton-ge is linking against X11 libraries and if so which ones? That could be an easy way to verify if proton-ge is working around the lack of thread safety in X11 or if they are using their own libraries. In post #240, ertrader talks about having to modify grub and DOS parameters. I would guess that is something to do with drivers for the Nvidia card. But it looks like a pretty serious issue to me. Any insights on what is going on? |
[2020-10-08 19:56:15] |
User921987 - Posts: 236 |
divvi I ldd scanned the whole Proton GE for libX11.so* and found 108 references to '/lib/x86_64-linux-gnu/libX11.so.6' so it is using default X11 Client Side library. |
[2020-10-09 03:30:26] |
Kiwi - Posts: 375 |
I think we got a perfect storm TopDog ... and the clouds are finally moving away. The Sierra Chart team changed something after 2010. There were wine issues. There were X11 issues (but we also have apple people, supposedly without X11 having the same problem at about the same SC version using wine). All 3 came together to create joy in our lives and now we seem to be cleaning up. I'm happy with SC 2175+, x11 1.6.12 libraries, and wine 5.18. And I went distrohopping for the first time in years - happy winner KDE Neon. The other winner seems to be the managed versions of wine who perhaps worked around the issue before the OS version prereleased one. So now I settle down with only the markets (wild in Asia at the moment so not so predictable), a boring Queensland election and a really fun American election. What will it be like without having Donald to expose all the weaknesses in the US System? Maybe we'll find out soon - or not - will we get Putin's choice this time or not? 😉 Date Time Of Last Edit: 2020-10-09 03:36:17
|
[2020-10-09 05:00:36] |
User921987 - Posts: 236 |
All 3 came together to create joy in our lives and now we seem to be cleaning up. I'm happy with SC 2175+, x11 1.6.12 libraries...
What I understand original 1.6.12 libX11 (not patched) still has code which is *not* thread-safe so those applications who are calling these functions from multi-core should still be occasionally in trouble. So how I see this it really is possible to fix the problems from the wine or it's applications but the right place to fix the problem is of course the libX11. I'm still not an expert in libX11 or wine so this is just my opinion at this point. Not a fact. Maybe later I've some time to dig this thing much more deeper and understand what's really happening and why. Until then or if no other new information will come up I'll keep using the patched version of libX11. --- And I agree. We are living fantastic times. A lot is happening in the world which makes the markets very nervous and this is what we all traders want: Swings ! Date Time Of Last Edit: 2020-10-09 05:11:18
|
[2020-10-09 08:29:35] |
ganz - Posts: 1048 |
I know my opinion is not welcomed here so in short I'd like to say thank you to TopDog ( Donald is it you ? ) to show us how the real linux geek looks like : this was the best promo not to use Wine/X11 for production at al will we get Putin's choice this time or not?
Putin is just like any person from that kitchen: Merkel, Obama, Hollande and so on so that guys are just happy in case someone of them puts his hand into a boiled water --- and the bottom line Using SC on X11/wine is out of SC Team Policy in term of software quality I believe. It is worth to keep it in mind. ps: https://blogs.gnome.org/uraeus/2020/04/28/fedora-workstation-swamp-draining-for-6-years/ Date Time Of Last Edit: 2020-10-09 08:35:44
|
[2020-10-09 10:40:25] |
ertrader - Posts: 672 |
divvi In post #240, ertrader talks about having to modify grub and DOS parameters. I would guess that is something to do with drivers for the Nvidia card. But it looks like a pretty serious issue to me. Any insights on what is going on?
Yes, you are right, since updating Nvidia drivers to the latest version, I've seen no issues at all. Also, spent some time getting to know Gnome in an effort to see if XWayland could also be a solution on Mint. I'm NOT a fan of Gnome 3 at all. Really like Cinnamon and it does not support XWayland as of yet. Is there anyone with experience using XWayland on Mint with something other than Gnome? At this point it's pure curiosity, low priority and learning on my part. The current SC/Linux/Wine solutions are working exceptionally well. Date Time Of Last Edit: 2020-10-09 12:17:21
|
[2020-10-09 10:46:23] |
User921987 - Posts: 236 |
The current SC/Linux/Wine solutions are working exceptionally well.
Same here in Debian Buster 10.6 + modded X + i3 |
[2020-10-09 11:49:28] |
ganz - Posts: 1048 |
https://fedoraproject.org/wiki/Changes/WaylandByDefaultForPlasma
|
[2020-10-09 11:53:08] |
ertrader - Posts: 672 |
Thanks again TopDog, AlexPereira and Kiwi for leading us to these solutions.. it's benefiting many people and exactly the kind of help and interaction that keeps this forum and SC/Linux on the leading edge!
Date Time Of Last Edit: 2020-10-09 11:53:57
|
[2020-10-09 12:07:06] |
ertrader - Posts: 672 |
UnixManiac ... welcome to the SC/Linux forum ... great update on Codeweaver, helpful scripts and videos....Much appreciated!
Date Time Of Last Edit: 2020-10-09 12:12:59
|
[2020-10-09 12:22:41] |
User921987 - Posts: 236 |
Thanks again TopDog, AlexPereira and Kiwi for leading us to these solutions.. it's benefiting many people and exactly the kind of help and interaction that keeps this forum and SC/Linux on the leading edge!
Thank you too pal! It's always a pleasure if you are able to give any help. The Karma of life works extremely well you know :) Unfortunately it's so common that people open their mouths only when they have something to criticize and if the situation can make them look better. I don't know is it some kind of self esteem problem or what. These people almost never give you any solutions or other helpful information. It's all about argue and who sounds "the better". So let's keep the help mode on and make us as better traders :) Date Time Of Last Edit: 2020-10-09 12:50:22
|
To post a message in this thread, you need to log in with your Sierra Chart account: