πŸ€‘ Indie game storeπŸ™Œ Free gamesπŸ˜‚ Fun games😨 Horror games
πŸ‘· Game development🎨 AssetsπŸ“š Comics
πŸŽ‰ Sales🎁 Bundles

PixelCNC: The Handy CAM Solution for Images!

Use images to create toolpaths, generate G-code, and save time with this sleek, unique, and powerful CAM program. · By Deftware Industries

Several issues with 1.15a

A topic by Donnie created Mar 17, 2018 Views: 83 Replies: 11
Viewing posts 1 to 6
(Edited 1 time)

Charlie,

I ran the same image I've been using to test PCNC through the new version.  I'm not even going to try to list the issue, but in general I had error boxes pop up and close the program, very slow response when moving between steps and eventually the software locked up and I had to kill it.  This happened several times. 

I'm just going to attached the log file and let you figure it out.

Still happy with the software and direction you are heading.

Thanks.

Donnie


0.147 
0.172  [ PixelCNC v1.15a - Mar 15 2018 ]
0.182  [ Charles Van Noland - deftware.itch.io/pixelcnc ]
0.231 
0.241 --- initializing ---
0.250 configuration...
0.263 ...loaded configuration
0.493 system...
1.088 4 logical cpus detected
1.131 >> starting thread00...
1.136 >> starting thread01...
1.166 >> starting thread02...
1.171 >> starting thread03...
1.177 >> starting thread04...
1.183 >> starting thread05...
1.200 >> created mutex #0
1.209 >> created mutex #1
1.213 image...
1.218 >> created mutex #2
1.222 >> 0.00mb currently allocated
1.227 input...
1.233 >> 0.00mb currently allocated
1.239 render...
1.249 vertex size: 26
1.263 >> r_begin: allocated 312.0mb vertex buffers
1.273 GL_VENDOR: Intel
1.278 GL_VERSION: 3.0.0 - Build 20.19.15.4549
1.286 >> 312.00mb currently allocated
1.293 font drawing...
3.962 loaded ".\fonts\system.png" (256x128@4)
3.969 >> img_load: .\fonts\system.png = 256x128x4
4.099 ...loaded font "system"
4.330 loaded ".\fonts\fixedsys.png" (256x128@4)
4.359 >> img_load: .\fonts\fixedsys.png = 256x128x4
4.369 ...loaded font "fixedsys"
4.379 loaded ".\fonts\source_code.png" (256x128@4)
4.384 >> img_load: .\fonts\source_code.png = 256x128x4
4.396 ...loaded font "source_code"
4.507 loaded ".\fonts\latha.png" (256x128@4)
4.512 >> img_load: .\fonts\latha.png = 256x128x4
4.522 ...loaded font "latha"
4.534 loaded ".\fonts\latha_big.png" (512x256@4)
4.565 >> img_load: .\fonts\latha_big.png = 512x256x4
4.576 ...loaded font "latha_big"
4.583 loaded ".\fonts\tahoma.png" (256x128@4)
4.587 >> img_load: .\fonts\tahoma.png = 256x128x4
4.601 ...loaded font "tahoma"
4.610 loaded ".\fonts\tahoma_big.png" (512x256@4)
4.615 >> img_load: .\fonts\tahoma_big.png = 512x256x4
4.629 ...loaded font "tahoma_big"
4.637 loaded ".\fonts\verdana.png" (256x128@4)
4.641 >> img_load: .\fonts\verdana.png = 256x128x4
4.677 ...loaded font "verdana"
4.686 loaded ".\fonts\verdana_big.png" (512x256@4)
4.692 >> img_load: .\fonts\verdana_big.png = 512x256x4
4.721 ...loaded font "verdana_big"
4.729 loaded ".\fonts\ocr_a.png" (256x128@4)
4.735 >> img_load: .\fonts\ocr_a.png = 256x128x4
4.746 ...loaded font "ocr_a"
4.850 loaded ".\fonts\ocr_a_big.png" (512x256@4)
4.855 >> img_load: .\fonts\ocr_a_big.png = 512x256x4
4.869 ...loaded font "ocr_a_big"
4.876 loaded ".\fonts\icons.png" (256x128@4)
4.881 >> img_load: .\fonts\icons.png = 256x128x4
4.894 ...loaded font "icons"
4.905 loaded ".\fonts\icons_big.png" (512x256@4)
4.911 >> img_load: .\fonts\icons_big.png = 512x256x4
4.955 ...loaded font "icons_big"
4.961 >> 312.00mb currently allocated
4.970 view...
5.037 >> 312.00mb currently allocated
5.041 mesh...
5.047 >> mesh_init: allocated 0.72KB meshes array
5.053 >> mesh_init: allocated 36.00mb polyline verts array
5.057 >> 348.00mb currently allocated
5.062 toolpath...
5.071 >> 348.00mb currently allocated
5.076 cam...
5.324 >> created mutex #3
5.333 >> 348.00mb currently allocated
5.338 project...
5.344 tools to inch defaults
5.379 >> 348.00mb currently allocated
5.386 gui...
5.390 ...program initialized
5.397  ( 348.0mb currently allocated )
5.401 --- entering main loop ---
6.222 >> unts:1 scale:1.000000,0.250000 subdiv:1.000000
6.236 >> r_modelnew 0
6.245 created model: 1 draws, 400 verts
6.250 >> axis regen 1.000000
6.256 >> r_modelnew 1
6.265 created model: 1 draws, 6 verts
135.654 loaded "...ith flag - charlie.png" (1667x1132@3)
135.666 >> img_load: C:\Users\Donnie\Dropbox\- XCarve -\- images -\eagle with flag - charlie.png = 1667x1132x3
135.722 rescaling project image... (downscale=1)
135.740 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
135.979 >> simulation depthmap size: 1242x843
136.020 creating project texture (1118x760)...
136.032 >> img_rescalescalar: scaling 1667,1132 to 1118,760
136.356 >> generating blur kernel...
136.834 >> img_scalarblend: 1118x760, 1667x1132, 1.491055x1.489474
136.921 >> ...blend complete
137.032 ...project_updatetexture done
137.044 >> adding border to input image...
137.060 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
137.276 >> ...blend complete
137.286 project pixels/inch = 104.2 (scalefactor: 1.000000)
137.305 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
137.503 >> generating blur kernel...
137.684 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
137.871 >> ...blend complete
137.887 >> r_modelnew 2
137.899 >> generating input image mesh...
137.910 created model: 6 draws, 24 verts
137.917 >> preformatting input image... (416x283)
137.924 >> project_setinput done
137.929 >> img_rescalescalar: scaling 1667,1132 to 416,283
137.995 >> generating blur kernel...
138.363 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
138.624 >> ...blend complete
138.642 >> recursively dividing mesh...
139.763 >> conforming triangle apexes...
139.932 mesh_fromimage: created bitree mesh (820710 nodes)
139.974 >> r_modelnew 3
140.410 >> r_end: reallocated 44.5mb model vertex buffer
140.523 created model: 1 draws, 1231068 verts
157.931 rescaling project image... (downscale=1)
157.965 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
158.186 >> simulation depthmap size: 1242x843
158.219 creating project texture (1118x760)...
158.232 >> img_rescalescalar: scaling 1667,1132 to 1118,760
158.505 >> generating blur kernel...
158.975 >> img_scalarblend: 1118x760, 1667x1132, 1.491055x1.489474
159.061 >> ...blend complete
159.185 ...project_updatetexture done
159.206 >> adding border to input image...
159.226 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
159.459 >> ...blend complete
159.474 project pixels/inch = 104.2 (scalefactor: 1.000000)
159.493 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
159.719 >> generating blur kernel...
159.901 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
160.114 >> ...blend complete
160.132 >> project_setinput done
160.143 >> generating input image mesh...
160.166 >> preformatting input image... (416x283)
160.180 >> img_rescalescalar: scaling 1667,1132 to 416,283
160.254 >> generating blur kernel...
160.644 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
160.892 >> ...blend complete
160.904 >> recursively dividing mesh...
161.920 >> conforming triangle apexes...
162.101 mesh_fromimage: created bitree mesh (820710 nodes)
162.161 >> r_modelnew 3
162.604 >> r_end: reallocated 44.5mb model vertex buffer
162.658 created model: 1 draws, 1231068 verts
190.797  [ 1 ] = T1 F60 S16000 D2 SO0.030000 ZDOC0.063000 ZBOT0.700000 ZTOP0.001000 SAFE0.150000 AUX[ 0.000000 0.000000 0.000000 ]
190.816 - - - - - - - - - CAMOP_PARALLEL - - - - - - - - -
190.832 >> convolving input image with tool[1].surface...
190.858 >> generating blur kernel...
196.385 >> ...done (5.22s)
196.429 >> preformatting input image... (416x283)
196.446 >> img_rescalescalar: scaling 1667,1132 to 416,283
196.535 >> generating blur kernel...
196.960 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
197.211 >> ...blend complete
197.232 >> recursively dividing mesh...
198.035 >> reallocated 48.0mb triangle buffer
199.388 >> reallocated 72.0mb triangle buffer
199.661 >> conforming triangle apexes...
199.934 mesh_fromimage: created bitree mesh (1582676 nodes)
203.578 >> toolpath_addpath: realloc toolpath[0] buffer: sz_verts[131072] num_verts[64917] (637 verts)
206.043 >> toolpath_addpath: realloc toolpath[0] buffer: sz_verts[262144] num_verts[130583] (615 verts)
214.675 >> toolpath_compilepaths: 0 0.150000 all
214.714 toolpath[0]: generated 34545 moves from 8636 paths and 229378 vertices
214.742 >> simulation depthmap size: 1242x843
214.749 >> r_modelnew 4
214.757 >> job_projgenopsimimage begin...
214.769 >> cam_rasteroperation: rasterizing 8636 paths (229378 verts)
214.797 >> r_end: reallocated 10.5mb model vertex buffer
214.844 created model: 2 draws, 315741 verts
214.910 >> ...rasterization complete
214.922 >> convolving toolpath with tool profile...
216.002 >> ...convolution complete
216.020 >> ...job_projgenopsimimage done
341.532 >> updating simulation...
341.545 >> simulation depthmap size: 1242x843
341.573 >> blending op01 with project sim image... max(1242x843, 1242x843)
341.585 >> img_scalarblend: 1242x843, 1242x843, 1.000000x1.000000
341.738 >> ...blend complete
341.747 >> updating simulation texture...
341.969 >> updating simulation mesh...
341.987 >> preformatting input image... (310x210)
342.011 >> img_rescalescalar: scaling 1242,843 to 310,210
342.063 >> generating blur kernel...
342.319 >> img_scalarblend: 1242x843, 1242x843, 1.000000x1.000000
342.485 >> ...blend complete
342.516 >> recursively dividing mesh...
343.348 >> reallocated 48.0mb triangle buffer
344.053 >> conforming triangle apexes...
344.236 mesh_fromimage: created bitree mesh (1115444 nodes)
344.280 >> r_modelnew 5
344.699 >> r_end: reallocated 44.5mb model vertex buffer
344.853 created model: 1 draws, 1673169 verts
406.487 rescaling project image... (downscale=1)
406.515 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
406.677 >> simulation depthmap size: 1242x843
406.814 creating project texture (1118x760)...
406.823 >> img_rescalescalar: scaling 1667,1132 to 1118,760
407.049 >> generating blur kernel...
407.517 >> img_scalarblend: 1118x760, 1667x1132, 1.491055x1.489474
407.587 >> ...blend complete
407.711 ...project_updatetexture done
407.721 >> adding border to input image...
407.732 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
407.897 >> ...blend complete
407.905 project pixels/inch = 104.2 (scalefactor: 1.000000)
407.917 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
408.067 >> generating blur kernel...
408.236 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
408.370 >> ...blend complete
408.382 >> project_setinput done
408.388 >> generating input image mesh...
408.416 >> preformatting input image... (416x283)
408.422 >> img_rescalescalar: scaling 1667,1132 to 416,283
408.525 >> generating blur kernel...
408.952 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
409.256 >> ...blend complete
409.290 >> recursively dividing mesh...
410.937 >> conforming triangle apexes...
411.323 mesh_fromimage: created bitree mesh (777286 nodes)
411.409 >> r_modelnew 5
411.711 >> r_end: reallocated 44.5mb model vertex buffer
411.817 created model: 1 draws, 1165932 verts
435.859 rescaling project image... (downscale=1)
435.885 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
436.067 >> simulation depthmap size: 1242x843
436.090 creating project texture (1118x760)...
436.099 >> img_rescalescalar: scaling 1667,1132 to 1118,760
436.320 >> generating blur kernel...
436.788 >> img_scalarblend: 1118x760, 1667x1132, 1.491055x1.489474
436.854 >> ...blend complete
436.940 ...project_updatetexture done
436.948 >> adding border to input image...
436.962 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
437.107 >> ...blend complete
437.117 project pixels/inch = 104.2 (scalefactor: 1.000000)
437.132 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
437.283 >> generating blur kernel...
437.456 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
437.577 >> ...blend complete
437.590 >> project_setinput done
437.597 >> generating input image mesh...
437.625 >> preformatting input image... (416x283)
437.637 >> img_rescalescalar: scaling 1667,1132 to 416,283
437.730 >> generating blur kernel...
438.239 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
438.581 >> ...blend complete
438.612 >> recursively dividing mesh...
440.410 >> conforming triangle apexes...
440.750 mesh_fromimage: created bitree mesh (820710 nodes)
440.826 >> r_modelnew 5
441.117 >> r_end: reallocated 44.5mb model vertex buffer
441.195 created model: 1 draws, 1231068 verts
900.694 --- shutting down ---
900.715 >> sys_threadsquit: killing worker threads...
900.729 >> sys_threadsquit: waiting for threads...
900.740 >> thread00 returning...
900.747 >> thread05 returning...
900.754 >> thread02 returning...
900.761 >> thread01 returning...
900.768 >> thread03 returning...
900.780 >> thread04 returning...
900.787 >> thread00 returned
900.793 >> thread01 returned
900.802 >> thread02 returned
900.810 >> thread03 returned
900.818 >> thread04 returned
900.824 >> thread05 returned
900.883 >> gui...
900.890 >> project...
900.898 >> freeing camop[0]
900.919 >> freeing pathmodel[4]
900.937 >> cam...
900.953 >> cam_quit: tool surface images...
900.969 >> freeing tool 1 surface image
900.982 >> cam_quit: remove operation...
900.991 >> mesh...
900.998 >> view...
901.008 >> font...
901.019 >> render...
901.026 >> input...
901.035 >> image...
901.043 >> system...
901.050 >> destroyed addjob mutex
901.059 >> destroyed checkjob mutex
901.066 >> destroyed subsystem mutexes
901.518 >> config...
901.547 ...saved configuration
901.562 0.0mb remains allocated
901.574 --- done ---
901.588 returning to OS...

