maltejur / discord-screenaudio

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

Black screen on fullscreen mode #93

Open s-kostyaev opened 1 year ago

s-kostyaev commented 1 year ago

Hi, thank you for improve discord experience on wayland. When I see in call that someone share screen and if I make it fullscreen than I see black screen only, no video, no controls. Archlinux, gnome wayland. Problem has both flatpack version and AUR one.

maltejur commented 1 year ago

I can not reproduce this problem on Gnome Wayland Arch. Do you have xdg-desktop-portal-gnome installed?

s-kostyaev commented 1 year ago

Yes. All works fine in windowed mode.

IlChitarrista commented 1 year ago

Hello, I have a similar issue where Fullscreen fully freezes the program on the last frame on Nvidia Wayland (Fedora 38, Gnome 44). I'm using a Patched version of Gnome which still doesn't solve this.

Because I'm using Silverblue and have almost identical systems I've tested this on my Laptop with an AMD GPU and got a White Screen with the same issue.

This can be "fixed" by using Xwayland (Disable Wayland using Flatseal) but it causes a frame ordering issue yet to be fixed for Nvidia GPUs.

The error message that pops up when trying to fullscreen on Nvidia Wayland is: [qt.qpa.wayland] Wayland does not support QWindow::requestActivate()

The same issue is present in Gnome 43 on Fedora 37 on my AMD GPU (I suppose Nvidia as well)

maltejur commented 1 year ago

@IlChitarrista do other programs using portals on wayland have the same issue or is this isolated to discord-screenaudio?

IlChitarrista commented 1 year ago

This issue is unique to screenaudio and the only other software that might have similar issues is Webcord that, unfortunately, I cannot try as it doesn't start at all on Wayland. I will try this on KDE Plasma once I get the chance to quickly rebase; I will let you know soon but I would say that it is unique (Although OG Discord doesn't use Portals fullscreen works properly on Wayland so, at least, we know that it is not an upstream issue).

EamonHeffernan commented 1 year ago

Having the same issue here. Nvidia GPU on wayland.