On Tue, 2006-04-11 at 13:58 -0400, Murray, Ronald wrote: > I have the same problem on a Sun Enterprise 250, which uses a Permedia2 > chipset on its graphics board. It used to work fine with the glint driver, > but lately that won't load (see separate bug report). > > So I tried this patch, and that at least fixes the red/blue colour swap. It > does, however, introduce a strange problem where all icons (including the > cursor) are now surrounded by a small black square. But at least the colours > are otherwise correct.
The patch makes sense for the colour component offsets and masks, but I doubt changing pScrn->bitsPerPixel would work as expected; it should probably just bail if the returned fPtr->var.bits_per_pixel != pScrn->bitsPerPixel. Also, I think at least the colour component bits really belong in FBDevScreenInit() instead of fbdevHWModeInit(), as these values are supposed to be constant during a server generation, but it looks like that might require changes to the fbdevHW interface. Last but not least, this should really be submitted and discussed upstream at http://bugs.freedesktop.org instead of here. > Any suggestions for fixing the "black surround" problem? No idea, a 64 bit specific problem perhaps? -- Earthling Michel Dänzer | Debian (powerpc), X and DRI developer Libre software enthusiast | http://svcs.affero.net/rm.php?r=daenzer