Developer

Hi Donnie,

The log file looks pretty normal except that everything looks like it took quite a long time, even just starting up, and that doesn't involve a whole lot other than loading some images for the fonts and allocating some memory, which should be rather instantaneous. It almost seems like Windows was not happy at all. I mean, REALLY unhappy, and this wasn't the case with v1.14a? I'm going to put v1.14a up as a complete self-contained zip (instead of an update to v1.13a) which I'm assuming you didn't have problems with, and I want you to test that just so we can make sure it's specific to v1.15a.

Just off the top of my head, do you restart your computer often or just let it sleep when you're not using it (and it hasn't been fully rebooted in a while)? I almost never reboot my machines, unless it starts causing problems (which it does) and I've seen it cause problems like this before once in a blue moon. If you don't usually reboot your machine regularly could I suggest trying that? The log is showing that the simplest actions are taking an unusually extreme amount of time to complete, which has me leaning more toward it being a system-related issue. Perhaps there's some kind of software that is running in the background hogging resources, or Windows is just clogged up from being up for too long without a reboot? I'm somewhat at a loss here. I feel like I've seen something like this before, and it was a cache-related issue but it involved there being many calculations per program frame. In this instance PixelCNC isn't even doing anything and it's going really slow.

The only other thing I can think is that the SDL dll files PixelCNC v1.15a is using are different, which are used for support functions, like loading images and dealing with creating a window and gathering user input. If v1.14a runs fine but v1.15a does not then I think it's safe to say that they are the problem, which leaves my hands somewhat tied if I want to keep SVG support the way it is right now. I could likely find a different route, but ideally SDL would just work the way it's meant to across all Windows systems.

