nanogui: Unsupported bpp: 4
Subject:
Re: [nanogui] Unsupported bpp: 4
From:
Steven Scholz ####@####.####
Date:
22 Jul 2004 16:19:34 +0100
Message-Id: <40FFDAFB.7070807@imc-berlin.de>
Greg Haerr wrote:
> : BTW: I have set "SCREEN_PIXTYPE = MWPF_TRUECOLOR0888" just as the comment
> : suggests for using frame buffer..
>
> You can't set this if your display is actually 4bpp. Is it 16bpp or 4bpp?
> The 4bpp display will have to run in palette mode, not truecolor, as the
> line above specifies.
mircowindows config file read
####################################################################
#
# The pixeltype of the native hardware or underlying graphics library.
# This definition defines the PIXELVAL to be 32, 16 or 8 bits wide.
# If using Linux framebuffer, set to MWPF_TRUECOLOR0888, and use fbset.
# It also enables GdArea/GrArea for this particular pixel packing format.
# ...
That' why I set SCREEN_PIXTYPE = MWPF_TRUECOLOR0888... !?!?
I have a B/W display. But "The LCD Controller generates 16 gray levels.
These gray levels are defined by 4 bits of display data for each pixel...
The shades of gray are obtained by controlling the number of frames in which
the pixel is "on" over a period of 16 frames. This method is known as Frame
Rate Control (FRC)."
So I have a linux framebuffer device. And 4 bit per pixel.
--
Steven Scholz