Bug#611595: grub-ieee1275: graphical display on openfirmware has poor color fidelity

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Jan 31 01:18:23 UTC 2011


Package: grub-ieee1275
Version: 1.99~rc1-1
Severity: minor

Using grub-ieee1275 and the stock debian background for grub's
graphical boot, i get a poor display of the colors of the image.

the image being displayed is the stock debian squeeze grub background:

0 abc at tut:/tmp$ identify /usr/share/images/desktop-base/desktop-grub.png 
/usr/share/images/desktop-base/desktop-grub.png PNG 640x480 640x480+0+0 8-bit DirectClass 31.1KB 0.000u 0:00.019
0 abc at tut:/tmp$ 

(also attached to this bug report).

I've taken a photo of a powerpc machine with the monitor mis-rendering
this image.  This misrendering seems to happen on all powerpc machines
i've tried (both 32 and 64 bit, with ATI and NVIDIA GPUs).

Note in particular the blockiness of the upper-right-hand swirl, and
the lack of a gradient in the "atmosphere" of the planet surface along
the bottom.

This is a minor thing, but it makes a sloppy-looking first impression
so i figure you'd want to know about it.

Regards,

	--dkg

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/vg_tut0-root / ext3 rw,relatime,errors=remount-ro,barrier=0,data=ordered 0 0
/dev/sda3 /boot ext2 rw,relatime,errors=continue 0 0
/dev/sda2 /boot/grub hfs rw,nosuid,noexec,relatime,uid=0,gid=0 0 0
/dev/mapper/vg_tut0-home /home ext3 rw,relatime,errors=continue,barrier=0,data=ordered 0 0
/dev/mapper/vg_tut0-tmp /tmp ext3 rw,relatime,errors=continue,barrier=0,data=ordered 0 0
/dev/mapper/vg_tut0-usr /usr ext3 rw,relatime,errors=continue,barrier=0,data=ordered 0 0
/dev/mapper/vg_tut0-var /var ext3 rw,relatime,errors=continue,barrier=0,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd)	/dev/disk/by-id/ata-aMtxro6_1Y060M_4YL819EA
# (hd1)	/dev/disk/by-id/ata-TS330026A0_S_Q53FBADQ
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  insmod ieee1275_fb
}

insmod lvm
insmod part_apple
insmod ext2
set root='(vg_tut0-usr)'
search --no-floppy --fs-uuid --set=root 5bd6ffcc-9042-435e-a1a4-ee0cac33b090
if loadfont /share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_apple
insmod hfs
set root='(hd,apple2)'
search --no-floppy --fs-uuid --set=root b212398c040af4bb
set locale_dir=($root)/locale
set lang=en_US
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod lvm
insmod part_apple
insmod ext2
set root='(vg_tut0-usr)'
search --no-floppy --fs-uuid --set=root 5bd6ffcc-9042-435e-a1a4-ee0cac33b090
insmod png
if background_image /share/images/desktop-base/spacefun-grub.png; then
  set color_normal=light-gray/black
  set color_highlight=white/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 2.6.37-trunk-powerpc64' --class debian --class gnu-linux --class gnu --class os {
	insmod part_apple
	insmod ext2
	set root='(hd,apple3)'
	search --no-floppy --fs-uuid --set=root b24f626c-8db7-48ae-ae14-b04c0f196182
	echo	'Loading Linux 2.6.37-trunk-powerpc64 ...'
	linux	/vmlinux-2.6.37-trunk-powerpc64 root=/dev/mapper/vg_tut0-root ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.37-trunk-powerpc64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37-trunk-powerpc64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod part_apple
	insmod ext2
	set root='(hd,apple3)'
	search --no-floppy --fs-uuid --set=root b24f626c-8db7-48ae-ae14-b04c0f196182
	echo	'Loading Linux 2.6.37-trunk-powerpc64 ...'
	linux	/vmlinux-2.6.37-trunk-powerpc64 root=/dev/mapper/vg_tut0-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.37-trunk-powerpc64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-vserver-powerpc64' --class debian --class gnu-linux --class gnu --class os {
	insmod part_apple
	insmod ext2
	set root='(hd,apple3)'
	search --no-floppy --fs-uuid --set=root b24f626c-8db7-48ae-ae14-b04c0f196182
	echo	'Loading Linux 2.6.32-5-vserver-powerpc64 ...'
	linux	/vmlinux-2.6.32-5-vserver-powerpc64 root=/dev/mapper/vg_tut0-root ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.32-5-vserver-powerpc64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-vserver-powerpc64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod part_apple
	insmod ext2
	set root='(hd,apple3)'
	search --no-floppy --fs-uuid --set=root b24f626c-8db7-48ae-ae14-b04c0f196182
	echo	'Loading Linux 2.6.32-5-vserver-powerpc64 ...'
	linux	/vmlinux-2.6.32-5-vserver-powerpc64 root=/dev/mapper/vg_tut0-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.32-5-vserver-powerpc64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-powerpc64' --class debian --class gnu-linux --class gnu --class os {
	insmod part_apple
	insmod ext2
	set root='(hd,apple3)'
	search --no-floppy --fs-uuid --set=root b24f626c-8db7-48ae-ae14-b04c0f196182
	echo	'Loading Linux 2.6.32-5-powerpc64 ...'
	linux	/vmlinux-2.6.32-5-powerpc64 root=/dev/mapper/vg_tut0-root ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.32-5-powerpc64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-powerpc64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod part_apple
	insmod ext2
	set root='(hd,apple3)'
	search --no-floppy --fs-uuid --set=root b24f626c-8db7-48ae-ae14-b04c0f196182
	echo	'Loading Linux 2.6.32-5-powerpc64 ...'
	linux	/vmlinux-2.6.32-5-powerpc64 root=/dev/mapper/vg_tut0-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.32-5-powerpc64
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: powerpc (ppc64)

Kernel: Linux 2.6.37-trunk-powerpc64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-ieee1275 depends on:
ii  bc                           1.06.95-2   The GNU bc arbitrary precision cal
ii  debconf [debconf-2.0]        1.5.36      Debian configuration management sy
ii  grub-common                  1.99~rc1-1  GRand Unified Bootloader, version 
ii  powerpc-ibm-utils            1.1.0-1     utilities for maintenance of IBM P
ii  powerpc-utils                1.1.3-24    Various utilities for Linux/PowerP
ii  ucf                          3.0025+nmu1 Update Configuration File: preserv

grub-ieee1275 recommends no packages.

Versions of packages grub-ieee1275 suggests:
ii  genisoimage                   9:1.1.11-1 Creates ISO-9660 CD-ROM filesystem
ii  os-prober                     1.42       utility to detect other OSes on a 

-- debconf information excluded
-------------- next part --------------
A non-text attachment was scrubbed...
Name: desktop-grub.png
Type: application/x-symlink
Size: 31076 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20110130/827fd11d/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot.jpg
Type: image/jpeg
Size: 59872 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20110130/827fd11d/attachment-0001.jpg>


More information about the Pkg-grub-devel mailing list