flathub / com.discordapp.Discord

https://flathub.org/apps/details/com.discordapp.Discord
126 stars 41 forks source link

Discord is just a blank screen #227

Open Elijahrane opened 2 years ago

Elijahrane commented 2 years ago

OS: Fedora 36 GPU: AMD Radeon RX 5500 XT (Default drivers) GNOME version: 42.2 Kernel version: 5.18.5-200.fc36.x86_64

Doesn't work in either wayland or xorg. This is what discord looks like when I launch it (screenshot taken in wayland) image

System is fully updated. I don't have much software installed beyond what comes with default Fedora GNOME image

$ flatpak run com.discordapp.Discord
2022/06/21 09:15:43 socat[3] E "/run/user/1000/app/com.discordapp.Discord/discord-ipc-0" exists
Disabling updates already done
Discord 0.0.18
Quitting secondary instance.
Gtk-Message: 09:15:44.268: Failed to load module "canberra-gtk-module"
Gtk-Message: 09:15:44.269: Failed to load module "pk-gtk-module"
Gtk-Message: 09:15:44.269: Failed to load module "canberra-gtk-module"
Gtk-Message: 09:15:44.269: Failed to load module "pk-gtk-module"
/app/bin/discord: line 19: kill: (3) - No such process
Elijahrane commented 2 years ago

I tried installing the RPM fusion discord package and that works fine. I would prefer the flatpak for a program like this, though.

TingPing commented 2 years ago

See this comment: https://github.com/flathub/com.discordapp.Discord/issues/210#issuecomment-1097048198

b-m-f commented 2 years ago

same problem here

jdandrea commented 2 years ago

Seeing the same symptoms here:

OS: Fedora 36 (fresh/new install) GPU: NVIDIA Corporation GM204 [GeForce GTX 980] GNOME version: 42.3 (Wayland) Kernel version: 5.18.13-200.fc36.x86_64

Eventually seems to get stuck on:

[2022-07-24 18:11:33.274] [172] (device_info_linux.cc:45): NumberOfDevices
[2022-07-24 18:11:33.372] [172] (device_info_linux.cc:45): NumberOfDevices
[2022-07-24 18:11:33.373] [172] (device_info_linux.cc:78): GetDeviceName
[2022-07-24 18:11:36.375] [172] (device_info_linux.cc:45): NumberOfDevices
[2022-07-24 18:11:36.472] [172] (device_info_linux.cc:45): NumberOfDevices
[2022-07-24 18:11:36.472] [172] (device_info_linux.cc:78): GetDeviceName

... then it handles an OnDevicesChanged (but I didn't change anything)... and eventually lands back at the above again, and round and round it goes.

Per #210, flatpak run --command=zypak-wrapper com.discordapp.Discord /app/discord/Discord yields no difference in observed behaviour. However, appending --disable-gpu to this works! I still see the GetDeviceName and NumberOfDevices in the background so perhaps that is expected polling behaviour and something else is happening.

TingPing commented 2 years ago

Maybe we could add --disable-gpu if you use NVidia+XWayland. If its device specific thats more of a problem.

paulimer commented 2 years ago

Hi ! I don't have this issue (blank screen), however I do have the journalctl looping logs same as @jdandrea. However, I do not have a Nvidia gpu :

OS: Fedora 36 GPU: Mesa Intel® HD Graphics 530 (SKL GT2) GNOME version: 42.3 (Wayland) Kernel version: 5.18.13-200.fc36.x86_64

I came across this in the journal looking for a waking from sleep bug, blocking the whole GNOME shell after password validation.

In any case, the blank screen issue is probably not caused by this.

XaurDesu commented 1 year ago

Currently using Nvidia GTX 960 + Fedora 37 + Wayland in a GNOME desktop environment, i seem to have this problem in GNOME, but when i switch to KDE + Wayland it dissapears. Not sure what to make of it.

merryhime commented 10 months ago

This is occurring for myself on a GTX 4070 + Fedora 38 + Wayland in a GNOME desktop environment. Renders on KDE (however as a separate issue is super flickery.)

guihkx commented 2 days ago

Can someone please retest this with latest Discord (0.0.70) and runtime (24.08)?

Thank you.