Re: radeonfb on pegasos powerpc motherboard and X endianess problem
From: Sven Luther <hidden>
Date: 2003-06-04 15:39:25
On Wed, Jun 04, 2003 at 05:27:00PM +0200, Michel Dänzer wrote:
On Wed, 2003-06-04 at 16:54, Sven Luther wrote:quoted
I finally have a working pegasos motherboard as well as a working kernel with a 1.6 radeonfb. I have also installed Daniel Stone's X 4.3.0 debian/sid packages, and notice the following : 1) radeonfb works fine in 8bpp and 32bpp but depth 15 and 16 only give me some very dark grey. 2) when running X with the UseFBDev option the colors are bad, i guess it is an endianess problem. (with and without accel)You want radeonfb from a recent benh kernel, anything else is more or less broken.
A, ok, but then, i think i will not worry about this, and simply port the pegasos changes to the latest benh kernel (or maybe i can simply replace the radeonfb.c file ? Mmm, i will try it). By recent benh kernel, you mean the one from the linuxppc_2_4_devel tree or the one from the linuxppc_2_4 tree ? Or maybe both are the same.
quoted
3) When running X without the UseFBDev option, the colors are good, but i get garbage when i return to the console. Not exactly garbage, at first it is ok, but when i enter a line or somehow pan the screen, the corruption start. Doing a vt switch and back redraws a clean screen.Sounds like the radeon driver doesn't restore the framebuffer aperture byte swapping correctly.
Yep. same solution as above i guess. Sound is also messed up, i guess it is also an endianess issue, but most probably due to endianess issue in the VT82Cxx driver, and no other powerpc box should use this, i think. Thanks. Friendly, Sven Luther ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com.