-
-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Most edits cause printer stall or corrupted data on Phrozen Sonic Mini 8K S, *.PRZ #810
Comments
This is your first time submitting an issue with UVtools 🥳Please review your issue and ensure that the submit template was followed, the information is complete, and not related to any other open issue. It will be reviewed shortly. Debugging is very important and make the program better. Thanks for contributing and making the software better! 🙌 |
I have review the code and RLE by hand and I conclude that encode/decode of RLE is correct. However, I notice that original file don't make use of the pixel difference in gradients, making each new pixel a That's why UVtools open the two files correctly, as it supports all documented compressions of the file format. UVtools uses Your first pixels are: 156 and 162, diff is: 6, which will use As result of this compression each RLE is smaller. To prove that you can strip antialias from file using UVtools, or use a gradient in wider increments (>15) to not trigger the |
I just ran a few tests. It seems like they're somewhat consistent with your theory, but with some discrepancies. Test 1: Stripped antialiasing ✔ Is there any way for me to manually force a file to only use 01 sequences to see if that fixes the issue on a problematic file? Here are the corresponding PRZ files for the above tests |
From all that tests, only test 4 run out of my expectation, however the difference is inverse, I have to check the RLE.
No, just by changing code. But I resaved the modified file with the alteration (results in same datasize as original), see if prints: causesError_01.zip |
I re-ran 6 and 7 constrained to 40x40 rectangles and they now behave as expected. Test 6.1 passes and Test 7.1 fails. Since this is present on the most up-to-date firmware for this printer, but it's against the spec, would you fold this into UVtool's PRZ export, or would 8K S owners need to find another way around it? |
Test this file: causesError_10.zip I improved the |
I also provide the temporary solution, replace this file on UVtools instalation directory, and it will force |
causesError_10 does not fix the problem on the printer, as you suspected. However, the temporary solution does seem to work! I appreciate you sharing it, that's super helpful. |
This may also be the cause of #776 |
As further note Test 4 also did work because gradient compression is limited to stripes up to 255px, and your grey square have a stripe larger than 400px, where |
Should I use this DLL on a Mac with the M3 Max chip? |
It should work |
Thank you, wanted to ask before I tried it :) |
- **File formats:** - (Add) Emake3D Galaxy 1 (QDT) file format and PrusaSlicer printer profile - (Add) `ManufacturingProcess` property to get the manufacturing process used by the file/printer combination - (Add) `SupportAntiAliasing` property to get if the file supports antialiasing usage (grey pixels) - (Improvement) Goo: On encode image do not use gradient compression when going from grey to black or white - (Change) PZR: Disable gradient compression for this file format as it corrupt layer for Phrozen Sonic Mini 8K S (#776, #810, #814) - (Fix) Thumbnail text generation and for partial open files - (Add) Title bar: Display the loaded file size and re-arrange the last operation run time to the right - (Improvement) Re-arrange some items on `File` and `Help` menu - (Fix) Layer actions - Import layer(s): Unable to process image files (#815) - (Fix) PCB Exposure: Draw circles using ellipses in order to use non-square pixels (#822) - (Fix) PrusaSlicer Printer: "Elegoo Mars 4" is wrongly named, renamed to "Elegoo Mars 4 DLP" and added the corresponding "Elegoo Mars 4" - (Upgrade) .NET from 6.0.25 to 6.0.26 - (Upgrade) AvaloniaUI from 11.0.6 to 11.0.7 (Fixes #803, #812)
Fixed |
System
Printer and Slicer
Description of the bug
Many (but not all) edit operations will cause files to often show a glitched out first layer when printing, but always followed by an error saying "Error! Printing file data exception!".
Things that cause this (not complete list):
Things that don't cause this error
Attached are two files that show the error in fileExamples.zip. originalFile.prz is the file straight out of the slicer and it prints without error. causesError.prz was made by importing originalFile.prz into UVtools, going into Pixel Editor, adding a 255 white rectangle to a spot that was already fully 255 white, applying, and then saving the file as a PRZ. They seem identical, but causesError.prz renders as a big smear for the first layer and then the print fails during the layer transition.
How to reproduce
Files
fileExamples.zip
The text was updated successfully, but these errors were encountered: