nanogui: Color display with microwin CVS version, nxlib 0.45, fltk-1.1.7
Subject:
RE: [nanogui] Color display with microwin CVS version, nxlib 0.45, fltk-1.1.7
From:
"Thomas Malkus" ####@####.####
Date:
7 Jan 2008 20:33:30 -0000
Message-Id: <000601c8516c$8381aa50$8a84fef0$@de>
Hi Matteo,
> I'm working in a 256 color with Palette video card.
> Your graphic card works with a hw palette or in TrueColor?
>
> I need this info for give you help.
Thank you for help!
That's a problem, I don't know the difference. I am not the
manufacturer of that hardware and I have not much knowledge
about graphic. I could ask the manufacturer (http://www.taskit.de,
Portux Panel PC), but they don't work with FLTK and nxlib.
The system has a Epson S1D13706 graphic controller. The driver is
the framebuffer driver for this controller from Epson found in the
path <linux_kernel>/drivers/video/epson, s1d13706.h, s1d13xxxfb*.*
Where I could find some information about the palette? If I change
the value of SCREEN_PIXTYPE I can't see any difference. Normally I
use as explained for framebuffer MWPF_TRUECOLOR0888. The output of
fbset is:
root@ag1:# fbset -i
mode "320x240-2172"
# D: 166.778 MHz, H: 521.181 kHz, V: 2171.587 Hz
geometry 320 240 320 240 8
timings 5996 0 0 0 0 0 0
rgba 8/0,8/0,8/0,0/0
endmode
Frame buffer device information:
Name : s1d13xxx
Address : 0x30200000
Size : 81920
Type : PACKED PIXELS
Visual : MONO01
XPanStep : 0
YPanStep : 0
YWrapStep : 0
LineLength : 320
MMIO Address: 0x30000000
MMIO Size : 256
Accelerator : No
root@ag1:#
What is the meaning of "Visual: MONO01"?
> > shifted diagonally, the left top corner is right, but the
> > left bottom corner is nearly the right bottom corner.
> >
> Image size must be word aligned (long).
Okay, I will try that. But this will not correct the colors ;-).
Hope you have an idea.
Regards,
Tom