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

Liveview broken when building from source #3279

Open
1 of 2 tasks
hadess opened this issue Jan 2, 2024 · 3 comments
Open
1 of 2 tasks

Liveview broken when building from source #3279

hadess opened this issue Jan 2, 2024 · 3 comments
Assignees
Labels
bug Something isn't working connection connection and liveview issue inactive customer 90 days wont reply

Comments

@hadess
Copy link
Contributor

hadess commented Jan 2, 2024

Bambu Studio Version

git

Where is the application from?

Built from source by yourself or others

OS version

Linux

Additional system information

No response

Printer

N/A

How to reproduce

Build BambuStudio with the gst-plugins-bad headers installed

Actual results

Liveview not working

Expected results

Liveview working

Project file & Debug log uploads

The problem is that the liveview code (in src/slic3r/GUI/wxMediaCtrl2.cpp) in BambuStudio expects to be able to access the m_playbin object member which is only available when wxWidgets is built with GStreamer support but not GstPlayer support.

You should be able to reproduce the problem with AppImage by installing libgstreamer-plugins-bad1.0-dev in the container, then wxWidgets will be built with the GstPlayer backend (in src/unix/mediactrl_gstplayer.cpp) rather than the playbin-based backend (in src/unix/mediactrl.cpp). Only the latter works with BambuStudio.

The liveview code in BambuStudio should be adapted to work with both backends.

In the meantime, the Flatpak build will forcefully disable the GstPlayer-backend by removed set(wxUSE_GSTREAMER_PLAYER ON) from build/cmake/init.cmake in wxWidgets.

Checklist of files to include

  • Log file
  • Project file
@hadess hadess added the bug Something isn't working label Jan 2, 2024
@bambu123
Copy link
Collaborator

bambu123 commented Jan 3, 2024

Okay removed set (wxUSE_GSTREAMER_PLAYER ON). I think that's the only thing we can do in the near future.

@SaltWei SaltWei added the connection connection and liveview issue label Jan 18, 2024
MackBambu added a commit to MackBambu/wxWidgets that referenced this issue May 15, 2024
MackBambu added a commit to MackBambu/wxWidgets that referenced this issue Jun 9, 2024
@BambulabRobot BambulabRobot added the inactive customer 90 days wont reply label Aug 6, 2024
@BambulabRobot
Copy link

This issue has been marked as inactive due to no response for 90 days.

@hadess
Copy link
Contributor Author

hadess commented Aug 6, 2024

Poke

anarsoul added a commit to anarsoul/io.github.softfever.OrcaSlicer that referenced this issue Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working connection connection and liveview issue inactive customer 90 days wont reply
Projects
None yet
Development

No branches or pull requests

4 participants