Wayland to X11 Video Bridge segfault when using nvidia proprietary drivers [KDE 6]


I’m running Fedora 40 with KDE 6, I use Wayland to X11 Video Bridge to screenshare on discord and some other electron apps, the issue is that the app works with the nouveau drivers, but as soon as the nvidia proprietary drivers are installed, it segfaults.

Anyone can verify this and help me find a solution?

If you need more logs, please tell me exactly what to provide. Thank you.

gdb output:

$ gdb xwaylandvideobridge 
GNU gdb (Fedora Linux) 14.2-1.fc40
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from xwaylandvideobridge...
Reading symbols from /usr/lib/debug/usr/bin/xwaylandvideobridge-0.4.0-5.fc40.x86_64.debug...
(gdb) run
Starting program: /usr/bin/xwaylandvideobridge 

This GDB supports auto-downloading debuginfo from the following URLs:
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
[Thread debugging using libthread_db enabled]                                                                                                                                                                                               
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe30006c0 (LWP 3451)]                                                                                                                                                                                                      
[New Thread 0x7fffe26006c0 (LWP 3452)]
warning: `/home/midi/.cache/debuginfod_client/2e60ea80e74a575c60cee97ebe1d803f426a6745/debuginfo': can't read symbols: file format not recognized.                                                                                          
libEGL warning: egl: failed to create dri2 screen                                                                                                                                                                                           
DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.                                                                                                                                                                                
[New Thread 0x7fffc16006c0 (LWP 3453)]
[New Thread 0x7fffc0c006c0 (LWP 3455)]
[New Thread 0x7fffbbe006c0 (LWP 3456)]
[New Thread 0x7fffbb4006c0 (LWP 3457)]
[New Thread 0x7fffbaa006c0 (LWP 3459)]
[New Thread 0x7fffba0006c0 (LWP 3462)]
[New Thread 0x7fffb96006c0 (LWP 3463)]
[New Thread 0x7fffb8c006c0 (LWP 3464)]
[New Thread 0x7fffb3e006c0 (LWP 3465)]
[New Thread 0x7fffb34006c0 (LWP 3466)]
[New Thread 0x7fffb2a006c0 (LWP 3467)]
[Thread 0x7fffb2a006c0 (LWP 3467) exited]
[Thread 0x7fffb34006c0 (LWP 3466) exited]
[New Thread 0x7fffb34006c0 (LWP 3468)]                                                                                                                                                                                                      
[New Thread 0x7fffb2a006c0 (LWP 3469)]
[New Thread 0x7fffb20006c0 (LWP 3470)]
[New Thread 0x7fffb16006c0 (LWP 3471)]
[New Thread 0x7fffb0c006c0 (LWP 3472)]
[New Thread 0x7fffa7e006c0 (LWP 3473)]                                                                                                                                                                                                      
[New Thread 0x7fffa74006c0 (LWP 3474)]
[Thread 0x7fffa74006c0 (LWP 3474) exited]
[Thread 0x7fffa7e006c0 (LWP 3473) exited]
[New Thread 0x7fffa7e006c0 (LWP 3475)]
[New Thread 0x7fffa74006c0 (LWP 3476)]
QEGLPlatformContext: eglSwapBuffers failed: 300b

Thread 1 "xwaylandvideobr" received signal SIGSEGV, Segmentation fault.
0x00007fffd8b81544 in ?? () from /lib64/libGLX_nvidia.so.0
Missing separate debuginfos, use: dnf debuginfo-install xorg-x11-drv-nvidia-libs-550.76-1.fc40.x86_64