Skip to content
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

"STL/OBJ file loading takes too long on Linux" Affected: 5.3.0 to 5.7.2 #19186

Closed
kafufafu opened this issue Jun 5, 2024 · 7 comments · May be fixed by #19025
Closed

"STL/OBJ file loading takes too long on Linux" Affected: 5.3.0 to 5.7.2 #19186

kafufafu opened this issue Jun 5, 2024 · 7 comments · May be fixed by #19025
Labels
Status: Triage This ticket requires input from someone of the Cura team Type: Bug The code does not produce the intended behavior.

Comments

@kafufafu
Copy link

kafufafu commented Jun 5, 2024

Cura Version

5.3.0 to 5.7.2

Operating System

Ubuntu 24.04 / Dell 5459 core i5 6200u

Printer

AnetA8 and old printers

Reproduction steps

I have discovered a way to replicate the issue:

  1. Run any AppImage (from 5.3.0 to 5.7.2).
  2. Set AnetA8 as the default printer.
  3. Try to open any file using any possible method.
  4. Files take up to 3.5 minutes to load.

The issue does not occur if the default printer before opening the program is different. (for example, Ultimaker S5).

I'm unaware if the issue affects Mac versions. I don't have any means to verify it. However, it definitely affects the AppImage versions used in Linux.


  1. I was able to determine that the issue starts in some of the versions 5.3.0.
    (Curiously, the issue does not affect version 5.3.0-alpha+xmas.)

A) 5.3.0 Beta 1 (undetermined as I couldn't run it)
B) 5.3.0 Beta 2 (the issue appears from this version onwards)

Actual results

It takes up to 3.5 minutes to open any type of file.

Expected results

The expected result would be, for example, what version 5.2.2 does ((an instant opening)).

Additional Information/Updates

  1. I have just determined through my virtual machine that the issue does not affect Windows 10 or Windows 11 versions. Apparently, the problem is exclusive to Linux users in general.

  2. I still don't know if MAC operating systems are affected as well.

@kafufafu kafufafu added Status: Triage This ticket requires input from someone of the Cura team Type: Bug The code does not produce the intended behavior. labels Jun 5, 2024
@GregValiant
Copy link
Collaborator

Thanks for the report and the extra information.
I tried to duplicate this on my Win10 system and it doesn't happen.

Someone from the Cura team will take a look.

@bbczeuz
Copy link

bbczeuz commented Jun 7, 2024

Duplicate of #19104; issue is still open.
Workaround: Ultimaker 5.2.2 on Ubunut 24.04 does indeed load STL instantly. As this is a quite old release, possibly export printer profiles from more recent releases and import them to 5.2.2

@sausix
Copy link

sausix commented Jun 8, 2024

Sounds like the USB printing issue. Didn't it make into the issues here yet?

Someone found out the USB printing plugin blocks the loading process. You do not need that plugin if you print from a USB drive, Octo or similar anyway.

@gtollini
Copy link

gtollini commented Jun 11, 2024

This was linked on another issue. Here's the workaround I had found:

I fixed this by disabling USB printing altogether (I've never had an USB printer to begin with). To do that:

* Go to the “Installed” tab of the Marketplace.

* Scroll down to USB Printing and click "disable".

* Restart Cura.

@gtollini
Copy link

Thanks for the report and the extra information. I tried to duplicate this on my Win10 system and it doesn't happen.

Someone from the Cura team will take a look.

@GregValiant it isn't duplicable on Windows because the problematic code only runs if Platform.isWindows() returns False. See my fix for this problem, which just skips the problematic code altogether by changing the Platform.isWindows() check to a hard-coded True.

@kafufafu
Copy link
Author

This was linked on another issue. Here's the workaround I had found:

I fixed this by disabling USB printing altogether (I've never had an USB printer to begin with). To do that:

* Go to the “Installed” tab of the Marketplace.

* Scroll down to USB Printing and click "disable".

* Restart Cura.

@gtollini
Indeed, that worked (deactivating the USB printing plugin). Thank you for the information; I am truly grateful for the simple solution to this annoying problem ;)

@PeterM7
Copy link

PeterM7 commented Sep 26, 2024

Tried your solution on Kubuntu 24.04 running Cura 5.8.1. Cura seemed to load faster but my printing obj. still hasn't loaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage This ticket requires input from someone of the Cura team Type: Bug The code does not produce the intended behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants