Port-macppc archive

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

Endianness problems with Xwsfb on radeonfb



Hi all,

X worked fine with the 'wsfb' kernel driver using the 'ofb' or 'genfb'
kernel drivers. I tried to enable the 'radeonfb' kernel driver, in
order to get a 24 bpp framebuffer in X instead of the 8 bpp mode that
OF sets by default.

It works, but there seem to be some endianness-related problems:

  - when hardware cursor acceleration is enabled, the cursors are
displayed in the wrong endianness. For example the 'X' cursor looks
like '<>' on screen.

  - colors look funny: the red and green channels are swapped, and
there is no blue. It looks like some sort of ARGB->BGRA endianness
problem.

The system is NetBSD 4.0.1, with the standard xfree X sets.

wsfb output in 'XFree86.0.log'  :

(II) LoadModule: "wsfb"
(II) Loading /usr/X11R6/lib/modules/drivers/wsfb_drv.o
(II) Module wsfb: vendor="The XFree86 Project"
(II) wsfb: driver for wsdisplay framebuffer: wsfb
(II) wsfb(0): using default device
(**) wsfb(0): Depth 24, (--) framebuffer bpp 32
(==) wsfb(0): RGB weight 888
(==) wsfb(0): Default visual is TrueColor
(==) wsfb(0): Using gamma correction (1.0, 1.0, 1.0)
(II) wsfb(0): Vidmem: 3072k
(==) wsfb(0): DPI set to (75, 75)
(==) wsfb(0): Using HW cursor
(**) wsfb(0): Using "Shadow Framebuffer"
(EE) wsfb(0): error saving colormap Invalid argument
(==) wsfb(0): Backing store disabled
Symbol xf1bppScreenInit from module
/usr/X11R6/lib/modules/drivers/wsfb_drv.o is unresolved!
Symbol xf4bppScreenInit from module
/usr/X11R6/lib/modules/drivers/wsfb_drv.o is unresolved!


Regards
Marco


Home | Main Index | Thread Index | Old Index