Support Board
Date/Time: Fri, 22 Nov 2024 20:26:35 +0000
[User Discussion] - Graphics performance issue on Linux/Wine
View Count: 7425
[2013-11-23 13:08:41] |
ganz - Posts: 1048 |
Hi All I've checked it twice and I'm pretty sure: There is a huge regression from wine1.4 to wine1.6 in terms of 2D graphics performance. Vertical/horisontal chart scrolling and crosshair on wine1.4 decreases CPU usage dramatically comparing to wine 1.6 (200-250%) i5 gtx 6## XX Gb ssd |
[2013-11-23 20:33:01] |
vegasfoster - Posts: 444 |
Hi, I just set up SC on Wine 1.4 on my second computer, AMD A64 3800+, 2 Gigs of ram, NVIDIA graphics, and 5400rpm hard drive. Not a speed demon by any measure. The 5 min load average after waiting 6 minutes after each change was as follows: - Reboot and nothing opened, load average was 0.04 (out of 2). - Open SC with no live data feed, not doing anything and just sitting there, load average was 0.13. - Open a single chart with 15 days YM on a 4-2-2 FR chart with half a dozen studies, load average was 0.38. - Run replay at 200x, single YM chart, load average was .73. - Load 3 charts tile vertically, all YM charts, doing nothing, load average was 0.57. - Run replay at 200x, all YM charts, load average was 0.74. - Load 3 charts tiled vertically for YM, ES, 6E doing nothing, load average was 0.67. - Run replay at 200x for YM, ES, 6E, load average was 0.89. So what's interesting to me is that just having charts open seems to suck a lot of juice even though it's just sitting there and supposedly not doing any calculations??? And the more charts the more juice it sucks. But what's really interesting is that running a replay with 3 charts vs 1 chart didn't increase the load at all for just YM and only .05 for YM, ES and 6E (.15 replay minus .10 resting). When I load the same set up as my trading computer (6 charts), then it does start to feel sluggish, but my trading computer is Core2Duo, 4gigs of ram, and SSD. But a couple charts even on a really slow computer IMO gives totally acceptable results. It should be even better with a native linux version. The downside is I keep getting an alpha bend error and encountered an improper argument error, where the replay no longer functions and I have to restart SC. I can install Wine 1.6 later and do the same thing and see how it compares, but I dunno if that's a good way to test it or not. Can I ask how you have it set up (i.e. did you optimize anything?) and how are you testing it? Thanks. |
[2013-11-23 21:23:05] |
ganz - Posts: 1048 |
vegasfoster hi This was all about to improve 2d graphics performance so for a best performance: - use 32 bit distro - use proprietary nvidia driver (319 for exmpl) - use wine 1.4 - use no compiz: openbox, unity 2d, xfce /lightlinux :)/ In order to check a performance open Terminal and type: top http://s10.postimg.org/pbp926z3t/vegas1.png Keep in mind that Wine translates some functions (does a job) from WInAPI to Xlib - it takes some resources. So one should have additional resources to use Wine. Also I'm using CTS FIX / SC CME RT Data Feed + nonCLR version In order to get an optimal system one should keep an every little thing in an optimal condition, imho I keep getting an alpha bend error
I have no problem w it encountered an improper argument error, where the replay no longer functions and I have to restart SC.
Yes. I've reported the issue Replay charts on Linux/Wine Date Time Of Last Edit: 2013-11-23 22:02:29
|
[2013-11-24 00:10:18] |
vegasfoster - Posts: 444 |
I'm using Linux Lite 64, which is based on 12.04lts and I am pretty sure uses LXDE. Out of the box it is noticeably faster than Ubuntu, Mint, Manjaro or Windows XP (at least on my slow computer anyway, on a faster computer the difference may not be noticeable). A custom install would probably be faster, but for a beginner who wants to get up and running quickly, I think it's a really good choice. How big of a difference do you think 32bit would make? I basically just want it as a backup to my main computer in the event of catastrophic failure, which as is it seems plenty fast for that, so unless the difference is huge I'd rather leave it. Thanks for the info about Wine 1.6. |
[2013-11-24 05:37:00] |
ganz - Posts: 1048 |
vegasfoster I dunno exactly how fast it will be in this case Just keep in mind that in order to run SC you've installed 64bit linux environment But in order to run a 32 bit win app the distro must use a full X server 32 bit environment 64 bit Xorg -> 32 bit Xorg -> Win32bit LXDE is Opnebox based so if the speed difference is noticable (to xfce or to unity 2d) this is a definite sign the system is too slow for additional transitions or even to use Wine. |
[2013-11-24 16:18:02] |
ganz - Posts: 1048 |
vegasfoster I keep getting an alpha bend error
make sure you are using in ~/.wine/user.reg [Software\\Wine\\X11 Driver] 1227050429
"ClientSideWithRender"="Y" It harms Toolbar text but it increases the performance on wine1.4 also is a trick: ~:> nvidia-settings -a InitialPixmapPlacement=2 Date Time Of Last Edit: 2013-11-24 16:32:25
|
[2013-11-25 17:08:57] |
vegasfoster - Posts: 444 |
Thanks!
|
[2014-05-21 17:04:11] |
ganz - Posts: 1048 |
Hi All for the new Ubuntu LTS release 14.04 - I can't find a way to use wine 1.4.* so ... I've tried to use crossover v. 12.2.2 (based on wine 1.5.15) and I have no issue in terms of 2D graphics performance nor a toolbar font issue |
[2015-03-22 17:13:18] |
ganz - Posts: 1048 |
Hi All The issue is not the case any more for SC v1241 and crossover 14.1 (wine 1.7.25). |
[2017-10-31 22:28:09] |
ganz - Posts: 1048 |
to decrease CPU usage for Symbol/Global Cursor On w/Crosshair https://wiki.winehq.org/Useful_Registry_Keys 1. Add the new Key "X11 Driver" -> [HKEY_CURRENT_USER\Software\Wine\X11 Driver] 2. Add new String Value-s and set it to "N" ClientSideGraphics ClientSideWithRender play with other Key-s as you wish |
[2017-11-01 10:19:03] |
AlexPereira - Posts: 197 |
to decrease CPU usage for Symbol/Global Cursor On w/Crosshair
https://wiki.winehq.org/Useful_Registry_Keys 1. Add the new Key "X11 Driver" -> [HKEY_CURRENT_USER\Software\Wine\X11 Driver] 2. Add new String Value-s and set it to "N" ClientSideGraphics ClientSideWithRender play with other Key-s as you wish Hum... this is bad for me, since it disables the font's antialiasing ( also just tested, cpu usage is really minor when jerkying crosshair with symbol/global cursor on , on 4 charts ). Are you guys using CSMT or Gallium9 ? |
[2017-11-01 16:31:16] |
ganz - Posts: 1048 |
AlexPereira That was tested on ubuntu 14.04.5 w/Nvidia blob 384.* The options are decreasing CPU usage down at 1/3 Wine-staging 2.19. 3 charts 1920x1200 px And yes, Wine is unstable and buggy solution. There are no any chances to get the same result for various setups. Date Time Of Last Edit: 2017-11-01 16:31:58
|
[2017-11-01 17:40:18] |
AlexPereira - Posts: 197 |
That was tested on ubuntu 14.04.5 w/Nvidia blob 384.*
ok, i have an amd card, so i don't know. And yes, Windows is unstable and buggy solution. There are no any chances to get the same result for various setups.
Fixed that for you
|
[2017-11-02 22:48:38] |
AlexPereira - Posts: 197 |
More info on this: Using an AMD Card with open drivers and wine with Gallium 9: With ClientSideGraphics and ClientSideWithRender set to N, jerking crosshair with global cursor on like crazy through 4 charts, creates 35 to 45% cpu usage. With those options removed, jerking crosshard like crazy creates 20% to 25% cpu usage. Ganz thanks for helping on users with nvidia closed drivers. I guess amd users or open drivers users should test first. |
[2017-11-03 01:54:36] |
Sierra Chart Engineering - Posts: 104368 |
One thing we want to mention is there is a lot of processing involved when using the Chart Values tool especially when it is displayed on multiple charts. It is not a simple operation so high CPU usage is not even surprising even on Windows.
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 |
[2017-11-03 06:54:19] |
ganz - Posts: 1048 |
Absolutely. And at this moment of time Windows is the best platform for middle level graphics app because of OS interface and hw support. Looking at X Window there are just technology issues and thousands of stupid programmers they reinvent the wheel again and again. |
[2017-11-03 08:16:46] |
AlexPereira - Posts: 197 |
One thing we want to mention is there is a lot of processing involved when using the Chart Values tool especially when it is displayed on multiple charts. It is not a simple operation so high CPU usage is not even surprising even on Windows.
That made me test the cpu usage on windows 10, and doing the same test as in linux, cpu usage was between 25%~35%. So linux + wine + gallium9 ( will test csmt later ) + open source amd drivers is faster than windows. |
[2017-11-03 08:20:29] |
AlexPereira - Posts: 197 |
Looking at X Window there are just technology issues and thousands of stupid programmers they reinvent the wheel again and again.
I am completely dumbfucked by this answer ... well anyone is free to test ( just be sure to test using per process cpu core, and not as simple cpu ). I hope I helped anyone. |
[2017-11-03 08:38:16] |
ganz - Posts: 1048 |
Looking at X Window there are just technology issues and thousands of stupid programmers they reinvent the wheel again and again.
https://www.phoronix.com/scan.php?page=article&item=x_wayland_situation&num=1 https://www.x.org/wiki/Development/X12/ https://www.phoronix.com/scan.php?page=article&item=nvidia_2d_openclose&num=1 Date Time Of Last Edit: 2017-11-03 08:53:38
|
[2017-12-03 12:39:16] |
ganz - Posts: 1048 |
today's update at this moment the best graphics performance i've ever seen on linux might be achieved using x32 bit debian 8 with no any compositing (xfce4/mate) and wine 2.0.x-stable combo: https://cdimage.debian.org/cdimage/archive/8.9.0/i386/iso-cd/ https://cdimage.debian.org/cdimage/archive/8.9.0-live/i386/iso-hybrid/ https://wiki.winehq.org/Debian Date Time Of Last Edit: 2017-12-03 14:28:34
|
[2017-12-06 08:17:21] |
ganz - Posts: 1048 |
can confirm this has some influence: https://www.phoronix.com/scan.php?page=news_item&px=NVIDIA-Mem-Perf-Regression
|
[2017-12-07 06:09:58] |
ganz - Posts: 1048 |
the starting point to tune a system https://github.com/raboof/realtimeconfigquickscan |
[2017-12-10 08:10:56] |
ganz - Posts: 1048 |
the best graphics performance i've ever seen on linux
... since wine 1.4so the best performance is still there: using 1.4.1 http://wiki.playonlinux.com/index.php/Managing_Wine_Versions |
[2017-12-11 23:48:23] |
ganz - Posts: 1048 |
the new setup was tested and there is the very good news debian 9.3 x32 bit on xfce4 (compiz is off) + nvidia's blob + wine 1.4.1 gives the outstanding charting performance so it's extremely close to native windoze one |
[2020-10-01 07:26:29] |
ganz - Posts: 1048 |
some info in terms of performance on wine SC 2168 Fedora 32 + RPMFusion kernel v. 5.8 nv blob v. 450 Hybrid Graphics on Zen Aio 4k Intel HD: - 2d performance is quite well on Wayland/XWayland and it's +10% down to X11 - OpenGL SC option is decreased CPU usage for 50-60% then Nvidia blob was added and X11 was set back: with OpenGL option all graphs on charts are missing so no visible objects were presented: __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia wine ./SierraChart_64.exe with no OpenGL option all graphs and performance still the same as on Intel HD /X11 was so Intel/XWayland is the solution in case of Hybrid Graphics will be used https://rpmfusion.org/Howto/Optimus?highlight=%28CategoryHowto%29 |
To post a message in this thread, you need to log in with your Sierra Chart account: