Crash Annotation GraphicsCriticalError: |[0][GFX1]: Unknown image format 0[GFX1]: Unknown image format 0 Crash Annotation GraphicsCriticalError: |[0][GFX1]: Unknown image format 0|[1][GFX1]: Unknown image format 0[GFX1]: Unknown image format 0

Bug #1562385 reported by luigiburdo
34
This bug affects 4 people
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Expired
Medium
Unassigned

Bug Description

i have continue this error as loop when i open firefox from terminal and this hit the performances

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: firefox 45.0.1+build1-0ubuntu1
Uname: Linux 4.5.0-cyrus-lb ppc64
AddonCompatCheckDisabled: False
ApportVersion: 2.20-0ubuntu3
Architecture: powerpc
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: amigaone 4535 F.... pulseaudio
BuildID: 20160317093517
Channel: Unavailable
CurrentDesktop: MATE
Date: Sat Mar 26 20:51:20 2016
Extensions: extensions.sqlite corrupt or missing
ForcedLayersAccel: False
IncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite)
InstallationDate: Installed on 2016-03-05 (21 days ago)
InstallationMedia: Lubuntu 16.04 LTS "Xenial Xerus" - Alpha powerpc (20160302)
IpRoute:
 default via 192.168.1.1 dev eth0
 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.102
Locales: extensions.sqlite corrupt or missing
Plugins:
 IcedTea-Web Plugin (using IcedTea-Web 1.6.2 (1.6.2-2ubuntu1)) - /usr/lib/jvm/java-8-openjdk-powerpc/jre/lib/ppc/IcedTeaPlugin.so (icedtea-8-plugin)
 Gnome Shell Integration - /usr/lib/mozilla/plugins/libgnome-shell-browser-plugin.so (gnome-shell)
PrefSources: prefs.js
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
Profiles: Profile0 (Default) - LastVersion=45.0.1/20160317093517 (In use)
RelatedPackageVersions:
 icedtea-8-plugin 1.6.2-2ubuntu1
 gnome-shell 3.18.4-0ubuntu2
RfKill:

RunningIncompatibleAddons: False
SourcePackage: firefox
Themes: extensions.sqlite corrupt or missing
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
luigiburdo (intermediadc) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in firefox (Ubuntu):
status: New → Confirmed
Revision history for this message
K1773R (k1773r) wrote :

anyone found a workaround?

Changed in firefox (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Pieter Van den Berghe (pietervandenberghe81) wrote :

My iMac is also affected. It's a G5 (PPC970FX) 1.6GHz, 768MB RAM.
I installed Lubuntu 16.04 yesterday (May 30th), problem occurs since then, still happening after apt-get upgrade.
Kernel 4.4.0-22-powerpc64-smp

Revision history for this message
Lionelh (hamiltcl) wrote :

After struggling with this for several months I've found what I believe is the source of this bug. I had to go back and look at Firefox 44.0, the last version to build without exhibiting the flashing. I discovered that a change between versions 44.0 and 45.0, Bug 1209812 - Add endian-neutral variants to SurfaceFormat, was the culprit.

I believe error is in the below code changes to gfx/2d/Types.h:

  // 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

As I understand from reading the endianness values that preceed this code, the endian test should be reserved to be:

#if MOZ_BIG_ENDIAN
  A8R8G8B8_UINT32 = B8G8R8A8, // 0xAARRGGBB
  X8R8G8B8_UINT32 = B8G8R8X8 // 0x00RRGGBB
#elif MOZ_LITTLE_ENDIAN
  A8R8G8B8_UINT32 = A8R8G8B8, // 0xAARRGGBB
  X8R8G8B8_UINT32 = X8R8G8B8 // 0x00RRGGBB
#else
# error "bad endianness"
#endif

I've used this to patch Firefox which allows me to successfully build both Firefox 46 and 47 that do not exhibit the graphics flashing.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "patch-gfx-2d-Types.h" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
K1773R (k1773r) wrote :

I tried rebuilding the current xenial firefox release (48.0) which failed (not due to the patch), dont waste your trying tryint to build version 48.

A xenial build of firefox 47 did work. Attaching for those who want to use it.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Please submit your fix upstream to Mozilla.

Revision history for this message
Paul White (paulw2u) wrote :

We are sorry that we do not always have the capacity to review all reported bugs in a timely manner. You reported this bug some time ago and there have been many changes in Ubuntu and Firefox since that time.

Do you still see a problem related to the one that you reported using currently supported versions of Firefox and Ubuntu? Please let us know if you do otherwise this report can be left to expire in approximately 60 days time.

Thank you for helping make Ubuntu better.

Paul White
[Ubuntu Bug Squad]

Changed in firefox (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for firefox (Ubuntu) because there has been no activity for 60 days.]

Changed in firefox (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.