Bug 467757

Summary: xwaylandvideobridge looks weird when sharing sharing on discord
Product: [Applications] XWaylandVideoBridge Reporter: dflewdzq9
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, kde, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of the shared windows

Description dflewdzq9 2023-03-24 17:26:52 UTC
Created attachment 157553 [details]
Screenshot of the shared windows

SUMMARY

***
Using flatpak I got to share a window but it looks like negative picture. This is the cli output when running the flatpak:
Qt: Session management error: Could not open network socket
Could not create scene graph context for backend 'opengl' - check that plugins are installed correctly in /usr/lib/plugins
***


STEPS TO REPRODUCE
1.  Make sure that the bridge is running: flatpak run org.kde.xwaylandvideobridge
2. Share a window on discord 
3. The window shared looks like a negative picture. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.2-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × 11th Gen Intel® Core™ i7-11800H @ 2.30GHz
Memory: 62.6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Comment 1 dflewdzq9 2023-03-24 17:36:41 UTC
Got this when actually selecting and sharing the window.

select sources done "/org/freedesktop/portal/desktop/request/1_301/pwbypass3756624794"
params QMap() 0
started! "/org/freedesktop/portal/desktop/request/1_301/pwbypass3756624794"
kpipewire_logging: Failed to query DMA-BUF formats.
close
Comment 2 Aleix Pol 2023-04-04 23:25:20 UTC
Please test with Plasma 5.27.4, it does have a number of fixes to fix that.
Comment 3 dflewdzq9 2023-04-09 03:11:43 UTC
Still same issue on 5.27.4 This is using the flatpak, I saw that kpipewire was installed and updated, but this is still using the  one on the flatpak. so I guess that updated didn't have any effect (This is just a guess)
Comment 4 Aleix Pol 2023-04-11 22:02:50 UTC
Note that the app was renamed to xwaylandvideobridge, so you might need to uninstall pwbypass and get the new one. Sorry about that.
Comment 5 dflewdzq9 2023-04-11 23:53:45 UTC
I built the latest commit and it is working now.