xeco23 / WasIstLos

An unofficial WhatsApp desktop application for Linux.
GNU General Public License v3.0
1.01k stars 105 forks source link

Window crashed/blank when using Nvidia #404

Open FelixFourcolor opened 1 month ago

FelixFourcolor commented 1 month ago

On Wayland, the window crashes immediately upon launch and leaves this error message

<13>Aug 31 16:15:09 whatsapp-for-linux[37063]: Gdk-Message: 16:15:09.859: Error 71 (Protocol error) dispatching to Wayland display.                                                                                                                                                                    
<13>Aug 31 16:15:09 whatsapp-for-linux[37063]: Failed to create EGL image for DMABufs with size 1884x1970

On X11, the window is blank Screenshot from 2024-08-31 16-13-35 and leaves this error message.

<13>Aug 31 16:13:23 whatsapp-for-linux[34093]: Failed to create GBM buffer of size 2560x1440: Invalid argument
<13>Aug 31 16:13:24 whatsapp-for-linux[34093]: Failed to create GBM buffer of size 1884x1970: Invalid argument

Arch, Gnome 46, Nvidia 560. I think it's an issue with Nvidia because I have another device with identical setup except without Nvidia, and I don't encounter this issue there.

v-127 commented 1 month ago

Same issue here with Arch Linux KDE 6.1.5 and Nvidia 560 with Wayland enabled.

image

owopeachy commented 1 week ago

EDIT: I fixed this by setting the environment variable WEBKIT_DISABLE_COMPOSITING_MODE=1 Now it works Thanks to gerson's comment here

same happens to me image image Nvidia driver 560.35.03