Bug when screen sharing
Scenario
- Alice starts a call (audio or video) from her desktop ubuntu 22.04.3
- she clicks on the screen sharing button
Expected
- A popup should be displayed with the choice of which widow she wants to share
Current result
- The popup is displayed but all the choices are black windows
- error message : [x11grab @ 0x7f5768819800] Cannot get the image data event_error: response_type:0 error_code:8 sequence:16 resource_id:968 minor_code:0 major_code:73.
Designs
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Capucine Berthet closed
closed
- Capucine Berthet reopened
reopened
- Owner
Can you provide logs before this error?
Collapse replies - Developer
I just reproduced the bug, here are the full logs. log.txt
- Sébastien Blin added wait-for-answer label
added wait-for-answer label
Hi I have a similar issue, but for me the first time I open the application the screenshare works for one second (showing screen thumbnails and streaming starts and is visible on other end) but after roughly a second the stream freezes and when I stop screen sharing and try to share the screen again, I get met with the black window thumbnails and the stream not working if I try to screen share anyways.
- OS: Arch Linux
- Jami version: 202403310008
- What build you are using: jami-client-qt
I really hope this can get fixed because I was looking into Jami precisely to video call and share my screen (currently stuck with Discord). If there's anything I can do to help out more please let me know!
Collapse replies - Developer
Thanks for bringing this to our attention! I'll try to figure out what the problem is. Can you send us Jami's logs when you try to share your screen?
Maybe related (window sharing): #1242 (comment 48180)
@ffauteux-chapleau When I open the logs from within Jami it doesn't seem to list anything from when I started the call..
- Developer
@programger Sorry, by "logs" I just meant everything that gets printed out when Jami is launched from a terminal. The first line should look similar to this:
client [1712074347194][INF][7c9f5dd1cf40]: Using Qt runtime version: 6.6.1
So yeah, just start Jami from a terminal, go through the steps you mentioned (i.e. try to share your screen, wait for it to fail, stop, try again), close Jami, and then send me everything that was output in the terminal.
Edited by François-Simon Fauteux-Chapleau @ffauteux-chapleau Here are the logs from the CLI:
client [1712075027198][INF][7fcdb6a4d440]: Using Qt runtime version: 6.6.3 default [1712075027204][DBG][7fcdb6a4d440]: "notify server name: Plasma, vendor: KDE, version: 6.0.3, spec: 1.2" default [1712075027212][DBG][7fcdb6a4d440]: "Using locale: en_GB" 18:23:47.251 os_core_unix.c !pjlib 2.13.1 for POSIX initialized Daemon is running default [1712075027321][WRN][7fcdb6a4d440]: QCommandLineParser: option not defined: "test" default [1712075027413][DBG][7fcdb6a4d440]: Screen saver dbus interface: "org.freedesktop.ScreenSaver" qml [1712075027433][INF][7fcdb6a4d440]:[qrc:/MainApplicationWindow.qml:146] Initializing main view client [1712075027947][DBG][7fcdb6a4d440]: Main window loaded using "OpenGLRhi" kf.statusnotifieritem [1712075027951][DBG][7fcdb6a4d440]: service is "org.kde.StatusNotifierItem-2252-1" kf.statusnotifieritem [1712075027951][DBG][7fcdb6a4d440]: Registering a client interface to the KStatusNotifierWatcher kf.windowsystem [1712075027970][DBG][7fcdb6a4d440]: Loaded plugin "/usr/lib/qt6/plugins/kf6/kwindowsystem/KF6WindowSystemX11Plugin.so" for platform "xcb" default [1712075028224][DBG][7fcdb6a4d440]: NetworkManager client initialized, version: 1.46.0 , daemon running: yes , networking enabled: yes default [1712075028224][DBG][7fcdb6a4d440]: primary network connection: 8cc6a365-7336-4094-a26c-d2fd175f841c default: yes client [1712075030897][DBG][7fcdb6a4d440]: Item not registered MainOverlay_QMLTYPE_350(0x6381c46f4350, name="mainOverlay", parent=0x6381c467af70, geometry=0,0 0x0) client [1712075031007][DBG][7fcdb6a4d440]: Item not registered MainOverlay_QMLTYPE_350(0x6381c46f4350, id="mainOverlay", name="mainOverlay", parent=0x6381c467af70, geometry=0,0 0x0) default [1712075044203][DBG][7fcdb6a4d440]: Creating new FrameObject for id: "3757872667113791" default [1712075044203][DBG][7fcdb6a4d440]: Added sink: 0x6381c4611770 to subscribers for id: 3757872667113791 default [1712075044204][DBG][7fcdb6a4d440]: Creating new FrameObject for id: "camera://SunplusIT_Inc_HP_320_FHD_Webcam_YJGD325HP20211201V0" default [1712075044205][DBG][7fcdb6a4d440]: Added sink: 0x6381c45e4c40 to subscribers for id: camera://SunplusIT_Inc_HP_320_FHD_Webcam_YJGD325HP20211201V0 default [1712075044210][INF][7fcdb6a4d440]: Stopping device "camera://SunplusIT_Inc_HP_320_FHD_Webcam_YJGD325HP20211201V0" default [1712075044300][DBG][7fcdb6a4d440]: Removed sink: 0x6381c45e4c40 from subscribers for id: camera://SunplusIT_Inc_HP_320_FHD_Webcam_YJGD325HP20211201V0 default [1712075044309][DBG][7fcdb6a4d440]: "slotCallStateChanged (call: 3757872667113791), from Searching to Connecting" default [1712075044324][DBG][7fcdb6a4d440]: "slotCallStateChanged (call: 3757872667113791), from Connecting to Calling" default [1712075050427][DBG][7fcdb6a4d440]: "slotCallStateChanged (call: 3757872667113791), from Calling to Talking" default [1712075050448][DBG][7fcdb6a4d440]: Screen saver inhibited default [1712075050450][DBG][7fcdb6a4d440]: vCard image loading failed [libopus @ 0x7fcd68013580] No bit rate set. Defaulting to 96000 bps. default [1712075053364][DBG][7fcdb6a4d440]: Creating new FrameObject for id: "display://:0+0,0 3840x1080" default [1712075053364][DBG][7fcdb6a4d440]: Added sink: 0x6381c61387a0 to subscribers for id: display://:0+0,0 3840x1080 default [1712075053377][DBG][7fcdb6a4d440]: Creating new FrameObject for id: "display://:0+0,0 1920x1080" default [1712075053377][DBG][7fcdb6a4d440]: Added sink: 0x6381c6141670 to subscribers for id: display://:0+0,0 1920x1080 default [1712075053378][DBG][7fcdb6a4d440]: Creating new FrameObject for id: "display://:0+1920,0 1920x1080" default [1712075053378][DBG][7fcdb6a4d440]: Added sink: 0x6381c615d330 to subscribers for id: display://:0+1920,0 1920x1080 [x11grab @ 0x7fcca0001200] Stream #0: not enough frames to estimate rate; consider increasing probesize [x11grab @ 0x7fcc98001200] Stream #0: not enough frames to estimate rate; consider increasing probesize [x11grab @ 0x7fcc94001200] Stream #0: not enough frames to estimate rate; consider increasing probesize default [1712075053433][WRN][7fccae7fc6c0]: Cannot remove renderer. "display://:0+0,0 3840x1080" not found default [1712075053433][DBG][7fccae7fc6c0]: QVideoFrame reset to QSize(3840, 1080) default [1712075053435][WRN][7fccadffb6c0]: Cannot remove renderer. "display://:0+0,0 1920x1080" not found default [1712075053435][WRN][7fccad7fa6c0]: Cannot remove renderer. "display://:0+1920,0 1920x1080" not found default [1712075053435][DBG][7fccad7fa6c0]: QVideoFrame reset to QSize(1920, 1080) default [1712075053435][DBG][7fccadffb6c0]: QVideoFrame reset to QSize(1920, 1080) [sdp @ 0x7fcd9000a3c0] max delay reached. need to consume packet [sdp @ 0x7fcd9000a3c0] RTP: missed 1 packets [sdp @ 0x7fcd9000a3c0] max delay reached. need to consume packet [sdp @ 0x7fcd9000a3c0] RTP: missed 1 packets default [1712075057568][DBG][7fcdb6a4d440]: Added sink: 0x6381c465ef90 to subscribers for id: display://:0+1920,0 1920x1080 default [1712075057576][INF][7fcdb6a4d440]: Stopping device "display://:0+1920,0 1920x1080" Maximum number of clients reached [x11grab @ 0x7fcca0001200] Cannot open display :0+0,0, error 1. [x11grab @ 0x7fcca0001200] Failed to query xcb pointer default [1712075057695][INF][7fcdb6a4d440]: Stopping device "display://:0+0,0 1920x1080" default [1712075057735][INF][7fcdb6a4d440]: Stopping device "display://:0+0,0 3840x1080" default [1712075057798][DBG][7fcdb6a4d440]: Removed sink: 0x6381c61387a0 from subscribers for id: display://:0+0,0 3840x1080 default [1712075057798][DBG][7fcdb6a4d440]: Removed sink: 0x6381c6141670 from subscribers for id: display://:0+0,0 1920x1080 default [1712075057798][DBG][7fcdb6a4d440]: Removed sink: 0x6381c615d330 from subscribers for id: display://:0+1920,0 1920x1080 [libopus @ 0x7fcd68013580] 1 frames left in the queue on closing [libopus @ 0x7fcd68013580] No bit rate set. Defaulting to 96000 bps. [x11grab @ 0x7fcca406f5c0] Stream #0: not enough frames to estimate rate; consider increasing probesize Maximum number of clients reached [x11grab @ 0x7fcca406f5c0] Cannot open display :0+1920,0, error 1. default [1712075059989][WRN][7fccaf7fe6c0]: Cannot remove renderer. "display://:0+1920,0 1920x1080" not found default [1712075059989][DBG][7fccaf7fe6c0]: QVideoFrame reset to QSize(1920, 1080) Maximum number of clients reached [x11grab @ 0x7fcca406f5c0] Cannot open display :0+1920,0, error 1. [x11grab @ 0x7fcca406f5c0] Failed to query xcb pointer default [1712075062228][DBG][7fcdb6a4d440]: Stopping display: "display://:0+1920,0 1920x1080" default [1712075062357][DBG][7fcdb6a4d440]: Removed sink: 0x6381c465ef90 from subscribers for id: display://:0+1920,0 1920x1080 default [1712075064075][DBG][7fcdb6a4d440]: Added sink: 0x6381c615c7a0 to subscribers for id: display://:0+0,0 3840x1080 Maximum number of clients reached [x11grab @ 0x7fcd50014280] Cannot open display :0+0,0, error 1. default [1712075064086][DBG][7fcdb6a4d440]: Added sink: 0x6381c6120a80 to subscribers for id: display://:0+0,0 1920x1080 Maximum number of clients reached [x11grab @ 0x7fcd50069300] Cannot open display :0+0,0, error 1. default [1712075064087][DBG][7fcdb6a4d440]: Added sink: 0x6381c62c9aa0 to subscribers for id: display://:0+1920,0 1920x1080 [libopus @ 0x7fcd68013580] 1 frames left in the queue on closing [libopus @ 0x7fcd68013580] No bit rate set. Defaulting to 96000 bps. default [1712075067397][DBG][7fcdb6a4d440]: Added sink: 0x6381c465ef90 to subscribers for id: display://:0+1920,0 1920x1080 default [1712075067402][INF][7fcdb6a4d440]: Stopping device "display://:0+1920,0 1920x1080" default [1712075067402][INF][7fcdb6a4d440]: Stopping device "display://:0+0,0 1920x1080" default [1712075067403][INF][7fcdb6a4d440]: Stopping device "display://:0+0,0 3840x1080" default [1712075067501][DBG][7fcdb6a4d440]: Removed sink: 0x6381c615c7a0 from subscribers for id: display://:0+0,0 3840x1080 default [1712075067501][DBG][7fcdb6a4d440]: Removed sink: 0x6381c6120a80 from subscribers for id: display://:0+0,0 1920x1080 default [1712075067502][DBG][7fcdb6a4d440]: Removed sink: 0x6381c62c9aa0 from subscribers for id: display://:0+1920,0 1920x1080 [sdp @ 0x7fcc20002300] max delay reached. need to consume packet [sdp @ 0x7fcc20002300] RTP: missed 1 packets [libopus @ 0x7fcd68013580] 1 frames left in the queue on closing [libopus @ 0x7fcd680131c0] No bit rate set. Defaulting to 96000 bps. Maximum number of clients reached [x11grab @ 0x7fcca40585c0] Cannot open display :0+1920,0, error 1. default [1712075070712][DBG][7fcdb6a4d440]: Stopping display: "display://:0+1920,0 1920x1080" default [1712075072243][DBG][7fcdb6a4d440]: Removed sink: 0x6381c465ef90 from subscribers for id: display://:0+1920,0 1920x1080 [libopus @ 0x7fcd680131c0] 1 frames left in the queue on closing [libopus @ 0x7fcd680131c0] No bit rate set. Defaulting to 96000 bps. default [1712075074002][DBG][7fcdb6a4d440]: "slotCallStateChanged (call: 3757872667113791), from Talking to Finished" default [1712075074016][DBG][7fcdb6a4d440]: Screen saver uninhibited default [1712075074020][DBG][7fcdb6a4d440]: "slotCallStateChanged (call: 3757872667113791), from Finished to Finished" default [1712075114645][WRN][7fcdb6a4d440]: qrc:/settingsview/components/ManageAccountPage.qml:39:23: QML ColumnLayout: Layout polish loop detected for QQuickColumnLayout(0x6381c69292a0, id="manageAccountColumnLayout", parent=0x6381c691c7f0, geometry=40,0 420x1101). Aborting after two iterations. default [1712075127640][DBG][7fcdb6a4d440]: Removed sink: 0x6381c4611770 from subscribers for id: 3757872667113791
So the error message OP posted does not show up here..
Edited by programger- Developer
@programger I tested on my laptop (which is also on Arch) and I got both types of error (the one in the OP as well as the one you got). They may not be related but I'm not ruling that out for now.
Just to be sure: are you actually on X11 like the logs suggest, or are you on Wayland? I'd also like to know what you get if you run the following command:
ldd $(which jami) | grep libav
@ffauteux-chapleau I am on the X11 KDE Plasma session. I doubt I would get the initial screen thumbnails under Wayland, no? Anyways, here's the output:
ldd $(which jami) | grep libav libavutil.so.58 => /usr/lib/libavutil.so.58 (0x0000752c9a400000) libavcodec.so.60 => /usr/lib/libavcodec.so.60 (0x0000752c8d400000) libavfilter.so.9 => /usr/lib/libavfilter.so.9 (0x0000752c8ce00000) libavdevice.so.60 => /usr/lib/libavdevice.so.60 (0x0000752c988e3000) libavformat.so.60 => /usr/lib/libavformat.so.60 (0x0000752c8ca00000) libavc1394.so.0 => /usr/lib/libavc1394.so.0 (0x0000752c87ec0000)
- François-Simon Fauteux-Chapleau assigned to @ffauteux-chapleau
assigned to @ffauteux-chapleau
- Page Magnier-Slimani closed
closed