Subject: Re: DRM for radeon ?
To: None <joel@carnat.net>
From: Michael Lorenz <macallan@netbsd.org>
List: port-macppc
Date: 05/05/2007 18:31:17
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On May 5, 2007, at 17:57, Joel CARNAT wrote:

> Having tested the new DRM drivers on /i386, I wanted to give it a try 
> on
> my PPC Mac Mini. So it is now installed in 4.0_BETA2 but the DVI 
> output is
> really weird... The bottom half is blue (something like #36C) and the 
> top
> half is divided in two, both parts have the same console output.
> -------------------------------------------------
> | NetBSD/macppc (ttyE0) | NetBSD/macppc (ttyE0) |
> | login:                | login:                |
> -------------------------------------------------
> |                                               |
> |                                               |
> -------------------------------------------------
>
> Apart from that the console is working OK (keyboard input and command
> output)... But I guess this is not expected :-)
> The 3.1 install gave me a "normal" console.
> It only happened when I booted the 4.0_BETA2 kernel (from 
> 200705030002Z).
>
> The way I installed and upgraded NetBSD is written here:
> http://www.tumfatig.net/docs/00_tut/notes/netbsd_on_mac_mini.txt
>
> The dmesg is here:
> http://www.tumfatig.net/dmesg/Mac%20Mini/NetBSD%204.0_BETA2/dmesg.txt
>
> The console looks good until I see some RADEON related text (in 
> light-green
> over white). According to my LCD, the resolution is 1024x768@60Hz.

Hmm, looks like the fb is 32bit but the console driver still thinks 
it's 8 bit? Did you try a -current kernel?

> So first, how can I get a decent console ?

try radeonfb.c from -current

> Then, is the DRM radeon driver
> (http://mail-index.netbsd.org/tech-x11/2007/03/19/0000.html) known to 
> work ?

No. Too many i386-specific assumptions in the code, it doesn't even 
work right on amd64.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRj0FtspnzkX8Yg2nAQLw2wf/YuUCRn2v+TYcOCDJT0zIMc53MjEABmsI
I5jLr/VeUVRo+o58ylxjEzoPvEmU96zvAjTrAW5PCL0RgDChrupwJIsG/CK3sXCF
iP/PhTDufojj84gTRp91zlKs7rcRLAEmE7QZGFpJmn1dol4kIAO9ea/WuTVd5wnn
RrhLwbHFW602k7FeLWAQC8QcytDR3r/WwUpKdEpig2xcw09Lf1a4pc4+on+eVMdC
BFesvx48uNuWWCN5HobXVOuNJRKYXdTZkpBTiVKPeBomtPefS0vPpMgRASg78FAu
jz2xS7mINj53ys4L6AVfdpEG+PgyWtCpsGr/BVQxrzCsiw3RFbHiGA==
=77XQ
-----END PGP SIGNATURE-----