When I try to share my screen on Discord I see this window what says select your app/windows, Seems like a privacy protection tool which bricks Discord, When I select an app or a screen Discord still cannot detect it and share it properly, any idea how can I fix it?
Under X11, the desktop environment’s window manager is responsible for placing windows and drawing window decorations such as title bars and frames. Under Wayland, the functions of the display server and the window manager are combined in the respective Wayland Compositor. The safety-critical communication between the two is void thus. As before, each client can draw its own window decorations or have them drawn by the compositor.
Wayland does not implement all functions of the X server for security reasons. For example, Wayland does not support the network transparency familiar from X11, which enables functions such as screen recording and screencasting. Functions like that must be implemented in Wayland by protocol extensions, which drags out the implementation of the protocol in time. Currently, Wayland is already so well integrated in both GNOME and KDE Plasma that most users can use it in daily use. However, this is only true as long as no dedicated graphics cards from Nvidia are involved.
X11 - older implementation that works with most apps, devices, etc.
Wayland - newer implementation that will eventually work with everthing, but may have issues now because it is currently under rapid development.
In other words, if you are experiencing issues related to apps that you’ve heard are supposed to work on Linux, it may just be a Wayland issue, so test the same app in X11.
Thanks for solving this issue, I didn’t see any difference at all till now with X11 compared to Wayland also that Screen capture privacy thingy doesn’t exist anymore which its great
Things will get better as time goes by. Eventually, you will have better results with Wayland than you do with X11, but for now, Wayland-related issues are unpredictable for each user.