cinnyapp / cinny-desktop

Yet another matrix client for desktop
GNU Affero General Public License v3.0
415 stars 49 forks source link

AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer #287

Open Dich0tomy opened 5 months ago

Dich0tomy commented 5 months ago

Describe the bug

image

Running cinny produces a blank, white canvas, with the following log in the console:

Gdk-Message: 19:15:31.707: GLX version 1.4 found
 - Vendor: NVIDIA Corporation
 - Checked extensions:
        * GLX_ARB_create_context_profile: yes
        * GLX_EXT_create_context_es2_profile: yes
        * GLX_SGI_swap_control: yes
        * GLX_EXT_texture_from_pixmap: yes
        * GLX_SGI_video_sync: yes
        * GLX_EXT_buffer_age: yes
        * GLX_OML_sync_control: no
Gdk-Message: 19:15:31.707: Creating GLX context (version:3.2, debug:no, forward:no, legacy:no, es:no)
Gdk-Message: 19:15:31.707: Creating GL3 context
Gdk-Message: 19:15:31.726: Realized GLX context[0x556c8ae74178], direct
Gdk-Message: 19:15:31.726: Destroying GLX context

** (cinny:385798): WARNING **: 19:15:31.730: webkit_settings_set_enable_offline_web_application_cache is deprecated and does nothing.
Could not determine the accessibility bus address

(cinny:385798): Gdk-CRITICAL **: 19:15:31.895: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
GStreamer element appsink not found. Please install it.

** (WebKitWebProcess:385811): WARNING **: 19:15:34.209: The GStreamer FDK AAC plugin is missing, AAC playback is unlikely to work.
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
// ^ this gets printed in a loop every ~1s

Reproduction

I use NixOS:

Expected behavior

things working :p

Platform and versions

1. Linux taiga 6.8.11-xanmod1 #1-NixOS SMP PREEMPT_DYNAMIC Tue Jan  1 00:00:00 UTC 1980 x86_64 GNU/Linux (NixOS 24.05)
2. 3.1.0
3. -
4. nixpkgs

I see the latest version is 3.2.1, not 3.1.0, should I try upgrading and see if that fixes the issue?

Additional context

This may be related to me running NixOS as graphics-related problems are pretty common on NixOS.

Technicfan commented 5 months ago

I also get this error with every distribution form (aur, flatpak, appimage, compiled from this repo). I use Arco Linux with Nvidia proprietary drivers (RTX 4060); Maybe it's a problem with those drivers

esoadamo commented 4 months ago

As a workaround, I managed to get it to run on flatpak by disabling device=dri / GPU acceleration.