Gentoo Archives: gentoo-ppc-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-ppc-user@l.g.o
Subject: Re: [gentoo-ppc-user] Mac Mini PPC - Is this the right list?
Date: Thu, 17 Apr 2008 18:16:36
Message-Id: 5bdc1c8b0804171116r4dbbc4d0scc68e95a116d3b96@mail.gmail.com
In Reply to: Re: [gentoo-ppc-user] Mac Mini PPC - Is this the right list? by matt hull
1 On Thu, Apr 17, 2008 at 10:18 AM, matt hull <mattmatteh@×××.com> wrote:
2 >
3 >
4 > i think the problem is that you are using vga, radeonfb has no idea what is
5 > connected, a guess without being there to see. try appending the video size
6 > like video=radeonfb:1920x1200-24@60. you should be able to get the current
7 > mode from using open firmware frame buffer /sys/class/graphics/
8 >
9
10 Hi Matt,
11 I very much appreciate you taking the time to make a guess. Thanks.
12 We're making headway but still not quite there yet.
13
14 Scanning through stuff that looks helpful I booted the CD with
15 apple video=ofonly. Here's some data:
16
17 livecd fb0 # cat virtual_size
18 1024,768
19 livecd fb0 # cat modes
20 U:1024x768p-116
21 livecd fb0 # cat name
22 OFfb ATY,RockHo
23 livecd fb0 # cat bits_per_pixel
24 8
25
26 Most of the other things don't have values set.
27
28 Using the values above I tried booting the CD again with this setting
29
30 apple video=radeonfb:1024x768-8:60
31
32 and it worked fine. My monitor is stable and readable. Now shelling in
33 I see this::
34
35 livecd fb0 # cat name
36 ATI Radeon Yb
37 livecd fb0 # cat virtual_size
38 1024,768
39 livecd fb0 # cat modes
40 S:640x480p-85
41 S:800x600p-85
42 S:1024x768p-85
43 S:1280x1024p-85
44 S:1600x1200p-75
45 V:1153x864p-75
46 V:1280x1024p-75
47 V:1024x768p-75
48 V:1024x768p-70
49 V:1024x768p-60
50 V:1024x768i-53
51 U:832x624p-75
52 V:800x600p-75
53 V:800x600p-72
54 V:800x600p-60
55 V:800x600p-56
56 V:640x480p-75
57 V:640x480p-72
58 U:640x480p-67
59 V:640x480p-60
60 U:720x400p-88
61 U:720x400p-70
62 livecd fb0 # cat bits_per_pixel
63 8
64 livecd fb0 #
65
66 OK, so I then booted from the hard drive and modified /etc/yaboot.conf
67 like this:
68
69 image=/boot/kernel-2.6.24-gentoo-r3
70 label=2.6.24-gentoo-r3
71 root=/dev/hda4
72 partition=4
73 append="video=radeonfb:1024x768-8@60"
74 read-only
75
76 Unfortunately when I reboot from the drive this time the monitor is
77 not stable. Same bad screen I've been getting.
78
79 Here's what I'm seeing in dmesg:
80
81 Macintosh non-volatile memory driver v1.1
82 PCI: Enabling device 0000:00:10.0 (0006 -> 0007)
83 radeonfb (0000:00:10.0): Invalid ROM signature 0 should be 0xaa55
84 radeonfb: Retrieved PLL infos from Open Firmware
85 radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=190.00 Mhz, System=250.00 MHz
86 radeonfb: PLL min 12000 max 35000
87 i2c-adapter i2c-2: unable to read EDID block.
88 i2c-adapter i2c-2: unable to read EDID block.
89 i2c-adapter i2c-2: unable to read EDID block.
90 radeonfb: Monitor 1 type CRT found
91 radeonfb: EDID probed
92 radeonfb: Monitor 2 type CRT found
93 radeonfb: EDID probed
94 Console: switching to colour frame buffer device 90x25
95 radeonfb (0000:00:10.0): ATI Radeon Yb
96 vga16fb: initializing
97 vga16fb: mapped to 0x000a0000
98 fb1: VGA16 VGA frame buffer device
99
100 and the current settings:
101
102 MacMini fb0 # cat name
103 ATI Radeon Yb
104 MacMini fb0 # cat virtual_size
105 720,400
106 MacMini fb0 # cat modes
107 S:640x480p-85
108 S:800x600p-85
109 S:1024x768p-85
110 S:1280x1024p-85
111 S:1600x1200p-75
112 V:1153x864p-75
113 V:1280x1024p-75
114 V:1024x768p-75
115 V:1024x768p-70
116 V:1024x768p-60
117 V:1024x768i-43
118 U:832x624p-75
119 V:800x600p-75
120 V:800x600p-72
121 V:800x600p-60
122 V:800x600p-56
123 V:640x480p-75
124 V:640x480p-72
125 U:640x480p-67
126 V:640x480p-60
127 U:720x400p-88
128 U:720x400p-70
129 MacMini fb0 # cat bits_per_pixel
130 8
131
132 So, why is it in a 720x400 mode?
133
134 A couple of other questions. I'm assuming the 'p' or 'i' in the mode
135 names above are progressive vs. interlace? Should I be including that
136 in how I describe the name in yaboot.conf?
137
138 Also, what are the S, V & U at the start of each mode name?
139
140 Thanks,
141 Mark
142 --
143 gentoo-ppc-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-ppc-user] Mac Mini PPC - Is this the right list? Mark Knecht <markknecht@×××××.com>
Re: [gentoo-ppc-user] Mac Mini PPC - Is this the right list? matt hull <mattmatteh@×××.com>