Viber appimage can`t share screen

I’m using Tumbleweed with KDE, a Wayland session, and Intel graphics. I’m having an issue with the Viber messenger, which I run via AppImage.
The problem is that I can’t share my screen during a call. The other person sees a black screen.

However, if I use the same AppImage on Fedora KDE on another laptop, I can share my screen. So the problem isn’t with the AppImage file.

I can also share my screen when Viber is running via Flatpak on Tumbleweed.

I’m attaching a portion of the log.

qml: 0: qrc:///CommonWeb/Utils.js Ln: 57 -> 61.230 JS:  ICE gathering state changed to complete
qml: 0: qrc:///CommonWeb/Utils.js Ln: 57 -> 61.230 JS:  End of gathered ICE candidates
qml: 0: qrc:///CommonWeb/Utils.js Ln: 57 -> 81.475 JS:  Starting self screen sharing
qml: 0: qrc:///CommonWeb/Utils.js Ln: 57 -> 81.476 JS:  Turning screen sharing on
qml: 0: qrc:///CommonWeb/Utils.js Ln: 57 -> 81.477 JS:  [ScreenSharing] Building track screen:0:0
qml: CALL_WEB_VIEW_DEBUG: onFeaturePermissionRequested: 4
qml: 0: qrc:///CommonWeb/Utils.js Ln: 57 -> 81.522 JS:  Video constraints are {}
qml: 0: qrc:///CommonWeb/Utils.js Ln: 57 -> 81.523 JS:  [ScreenSharing] Built track screen:1:0
qml: 0: qrc:///CommonWeb/Utils.js Ln: 57 -> 81.526 JS:  Flipping element video-self
qml: 0: qrc:///CommonWeb/Utils.js Ln: 57 -> 81.526 JS:  toggleSelfVideoSize invoked with isFull false
qml: 0: qrc:///CommonWeb/Utils.js Ln: 57 -> 81.526 JS:  Enabled self video dragging
qml: 0: qrc:///CommonWeb/Utils.js Ln: 57 -> 81.526 JS:  Enabled self video resizing
qml: 0: qrc:///CommonWeb/Utils.js Ln: 57 -> 81.526 JS:  Self video toggled to true
qml: 0: qrc:///CommonWeb/Utils.js Ln: 57 -> 81.526 JS:  Showing element resizable-self
qml: 0: qrc:///CommonWeb/Utils.js Ln: 57 -> 81.526 JS:  Hiding element avatar-self
qml: 0: qrc:///CommonWeb/Utils.js Ln: 57 -> 81.526 JS:  Sharing element parent-self
qml: 0: qrc:///CommonWeb/Utils.js Ln: 57 -> 81.526 JS:  Sending message {"messages":[{"type":"video_tracks_updated","tracks":[{"source":"camera","state":"off"},{"source":"screen","state":"on"}]}]}
qml: 0: qrc:///CommonWeb/Utils.js Ln: 57 -> 81.526 JS:  Checking whether it's OK to send via data channel
qml: 0: qrc:///CommonWeb/Utils.js Ln: 57 -> 81.526 JS:  Sending via data channel desktop_data_channel
[2752:2752:0530/150803.258963:ERROR:egl_dmabuf.cc(328)] Unable to load EGL entry functions.
[2752:2752:0530/150803.293264:ERROR:shared_screencast_stream.cc(509)] Could not connect receiving stream.
[2752:2752:0530/150803.293295:ERROR:base_capturer_pipewire.cc(81)] ScreenCastPortal failed: 1
qml: CALL: ended. established= true , reason= 3 , flags= 1 , forceShow= true , mainWindowActive= true , currentScreen= 2
qml: CALL: no auto close
qml: 0: qrc:///CommonWeb/Utils.js Ln: 57 -> 134.562 JS:  Finishing call