SUMMARY Attempting to launch xwaylandvideobridge and then streaming with Discord causes a crash. Experienced crash output is included below. STEPS TO REPRODUCE 1. Install xwaylandvideobridge-git from the AUR 2. Add to autostart and reboot 3. Launch screenshare from Discord OBSERVED RESULT xwaylandvideobridge window appears briefly, then disappears in under a second. Output to terminal is as follows: org.kde.xwaylandvideobridge: XDG session failed: QMap(("session_handle", QVariant(QString, "/org/freedesktop/portal/desktop/session/1_117/xwaylandvideobridge2962571955"))) 2 [1] + exit 1 xwaylandvideobridge EXPECTED RESULT Screenshare window option to appear and be usable without crashing SOFTWARE/OS VERSIONS Discord 0.0.34-1 from official repository xwaylandvideobridge-bit j1290531-1 from AUR
Update: Inxi output for any required information on my setup that may pertain to this issue CPU: 8-core AMD Ryzen 7 4800H with Radeon Graphics (-MT MCP-) speed/min/max: 1614/1400/2900 MHz Kernel: 6.6.0-1-MANJARO x86_64 Up: 22m Mem: 5.61/15.05 GiB (37.3%) Storage: 1.4 TiB (49.5% used) Procs: 391 Shell: Zsh inxi: 3.3.31 Graphics: Device-1: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile] vendor: ASUSTeK driver: nvidia v: 535.129.03 alternate: nouveau,nvidia_drm non-free: 545.xx+ status: current (as of 2023-11; EOL~2026-12-xx) arch: Turing code: TUxxx process: TSMC 12nm FF built: 2018-2022 pcie: gen: 1 speed: 2.5 GT/s lanes: 8 link-max: gen: 3 speed: 8 GT/s lanes: 16 ports: active: none empty: DP-1 bus-ID: 01:00.0 chip-ID: 10de:2191 class-ID: 0300 Device-2: AMD Renoir vendor: ASUSTeK driver: amdgpu v: kernel arch: GCN-5 code: Vega process: GF 14nm built: 2017-20 pcie: gen: 4 speed: 16 GT/s lanes: 16 ports: active: HDMI-A-1,eDP-1 empty: none bus-ID: 06:00.0 chip-ID: 1002:1636 class-ID: 0300 temp: 47.0 C Device-3: Razer USA Gaming Webcam [Kiyo] driver: snd-usb-audio,uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-2:2 chip-ID: 1532:0e03 class-ID: 0102 Device-4: IMC Networks [] driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-4:4 chip-ID: 13d3:56a2 class-ID: 0e02 serial: <filter> Display: x11 server: X.Org v: 21.1.9 compositor: kwin_x11 driver: X: loaded: modesetting,nvidia dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1 Screen-1: 0 s-res: 3840x1411 s-dpi: 96 s-size: 1013x372mm (39.88x14.65") s-diag: 1079mm (42.49") Monitor-1: HDMI-A-1 mapped: HDMI-1 pos: primary,top-right model: BenQ GW2470 serial: <filter> built: 2018 res: 1920x1080 hz: 60 dpi: 93 gamma: 1.2 size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes: max: 1920x1080 min: 720x400 Monitor-2: eDP-1 pos: bottom-l model: ChiMei InnoLux 0x1521 built: 2020 res: 1920x1080 hz: 144 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5") ratio: 16:9 modes: max: 1920x1080 min: 640x480 API: EGL v: 1.5 hw: drv: nvidia drv: amd radeonsi platforms: device: 0 drv: nvidia device: 1 drv: radeonsi device: 3 drv: swrast surfaceless: drv: nvidia x11: drv: radeonsi inactive: gbm,wayland,device-2 API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: amd mesa v: 23.1.9-manjaro1.1 glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (renoir LLVM 16.0.6 DRM 3.54 6.6.0-1-MANJARO) device-ID: 1002:1636 memory: 500 MiB unified: no API: Vulkan v: 1.3.269 layers: 5 device: 0 type: discrete-gpu name: NVIDIA GeForce GTX 1660 Ti driver: nvidia v: 535.129.03 device-ID: 10de:2191 surfaces: xcb,xlib device: 1 type: integrated-gpu name: AMD Radeon Graphics (RADV RENOIR) driver: mesa radv v: 23.1.9-manjaro1.1 device-ID: 1002:1636 surfaces: xcb,xlib Audio: Device-1: NVIDIA TU116 High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 8 link-max: lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:1aeb class-ID: 0403 Device-2: AMD Renoir Radeon High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 06:00.1 chip-ID: 1002:1637 class-ID: 0403 Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: N/A alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 06:00.5 chip-ID: 1022:15e2 class-ID: 0480 Device-4: AMD Family 17h/19h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 06:00.6 chip-ID: 1022:15e3 class-ID: 0403 Device-5: Razer USA Gaming Webcam [Kiyo] driver: snd-usb-audio,uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-2:2 chip-ID: 1532:0e03 class-ID: 0102 Device-6: Focusrite-Novation Scarlett 2i2 3rd Gen driver: snd-usb-audio type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-3:3 chip-ID: 1235:8210 class-ID: 0102 serial: <filter> API: ALSA v: k6.6.0-1-MANJARO status: kernel-api with: aoss type: oss-emulator tools: alsactl,alsamixer,amixer Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl Server-2: JACK v: 1.9.22 status: off tools: N/A Server-3: PipeWire v: 0.3.83 status: active with: 1: pipewire-pulse status: active 2: pipewire-media-session status: active 3: pipewire-alsa type: plugin tools: pactl,pw-cat,pw-cli
On which desktop are you running this?
From the Info Center - KDE Plasma Version: 5.27.9 KDE Frameworks Version: 5.111.0 Qt Version: 5.15.11 Kernel Version: 6.6.0-1-MANJARO (64-bit) Graphics Platform: X11 My laptop model, if it helps, is ASUS TUF Gaming A15 FA506IU_TUF506IU
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Confirmed, I'm having a crash as well. Here are the actions I take: 1. Start Discord, go into voice chat and try to start a stream. 2. Run xwaylandvideobridge 3. A window will appear with screen selection. I select a screen and after a second xwaylandviideobridge crashes. Version xwaylandviideobridge: 0.4.0 Operating System: KDE neon Unstable Edition KDE Plasma Version: 6.0.80 KDE Frameworks Version: 5.249.0 Qt Version: 6.6.1 Kernel Version: 6.7.2-1-liquorix-amd64 (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i5-5200U CPU @ 2.20GHz Memory: 7,7 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 5500 Manufacturer: Acer Product Name: Aspire E5-573G System Version: V3.72 Console output: Qt: Session management error: Could not open network socket found... 4 QList(12, 7, 25, 11, 16, 8, 10, 15, 14) QList(7, 11, 8, 12, 15, 16, 10, 14, 25) [1] 194912 segmentation fault (core dumped) xwaylandvideobridge Stack Trace: [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff1600640 (LWP 197743)] [New Thread 0x7ffff0c00640 (LWP 197744)] [New Thread 0x7fffe9c00640 (LWP 197958)] [New Thread 0x7fffe9200640 (LWP 197959)] [New Thread 0x7fffd5600640 (LWP 197960)] [New Thread 0x7fffd4c00640 (LWP 197961)] [New Thread 0x7fffcfe00640 (LWP 197962)] [New Thread 0x7fffcf400640 (LWP 197963)] [Thread 0x7fffcf400640 (LWP 197963) exited] [Thread 0x7fffcfe00640 (LWP 197962) exited] Qt: Session management error: Could not open network socket [New Thread 0x7fffcfe00640 (LWP 198210)] [New Thread 0x7fffcf400640 (LWP 198211)] [New Thread 0x7fffcca00640 (LWP 198212)] [New Thread 0x7fffc6600640 (LWP 198213)] [New Thread 0x7fffc5c00640 (LWP 198231)] [New Thread 0x7fffc5200640 (LWP 198232)] [Thread 0x7fffc5200640 (LWP 198232) exited] [Thread 0x7fffc5c00640 (LWP 198231) exited] [New Thread 0x7fffc5c00640 (LWP 198233)] [New Thread 0x7fffc5200640 (LWP 198234)] [New Thread 0x7fffbfe00640 (LWP 198313)] found... 4 QList(15, 25, 7, 8, 16, 11, 14, 12, 10) QList(7, 11, 8, 12, 15, 16, 10, 14, 25) Thread 1 "xwaylandvideobr" received signal SIGSEGV, Segmentation fault. 0x00007ffff7efb519 in PWHelpers::SpaBufferToQImage(unsigned char const*, int, int, long long, spa_video_format, PipeWireFrameCleanupFunction*) () from /lib/x86_64-linux-gnu/libKPipeWire.so.6 (gdb) bt #0 0x00007ffff7efb519 in PWHelpers::SpaBufferToQImage(unsigned char const*, int, int, long long, spa_video_format, PipeWireFrameCleanupFunction*) () from /lib/x86_64-linux-gnu/libKPipeWire.so.6 #1 0x00007ffff7f0109b in PipeWireSourceStream::handleFrame(pw_buffer*) () from /lib/x86_64-linux-gnu/libKPipeWire.so.6 #2 0x00007ffff7f0125b in PipeWireSourceStream::process() () from /lib/x86_64-linux-gnu/libKPipeWire.so.6 #3 0x00007ffff58c26a8 in ?? () from /lib/x86_64-linux-gnu/libpipewire-0.3.so.0 #4 0x00007fffeadf6769 in ?? () from /usr/lib/x86_64-linux-gnu/spa-0.2/support/libspa-support.so #5 0x00007fffeadf58aa in ?? () from /usr/lib/x86_64-linux-gnu/spa-0.2/support/libspa-support.so #6 0x00007fffeadf6e33 in ?? () from /usr/lib/x86_64-linux-gnu/spa-0.2/support/libspa-support.so #7 0x00007ffff7eeff50 in ?? () from /lib/x86_64-linux-gnu/libKPipeWire.so.6 #8 0x00007ffff62287ae in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ./src/corelib/kernel/qobjectdefs_impl.h:433 #9 doActivate<false> (sender=0x5555555b5ea0, signal_index=3, argv=0x7fffffffd410) at ./src/corelib/kernel/qobject.cpp:4021 #10 0x00007ffff61dbbe3 in QSocketNotifier::activated (this=this@entry=0x5555555b5ea0, _t1=..., _t2=<optimized out>, _t3=...) at ./obj-x86_64-linux-gnu/src/corelib/Core_autogen/include/moc_qsocketnotifier.cpp:231 #11 0x00007ffff61e01b6 in QSocketNotifier::event (this=0x5555555b5ea0, e=<optimized out>) at ./src/corelib/kernel/qsocketnotifier.cpp:326 #12 0x00007ffff73f1b1b in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5555555b5ea0, e=0x7fffffffd550) at ./src/widgets/kernel/qapplication.cpp:3296 #13 0x00007ffff625fe58 in QCoreApplication::notifyInternal2 (receiver=0x5555555b5ea0, event=0x7fffffffd550) at ./src/corelib/kernel/qcoreapplication.cpp:1121 #14 0x00007ffff610f754 in socketNotifierSourceDispatch (source=0x55555568b9e0) at ./src/corelib/kernel/qeventdispatcher_glib.cpp:73 #15 0x00007ffff4ca6d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #16 0x00007ffff4cfc258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #17 0x00007ffff4ca43e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #18 0x00007ffff61082c0 in QEventDispatcherGlib::processEvents (this=0x55555563eda0, flags=...) at ./src/corelib/kernel/qeventdispatcher_glib.cpp:393 #19 0x00007ffff626a01b in QEventLoop::exec (this=0x7fffffffd780, flags=...) at ./src/corelib/global/qflags.h:34 #20 0x00007ffff6263d0c in QCoreApplication::exec () at ./src/corelib/global/qflags.h:74 --Type <RET> for more, q to quit, c to continue without paging-- #21 0x000055555555f646 in ?? () #22 0x00007ffff5629d90 in __libc_start_call_main (main=main@entry=0x55555555f000, argc=argc@entry=1, argv=argv@entry=0x7fffffffda98) at ../sysdeps/nptl/libc_start_call_main.h:58 #23 0x00007ffff5629e40 in __libc_start_main_impl (main=0x55555555f000, argc=1, argv=0x7fffffffda98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffda88) at ../csu/libc-start.c:392 #24 0x000055555555f6f5 in ?? ()
Can confirm, this happens here as well. But only on Plasma 6 RC. Version xwaylandvideobridge: 0.4.0 (git master) Operating System: Arch Linux KDE Plasma Version: 5.93.0 KDE Frameworks Version: 5.249.0 Qt Version: 6.7.0 Kernel Version: 6.7.2-zen1-2-zen (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor Memory: 31.3 GiB of RAM Graphics Processor: AMD Radeon RX 6600 XT Manufacturer: Gigabyte Technology Co., Ltd. Product Name: B450 AORUS ELITE Console output: (gdb) run Starting program: /usr/bin/xwaylandvideobridge [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7fffeec006c0 (LWP 428629)] [New Thread 0x7fffee2006c0 (LWP 428630)] [New Thread 0x7fffe4e006c0 (LWP 428632)] [New Thread 0x7fffd7a006c0 (LWP 428633)] [New Thread 0x7fffd70006c0 (LWP 428634)] [New Thread 0x7fffd66006c0 (LWP 428635)] [New Thread 0x7fffd5c006c0 (LWP 428636)] [New Thread 0x7fffd52006c0 (LWP 428637)] [New Thread 0x7fffcfe006c0 (LWP 428638)] [New Thread 0x7fffcf4006c0 (LWP 428639)] [New Thread 0x7fffcea006c0 (LWP 428640)] [Thread 0x7fffcea006c0 (LWP 428640) exited] [Thread 0x7fffcf4006c0 (LWP 428639) exited] [Thread 0x7fffcfe006c0 (LWP 428638) exited] [New Thread 0x7fffcfe006c0 (LWP 428641)] [New Thread 0x7fffcf4006c0 (LWP 428642)] [New Thread 0x7fffcea006c0 (LWP 428643)] [New Thread 0x7fffc76006c0 (LWP 428644)] [New Thread 0x7fffc6c006c0 (LWP 428645)] [New Thread 0x7fffc62006c0 (LWP 428646)] [New Thread 0x7fffc58006c0 (LWP 428647)] Thread 1 "xwaylandvideobr" received signal SIGSEGV, Segmentation fault. QObject::thread (this=this@entry=0x55555598f680) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0-beta2/src/corelib/kernel/qobject.cpp:1627 1627 return d_func()->threadData.loadRelaxed()->thread.loadAcquire(); (gdb) backtrace #0 QObject::thread (this=this@entry=0x55555598f680) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0-beta2/src/corelib/kernel/qobject.cpp:1627 #1 0x00007ffff31b0f2b in QObject::QObject (this=0x555555b16480, dd=..., parent=0x55555598f680, this=<optimized out>, dd=<optimized out>, parent=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0-beta2/src/corelib/kernel/qobject.cpp:981 #2 0x00007ffff43d20e3 in QQuickItem::QQuickItem (this=0x555555b16480, parent=0x55555598f680, this=<optimized out>, parent=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.7.0-beta2/src/quick/items/qquickitem.cpp:2349 #3 0x00007ffff7d7a7c3 in PipeWireSourceItem::PipeWireSourceItem (this=0x555555b16480, parent=<optimized out>, this=<optimized out>, parent=<optimized out>) at /usr/src/debug/kpipewire/kpipewire-5.93.0/src/pipewiresourceitem.cpp:82 #4 0x000055555555df1a in ??? () #5 0x0000555555565463 in ??? () #6 0x000055555555c60e in ??? () #7 0x00007ffff77a076e in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=<optimized out>, metaTypes=<optimized out>, slotIdx=<optimized out>) at /usr/src/debug/qt5-base/qtbase/src/dbus/qdbusintegrator.cpp:1001 #8 0x00007ffff64c3964 in QObject::event (this=0x5555559996a0, e=0x7fffe801b3f0) at kernel/qobject.cpp:1347 #9 0x00007ffff71788ff in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5555559996a0, e=0x7fffe801b3f0) at kernel/qapplication.cpp:3640 #10 0x00007ffff649bef8 in QCoreApplication::notifyInternal2 (receiver=0x5555559996a0, event=0x7fffe801b3f0) at kernel/qcoreapplication.cpp:1064 #11 0x00007ffff64a0e5b in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55555557b550) at kernel/qcoreapplication.cpp:1821 #12 0x00007ffff64e6ec8 in postEventSourceDispatch (s=0x555555770420) at kernel/qeventdispatcher_glib.cpp:277 #13 0x00007ffff4b0df69 in g_main_dispatch (context=0x7fffe8000ec0) at ../glib/glib/gmain.c:3476 #14 0x00007ffff4b6c3a7 in g_main_context_dispatch_unlocked (context=0x7fffe8000ec0) at ../glib/glib/gmain.c:4284 #15 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7fffe8000ec0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349 #16 0x00007ffff4b0c162 in g_main_context_iteration (context=0x7fffe8000ec0, may_block=1) at ../glib/glib/gmain.c:4414 #17 0x00007ffff64ead0c in QEventDispatcherGlib::processEvents (this=0x555555746770, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #18 0x00007ffff649ac04 in QEventLoop::exec (this=this@entry=0x7fffffffdd70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #19 0x00007ffff649c0a3 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #20 0x000055555555c211 in ??? () #21 0x00007ffff5c43cd0 in __libc_start_call_main (main=main@entry=0x55555555bd50, argc=argc@entry=1, argv=argv@entry=0x7fffffffdfb8) at ../sysdeps/nptl/libc_start_call_main.h:58 #22 0x00007ffff5c43d8a in __libc_start_main_impl --Type <RET> for more, q to quit, c to continue without paging--c (main=0x55555555bd50, argc=1, argv=0x7fffffffdfb8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdfa8) at ../csu/libc-start.c:360 #23 0x000055555555c275 in ??? ()
Ah, I mean it happens in RC as compared to Plasma 5. It probably still happens in Plasma 6 master.
Also having this issue in plasma 6.0.1
Update: Fixed just prior to the release of Plasma 6. For those reading this in the future, or who haven't fixed this yet and reported it prior: Make sure you are actually running Wayland and aren't trying to share sound from an X11 system. Despite how stupid it sounds, I ended up trying to use this without realizing I was using X11 session. Switching to Wayland is default with Plasma 6, so it should be effortless to switch, but if for any reason you haven't but want to use this: Install your distro specific Wayland package and switch to Wayland on login in the bottom left corner. For Manjaro systems, the package is titled "wayland".
(In reply to Gaia Noseworthy from comment #9) > Update: Fixed just prior to the release of Plasma 6. > > For those reading this in the future, or who haven't fixed this yet and > reported it prior: Make sure you are actually running Wayland and aren't > trying to share sound from an X11 system. Despite how stupid it sounds, I > ended up trying to use this without realizing I was using X11 session. > > Switching to Wayland is default with Plasma 6, so it should be effortless to > switch, but if for any reason you haven't but want to use this: Install your > distro specific Wayland package and switch to Wayland on login in the bottom > left corner. For Manjaro systems, the package is titled "wayland". For those of you who are actually running Wayland and are having issues: That is different from my bug reported, and your specific concerns may be obfuscated by my own difficulties born out of ignorance.