[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Palette problems with XFree 4



On Sam, 2002-11-09 at 16:08, Ross Vumbaca wrote: 
> 
> I'm working on getting Debian Linux ported to a new PPC board called an 
> "AmigaOne".
> 
> I've been trying to use XFree86 4.1 with a Permedia2 (glint) video card.
> 
> It all seems to work well, but the palette is somehow trashed in most modes.
> 
> In 8bpp modes, the palette is fine.
> 
> In 15, 16 or 24 bpp modes the palette is trashed. In 15 and 16 bpp modes 
> it is like a rainbox, with all sorts of odd colours appearing on 
> displayed images ("Debian" backdrop in WindowMaker).

Sounds like an endianness problem. It looks like the glint driver doesn't
address this indeed. Does pm2fb work? If so, does Option "UseFBDev" help?
Otherwise, you'll have to find out how to enable byte swapping for the
framebuffer, either by using a different aperture or by setting some bits
in some register.


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast



Reply to: