[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#985863: firefox: VideoCore GPU seems unrecognized by Firefox 87 Wayland



Package: firefox
Version: 87.0-1
Severity: normal
Tags: sid
X-Debbugs-Cc: debian-arm@lists.debian.org

Dear Maintainer,
I wonder if the reported issue is
https://bugzilla.mozilla.org/show_bug.cgi?id=1689207
but I am unsure of it.

I am running linux-image-arm64 with VideoCore GPU as follows:

$ ls -l /dev/dri
total 0
drwxr-xr-x  2 root root      60 Mar 24 16:34 by-path
crw-rw----+ 1 root video 226, 0 Mar 24 16:35 card0
$ ls -l /dev/dri/by-path
total 0
lrwxrwxrwx 1 root root 8 Mar 24 16:35 platform-gpu-card -> ../card0

# dmesg | fgrep -i gpu
[   23.523232] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops [vc4])
[   23.610693] vc4-drm gpu: bound fef05700.hdmi (ops vc4_hdmi_ops [vc4])
[   23.611152] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4])
[   23.611474] vc4-drm gpu: bound fe004000.txp (ops vc4_txp_ops [vc4])
[   23.611805] vc4-drm gpu: bound fe206000.pixelvalve (ops vc4_crtc_ops [vc4])
[   23.612075] vc4-drm gpu: bound fe207000.pixelvalve (ops vc4_crtc_ops [vc4])
[   23.612523] vc4-drm gpu: bound fe20a000.pixelvalve (ops vc4_crtc_ops [vc4])
[   23.612848] vc4-drm gpu: bound fe216000.pixelvalve (ops vc4_crtc_ops [vc4])
[   23.821879] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 0
[   24.141019] vc4-drm gpu: [drm] fb0: vc4drmfb frame buffer device
# dpkg-query -W | fgrep linux-image
linux-image-5.10.0-5-rt-arm64	5.10.24-1
linux-image-rt-arm64	5.10.24-1

The reported issue is observed on the Debian kernel as
well as the Raspberry Pi OS kernel.

Firefox 87 Wayland seems not recognizing the GPU and shows
the following error messages, while firefox-esr in Bullseye
does not show it. Under MOZ_ENABLE_WAYLAND=1 firefox on amd64 host
with I915 GPU shows no error messages.


Script started on 2021-03-25 14:22:01+09:00 [TERM="xterm-256color" TTY="/dev/pts/0" COLUMNS="80" LINES="24"]
$ export MOZ_ENABLE_WAYLAND=1
$ firefox --version
Mozilla Firefox 87.0
$ firefox
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: No GPUs detected via PCI (t=2.27638) [GFX1-]: No GPUs detected via PCI

(firefox:2753): Gdk-CRITICAL **: 14:23:35.084: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed

(firefox:2753): Gdk-CRITICAL **: 14:23:36.057: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed

(firefox:2753): Gdk-CRITICAL **: 14:23:36.059: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed

(firefox:2753): Gdk-CRITICAL **: 14:23:36.709: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed

(firefox:2753): Gdk-CRITICAL **: 14:23:37.510: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed

(firefox:2753): Gdk-WARNING **: 14:23:47.899: Tried to unmap the parent of a popup
$ firefox-esr --version
Mozilla Firefox 78.9.0esr
$ firefox-esr

(firefox-esr:2556): Gdk-CRITICAL **: 14:22:52.143: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed

(firefox-esr:2556): Gdk-CRITICAL **: 14:22:53.322: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed

(firefox-esr:2556): Gdk-CRITICAL **: 14:22:53.324: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed

(firefox-esr:2556): Gdk-CRITICAL **: 14:22:53.914: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed

(firefox-esr:2556): Gdk-CRITICAL **: 14:22:53.916: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed

(firefox-esr:2556): Gdk-CRITICAL **: 14:22:54.618: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed

(firefox-esr:2556): Gdk-WARNING **: 14:23:08.679: Tried to unmap the parent of a popup
$ exit
exit

Script done on 2021-03-25 14:23:55+09:00 [COMMAND_EXIT_CODE="0"]

Best regards, Ryutaroh Matsumoto


-- Package-specific info:


-- Addons package information

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: arm64 (aarch64)

Kernel: Linux 5.10.0-5-rt-arm64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages firefox depends on:
ii  debianutils          4.11.2
ii  fontconfig           2.13.1-4.2
ii  libatk1.0-0          2.36.0-2
ii  libc6                2.31-10
ii  libcairo-gobject2    1.16.0-5
ii  libcairo2            1.16.0-5
ii  libdbus-1-3          1.12.20-2
ii  libdbus-glib-1-2     0.110-6
ii  libevent-2.1-7       2.1.12-stable-1
ii  libffi7              3.3-6
ii  libfontconfig1       2.13.1-4.2
ii  libfreetype6         2.10.4+dfsg-1
ii  libgcc-s1            10.2.1-6
ii  libgdk-pixbuf-2.0-0  2.42.2+dfsg-1
ii  libglib2.0-0         2.66.8-1
ii  libgtk-3-0           3.24.24-3
ii  libnspr4             2:4.29-1
ii  libnss3              2:3.63-1
ii  libpango-1.0-0       1.46.2-3
ii  libstdc++6           10.2.1-6
ii  libvpx6              1.9.0-1
ii  libx11-6             2:1.7.0-2
ii  libx11-xcb1          2:1.7.0-2
ii  libxcb-shm0          1.14-3
ii  libxcb1              1.14-3
ii  libxcomposite1       1:0.4.5-1
ii  libxdamage1          1:1.1.5-2
ii  libxext6             2:1.3.3-1.1
ii  libxfixes3           1:5.0.3-2
ii  libxrender1          1:0.9.10-1
ii  procps               2:3.3.17-4
ii  zlib1g               1:1.2.11.dfsg-2

Versions of packages firefox recommends:
ii  libavcodec-extra58 [libavcodec58]  7:4.3.2-0+deb11u1

Versions of packages firefox suggests:
ii  fonts-lmodern          2.004.5-6.1
pn  fonts-stix | otf-stix  <none>
ii  libcanberra0           0.30-7
ii  libgssapi-krb5-2       1.18.3-4
ii  libgtk2.0-0            2.24.33-1
ii  pulseaudio             14.2-2

-- no debconf information


Reply to: