![]() On normal X Servers, if running locally, it will not be a huge gain, but on XQuartz, it will make a big difference.įinally, if you use Motif with XFT, you can download the latest Motif version from SourceforgeĪnd apply the fix described in this bug report: This will help the performance in any Xt based toolkit. And worked fine on older versions of MacOS.įirst, in your own software, try to minimize the use of Xlib calls, which cause round trips: XSync, XInternAtom, XGetWindowAttributes, XQuery* (XQuer圜olor, XQueryBestCursor, XQueryBestSize. Since we can't fix the MacOS, we need "fix" our software and avoid the slow functions, which work just fine on other systems. These would normally also slow down the response of X clients if you use SSH network access, but in this case, it also happens for programs, which run locally. All the Xlib calls which require round trip have become very slow after El Capitan. ![]() The underlying problem is in XQuartz and how it interacts with Mac graphical subsystem. If your IDL Widgets use Motif and XFT (antialiased fonts), then I have a solution, which can help speeding it up. But it breaks all of the color setups in my program.Īll suggestions and questions are appreciated! ![]() The only way that can speed up the response now is to force set the output to 256 colors. I tried to debug on myself, so I found the following link shares similar issue with me. I tried to downgrading my xQuartz to 2.7.9, the problem was not resolved. I tried to both run the program with SSH and locally, the response rates seem very similar. I don't think the problem is related to SSH. Unfortunately, I can't remember which version of the xQuartz I used. With proper internet connection, it also worked fine. I used to have the same program SSH'd to OS X Mavericks before upgrading. I have the same program running on a Red Hat Enterprise Linux Workstation 6.6. I am not sure if this happens to every IDL users, but after upgrading to macOS Sierra and xQuartz 2.7.11, the response rate of my IDL widgets becomes unacceptably slow.
0 Comments
Leave a Reply. |