-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Poor performance under Linux #166
Comments
Hi and thank you for observing that. |
Yes, it's the same. |
That's intriguing, however, all calculations are done with double precision floats. I don't see why 237% would be different from 240%. Is there any difference that appears, apart that the redraw is much slower? |
Hi DarwinNE, |
Is there a possibility to trace the origin of the issue? For example, is this linked to a certain version of the JRE or to the graphics driver? I think that would be much better than trying to circumvent the issue. |
Hi DarwinNE, I have this problem from Fedora 2x onwards. in this period many things have changed in the operating system including java and graphics server. I have always had the same problem as in my previous ticket (2017) but it was never possible to find the origin of the problem and a solution, for this reason I proposed that trick. It is practical and solves the problem. Furthermore, a magnification of 500% or 503% does not give appreciable differences. |
Thank you for the information. |
Great! The grid is the problem. |
Ok, I think I have an idea of the origin. The grid code is much more complex than one would expect and I think I can see why it can slow down things in certain situations. |
@iGreybear can you compile and test the code in the repository to see if the situation improved? If not, I think I will publish a new preliminary version in a few days. |
Hi DarwinNE, |
Hi @iGreybear, If you don't want (or can't) install the JDK, don't worry, I will publish a jar archive in a few days. Cheers, |
Tomorrow morning I will try
Il dom 19 apr 2020, 22:35 Davide Bucci <notifications@github.com> ha
scritto:
… Hi @iGreybear <https://github.com/iGreybear>,
first of all, many thanks to have tried!!!
From what I see, you only have the Java runtime environment installed, you
would need the Java Development Kit. Then, to clean, compile and run the
code the command would be make rebuild.
If you don't want (or can't) install the JDK, don't worry, I will publish
a jar archive in a few days.
Cheers,
D.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#166 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACQM472C5VZTNDQFQAEMJNDRNNOAJANCNFSM4KAPQ4HQ>
.
|
Hi DarwinNE, It's all ok! It's fast enough to work on a complex wiring schema. Here the warnings after the make rebuild: Here my |
Hi @iGreybear
Can you please open another issue? I am closing this one. Thanks again, |
Sorry, @DarwinNE , but I have some problem on FidoCadJ 0.24.8 with Ubuntu 18.04.4. In practice, with certain zoom levels, the scroll is slow and the movement of the selected objects follows the movement of the cursor with delay. For example, see the following file:
FidoCadJ opens it with a zoom set to 521%, and at this level the defect occurs. Making a little text I found that: at these levels the defect occurs but not to these As mentioned in another post, even in this case, if you disable the grid, the problem disappears. Bye, Max |
Hello @Max2433BO, The problem is as usual drawing the grid in an efficient way. Cheers, |
I have big complex drawings too (I think, it takes 10 seconds before opening and correct placement in screen). I noticed on a Raspberry Pi 400 that it matters if you are on the standard values of the zoom setting or if you are on a figure somewhere in between. Also grid on or off matters. Special placing (complex) items somewhere in the workarea takes a while. I'm not sure if this is the edge of the Raspberry Pi or if this is Java or if this is FidoCadJ. |
Fidocad under linux (tested from fedora 2x to fedora 30) is very slow when the magnification is not rounded to the tens. For example, a 237% magnification greatly slows fidocad execution. To solve it I need to put manually a magnification of 230% or 240%. This happens when I "fit" the design to the page.
It's possible to round automatically to the tens?
Many thanks
The text was updated successfully, but these errors were encountered: