Bug#1059560: libwebkit2gtk-4.1-0: Can not add google online account via gnome-controle-center without : export WEBKIT_DISABLE_DMABUF_RENDERER=1

Sylvain Maurin sylvain.maurin at cnrs.fr
Thu Dec 28 11:40:06 GMT 2023


Package: libwebkit2gtk-4.1-0
Version: 2.42.4-1~deb12u1
Severity: important

Dear Maintainer,

After a fresh install on a DELL Precision 3620 with i915 and Quadro K420
display adapters (used with Nvidia legacy driver v470), I wished to add a
Google account via the 'Online Accounts' panel from gnome-control-center when I
only saw an empty dialog box. To get more clues, I started gnome-control-center
from the CLI and got this error:

```
$ gnome-control-center
GLib-GIO: _g_io_module_get_default: Found default implementation dconf
(DConfSettingsBackend) for ?gsettings-backend?GoaBackend: Loading all
providers: GoaBackend:  - googleGoaBackend:  - owncloudGoaBackend:  -
windows_liveGoaBackend:  - exchangeGoaBackend:  - lastfmGoaBackend:  -
imap_smtpGoaBackend:  - kerberosGLib-GIO: Using cross-namespace EXTERNAL
authentication (this will deadlock if server is GDBus < 2.73.3)GoaBackend:
activated kerberos providerGLib-GIO: Using cross-namespace EXTERNAL
authentication (this will deadlock if server is GDBus < 2.73.3)GLib-GIO:
_g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for
‘gio-vfs’GLib: unsetenv() is not thread-safe and should not be used after
threads are createdGLib-GIO: _g_io_module_get_default: Found default
implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’GoaBackend:
Loading all providers: GoaBackend:  - googleGoaBackend:  - owncloudGoaBackend:
- windows_liveGoaBackend:  - exchangeGoaBackend:  - lastfmGoaBackend:  -
imap_smtpGoaBackend:  - kerberosGoaBackend: activated kerberos providerKMS:
DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 496x346: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 496x346: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 496x346: Permission denied
Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1
GLib-GIO: _g_io_module_get_default: Found default implementation gnutls
(GTlsBackendGnutls) for ‘gio-tls-backend’
```

I did a few research and found that the error is related to webkit renderer.

As a workaround, an 'export WEBKIT_DISABLE_DMABUF_RENDERER=1' in my
/etc/profile.d/FixWebKitRenderer.sh solved this problem.

```
$ gnome-control-center
GLib-GIO: _g_io_module_get_default: Found default implementation dconf
(DConfSettingsBackend) for ?gsettings-backend?GoaBackend: Loading all
providers: GoaBackend:  - googleGoaBackend:  - owncloudGoaBackend:  -
windows_liveGoaBackend:  - exchangeGoaBackend:  - lastfmGoaBackend:  -
imap_smtpGoaBackend:  - kerberosGoaBackend: activated kerberos providerGLib-
GIO: Using cross-namespace EXTERNAL authentication (this will deadlock if
server is GDBus < 2.73.3)GLib-GIO: Using cross-namespace EXTERNAL
authentication (this will deadlock if server is GDBus < 2.73.3)GLib-GIO:
_g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for
‘gio-vfs’GLib: unsetenv() is not thread-safe and should not be used after
threads are createdGLib-GIO: _g_io_module_get_default: Found default
implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’GoaBackend:
Loading all providers: GoaBackend:  - googleGoaBackend:  - owncloudGoaBackend:
- windows_liveGoaBackend:  - exchangeGoaBackend:  - lastfmGoaBackend:  -
imap_smtpGoaBackend:  - kerberosGoaBackend: activated kerberos providerGLib-
GIO: _g_io_module_get_default: Found default implementation gnutls
(GTlsBackendGnutls) for ‘gio-tls-backend’GLib-GIO: _g_io_module_get_default:
Found default implementation gnome (GProxyResolverGnome) for ‘gio-proxy-
resolver’GLib-GIO: Using cross-namespace EXTERNAL authentication (this will
deadlock if server is GDBus < 2.73.3)GLib-GIO: _g_io_module_get_default: Found
default implementation gvfs (GDaemonVfs) for ‘gio-vfs’GLib: unsetenv() is not
thread-safe and should not be used after threads are createdGLib-GIO:
_g_io_module_get_default: Found default implementation dconf
(DConfSettingsBackend) for ‘gsettings-backend’GoaBackend: Loading all
providers: GoaBackend:  - googleGoaBackend:  - owncloudGoaBackend:  -
windows_liveGoaBackend:  - exchangeGoaBackend:  - lastfmGoaBackend:  -
imap_smtpGoaBackend:  - kerberosGoaBackend: activated kerberos provider
```

As I may have a rare display configuration that may be related to this
probleme, I join an 'xrandr' list :

```
$ xrandr --listproviders --listactivemonitors
Providers: number : 2
Provider 0: id: 0x2d7 cap: 0x1, Source Output crtcs: 4 outputs: 4 associated
providers: 1 name:NVIDIA-0
Provider 1: id: 0x315 cap: 0xf, Source Output, Sink Output, Source Offload,
Sink Offload crtcs: 3 outputs: 6 associated providers: 1 name:modesetting
Monitors: 3
 0: +*DP-1 1920/546x1200/352+1050+404  DP-1
 1: +DP-1-2 1200/518x1920/324+2970+0  DP-1-2
 2: +HDMI-1-2 1050/473x1680/296+0+254  HDMI-1-2
```

Thank's you for you work and happy holidays,

Sylvain



-- System Information:
Debian Release: 12.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-16-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libwebkit2gtk-4.1-0 depends on:
ii  bubblewrap                      0.8.0-2
ii  gstreamer1.0-plugins-base       1.22.0-3+deb12u1
ii  gstreamer1.0-plugins-good       1.22.0-5+deb12u1
ii  libatk1.0-0                     2.46.0-5
ii  libavif15                       0.11.1-1
ii  libc6                           2.36-9+deb12u3
ii  libcairo2                       1.16.0-7
ii  libdrm2                         2.4.114-1+b1
ii  libenchant-2-2                  2.3.3-2
ii  libepoxy0                       1.5.10-1
ii  libfontconfig1                  2.14.1-4
ii  libfreetype6                    2.12.1+dfsg-5
ii  libgbm1                         22.3.6-1+deb12u1
ii  libgcc-s1                       12.2.0-14
ii  libgcrypt20                     1.10.1-3
ii  libgdk-pixbuf-2.0-0             2.42.10+dfsg-1+b1
ii  libgles2                        1.6.0-1
ii  libglib2.0-0                    2.74.6-2
ii  libgstreamer-gl1.0-0            1.22.0-3+deb12u1
ii  libgstreamer-plugins-bad1.0-0   1.22.0-4+deb12u4
ii  libgstreamer-plugins-base1.0-0  1.22.0-3+deb12u1
ii  libgstreamer1.0-0               1.22.0-2
ii  libgtk-3-0                      3.24.38-2~deb12u1
ii  libharfbuzz-icu0                6.0.0+dfsg-3
ii  libharfbuzz0b                   6.0.0+dfsg-3
ii  libhyphen0                      2.8.8-7
ii  libicu72                        72.1-3
ii  libjavascriptcoregtk-4.1-0      2.42.4-1~deb12u1
ii  libjpeg62-turbo                 1:2.1.5-2
ii  liblcms2-2                      2.14-2
ii  libmanette-0.2-0                0.2.6-3+b1
ii  libopenjp2-7                    2.5.0-2
ii  libpango-1.0-0                  1.50.12+ds-1
ii  libpng16-16                     1.6.39-2
ii  libseccomp2                     2.5.4-1+b3
ii  libsecret-1-0                   0.20.5-3
ii  libsoup-3.0-0                   3.2.2-2
ii  libsqlite3-0                    3.40.1-2
ii  libstdc++6                      12.2.0-14
ii  libsystemd0                     252.19-1~deb12u1
ii  libtasn1-6                      4.19.0-2
ii  libwayland-client0              1.21.0-1
ii  libwayland-server0              1.21.0-1
ii  libwebp7                        1.2.4-0.2+deb12u1
ii  libwebpdemux2                   1.2.4-0.2+deb12u1
ii  libwoff1                        1.0.2-2
ii  libwpe-1.0-1                    1.14.0-1
ii  libwpebackend-fdo-1.0-1         1.14.2-1
ii  libx11-6                        2:1.8.4-2+deb12u2
ii  libxcomposite1                  1:0.4.5-1
ii  libxdamage1                     1:1.1.6-1
ii  libxml2                         2.9.14+dfsg-1.3~deb12u1
ii  libxslt1.1                      1.1.35-1
ii  xdg-dbus-proxy                  0.1.4-3
ii  zlib1g                          1:1.2.13.dfsg-1

Versions of packages libwebkit2gtk-4.1-0 recommends:
ii  gstreamer1.0-gl           1.22.0-3+deb12u1
ii  gstreamer1.0-libav        1.22.0-2
ii  gstreamer1.0-plugins-bad  1.22.0-4+deb12u4
ii  libgl1-mesa-dri           22.3.6-1+deb12u1
ii  xdg-desktop-portal-gtk    1.14.1-1

Versions of packages libwebkit2gtk-4.1-0 suggests:
ii  gstreamer1.0-alsa  1.22.0-3+deb12u1

-- no debconf information


More information about the Pkg-webkit-maintainers mailing list