Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72721 - easysok-0.3.4 displays wrong colors on ppc
Summary: easysok-0.3.4 displays wrong colors on ppc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: PPC Linux
: High major (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-28 06:37 UTC by Michael Kiermaier
Modified: 2004-12-16 06:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix easysok graphics on ppc (image_effect-ppc.patch,1.42 KB, patch)
2004-12-12 05:12 UTC, Joe Jezak (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Kiermaier 2004-11-28 06:37:09 UTC
The colors of the game board are wrong. It seems to me, that the green colors are missing. In the "text" theme, I cannot see anything, it is all white.

In contrast, the icons above the game board are displayed correct.

I am on an Apple iBook 800 MHz, it has a Radeon Mobility 7500 Graphics card. I use the "radeon" xorg driver.

# emerge info
Portage 2.0.51-r3 (default-ppc-2004.1, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.8 ppc)
=================================================================
System uname: 2.6.8 ppc 750FX
Gentoo Base System version 1.6.6
distcc 2.18.2 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632)[disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.3-r3
Headers:  sys-kernel/linux-headers-2.4.18-r2,sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt"
CHOST="powerpc-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://gd.tuwien.ac.at/opsys/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm arts audiofile berkdb bitmap-fonts blas bzlib caps cdparanoia crypt cups dba divx4linux doc dvd encode exif f77 flac fortran gcj gd gdbm gif gnome-libs gphoto2 gpm gtk2 guile icq imlib innodb jack jack-tmpfs java jpeg kde ladcca lcms libcaca libwww live lzo mad maildir matroska monkey motif mpeg mysql ncurses nls objc offensive oggvorbis opengl pam pdflib perl png ppc python qt radeon readline samba sasl sdl session slang speex spell ssl tcltk tcpd tetex theora tiff truetype usb wmf xine xml xml2 xmms xprint xvid xvmc zlib video_cards_radeon"

Reproducible: Always
Steps to Reproduce:
Comment 1 Michael Kiermaier 2004-11-28 06:43:07 UTC
I should have repeated the topic in the bug report:
This problem happens in the game easysok-0.3.4
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-12-02 23:57:37 UTC
I'm guessing this is specific to ppc.  It works fine for me on x86.
Comment 3 Joe Jezak (RETIRED) gentoo-dev 2004-12-12 05:12:02 UTC
Created attachment 45816 [details, diff]
Patch to fix easysok graphics on ppc

This patch changes the order bytes are processed in the image blending
routines.  This fixes the problem on ppc (possibly on all big-endian arches).
Comment 4 Joe Jezak (RETIRED) gentoo-dev 2004-12-16 06:27:51 UTC
Fixed in CVS, the upstream author has been contacted, but I have not received a reply yet.