NetBSD Problem Report #48800

From www@NetBSD.org  Sun May 11 09:04:06 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 69B19A5813
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 11 May 2014 09:04:06 +0000 (UTC)
Message-Id: <20140511090404.DE675A5845@mollari.NetBSD.org>
Date: Sun, 11 May 2014 09:04:04 +0000 (UTC)
From: cryintothebluesky@googlemail.com
Reply-To: cryintothebluesky@googlemail.com
To: gnats-bugs@NetBSD.org
Subject: Firefox on NetBSD sparc64 incorrectly displays orange and blue colours
X-Send-Pr-Version: www-1.0

>Number:         48800
>Category:       port-sparc64
>Synopsis:       Firefox on NetBSD sparc64 incorrectly displays orange and blue colours
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 11 09:05:00 +0000 2014
>Last-Modified:  Sun Oct 30 21:10:00 +0000 2016
>Originator:     Sad Clouds
>Release:        6.99.40
>Organization:
>Environment:
NetBSD ultra10 6.99.40 NetBSD 6.99.40 (GENERIC.UP) #0: Sun May  4 16:11:50 BST 2014  roman@atom510:/opt/obj.sparc64/sys/arch/sparc64/compile/GENERIC.UP sparc64
>Description:
firefox-29.0 and various previous versions incorrectly display orange and blue colours, i.e. those colours are swapped. You can see the effect on the following screenshot:

https://drive.google.com/file/d/0B5_0Y3a5LFU8ZEhaOFh4V3FENlE/edit?usp=sharing

The following observations have been made:

1. The issue seems to occur on sparc64 with Creator3D UPA framebuffer (ffb0 at mainbus0 addr 0xfebc0000: Creator3D, model SUNW,501-4788, dac 10)

2. Someone has tried running the same firefox binary package on sparc64 but with a PCI graphics card and the issue was not reproducable.

3. The issue is not reproducable if I enable X11 forwarding and ssh into sparc64 machine from x86, then executing firefox on sparc64, so that it is displayed on x86.

4. It is only firefox binary that shows the issue on sparc64. Other GTK programs on the same machine display the same image correctly.

It seems like a big/little-endian bug in firefox that only shows up with Creator3D framebuffer, or maybe there is an issue with X11 ffb driver??
>How-To-Repeat:
Run firefox on sparc64 with Creator3D framebuffer.
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Sun, 11 May 2014 09:20:05 +0000
Responsible-Changed-Why:
Over to maintainer.


Responsible-Changed-From-To: ryoon->port-sparc64-maintainer
Responsible-Changed-By: maya@NetBSD.org
Responsible-Changed-When: Sun, 30 Oct 2016 21:05:33 +0000
Responsible-Changed-Why:
Move to sparc64


From: Maya Rashish <maya@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-sparc64/48800: Firefox on NetBSD sparc64 incorrectly
 displays orange and blue colours
Date: Sun, 30 Oct 2016 21:08:14 +0000

 Moved categories so it has a better chance of being resolved
 in case the problem still exists. it doesn't sound like a firefox
 problem, too.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.