Crash with W10 update 10.0, Build 19042

If you think you've found a bug post it here.

Re: Crash with W10 update 10.0, Build 19042

Postby eabrust » Wed Jan 26, 2022 11:43 pm

I've left my 3 computers running the program (and all 3 are still running...still, since yesterday). Computer 1 and computer 2 have both dropped in memory usage to <300mB. Computer 3 is still cycling between 500mB to 5GB of memory usage, but has not and does not appear it will throw an exception at this point.


It has to be something related to how the video drivers and memory sharing are setup on some computers. I'll try to look in BIOS settings between my two computers with the Intel 530 video and see if I see anything else that sticks out as different besides the driver version. Unfortunately, I have to walk to my cold shop to do that and can't do that over VNC... :lol:

I have never had an issue with my #3 computer and UCCNC ever, but I've also never looked at memory usage while using it, but I also rarely have this large of a file to run either on that particular machine. so I don't count myself as officially having an issue.

I'm more curious about this than anything, as I'm learning to use OpenTk for graphics in my projects...

regards,
Eric
CraftyCNC: Plugins for UCCNC (and other neat stuff): http://www.craftycnc.com/plugins-for-uccnc/
eabrust
 
Posts: 357
Joined: Fri Sep 16, 2016 2:32 am
Location: Near Shirland IL, USA

Re: Crash with W10 update 10.0, Build 19042

Postby cncdrive » Thu Jan 27, 2022 12:10 am

Hi Eric,

OpenGL (OpenTK) is very complex stuff.
It has the ability to handle many things manually, but there are also things what are handled by OpenGL automatically.
E.g. the memory allocations and disposing of vertices and arrays and images has to be done all manually using memory pointers, but once you freeing the memory up of an object it does not immediately clears out of memory.
It is the video card drivers and openGL to decide when and how to remove those garbage memory objects and how to organise memory usage.
The same is with .NET framework in which garbage collection happens automatically.
When an object gets disposed it will not be removed from the memory immediately, but the .net framework will do that when it will think it has time to do that and when it thinks it is nessessary.
So, memory usage monitoring basically never shows the correct amount of used memory, because it is possible that there is an 1GB object in the memory which was already disposed, just the .net framework did not collect the garbage yet or did not update the memory usage datas. It is really complex how these things work.
cncdrive
Site Admin
 
Posts: 4901
Joined: Tue Aug 12, 2014 11:17 pm

Re: Crash with W10 update 10.0, Build 19042

Postby vastempty » Fri Jan 28, 2022 4:58 pm

So what is the next step?

I can switch back to Mach3 (it works with this new laptop and version of windows), but have put some effort into switching to UCCNC.

Thanks,
vastempty
 
Posts: 11
Joined: Wed Sep 08, 2021 2:47 am

Re: Crash with W10 update 10.0, Build 19042

Postby cncdrive » Fri Jan 28, 2022 6:34 pm

I guess that if it is a laptop then there is no way to change the video card to another one. :(
Did you try to disable the toolpath view when loading large files? Did that resolve it?
cncdrive
Site Admin
 
Posts: 4901
Joined: Tue Aug 12, 2014 11:17 pm

Re: Crash with W10 update 10.0, Build 19042

Postby ger21 » Fri Jan 28, 2022 8:19 pm

Did you check if you have the latest video card drivers?
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: Crash with W10 update 10.0, Build 19042

Postby eabrust » Sat Jan 29, 2022 6:04 am

I monkeyed around w/ my #3 computer until I resolved the memory cycling issue tonight on that one computer. It no longer uses excessive memory, and it remains at approx 800Mb or less very steady now, just like my other 2 PCs.

Things that were tried as tests:

Updated to Win10 21H2: No change
Play with video resolution: No change
Change video memory setting in bios: No change
Update the intel 530 driver to the latest version (30.0.101.1191): No change
Revert the intel 530 driver to an older version (27.20.100.8280, May 2020): Worked! This was going even older version than my #2 PC had installed

I had noted previously that my #2 computer did have an older driver version, so I guess the answer was there staring at me, I just wanted to verify that was it by trying a few of the other things that were different.

Seems the more recent intel drivers have some sort of issue w/ OpenGL/OpenTK.

I made an extremely poor quality screen grab video over VNC to demonstrate the before and after memory behavior as shown by taskmanager. https://youtu.be/TuoQ4rhwRes

Hope that helps a little... don't always go 'atest and greatest', go backwards :lol:

regards
Eric
CraftyCNC: Plugins for UCCNC (and other neat stuff): http://www.craftycnc.com/plugins-for-uccnc/
eabrust
 
Posts: 357
Joined: Fri Sep 16, 2016 2:32 am
Location: Near Shirland IL, USA

Re: Crash with W10 update 10.0, Build 19042

Postby Battwell » Mon Jan 31, 2022 12:25 pm

interesting fix- that works :-)
Uc300eth on router and mill.
UK uccnc powered machine sales. https://cncrouter.uk/atc-cnc-routers.htm
Automateanything/duzzit cnc/mercury cnc
Battwell
 
Posts: 867
Joined: Sun Sep 25, 2016 7:39 pm
Location: South Wales. Uk

Re: Crash with W10 update 10.0, Build 19042

Postby vastempty » Mon Feb 07, 2022 7:53 pm

Upgraded to Windows 11, which had an update for .NET 4.8. Same issue.

Tested on a desktop with integrated graphics as well, it works just fine.

Tried to down rev the driver on windows 11, says not supported. nice.
vastempty
 
Posts: 11
Joined: Wed Sep 08, 2021 2:47 am

Re: Crash with W10 update 10.0, Build 19042

Postby vastempty » Mon Feb 07, 2022 9:11 pm

downgraded to back Windows10, tried to install from the intel site:
https://www.intel.com/content/www/us/en ... ivers.html

igfx_win10_100.8280.exe, still says "This operating system is not supported".

Otherwise when I can get to it, ill just re-install windows10 from an old DVD I have laying around.

Just posting so others know what path to go down.
vastempty
 
Posts: 11
Joined: Wed Sep 08, 2021 2:47 am

Re: Crash with W10 update 10.0, Build 19042

Postby eabrust » Tue Feb 08, 2022 12:04 pm

To 'downgrade' the drivers (on Win 10), I had to go to device manager, delete the display adapter device completely to remove the old driver (so windows ran it as a generic display device), then I was able to install the older version from the intel website without any issues.

regards
Eric
CraftyCNC: Plugins for UCCNC (and other neat stuff): http://www.craftycnc.com/plugins-for-uccnc/
eabrust
 
Posts: 357
Joined: Fri Sep 16, 2016 2:32 am
Location: Near Shirland IL, USA

PreviousNext

Return to Report a bug

Who is online

Users browsing this forum: No registered users and 9 guests