I can only suggest doing a reboot and then running PixelCNC, because I don't see any problems on any of my machines, and I'm running Windows 7, 8.1, and 10 across 5 different machines that don't exhibit the symptoms you're experiencing. I am almost thinking it's something like a program updating itself, maybe even Windows itself, unless it's the SDL dlls. If you're running an antivirus you could try temporarily disabling that and running v1.15a too I suppose.

What are your system specs? CPU, memory, graphics card/GPU, Windows version? This information may help lead us get to the solution.

Go ahead and download v1.14a and unzip that to a separate folder, and see if that still runs fine for you. If it does, try v1.15a again. The goal is to determine if it's a system thing or unique to something that has changed between v1.14a and v1.15a.

Charlie,

Here are the results of my test and the testing procedure:

First I rebooted my machine, running Windows 10.  A MS update was queued and installed when I rebooted.  Then I opened Google Chrome and loaded up some websites that I keep open.

1. Ran 1.15a.  Still very slow.  Things worked and nothing locked up but sometimes I had to wait for responses from menu clicks and cursor movements.  This seems to be from program start till I closed it.

2. Ran 1.14a that you uploaded.  Ran like a champ.  No slowness, no waiting on menu clicks or cursor movements.  This was even true when I loaded my test image and went through the steps to generate the gcode.

3. I deleted the current install of 1.15a, reinstalled 1.14a then loaded 1.15a over the top.  Response was very good till I loaded the test image.  Things slowed down but not as bad as in testing scenario 1.  I was able to utilize the software but had to wait for some menu clicks and cursor movements to catch up.  In a nutshell, this install ran much better than the first 1.15a install but not nearly as fast as 1.14a.

Below is my current log file.  I hope this helps.

Donnie


