maltejur / discord-screenaudio

A custom discord client that supports streaming with audio on Linux.
1.1k stars 34 forks source link

Blank screen when opening app on Wayland #190

Open pigeonedd opened 1 year ago

pigeonedd commented 1 year ago

When opening app when using Wayland I only get a blank screen and nothing happens. Works fine on X11

Terminal shows these errors repeating [2:34:1009/180601.057667:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT

[2:34:1009/180601.057674:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.

[2:34:1009/180601.057680:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context

[2:34:1009/180601.057686:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub

Thanks

jeisoncp commented 1 year ago

If you using the Flatpak version, you can easily disable Wayland for the app, using Flatseal:

image

This will force Screenshare running by XWayland.