Curious DRO behavior

Post anything you want to discuss with others about the software.

Re: Curious DRO behavior

Postby Robertspark » Mon Aug 27, 2018 7:45 am

https://downloadcenter.intel.com/produc ... -2-16-GHz-

Drivers here

The n2930 uses an integrated graphics chip within the CPU and shared ram.... It's not the best of any world sorry
Rob
Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
...working my way through the 1000+ ways things don't work to find the one that does
UC400eth, UC300eth, UCCNC v1.2106, Neuron Lite
UCCNC v1.2105 Macro Manual
Robertspark
 
Posts: 981
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

Re: Curious DRO behavior

Postby Robertspark » Mon Aug 27, 2018 7:48 am

You can put up to 8 go of ram in it, which is what I would do / have done
https://ark.intel.com/products/81073/In ... o-2_16-GHz

I use a similar fanless pc with an n3150
Rob
Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
...working my way through the 1000+ ways things don't work to find the one that does
UC400eth, UC300eth, UCCNC v1.2106, Neuron Lite
UCCNC v1.2105 Macro Manual
Robertspark
 
Posts: 981
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

Re: Curious DRO behavior

Postby Robertspark » Mon Aug 27, 2018 8:00 am

Adjusting the BIOS and the dedicated amount of ram for graphics may help
https://m.youtube.com/watch?v=mC3-PIIj_V0
Rob
Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
...working my way through the 1000+ ways things don't work to find the one that does
UC400eth, UC300eth, UCCNC v1.2106, Neuron Lite
UCCNC v1.2105 Macro Manual
Robertspark
 
Posts: 981
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

Re: Curious DRO behavior

Postby cncdrive » Mon Aug 27, 2018 8:30 am

As Rob said an issue like that can happen if the VRAM is too low.
The problem with that is that if the graphic images do not fit into the VRAM then OpenGL will have to copy the images from RAM to VRAM as the UCCNC goes through the image drawings.
Normally these things happen in the VRAM and handled directly by the GPU without any CPU and RAM interaction, but if the images do not fit into the VRAM then OpenGL have no other choice than to copy/replace things continously and that can lead to an overload of the CPU and GPU too and can slow the computer and the graphics down, because there is a high screen refresh rate used in the UCCNC for smooth drawing.
cncdrive
Site Admin
 
Posts: 2260
Joined: Tue Aug 12, 2014 11:17 pm

Re: Curious DRO behavior

Postby spumco » Wed Aug 29, 2018 12:30 am

Thanks all for the suggestions. Also noticed that the toolpath display is very jerky when the DROs are acting up.

Vram is not adjustable in bios, and only using 45% of system ram while running uccnc. Not sure 4g more ram will make any difference in graphics performance.

Also does it in demo mode and offline mode regardless of which profile is loaded. Tried rolling back gpu driver with no improvement.

The only difference (besides 1.2047 vs 1.2102) between now and a couple months ago when I used the pc on my mill is a different monitor and the uccnc units (mm vs inch) settings are different. Neither of those should make the slightest difference in graphics performance.

Ill try loading a later test version to see if that changes anything. Aftr that, Im just going to live with it.
spumco
 
Posts: 211
Joined: Mon Oct 03, 2016 10:10 pm

Re: Curious DRO behavior

Postby cncdrive » Wed Aug 29, 2018 12:48 am

V1.2102 might use more video memory in some cases than 1.2047.
The difference between the 2 versions is that the 1.2047 used simple vector array to draw the toolpath and the 1.2102 using vertex buffer object (VBO).
Usually VBO is faster and is more efficient than vector arrays, because the vectors data is put into the VBO which is in the VRAM and a pointer is used to use the object later.
So, the VBO needs no updates and so it is fast especially on large arrays of vertices (large toolpath). Vector arrays usually have to be updated. (It is a bit complicated to explain so I don't go into more details now...)
But you have to remember that OpenGL is just a standard and how well and efficient the different methods work depends on the video card manufacturer, I mean how well they implemented the different methods.
Usually manufacturers follow the standards closely and implementing things pretty well, but sometimes there are bugs in different methods.
Just an example in many integrated Intel GPUs the line smoothing works pretty rought. When enabling line smoothing on those cards the lines not getting smoothed, but instead they getting even more pixellated.
So, I can think of that VBO handling is not implemented properly on the graphic card you have.

Is it is mini PC or can you fit another graphic card to try?

And RAM usage has not much to do with the issue I described previously. The VRAM needed by the UCCNC is only about 200Mbytes and so you will not see in RAM usage if this data is in the RAM and is copied continously back and forth between the RAM and VRAM. And OpenGL handling these things automatically without any programmer code. The programmer can only advice (give a hints) to OpenGL to possible what to do if something is wrong, but you cannot tell OpenGL exactly what to do in case of issues. OpenGL is who finally will decide.
OpenGL is really complex, so it is a bit hard for me to describe these things, I can say it is about as complicated as coding motion control. :)

One idea I have is that you could try this little software tool: https://www.techpowerup.com/gpuz/
It shows properties of the graphics card like the GPU and VRAM usage.
cncdrive
Site Admin
 
Posts: 2260
Joined: Tue Aug 12, 2014 11:17 pm

Re: Curious DRO behavior

Postby spumco » Wed Aug 29, 2018 1:31 am

Mini pc, so Im stuck with the graphics.

We just repurposed this pc for the plasma build since I upgraded the mill computer to one with better graphics ;)

Ill see if the later version makes a difference, but Andrew from Neuron told me to use 1.2047 for plugin compatibility.
spumco
 
Posts: 211
Joined: Mon Oct 03, 2016 10:10 pm

Re: Curious DRO behavior

Postby dezsoe » Wed Aug 29, 2018 7:06 am

The only difference (besides 1.2047 vs 1.2102) between now and a couple months ago when I used the pc on my mill is a different monitor and the uccnc units (mm vs inch) settings are different. Neither of those should make the slightest difference in graphics performance.

If your new display has a higher resolution than the old one then that may be the problem. To check if this is the case, try to set a lower screen resolution. Also, if you have a high enough resolution display, Win8 may set text size other than 100%, which may also slow down graphics.
dezsoe
 
Posts: 544
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Curious DRO behavior

Postby spumco » Wed Aug 29, 2018 7:49 am

Dezsoe may be on the right track.

The new monitor (touch screen) has a higher resolution than the previous one. Changing the resolution improved the DRO and tool path behavior a bit. Not back to 'normal' - but a bit better.

Switching to v1.2101 didn't make a difference. I'll try 1.2102 and see if that changes anything, but I suspect the Neuron plugin won't work past 1.2101.

Again, I don't think this has much, if anything, to do with UCCNC, but I certainly appreciate the help from everyone here.

-Ralph
spumco
 
Posts: 211
Joined: Mon Oct 03, 2016 10:10 pm

Previous

Return to General discussion about the UCCNC software

Who is online

Users browsing this forum: No registered users and 3 guests