0.128 
0.140  [ PixelCNC v1.15a - Mar 15 2018 ]
0.147  [ Charles Van Noland - deftware.itch.io/pixelcnc ]
0.157 
0.164 --- initializing ---
0.170 configuration...
0.176 ...loaded configuration
0.181 system...
0.344 4 logical cpus detected
0.348 >> starting thread00...
0.353 >> starting thread01...
0.358 >> starting thread02...
0.363 >> starting thread03...
0.367 >> starting thread04...
0.372 >> starting thread05...
0.376 >> created mutex #0
0.383 >> created mutex #1
0.390 image...
0.397 >> created mutex #2
0.401 >> 0.00mb currently allocated
0.409 input...
0.416 >> 0.00mb currently allocated
0.420 render...
0.427 vertex size: 26
0.439 >> r_begin: allocated 312.0mb vertex buffers
0.452 GL_VENDOR: Intel
0.457 GL_VERSION: 3.0.0 - Build 20.19.15.4549
0.461 >> 312.00mb currently allocated
0.465 font drawing...
1.946 loaded ".\fonts\system.png" (256x128@4)
1.951 >> img_load: .\fonts\system.png = 256x128x4
1.963 ...loaded font "system"
1.970 loaded ".\fonts\fixedsys.png" (256x128@4)
1.974 >> img_load: .\fonts\fixedsys.png = 256x128x4
1.980 ...loaded font "fixedsys"
1.985 loaded ".\fonts\source_code.png" (256x128@4)
1.990 >> img_load: .\fonts\source_code.png = 256x128x4
1.996 ...loaded font "source_code"
2.001 loaded ".\fonts\latha.png" (256x128@4)
2.006 >> img_load: .\fonts\latha.png = 256x128x4
2.013 ...loaded font "latha"
2.021 loaded ".\fonts\latha_big.png" (512x256@4)
2.025 >> img_load: .\fonts\latha_big.png = 512x256x4
2.033 ...loaded font "latha_big"
2.039 loaded ".\fonts\tahoma.png" (256x128@4)
2.044 >> img_load: .\fonts\tahoma.png = 256x128x4
2.051 ...loaded font "tahoma"
2.059 loaded ".\fonts\tahoma_big.png" (512x256@4)
2.064 >> img_load: .\fonts\tahoma_big.png = 512x256x4
2.073 ...loaded font "tahoma_big"
2.078 loaded ".\fonts\verdana.png" (256x128@4)
2.083 >> img_load: .\fonts\verdana.png = 256x128x4
2.089 ...loaded font "verdana"
2.097 loaded ".\fonts\verdana_big.png" (512x256@4)
2.102 >> img_load: .\fonts\verdana_big.png = 512x256x4
2.109 ...loaded font "verdana_big"
2.114 loaded ".\fonts\ocr_a.png" (256x128@4)
2.119 >> img_load: .\fonts\ocr_a.png = 256x128x4
2.126 ...loaded font "ocr_a"
2.136 loaded ".\fonts\ocr_a_big.png" (512x256@4)
2.140 >> img_load: .\fonts\ocr_a_big.png = 512x256x4
2.149 ...loaded font "ocr_a_big"
2.155 loaded ".\fonts\icons.png" (256x128@4)
2.160 >> img_load: .\fonts\icons.png = 256x128x4
2.168 ...loaded font "icons"
2.179 loaded ".\fonts\icons_big.png" (512x256@4)
2.185 >> img_load: .\fonts\icons_big.png = 512x256x4
2.193 ...loaded font "icons_big"
2.199 >> 312.00mb currently allocated
2.205 view...
2.212 >> 312.00mb currently allocated
2.217 mesh...
2.222 >> mesh_init: allocated 0.72KB meshes array
2.227 >> mesh_init: allocated 36.00mb polyline verts array
2.231 >> 348.00mb currently allocated
2.236 toolpath...
2.243 >> 348.00mb currently allocated
2.248 cam...
2.252 >> created mutex #3
2.257 >> 348.00mb currently allocated
2.261 project...
2.266 tools to inch defaults
2.270 >> 348.00mb currently allocated
2.274 gui...
2.279 ...program initialized
2.283  ( 348.0mb currently allocated )
2.288 --- entering main loop ---
2.934 >> unts:1 scale:1.000000,0.250000 subdiv:1.000000
3.328 >> r_modelnew 0
3.336 created model: 1 draws, 400 verts
3.341 >> axis regen 1.000000
3.347 >> r_modelnew 1
3.353 created model: 1 draws, 6 verts
29.213 loaded "...ith flag - charlie.png" (1667x1132@3)
29.219 >> img_load: C:\Users\Donnie\Dropbox\- XCarve -\- images -\eagle with flag - charlie.png = 1667x1132x3
29.251 rescaling project image... (downscale=1)
29.262 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
29.379 >> simulation depthmap size: 1242x843
29.401 creating project texture (1118x760)...
29.408 >> img_rescalescalar: scaling 1667,1132 to 1118,760
29.593 >> generating blur kernel...
30.034 >> img_scalarblend: 1118x760, 1667x1132, 1.491055x1.489474
30.120 >> ...blend complete
30.192 ...project_updatetexture done
30.198 >> adding border to input image...
30.209 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
30.326 >> ...blend complete
30.331 project pixels/inch = 104.2 (scalefactor: 1.000000)
30.341 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
30.454 >> generating blur kernel...
30.592 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
30.699 >> ...blend complete
30.713 >> r_modelnew 2
30.719 >> generating input image mesh...
30.724 created model: 6 draws, 24 verts
30.729 >> project_setinput done
30.734 >> preformatting input image... (416x283)
30.746 >> img_rescalescalar: scaling 1667,1132 to 416,283
30.796 >> generating blur kernel...
31.039 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
31.193 >> ...blend complete
31.210 >> recursively dividing mesh...
31.788 >> conforming triangle apexes...
31.869 mesh_fromimage: created bitree mesh (820710 nodes)
31.906 >> r_modelnew 3
32.179 >> r_end: reallocated 44.5mb model vertex buffer
32.327 created model: 1 draws, 1231068 verts
37.917 rescaling project image... (downscale=1)
37.930 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
38.046 >> simulation depthmap size: 1242x843
38.067 creating project texture (1118x760)...
38.076 >> img_rescalescalar: scaling 1667,1132 to 1118,760
38.261 >> generating blur kernel...
38.675 >> img_scalarblend: 1118x760, 1667x1132, 1.491055x1.489474
38.725 >> ...blend complete
38.789 ...project_updatetexture done
38.795 >> adding border to input image...
38.807 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
38.923 >> ...blend complete
38.931 project pixels/inch = 104.2 (scalefactor: 1.000000)
38.941 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
39.079 >> generating blur kernel...
39.247 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
39.347 >> ...blend complete
39.360 >> project_setinput done
39.366 >> generating input image mesh...
39.383 >> preformatting input image... (416x283)
39.389 >> img_rescalescalar: scaling 1667,1132 to 416,283
39.411 >> generating blur kernel...
39.714 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
39.874 >> ...blend complete
39.883 >> recursively dividing mesh...
40.464 >> conforming triangle apexes...
40.546 mesh_fromimage: created bitree mesh (820710 nodes)
40.572 >> r_modelnew 3
40.816 >> r_end: reallocated 44.5mb model vertex buffer
40.866 created model: 1 draws, 1231068 verts
79.944  [ 1 ] = T1 F60 S16000 D2 SO0.030000 ZDOC0.063000 ZBOT0.700000 ZTOP0.001000 SAFE0.150000 AUX[ 0.000000 0.000000 0.000000 ]
79.953 - - - - - - - - - CAMOP_PARALLEL - - - - - - - - -
79.959 >> convolving input image with tool[1].surface...
79.965 >> generating blur kernel...
83.123 >> ...done (2.97s)
83.151 >> preformatting input image... (416x283)
83.158 >> img_rescalescalar: scaling 1667,1132 to 416,283
83.181 >> generating blur kernel...
83.426 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
83.557 >> ...blend complete
83.570 >> recursively dividing mesh...
84.043 >> reallocated 48.0mb triangle buffer
84.796 >> reallocated 72.0mb triangle buffer
84.935 >> conforming triangle apexes...
85.074 mesh_fromimage: created bitree mesh (1582676 nodes)
86.982 >> toolpath_addpath: realloc toolpath[0] buffer: sz_verts[131072] num_verts[64917] (637 verts)
88.258 >> toolpath_addpath: realloc toolpath[0] buffer: sz_verts[262144] num_verts[130583] (615 verts)
92.602 >> toolpath_compilepaths: 0 0.150000 all
92.626 toolpath[0]: generated 34545 moves from 8636 paths and 229378 vertices
92.654 >> simulation depthmap size: 1242x843
92.660 >> r_modelnew 4
92.665 >> job_projgenopsimimage begin...
92.675 >> cam_rasteroperation: rasterizing 8636 paths (229378 verts)
92.687 >> r_end: reallocated 10.5mb model vertex buffer
92.730 created model: 2 draws, 315741 verts
92.767 >> ...rasterization complete
92.773 >> convolving toolpath with tool profile...
93.608 >> ...convolution complete
93.616 >> ...job_projgenopsimimage done
114.144 >> updating simulation...
114.150 >> simulation depthmap size: 1242x843
114.161 >> blending op01 with project sim image... max(1242x843, 1242x843)
114.167 >> img_scalarblend: 1242x843, 1242x843, 1.000000x1.000000
114.232 >> ...blend complete
114.238 >> updating simulation texture...
114.327 >> updating simulation mesh...
114.335 >> preformatting input image... (310x210)
114.353 >> img_rescalescalar: scaling 1242,843 to 310,210
114.371 >> generating blur kernel...
114.477 >> img_scalarblend: 1242x843, 1242x843, 1.000000x1.000000
114.535 >> ...blend complete
114.559 >> recursively dividing mesh...
114.856 >> reallocated 48.0mb triangle buffer
115.117 >> conforming triangle apexes...
115.187 mesh_fromimage: created bitree mesh (1115444 nodes)
115.392 >> r_modelnew 5
115.716 >> r_end: reallocated 44.5mb model vertex buffer
116.019 created model: 1 draws, 1673169 verts
116.992 >> updating simulation...
117.002 >> simulation depthmap size: 1242x843
117.024 >> blending op01 with project sim image... max(1242x843, 1242x843)
117.029 >> img_scalarblend: 1242x843, 1242x843, 1.000000x1.000000
117.097 >> ...blend complete
117.103 >> updating simulation texture...
117.201 >> updating simulation mesh...
117.207 >> preformatting input image... (310x210)
117.213 >> img_rescalescalar: scaling 1242,843 to 310,210
117.227 >> generating blur kernel...
117.398 >> img_scalarblend: 1242x843, 1242x843, 1.000000x1.000000
117.458 >> ...blend complete
117.464 >> recursively dividing mesh...
117.790 >> reallocated 48.0mb triangle buffer
118.056 >> conforming triangle apexes...
118.133 mesh_fromimage: created bitree mesh (1115444 nodes)
118.265 >> r_modelnew 5
118.584 >> r_end: reallocated 44.5mb model vertex buffer
118.765 created model: 1 draws, 1673169 verts
232.069 --- shutting down ---
232.082 >> sys_threadsquit: killing worker threads...
232.088 >> sys_threadsquit: waiting for threads...
232.094 >> thread03 returning...
232.100 >> thread02 returning...
232.106 >> thread01 returning...
232.111 >> thread00 returning...
232.117 >> thread05 returning...
232.123 >> thread04 returning...
232.128 >> thread00 returned
232.133 >> thread01 returned
232.138 >> thread02 returned
232.143 >> thread03 returned
232.148 >> thread04 returned
232.153 >> thread05 returned
232.210 >> gui...
232.216 >> project...
232.222 >> freeing camop[0]
232.236 >> freeing pathmodel[4]
232.248 >> cam...
232.262 >> cam_quit: tool surface images...
232.268 >> freeing tool 1 surface image
232.273 >> cam_quit: remove operation...
232.278 >> mesh...
232.284 >> view...
232.290 >> font...
232.295 >> render...
232.301 >> input...
232.306 >> image...
232.311 >> system...
232.317 >> destroyed addjob mutex
232.322 >> destroyed checkjob mutex
232.327 >> destroyed subsystem mutexes
232.568 >> config...
232.589 ...saved configuration
232.599 0.0mb remains allocated
232.605 --- done ---
232.611 returning to OS...

