Your message dated Thu, 22 Oct 2020 11:00:39 +0200
with message-id <20201022090039.GA1644436@jcristau-z4>
and subject line Re: Bug#901644: "[GFX1]: Unknown image format 1" error 
messages spammed to console on big-endian systems (PowerPC)
has caused the Debian Bug report #901644,
regarding "[GFX1]: Unknown image format 1" error messages spammed to console on 
big-endian systems (PowerPC)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
901644: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901644
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: firefox
Version: 52.0.2-1
Severity: important
Tags: patch upstream

Dear Maintainer,

PowerPC (and presumably all other big-endian architectures) suffer a severe
performance blow on account of an endian-ness problem in ARGB/RGBA support.

Messages such as:
`Crash Annotation GraphicsCriticalError: |[0][GFX1]: Unknown image format 1 
(t=20.0634)`
get spammed to the console at an alarming rate while using the browser.

It appears that this is because of a problem introduced by the fifth attached
patch in Mozilla (not Debian) bug #1209812 - "Add endian-neutral variants to
SurfaceFormat."
https://bugzilla.mozilla.org/show_bug.cgi?id=1209812

In particular, using the part under the `#if MOZ_LITTLE_ENDIAN` preprocessor
block for all cases (removing the big endian case and the preprocessor guard
for the little endian one) appears to fix the problem.

This is my first time reporting a bug in Debian, but if I've done this right
a patch should be attached which fixed it for me and probably also fixes it
for other big-endian platforms. I noticed a marked performance increase after
applying this patch as well - probably due to not writing a ton of error
messages to the console anymore. I have noticed no averse impact so far.

-- Package-specific info:

-- Extensions information
Name: Application Update Service Helper
Location: ${PROFILE_EXTENSIONS}/[email protected]
Status: enabled

Name: Default theme
Location: 
/usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
Package: firefox
Status: enabled

Name: Greasemonkey
Location: ${PROFILE_EXTENSIONS}/{e4a8a97b-f2ed-450b-b12d-ee082ba24781}.xpi
Status: enabled

Name: Multi-process staged rollout
Location: ${PROFILE_EXTENSIONS}/[email protected]
Status: enabled

Name: Pocket
Location: ${PROFILE_EXTENSIONS}/[email protected]
Status: enabled

Name: Site Deployment Checker
Location: ${PROFILE_EXTENSIONS}/[email protected]
Status: enabled

Name: uBlock Origin
Location: ${PROFILE_EXTENSIONS}/[email protected]
Status: enabled

Name: Web Compat
Location: ${PROFILE_EXTENSIONS}/[email protected]
Status: enabled

-- Plugins information

-- Addons package information
ii  firefox        52.0.2-1     powerpc      Mozilla Firefox web browser

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Foreign Architectures: amd64

Kernel: Linux 4.16.0-2-powerpc
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
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.8.6
ii  fontconfig                2.13.0-5
ii  libatk1.0-0               2.28.1-1
ii  libatomic1                8.1.0-5
ii  libc6                     2.27-3
ii  libcairo-gobject2         1.15.10-3
ii  libcairo2                 1.15.10-3
ii  libdbus-1-3               1.12.8-3
ii  libdbus-glib-1-2          0.110-2
ii  libevent-2.0-5            2.0.21-stable-3
ii  libffi6                   3.2.1-8
ii  libfontconfig1            2.13.0-5
ii  libfreetype6              2.8.1-2
ii  libgcc1                   1:8.1.0-5
ii  libgdk-pixbuf2.0-0        2.36.11-2
ii  libglib2.0-0              2.56.1-2
ii  libgtk-3-0                3.22.30-1
ii  libgtk2.0-0               2.24.32-1
ii  libhunspell-1.4-0         1.4.1-2+b2
ii  libpango-1.0-0            1.42.1-1
ii  libsqlite3-0              3.24.0-1
ii  libstartup-notification0  0.12-5
ii  libstdc++6                8.1.0-5
ii  libvpx4                   1.6.1-3
ii  libx11-6                  2:1.6.5-1
ii  libx11-xcb1               2:1.6.5-1
ii  libxcb-shm0               1.13-1
ii  libxcb1                   1.13-1
ii  libxcomposite1            1:0.4.4-2
ii  libxdamage1               1:1.1.4-3
ii  libxext6                  2:1.3.3-1+b2
ii  libxfixes3                1:5.0.3-1
ii  libxrender1               1:0.9.10-1
ii  libxt6                    1:1.1.5-1
ii  procps                    2:3.3.15-2
ii  zlib1g                    1:1.2.11.dfsg-1

firefox recommends no packages.

Versions of packages firefox suggests:
pn  fonts-lmodern          <none>
pn  fonts-stix | otf-stix  <none>
ii  libcanberra0           0.30-6
ii  libgssapi-krb5-2       1.16-2
pn  mozplugger             <none>

-- no debconf information
--- ./a/gfx/2d/Types.h  2018-04-03 20:33:48.000000000 -0400
+++ ./b/gfx/2d/Types.h  2018-06-15 23:06:03.784949375 -0400
@@ -64,19 +64,8 @@
 
   // This represents the unknown format.
   UNKNOWN,
-
-  // The following values are endian-independent synonyms. The _UINT32 suffix
-  // indicates that the name reflects the layout when viewed as a uint32_t
-  // value.
-#if MOZ_LITTLE_ENDIAN
   A8R8G8B8_UINT32 = B8G8R8A8,       // 0xAARRGGBB
   X8R8G8B8_UINT32 = B8G8R8X8        // 0x00RRGGBB
-#elif MOZ_BIG_ENDIAN
-  A8R8G8B8_UINT32 = A8R8G8B8,       // 0xAARRGGBB
-  X8R8G8B8_UINT32 = X8R8G8B8        // 0x00RRGGBB
-#else
-# error "bad endianness"
-#endif
 };
 
 inline bool IsOpaque(SurfaceFormat aFormat)

--- End Message ---
--- Begin Message ---
Control: forwarded -1 https://bugzilla.mozilla.org/show_bug.cgi?id=1469116

On Sat, Jun 16, 2018 at 12:56:31AM -0400, Wyatt Ward wrote:
> I reported this upstream as Mozilla bug #1469116.
> https://bugzilla.mozilla.org/show_bug.cgi?id=1469116

Thanks.  It looks like that has got silent, hopefully the issue got fixed in 
newer versions.

Cheers,
Julien

--- End Message ---

Reply via email to