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

Flatpak Build Does Not Render X1 Camera #5449

Open
3 tasks done
rehashedsalt opened this issue May 25, 2024 · 10 comments · May be fixed by SoftFever/Orca-deps-wxWidgets#3
Open
3 tasks done

Flatpak Build Does Not Render X1 Camera #5449

rehashedsalt opened this issue May 25, 2024 · 10 comments · May be fixed by SoftFever/Orca-deps-wxWidgets#3
Labels
bug Something isn't working

Comments

@rehashedsalt
Copy link

Is there an existing issue for this problem?

  • I have searched the existing issues

OrcaSlicer Version

2.1.0-dev

Operating System (OS)

Linux

OS Version

Fedora 40 Atomic Desktop, Flatpak

Additional system information

No response

Printer

Bambu X1CC

How to reproduce

  1. Install OrcaSlicer from Flatpak
  2. Connect to Bambu printer
  3. Hit "play" on camera feed

Actual results

Camera feed yields the following error:

image

Expected results

Camera feed should render the interior of the printer

Project file & Debug log uploads

Reproducible from fresh project.

Debug logs are a little sparse --

[warning]       2024-05-21 13:25:57.121075[Thread 0x00007f30d4fbab80]:get_network_function, can not find function bambu_network_del_subscribe
[warning]       2024-05-21 13:25:57.121175[Thread 0x00007f30d4fbab80]:get_network_function, can not find function bambu_network_get_model_id_from_desgin_id
[warning]       2024-05-21 13:25:57.121191[Thread 0x00007f30d4fbab80]:get_network_function, can not find function bambu_network_get_profile_3mf
[error] 2024-05-21 13:25:57.451196[Thread 0x00007f3037e006c0]:DBus Request name Error: org.freedesktop.DBus.Error.ServiceUnknown
[error] 2024-05-21 13:25:57.451210[Thread 0x00007f3037e006c0]:Dbus Messages listening terminating.
[warning]       2024-05-21 13:25:59.456574[Thread 0x00007f30d4fbab80]:01:25:59 PM: Warning: Error running JavaScript: Unsupported result type
[warning]       2024-05-21 13:25:59.480879[Thread 0x00007f30d4fbab80]:01:25:59 PM: Warning: Error running JavaScript: Unsupported result type
[warning]       2024-05-21 13:25:59.483481[Thread 0x00007f30d4fbab80]:01:25:59 PM: Warning: Error running JavaScript: Unsupported result type
[warning]       2024-05-21 13:25:59.484040[Thread 0x00007f30d4fbab80]:01:25:59 PM: Warning: Error running JavaScript: Unsupported result type
[warning]       2024-05-21 13:25:59.891446[Thread 0x00007f17ff4006c0]:[Orca Updater]: online version=1.9.1.6, current_version=1.9.1.6, no need to download
[error] 2024-05-21 13:26:09.704801[Thread 0x00007f30d4fbab80]:send_message_to_printer error: network_agent=0x55c37f07ae30, ret=-4, dev_id=00M00A2A1404827, json_str={"info":{"command":"get_version","sequence_id":"20000"}}, qos=1

-- so the program was run with GST_DEBUG=4, which adds tons of debug logging information from gstreamer. Here's Orca's STDOUT/ERR log in that case:

orca.log

To compare against, Bambu Studio's Flatpak does not have this issue. Here is a log from Bambu Studio (1.9.0.70) with the same gstreamer debug level:

bambu.log

Checklist of files to include

  • Log file
  • Project file

Anything else?

Spun off from PR #4175, cc @Alaric323 who also had the issue and @powpingdone, who did a stellar job with the Flatpak!

First thing that comes to mind is some random dependency incongruity between the two packages, probably related to gstreamer or a plugin thereof.

@rehashedsalt rehashedsalt added the bug Something isn't working label May 25, 2024
@Alaric323
Copy link

Alaric323 commented May 25, 2024 via email

@powpingdone
Copy link
Contributor

It's defo a dependency issue regarding gstreamer, though it could also be that some h264 codec isn't being requested by the Flatpak package (patent issues, you know the drill). It can be done easily, but I don't know if that's specifically the issue.

@powpingdone
Copy link
Contributor

powpingdone commented May 25, 2024

Hmmm. bambulab/BambuStudio#3279
It isn't a gstreamer issue, but a impl issue.

@Alaric323
Copy link

Same issue occurs on Ubuntu 24.04, so it's definitely a bundled dependency thing. The log files found at ~/.var/app/io.github.softfever.OrcaSlicer/config/OrcaSlicer/log are basically useless by the looks of things, the data in it appears to only be related to printer/filament profiles.

Does make me curious as to whether or not a self-hosted filament storage website could be made to clone BambuLab's implementation though...

Copy link

Orca bot: this issue is stale because it has been open for 90 days with no activity.

@powpingdone
Copy link
Contributor

@Alaric323 @rehashedsalt Does the artifact here fix the issue? https://github.com/SoftFever/OrcaSlicer/actions/runs/10570248432/artifacts/1857743577

@Alaric323
Copy link

I'll take a look as soon as I can.

@rehashedsalt
Copy link
Author

That build works on my machine! Camera starts up and renders fine when I hit play, doesn't seem to have any issues.

@github-actions github-actions bot removed the stale label Aug 28, 2024
@Alaric323
Copy link

I can also confirm it works on an up to date OpenSUSE Tumbleweed install using Wayland. A little grainy but I don't know if that's my wifi or the slicer at the moment.

@albei
Copy link

albei commented Sep 3, 2024

Working on Fedora Silverblue 40 🍺

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
4 participants