Developer

Okay, now one thing I want to try is running the v1.15a exe with the v1.14a DLL files. Just unzip the v1.15a into a new folder and then copy all the files ending in .DLL from v1.14a to the v1.15a folder, and then run that. Testing that on my system doesn't cause any problems, but it will disable SVG support.

I’ll try that and let you know.  I have a question...When you say β€œSVG support”, what does that mean?  Importing SVG / Exporting SVG / Something else?

Thanks,

Donnie

Developer

SVG support is the ability to import SVG image files.

Developer

I've got some ideas for some sweeping changes that will be made if you observe that replacing the v1.15a DLLs with the v1.14a ones resolves the slowness issues. Some other people are having serious problems with v1.15a as well: crashing when loading images, etc.. Going through the code with a fine-toothed-comb comparing everything I changed between v1.14a and v1.15a I just don't see anything that would cause the severe slowdown that you're seeing, nothing was changed that I would imagine would affect it like you're seeing - except for updating the SDL DLL files to the latest versions.

It's still spawning the same number of threads for doing background work and allocating even less memory than before - but we're seeing the slowdown globally affecting everything. What should take a fraction of a millisecond is taking multiple milliseconds, which is pretty crazy. I can only imagine it has something to do with the SDL DLLs and how they're spawning the window. I'm thinking I'm just going to strip all those dependencies out and hand-write the Win32 code to do everything super raw, and then use an alternative image loading library that some people I know are suggesting. It's a bunch of work I wasn't planning on doing, but at least it would eliminate the black boxes.

Developer

Actually, if you find that the old DLLs fix all the performance problems then I'll probably just revert back to using those and get SVG support in there another way, which is somewhat roundabout, but it would save a lot of extra work that would otherwise not really be necessary.

Charlie,

Here are my testing results.  I overlayed the 1.15a DLL files with the 1.14a DLL files.  It ran much better but still not quite as fast as 1.14a by itself.  It was close though.  The slowness seemed to come and go when dealing with the toolpath screen.  When not on the toolpath screen the hybrid install seems to run very well.  Also when I turned off the toolpath view (the eye icon).  Things sped up.

One other item, after a few times of turning the toolpath viewing on/off, the eye icon would turn green but the toolpaths would not go away.  No matter how many times I clicked it or how long I waited between clicks, the toolpaths would persist.

Overall, I'd say that the hybrid install ran within 85% of the 1.14a install.

Here is my log for your viewing pleasure.

Donnie


0.155 
0.167  [ PixelCNC v1.15a - Mar 15 2018 ]
0.176  [ Charles Van Noland - deftware.itch.io/pixelcnc ]
0.185 
0.192 --- initializing ---
0.209 configuration...
0.217 ...loaded configuration
0.227 system...
0.533 4 logical cpus detected
0.547 >> starting thread00...
0.552 >> starting thread01...
0.562 >> starting thread02...
0.570 >> starting thread03...
0.575 >> starting thread04...
0.580 >> starting thread05...
0.585 >> created mutex #0
0.593 >> created mutex #1
0.597 image...
0.602 >> created mutex #2
0.606 >> 0.00mb currently allocated
0.610 input...
0.618 >> 0.00mb currently allocated
0.623 render...
0.629 vertex size: 26
0.641 >> r_begin: allocated 312.0mb vertex buffers
0.649 GL_VENDOR: Intel
0.656 GL_VERSION: 3.0.0 - Build 20.19.15.4549
0.660 >> 312.00mb currently allocated
0.666 font drawing...
1.505 loaded ".\fonts\system.png" (256x128@4)
1.510 >> img_load: .\fonts\system.png = 256x128x4
1.520 ...loaded font "system"
1.527 loaded ".\fonts\fixedsys.png" (256x128@4)
1.532 >> img_load: .\fonts\fixedsys.png = 256x128x4
1.541 ...loaded font "fixedsys"
1.548 loaded ".\fonts\source_code.png" (256x128@4)
1.552 >> img_load: .\fonts\source_code.png = 256x128x4
1.561 ...loaded font "source_code"
1.568 loaded ".\fonts\latha.png" (256x128@4)
1.574 >> img_load: .\fonts\latha.png = 256x128x4
1.583 ...loaded font "latha"
1.592 loaded ".\fonts\latha_big.png" (512x256@4)
1.597 >> img_load: .\fonts\latha_big.png = 512x256x4
1.609 ...loaded font "latha_big"
1.643 loaded ".\fonts\tahoma.png" (256x128@4)
1.647 >> img_load: .\fonts\tahoma.png = 256x128x4
1.658 ...loaded font "tahoma"
1.670 loaded ".\fonts\tahoma_big.png" (512x256@4)
1.674 >> img_load: .\fonts\tahoma_big.png = 512x256x4
1.686 ...loaded font "tahoma_big"
1.694 loaded ".\fonts\verdana.png" (256x128@4)
1.699 >> img_load: .\fonts\verdana.png = 256x128x4
1.711 ...loaded font "verdana"
1.729 loaded ".\fonts\verdana_big.png" (512x256@4)
1.734 >> img_load: .\fonts\verdana_big.png = 512x256x4
1.745 ...loaded font "verdana_big"
1.752 loaded ".\fonts\ocr_a.png" (256x128@4)
1.757 >> img_load: .\fonts\ocr_a.png = 256x128x4
1.770 ...loaded font "ocr_a"
1.787 loaded ".\fonts\ocr_a_big.png" (512x256@4)
1.792 >> img_load: .\fonts\ocr_a_big.png = 512x256x4
1.803 ...loaded font "ocr_a_big"
1.817 loaded ".\fonts\icons.png" (256x128@4)
1.822 >> img_load: .\fonts\icons.png = 256x128x4
1.832 ...loaded font "icons"
1.847 loaded ".\fonts\icons_big.png" (512x256@4)
1.851 >> img_load: .\fonts\icons_big.png = 512x256x4
1.861 ...loaded font "icons_big"
1.866 >> 312.00mb currently allocated
1.870 view...
1.875 >> 312.00mb currently allocated
1.879 mesh...
1.884 >> mesh_init: allocated 0.72KB meshes array
1.889 >> mesh_init: allocated 36.00mb polyline verts array
1.893 >> 348.00mb currently allocated
1.898 toolpath...
1.906 >> 348.00mb currently allocated
1.910 cam...
1.915 >> created mutex #3
1.920 >> 348.00mb currently allocated
1.924 project...
1.929 tools to inch defaults
1.934 >> 348.00mb currently allocated
1.938 gui...
1.943 ...program initialized
1.948  ( 348.0mb currently allocated )
1.954 --- entering main loop ---
2.614 >> unts:1 scale:1.000000,0.250000 subdiv:1.000000
2.622 >> r_modelnew 0
2.635 created model: 1 draws, 400 verts
2.640 >> axis regen 1.000000
2.645 >> r_modelnew 1
2.650 created model: 1 draws, 6 verts
16.115 loaded "...ith flag - charlie.png" (1667x1132@3)
16.125 >> img_load: C:\Users\Donnie\Dropbox\- XCarve -\- images -\eagle with flag - charlie.png = 1667x1132x3
16.169 rescaling project image... (downscale=1)
16.182 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
16.346 >> simulation depthmap size: 1242x843
16.375 creating project texture (1118x760)...
16.384 >> img_rescalescalar: scaling 1667,1132 to 1118,760
16.581 >> generating blur kernel...
17.046 >> img_scalarblend: 1118x760, 1667x1132, 1.491055x1.489474
17.142 >> ...blend complete
17.233 ...project_updatetexture done
17.245 >> adding border to input image...
17.258 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
17.377 >> ...blend complete
17.383 project pixels/inch = 104.2 (scalefactor: 1.000000)
17.394 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
17.519 >> generating blur kernel...
17.699 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
17.812 >> ...blend complete
17.824 >> r_modelnew 2
17.829 >> generating input image mesh...
17.836 created model: 6 draws, 24 verts
17.840 >> project_setinput done
17.846 >> preformatting input image... (416x283)
17.859 >> img_rescalescalar: scaling 1667,1132 to 416,283
17.897 >> generating blur kernel...
18.152 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
18.313 >> ...blend complete
18.344 >> recursively dividing mesh...
18.970 >> conforming triangle apexes...
19.070 mesh_fromimage: created bitree mesh (820710 nodes)
19.113 >> r_modelnew 3
19.372 >> r_end: reallocated 44.5mb model vertex buffer
19.514 created model: 1 draws, 1231068 verts
28.434 rescaling project image... (downscale=1)
28.449 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
28.567 >> simulation depthmap size: 1242x843
28.587 creating project texture (1118x760)...
28.595 >> img_rescalescalar: scaling 1667,1132 to 1118,760
28.779 >> generating blur kernel...
29.141 >> img_scalarblend: 1118x760, 1667x1132, 1.491055x1.489474
29.195 >> ...blend complete
29.262 ...project_updatetexture done
29.271 >> adding border to input image...
29.282 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
29.399 >> ...blend complete
29.406 project pixels/inch = 104.2 (scalefactor: 1.000000)
29.417 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
29.532 >> generating blur kernel...
29.700 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
29.801 >> ...blend complete
29.814 >> project_setinput done
29.819 >> generating input image mesh...
29.838 >> preformatting input image... (416x283)
29.845 >> img_rescalescalar: scaling 1667,1132 to 416,283
29.871 >> generating blur kernel...
30.110 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
30.264 >> ...blend complete
30.270 >> recursively dividing mesh...
30.928 >> conforming triangle apexes...
31.024 mesh_fromimage: created bitree mesh (820710 nodes)
31.083 >> r_modelnew 3
31.340 >> r_end: reallocated 44.5mb model vertex buffer
31.383 created model: 1 draws, 1231068 verts
60.769  [ 1 ] = T1 F60 S16000 D2 SO0.030000 ZDOC0.063000 ZBOT0.700000 ZTOP0.001000 SAFE0.150000 AUX[ 0.000000 0.000000 0.000000 ]
60.786 - - - - - - - - - CAMOP_PARALLEL - - - - - - - - -
60.792 >> convolving input image with tool[1].surface...
60.804 >> generating blur kernel...
63.892 >> ...done (2.90s)
63.926 >> preformatting input image... (416x283)
63.932 >> img_rescalescalar: scaling 1667,1132 to 416,283
63.962 >> generating blur kernel...
64.198 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
64.337 >> ...blend complete
64.350 >> recursively dividing mesh...
64.819 >> reallocated 48.0mb triangle buffer
65.552 >> reallocated 72.0mb triangle buffer
65.710 >> conforming triangle apexes...
65.836 mesh_fromimage: created bitree mesh (1582676 nodes)
67.750 >> toolpath_addpath: realloc toolpath[0] buffer: sz_verts[131072] num_verts[64917] (637 verts)
69.038 >> toolpath_addpath: realloc toolpath[0] buffer: sz_verts[262144] num_verts[130583] (615 verts)
73.383 >> toolpath_compilepaths: 0 0.150000 all
73.407 toolpath[0]: generated 34545 moves from 8636 paths and 229378 vertices
73.448 >> simulation depthmap size: 1242x843
73.455 >> r_modelnew 4
73.464 >> job_projgenopsimimage begin...
73.474 >> cam_rasteroperation: rasterizing 8636 paths (229378 verts)
73.484 >> r_end: reallocated 10.5mb model vertex buffer
73.523 created model: 2 draws, 315741 verts
73.579 >> ...rasterization complete
73.602 >> convolving toolpath with tool profile...
74.370 >> ...convolution complete
74.379 >> ...job_projgenopsimimage done
110.061 >> updating simulation...
110.086 >> simulation depthmap size: 1242x843
110.099 >> blending op01 with project sim image... max(1242x843, 1242x843)
110.105 >> img_scalarblend: 1242x843, 1242x843, 1.000000x1.000000
110.172 >> ...blend complete
110.178 >> updating simulation texture...
110.272 >> updating simulation mesh...
110.278 >> preformatting input image... (310x210)
110.285 >> img_rescalescalar: scaling 1242,843 to 310,210
110.300 >> generating blur kernel...
110.406 >> img_scalarblend: 1242x843, 1242x843, 1.000000x1.000000
110.476 >> ...blend complete
110.484 >> recursively dividing mesh...
110.779 >> reallocated 48.0mb triangle buffer
111.053 >> conforming triangle apexes...
111.128 mesh_fromimage: created bitree mesh (1115444 nodes)
111.288 >> r_modelnew 5
111.623 >> r_end: reallocated 44.5mb model vertex buffer
111.794 created model: 1 draws, 1673169 verts
115.042 >> updating simulation...
115.050 >> simulation depthmap size: 1242x843
115.075 >> blending op01 with project sim image... max(1242x843, 1242x843)
115.080 >> img_scalarblend: 1242x843, 1242x843, 1.000000x1.000000
115.149 >> ...blend complete
115.154 >> updating simulation texture...
115.253 >> updating simulation mesh...
115.259 >> preformatting input image... (310x210)
115.266 >> img_rescalescalar: scaling 1242,843 to 310,210
115.282 >> generating blur kernel...
115.387 >> img_scalarblend: 1242x843, 1242x843, 1.000000x1.000000
115.471 >> ...blend complete
115.478 >> recursively dividing mesh...
115.804 >> reallocated 48.0mb triangle buffer
116.069 >> conforming triangle apexes...
116.130 mesh_fromimage: created bitree mesh (1115444 nodes)
116.160 >> r_modelnew 5
116.474 >> r_end: reallocated 44.5mb model vertex buffer
116.640 created model: 1 draws, 1673169 verts
236.627 rescaling project image... (downscale=1)
236.642 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
236.766 >> simulation depthmap size: 1242x843
236.858 creating project texture (1118x760)...
236.867 >> img_rescalescalar: scaling 1667,1132 to 1118,760
237.069 >> generating blur kernel...
237.432 >> img_scalarblend: 1118x760, 1667x1132, 1.491055x1.489474
237.480 >> ...blend complete
237.555 ...project_updatetexture done
237.562 >> adding border to input image...
237.573 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
237.691 >> ...blend complete
237.699 project pixels/inch = 104.2 (scalefactor: 1.000000)
237.710 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
237.827 >> generating blur kernel...
237.994 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
238.096 >> ...blend complete
238.108 >> project_setinput done
238.115 >> generating input image mesh...
238.136 >> preformatting input image... (416x283)
238.142 >> img_rescalescalar: scaling 1667,1132 to 416,283
238.176 >> generating blur kernel...
238.475 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
238.641 >> ...blend complete
238.664 >> recursively dividing mesh...
239.371 >> conforming triangle apexes...
239.471 mesh_fromimage: created bitree mesh (777286 nodes)
239.523 >> r_modelnew 5
239.751 >> r_end: reallocated 44.5mb model vertex buffer
239.825 created model: 1 draws, 1165932 verts
313.941 >> freeing camop[0]
313.959 >> freeing pathmodel[4]
313.976  [ 1 ] = T1 F60 S16000 D2 SO0.030000 ZDOC0.063000 ZBOT0.700000 ZTOP0.001000 SAFE0.150000 AUX[ 0.000000 0.000000 0.000000 ]
313.991 - - - - - - - - - CAMOP_PARALLEL - - - - - - - - -
314.009 >> convolving input image with tool[1].surface...
314.017 >> generating blur kernel...
318.334 >> ...done (4.12s)
318.361 >> preformatting input image... (416x283)
318.378 >> img_rescalescalar: scaling 1667,1132 to 416,283
318.434 >> generating blur kernel...
318.796 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
319.013 >> ...blend complete
319.042 >> recursively dividing mesh...
319.716 >> reallocated 48.0mb triangle buffer
320.795 >> conforming triangle apexes...
321.032 mesh_fromimage: created bitree mesh (1515180 nodes)
324.379 >> toolpath_addpath: realloc toolpath[0] buffer: sz_verts[131072] num_verts[64933] (719 verts)
326.589 >> toolpath_addpath: realloc toolpath[0] buffer: sz_verts[262144] num_verts[130495] (687 verts)
335.888 >> toolpath_compilepaths: 0 0.150000 all
335.942 toolpath[0]: generated 32485 moves from 8121 paths and 217626 vertices
336.038 >> simulation depthmap size: 1242x843
336.051 >> job_projgenopsimimage begin...
336.080 >> cam_rasteroperation: rasterizing 8121 paths (217626 verts)
336.204 >> ...rasterization complete
336.231 >> convolving toolpath with tool profile...
337.741 >> ...convolution complete
337.773 >> ...job_projgenopsimimage done
341.381 >> r_modelnew 6
341.416 >> r_end: reallocated 10.5mb model vertex buffer
341.454 created model: 2 draws, 298839 verts
789.361 --- shutting down ---
789.371 >> sys_threadsquit: killing worker threads...
789.377 >> sys_threadsquit: waiting for threads...
789.385 >> thread02 returning...
789.391 >> thread00 returning...
789.397 >> thread04 returning...
789.403 >> thread05 returning...
789.409 >> thread03 returning...
789.415 >> thread01 returning...
789.421 >> thread00 returned
789.427 >> thread01 returned
789.433 >> thread02 returned
789.439 >> thread03 returned
789.445 >> thread04 returned
789.451 >> thread05 returned
789.506 >> gui...
789.512 >> project...
789.517 >> freeing camop[0]
789.529 >> freeing pathmodel[6]
789.539 >> cam...
789.546 >> cam_quit: tool surface images...
789.552 >> freeing tool 1 surface image
789.558 >> cam_quit: remove operation...
789.564 >> mesh...
789.570 >> view...
789.578 >> font...
789.591 >> render...
789.596 >> input...
789.602 >> image...
789.607 >> system...
789.612 >> destroyed addjob mutex
789.618 >> destroyed checkjob mutex
789.624 >> destroyed subsystem mutexes
789.917 >> config...
789.938 ...saved configuration
789.945 0.0mb remains allocated
789.959 --- done ---
789.972 returning to OS...

Developer

Thanks Donnie. I made a new build that uses some different compiling options and a sort of in-between version of SDL that still has SVG loading capability as a sort of last resort before I pull out the big guns. I was hoping you could check it out, it's labeled v1.16a on the downloads section. I'm still not entirely sure what's going on here, other than it sounds like something is severely slowing everything down and not giving very much CPU to the main PixelCNC thread that's running, which is very strange.

Was the toolpath that slowed down rendering very complex? Or was it pretty simple? Did toolpaths of equal complexity cause a slowdown in previous versions? The toolpath visibility button sticking is also extremely strange, as it's constantly refreshing the cursor position (from SDL, so maybe that's the culprit) and doing a simple check to see whether or not the cursor is over each rectangle for each button/editbox/checkbox/menu item on the screen, where it hilights green if it is and otherwise defaults. That information isn't even stored in memory, it's re-generated each frame, so I'm at a bit of a loss other than it being SDL, which could be remedied by completely removing it from PixelCNC entirely and just going with the raw method. I haven't seen problems like this with SDL in the past, but that was also before SDL was as big and complex as it is now, so maybe the devs have become somewhat overburdened with keeping compatibility and reliability up to snuff.

Another thing I'm looking at right now is some better debugging systems I can build into PixelCNC to make it easier to track down and determine issues on end-users' machines without requiring them to get their hands dirty, we'll see what comes of that. Anyway, let me know how v1.16a works out when you get a chance, and thanks for taking the time helping me to figure these issues out.

(+1)

Charlie,

I downloaded and ran 1.16a.  It works like a charm.  No errors, no slowdown, no problems with the toolpath visibility button.  I clicked it on and off many times.  1.16a ran as fast or better than 1.14a.

Thanks,

Donnie

Developer

Fantastic, what a relief! I'm going to post a tutorial in the morning, I have some tutorial ideas sketched out for mostly just demonstrating the basics of using individual operations and then also a few things that employ a few operations used in combination. I'm all ears to suggestions if you are curious how to go about doing anything in particular.