mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 00:52:04 +00:00
Linux: use GTK sink for Wayland Bambu liveview (#13432)
* Use GTK sink for Wayland liveview Keep native Wayland sessions on the GTK backend and use a GTK widget based GStreamer sink for Bambu liveview instead of the Wayland video overlay path, which can render black on NVIDIA/Hyprland. Keep the existing wxMediaCtrl path for X11 and continue preferring software H.264 decoding while demoting GL and hardware decoder paths that caused liveview crashes. * Narrow Linux liveview fix to native Wayland * Tighten native Wayland liveview setup * Tighten Wayland liveview teardown and rank setup * Package GStreamer gtksink for Wayland liveview --------- Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
@@ -35,12 +35,13 @@ finish-args:
|
||||
|
||||
modules:
|
||||
|
||||
# JPEG codec for the liveview
|
||||
# JPEG codec and GTK video sink (Wayland liveview) for the liveview
|
||||
- name: gst-plugins-good
|
||||
buildsystem: meson
|
||||
config-opts:
|
||||
- -Dauto_features=disabled
|
||||
- -Djpeg=enabled
|
||||
- -Dgtk3=enabled
|
||||
- -Ddoc=disabled
|
||||
- -Dexamples=disabled
|
||||
- -Dtests=disabled
|
||||
|
||||
@@ -12,6 +12,7 @@ export REQUIRED_DEV_PACKAGES=(
|
||||
gettext
|
||||
git
|
||||
glew
|
||||
gst-plugins-good
|
||||
gstreamer
|
||||
gstreamermm
|
||||
gtk3
|
||||
|
||||
@@ -12,6 +12,7 @@ export REQUIRED_DEV_PACKAGES=(
|
||||
gettext
|
||||
git
|
||||
glew
|
||||
gst-plugins-good
|
||||
gstreamer
|
||||
gtk3
|
||||
libmspack
|
||||
|
||||
@@ -10,6 +10,7 @@ REQUIRED_DEV_PACKAGES=(
|
||||
g++
|
||||
gettext
|
||||
git
|
||||
gstreamer1.0-gtk3
|
||||
libcurl4-openssl-dev
|
||||
libdbus-1-dev
|
||||
libglew-dev
|
||||
|
||||
@@ -13,6 +13,7 @@ REQUIRED_DEV_PACKAGES=(
|
||||
gettext
|
||||
git
|
||||
gstreamer1-devel
|
||||
gstreamer1-plugins-good-gtk
|
||||
gstreamermm-devel
|
||||
gtk3-devel
|
||||
libmspack-devel
|
||||
|
||||
@@ -21,6 +21,7 @@ REQUIRED_DEV_PACKAGES=(
|
||||
media-libs/glew
|
||||
media-libs/gst-plugins-base:1.0
|
||||
media-libs/gstreamer:1.0
|
||||
media-plugins/gst-plugins-gtk:1.0
|
||||
net-misc/curl
|
||||
net-misc/wget
|
||||
sys-apps/dbus
|
||||
|
||||
@@ -13,6 +13,7 @@ REQUIRED_DEV_PACKAGES=(
|
||||
gettext
|
||||
git
|
||||
gstreamer-devel
|
||||
gstreamer-plugins-good-gtk
|
||||
gtk3-devel
|
||||
libmspack-devel
|
||||
libquadmath-devel
|
||||
|
||||
Reference in New Issue
Block a user