PiDiCNC Control System

More
9 years 7 months ago #90075 by viktan
Replied by viktan on topic PiDiCNC Control System
Ok, in two weeks sample set will be ready for testing.
Now there is another question.
MarcoGaspar sent me a nc file with 16k lines. There is problem on Raspberry Pi with GUI performance. When I load that big file this gui have very low performance, maybe 1 fps. How I find info, this preview uses a OpenGL and there is no hw support for opengl on ARM platform. It is emulated by cpu with priority for RT tasks.
Here is link for video:
www.dropbox.com/s/ugv7nkg3vxayqq0/VID_20170322_084927.mp4?dl=0
As you can see, the GUI is ruunig on maybe 1fps while real axes are moving smoothly.

What do you thing, what can help with it? Maybe there is any way to assign one core for GUI.
Another solution could be to board with ethernet and use a common pc with our boards without RasPi.
Thank you for any idea
V.

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago - 9 years 7 months ago #90086 by tommylight
Replied by tommylight on topic PiDiCNC Control System
You can try using software opengl, that helps in some cases quite nicely. I have 2 HP terminals that use 1GHz Geode processor and run Debian wheezy version with Linuxcnc a bit slugish but with a 15000 base thread without ever missing a step. I offten use gcode with over 60000 lines, it takea a while to load but it runs.
On the other side you have the 2.5 and 2.6 versions of Linuxcnc that i think use less memory as the trajectory planer has a low look ahead, might work much beter as is.
As for ethernet, it does work nicely, but not on a RPI as it has an emulated network card through USB, if i am not mistaken.
Edit, can you please try that with Axis GUI? Djakuju bardzo.
Last edit: 9 years 7 months ago by tommylight.

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago - 9 years 7 months ago #90091 by MarcoGaspar
Replied by MarcoGaspar on topic PiDiCNC Control System
With axis gui is the same lag.


file that is: www.dropbox.com/s/q6pc4gpf4kry373/20_01.NC?dl=0

This is a small file.. i use larger files :D
Last edit: 9 years 7 months ago by MarcoGaspar.

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #90103 by viktan
Replied by viktan on topic PiDiCNC Control System
Thanks for idea. I instal machinekit on latest image of debian. There is opengl 3.0 Mesa 13.0.0 preinstaled but the performance of preview is same. Is there any other option to set that linuxcnc window shold be rendered by opengl?
ġakujem pekne :)

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #90110 by tommylight
Replied by tommylight on topic PiDiCNC Control System
Does it have an option to set the amount of video memory in BIOS? Linux in general is very good at utilising memory, so it makes a huge diference if there is plenty of it.
Most desktops with integrated graphic cards have that option, that would leave more memory to video card even when Linux is running out of it. Would make the overal performance of Linux slower but chances are the update of the video would be a bit faster.
I do not have any of the RPI so i can not test this, sorry bro.
There is another posibility to test, but requires another computer. SSH from the other computer and start Linuxcnc, that way the GUI will be on the other computer.
Did you check TOP to see how and what process is slowing things down?

P.S. Sorry for the Polish, my bad. You are in Slovakia, or as i like to call it the country with most beautiful women on earth. Been in Bratislava for 3 weeks, came back with some minor PTSD. :)

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #90175 by viktan
Replied by viktan on topic PiDiCNC Control System
I tried to increase the gpu memory to 512MB but it help only little bit. I will try this SSH. Is there someone on forum who have deeper knowledge about this preview graphics? I believe there is a way how to run this correctly on Raspi
PS: :)
I heard it about our womas many times, but you know, everyone liked foreign womans ;)

Please Log in or Create an account to join the conversation.

Moderators: PCW, jmelson
Time to create page: 0.068 seconds
Powered by Kunena Forum