-
-
Notifications
You must be signed in to change notification settings - Fork 989
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
Flatpak Build Does Not Render X1 Camera #5449
Comments
As an aside, I had the issue on OpenSUSE tumbleweed. I don't know if that has much effect on a Flatpak though since they usually have their depends bundled.
I'm away from my computer for the next week though so I can't test it on OpenSUSE. Can check Ubuntu though on a device I have with me.
…________________________________
From: Salt ***@***.***>
Sent: Friday, May 24, 2024 9:29:17 PM
To: SoftFever/OrcaSlicer ***@***.***>
Cc: Alaric323 ***@***.***>; Mention ***@***.***>
Subject: [SoftFever/OrcaSlicer] Flatpak Build Does Not Render X1 Camera (Issue #5449)
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.png (view on web)<https://github.com/SoftFever/OrcaSlicer/assets/12635110/5b32e1c4-341f-4d7c-a3b8-03e88bde22a2>
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<https://github.com/SoftFever/OrcaSlicer/files/15441024/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<https://github.com/SoftFever/OrcaSlicer/files/15441026/bambu.log>
Checklist of files to include
* Log file
* Project file
Anything else?
Spun off from PR #4175<#4175>, cc @Alaric323<https://github.com/Alaric323> who also had the issue and @powpingdone<https://github.com/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.
—
Reply to this email directly, view it on GitHub<#5449>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AA6Z7QFHWRT6LLRLK6KA2ULZD7SO3AVCNFSM6AAAAABIIOIRXGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMYTMNJUHAYTGNI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
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. |
Hmmm. bambulab/BambuStudio#3279 |
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... |
Orca bot: this issue is stale because it has been open for 90 days with no activity. |
@Alaric323 @rehashedsalt Does the artifact here fix the issue? https://github.com/SoftFever/OrcaSlicer/actions/runs/10570248432/artifacts/1857743577 |
I'll take a look as soon as I can. |
That build works on my machine! Camera starts up and renders fine when I hit play, doesn't seem to have any issues. |
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. |
Working on Fedora Silverblue 40 🍺 |
Please try if https://github.com/anarsoul/io.github.softfever.OrcaSlicer/releases/tag/v2.2.0-2 fixes the issue. It has a patch from @powpingdone |
Found this thread while searching for a solution to the same problem, can confirm that this flatpak v2.2.0-2 works on bazzite |
Is there an existing issue for this problem?
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
Actual results
Camera feed yields the following error:
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 --
-- 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
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.
The text was updated successfully, but these errors were encountered: