Closed dkmaj89 closed 5 months ago
Hey @dkmaj89, I can't seem to recreate this issue, I have a few questions which may help track it down.
Thanks :)
Did this happen to you in v1.4.2?
No, 1.4.2 works fine
Is this happening with any PFM?
All PFM crash
What resolution is your input image?
- image 480x640 works only on low quality (pen: 0.4)
- image 1463x1463 works only on original size. Changing to A3 (pen: 0.4) with rescale image to 1034x1463 (high quality) or 742x1050 (low quality) both crash
- image 2700x3600 on original size works on default/cmyk but crash on color match
- i drop pens to 2 and it didn't help
How much RAM do you have?
32GB
Program crash exacly on information example: "Plotting Image (Sketch Lines PFM) - Comparing Pen 1/5 - 100 Black"
Can you make it crash once more and then close the application and send your log files "prev_log.txt" and "latest_log.txt"
You can find them by going to Help / Open Configs Folder.
I noticed that prev_log hasn't been updated for a long time. In this message You can find lastest_log from crash latest_log.txt
@dkmaj89 Try the new version, there have been some Colour Match fixes, hopefully they'll fix your issue
Tested didn't help. Normaly i work on windows version but for test i run java version. After test on jar file I get some error that may help:
Command: java -jar DrawingBotV3-Premium-1.5.1-beta-all.jar >out.txt 2>err.txt (files in attachment)
Also I find out something that mey be helpful on jar version. After changing "original size" to any other and just clicking in "rescale to pen width (mm)" ploting size shows max int value 2,147,483,647 x 2,147,483,647 no matter if the image is loaded or not. (file err2.txt)
I have installed: Java version 8 update 351 JDK 17.0.5 x64
That may be the issue only Java 17+ is supported, Java 8 is not supported anymore.
At https://www.java.com/pl/download/ java 8 update 351 is the newest version
I generally recommend not running from the jar but running form the .exe or .zip instead, as they have the correct Java 17 built in. The old java website doesn't have the latest downloads you need Oracle.com.
https://www.oracle.com/uk/java/technologies/downloads/#java17
Would you mind screen shooting your Drawing Area settings panel when the plotting size is 2,147,483,647 x 2,147,483,647 - this could be a Java Version Issue too but may be something to do with the values inputted there.
INFO: Notification: Loaded Image File : d:\Programy\dbv3_1.5.1-beta\d7e564116712b8e192654e5e3a27.jpeg
gru 17, 2022 3:06:44 PM drawingbot.utils.DBTask setException
SEVERE: TASK FAILED
java.lang.IllegalArgumentException: Dimensions (width=2147483647 height=2147483647) are too large
at java.desktop/java.awt.image.SampleModel.
How are you running it now with the .exe or .zip?
I find out solution. I have i9-10850k that have 20 cores. I reduce cores using by java using command:
-XX:ActiveProcessorCount=16
And everything works perfect. All between 1 and 16 cores works fine. Setting 17 and more give crash.
Solution for other:
add to file app/DrawingBotV3-Premium.cfg
in section [JavaOptions]
line:
java-options=-XX:ActiveProcessorCount=16
If you recive error reduce 16
to your max cores or lower
I have a similar fault. Version 1.5.3. Java version = 1.8.0_361 (installed today) I import an image. Choose the pen set. Choose the colour match option. Press start. DB shows a quick message like '... comparing pen...' and then it crashes.
Did You try adding that java-options=-XX:ActiveProcessorCount=16
line to your config file?
File app/DrawingBotV3-Premium.cfg
should look like this:
[Application]
app.classpath=$APPDIR\DrawingBotV3-Premium-1.5.3-stable-all.jar
app.mainclass=drawingbot.LauncherPremium
[JavaOptions]
java-options=-Djpackage.app-version=1.5.3
java-options=-Dprism.verbose=true
java-options=-Dprism.maxvram=1G
java-options=-Xmx16G
java-options=-Dprism.maxTextureSize=0
java-options=-XX:ActiveProcessorCount=16
change 16
with yor max cores
Thanks for your response. I tried reducing the ActiveProcessorCount to 12, 8 and 4; didn't work. I tried starting it Java and exported the err.txt file as suggested above. err.txt Also I include a screen grab.
https://user-images.githubusercontent.com/1184790/226595981-119f7cdb-74f9-4771-a841-3684fd91f9c3.mp4
Hope this helps.
@peckerdunn What GPU & CPU do you have? Do you encounter this issue when not using colour match?
Everything else seems to work fine. Here's what I got off the sys info OS Name Microsoft Windows 10 Pro Version 10.0.19045 Build 19045 Other OS Description Not Available OS Manufacturer Microsoft Corporation System Type x64-based PC System SKU SKU Processor AMD Ryzen 5 3600 6-Core Processor, 3600 Mhz, 6 Core(s), 12 Logical Processor(s) BIOS Version/Date American Megatrends Inc. 4602, 17/08/2021 SMBIOS Version 3.2
@peckerdunn How are you running the application with .zip (.exe), .msi or .jar?
With the .exe "C:\Program Files\DrawingBotV3-Premium\DrawingBotV3-Premium.exe" according to Windows.
Okay, hmm hard to know what's going on for sure. I will look into properly and investigate soon
Many thanks. I'll keep playing around with it in the meantime,
Works fine with DrawingBotV3-Premium-1.4.2-stable-win.zip Extracted and used the .exe Didn't work with DB 1.5.3 from the zip. Hope this helps
@peckerdunn Have you encountered this issue with the latest versions?
Hi. I haven't tried it. I downloaded the latest beta and I'll give it a go in the morning.Thanks for your email. On 18 Nov 2023 14:38, Ollie Lansdell @.***> wrote: @peckerdunn Have you encountered this issue with the latest versions?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
In the latest versions it's possible to bypass OpenCL Acceleration / select the preferred OpenCL Device, if people into this issue in the future, try disabling "Open CL Hardware Acceleration" or try another device.
Describe the bug Program crash after selecting drawing area to other than original size and selected color match.
To Reproduce Steps to reproduce the behavior:
DrawingBotV3 Version Premium v1.5.0-beta
Operating System Windows 10
hs_err_pid4872.log