From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-ppc-user+bounces-549-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1JmYex-0007Ml-M7
	for garchives@archives.gentoo.org; Thu, 17 Apr 2008 18:16:36 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A8BA9E06BA;
	Thu, 17 Apr 2008 18:16:34 +0000 (UTC)
Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.234])
	by pigeon.gentoo.org (Postfix) with ESMTP id 78893E06BA
	for <gentoo-ppc-user@lists.gentoo.org>; Thu, 17 Apr 2008 18:16:34 +0000 (UTC)
Received: by wx-out-0506.google.com with SMTP id h30so194697wxd.10
        for <gentoo-ppc-user@lists.gentoo.org>; Thu, 17 Apr 2008 11:16:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        bh=B5ubZfYb3u7rMbuigTyWd9HUj/Zf2Sh/x6fcyDoA8VI=;
        b=lVtbcN/2lRkIWtZXjxKn4fCYZ2UESKfSaoZwIspCmuFLfe00/BCYBDYMSU9EW/PWPPfnvQT0C2J+PNbgZKymm5l0zC5m5G1FpHNJEUNmn871xkOdpuCcOSgc7KfzjP8xn7DullC2gkXdwcGdE6Ogn9pp0P9C0n39uF9/waYDLXQ=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=UOekAuvpZWR+op6INgd3cbzm9pL/ZMXUyD4cqIPMLTkfu3NAZ9SY7dXclzYFcqXwZAOn6LI162M78GzsUBaH4h5KPQ08lDMRarsE3u36aN/B0iXnUiIOQS8t9dcWUSyyuxxORLB6MPt0+iJZJC2TxbvhnLdOAL6aKUklPIX5PY4=
Received: by 10.100.134.10 with SMTP id h10mr3064642and.117.1208456193430;
        Thu, 17 Apr 2008 11:16:33 -0700 (PDT)
Received: by 10.100.12.15 with HTTP; Thu, 17 Apr 2008 11:16:33 -0700 (PDT)
Message-ID: <5bdc1c8b0804171116r4dbbc4d0scc68e95a116d3b96@mail.gmail.com>
Date: Thu, 17 Apr 2008 11:16:33 -0700
From: "Mark Knecht" <markknecht@gmail.com>
To: gentoo-ppc-user@lists.gentoo.org
Subject: Re: [gentoo-ppc-user] Mac Mini PPC - Is this the right list?
In-Reply-To: <8A26622C-6708-4AB7-8883-2D7488277FB6@mac.com>
Precedence: bulk
List-Post: <mailto:gentoo-ppc-user@lists.gentoo.org>
List-Help: <mailto:gentoo-ppc-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-ppc-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-ppc-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-ppc-user.gentoo.org>
X-BeenThere: gentoo-ppc-user@lists.gentoo.org
Reply-to: gentoo-ppc-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <5bdc1c8b0804151857t16346bccm731090e05557db1e@mail.gmail.com>
	 <1eaf261f0804160929o73beb3y2d8620217dac5c90@mail.gmail.com>
	 <5bdc1c8b0804160939y1dd89a30le418707bfaea78c5@mail.gmail.com>
	 <6EBB9EE5-04A1-4351-B11B-780804F12DAC@mac.com>
	 <5bdc1c8b0804161337s1d060237t245f6bc57301c055@mail.gmail.com>
	 <015F8461-3594-40F3-B247-28F2A8FF4308@mac.com>
	 <5bdc1c8b0804161619k5d3970c7ndc15d1ac15bbf041@mail.gmail.com>
	 <06454CE0-774B-4356-9311-9A755672281A@mac.com>
	 <5bdc1c8b0804170726j1fd5ef6t882c72e3fe7a35a2@mail.gmail.com>
	 <8A26622C-6708-4AB7-8883-2D7488277FB6@mac.com>
X-Archives-Salt: 0e3341e9-df28-451f-a7d2-1887242643ce
X-Archives-Hash: 45880fa85c77923f9068a53f2626d557

On Thu, Apr 17, 2008 at 10:18 AM, matt hull <mattmatteh@mac.com> wrote:
>
>
>  i think the problem is that you are using vga, radeonfb has no idea what is
> connected, a guess without being there to see.  try appending the video size
> like video=radeonfb:1920x1200-24@60.  you should be able to get the current
> mode from using open firmware frame buffer /sys/class/graphics/
>

Hi Matt,
   I very much appreciate you taking the time to make a guess. Thanks.
We're making headway but still not quite there yet.

   Scanning through stuff that looks helpful I booted the CD with
apple video=ofonly. Here's some data:

livecd fb0 # cat virtual_size
1024,768
livecd fb0 # cat modes
U:1024x768p-116
livecd fb0 # cat name
OFfb ATY,RockHo
livecd fb0 # cat bits_per_pixel
8

Most of the other things don't have values set.

   Using the values above I tried booting the CD again with this setting

apple video=radeonfb:1024x768-8:60

and it worked fine. My monitor is stable and readable. Now shelling in
I see this::

livecd fb0 # cat name
ATI Radeon Yb
livecd fb0 # cat virtual_size
1024,768
livecd fb0 # cat modes
S:640x480p-85
S:800x600p-85
S:1024x768p-85
S:1280x1024p-85
S:1600x1200p-75
V:1153x864p-75
V:1280x1024p-75
V:1024x768p-75
V:1024x768p-70
V:1024x768p-60
V:1024x768i-53
U:832x624p-75
V:800x600p-75
V:800x600p-72
V:800x600p-60
V:800x600p-56
V:640x480p-75
V:640x480p-72
U:640x480p-67
V:640x480p-60
U:720x400p-88
U:720x400p-70
livecd fb0 # cat bits_per_pixel
8
livecd fb0 #

OK, so I then booted from the hard drive and modified /etc/yaboot.conf
like this:

image=/boot/kernel-2.6.24-gentoo-r3
        label=2.6.24-gentoo-r3
        root=/dev/hda4
        partition=4
        append="video=radeonfb:1024x768-8@60"
        read-only

Unfortunately when I reboot from the drive this time the monitor is
not stable. Same bad screen I've been getting.

Here's what I'm seeing in dmesg:

Macintosh non-volatile memory driver v1.1
PCI: Enabling device 0000:00:10.0 (0006 -> 0007)
radeonfb (0000:00:10.0): Invalid ROM signature 0 should be 0xaa55
radeonfb: Retrieved PLL infos from Open Firmware
radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=190.00 Mhz, System=250.00 MHz
radeonfb: PLL min 12000 max 35000
i2c-adapter i2c-2: unable to read EDID block.
i2c-adapter i2c-2: unable to read EDID block.
i2c-adapter i2c-2: unable to read EDID block.
radeonfb: Monitor 1 type CRT found
radeonfb: EDID probed
radeonfb: Monitor 2 type CRT found
radeonfb: EDID probed
Console: switching to colour frame buffer device 90x25
radeonfb (0000:00:10.0): ATI Radeon Yb
vga16fb: initializing
vga16fb: mapped to 0x000a0000
fb1: VGA16 VGA frame buffer device

and the current settings:

MacMini fb0 # cat name
ATI Radeon Yb
MacMini fb0 # cat virtual_size
720,400
MacMini fb0 # cat modes
S:640x480p-85
S:800x600p-85
S:1024x768p-85
S:1280x1024p-85
S:1600x1200p-75
V:1153x864p-75
V:1280x1024p-75
V:1024x768p-75
V:1024x768p-70
V:1024x768p-60
V:1024x768i-43
U:832x624p-75
V:800x600p-75
V:800x600p-72
V:800x600p-60
V:800x600p-56
V:640x480p-75
V:640x480p-72
U:640x480p-67
V:640x480p-60
U:720x400p-88
U:720x400p-70
MacMini fb0 # cat bits_per_pixel
8

So, why is it in a 720x400 mode?

A couple of other questions. I'm assuming the 'p' or 'i' in the mode
names above are progressive vs. interlace? Should I be including that
in how I describe the name in yaboot.conf?

Also, what are the S, V & U at the start of each mode name?

Thanks,
Mark
-- 
gentoo-ppc-user@lists.gentoo.org mailing list