nanogui: Thread: wrong colors


[<<] [<] Page 1 of 1 [>] [>>]
Subject: wrong colors
From: Takács ####@####.####
Date: 9 Dec 2005 11:01:04 +0000
Message-Id: <200512091200.13317.takacs.aron@infracont.hu>

Hi,

I am using microwindow-0.90 on an intel pxa270 based board (linux-2.4.29). The 
problem is that the colors are weird on the screen. (I set MWPF_TRUECOLOR0565 
in the microwindows config file and set the framebuffer for 16bpp:

>fbset -n -depth 16 
mode "640x480-58"
        # D: 25.000 MHz, H: 31.095 kHz, V: 58.229 Hz
        geometry 640 480 640 480 16
        timings 40000 160 2 9 0 2 45
        accel false
        rgba 5/11,6/5,5/0,0/0
endmode

I also tried to compile microwindows-0.91 (thinking that the problem is maybe 
solved in that version), but I got the following error messages:

Compiling nanox/srvclip.c ...
Compiling nanox/srvnet.c ...
Linking nano-X ...
/home/roni/microwindows-0.91/src/obj/engine/devdraw.o(.text+0x2774): In 
function `GdTranslateArea':
: undefined reference to `COLORVALTOPIXELVAL'
/home/roni/microwindows-0.91/src/obj/engine/devdraw.o(.text+0x2884): In 
function `GdTranslateArea':
: undefined reference to `PIXELVALTOCOLORVAL'
collect2: ld returned 1 exit status

Could anybody please help me to solve this problem? It's very important!
Thank you very much!

Áron Takács
Subject: Re: [nanogui] wrong colors
From: "Greg Haerr" ####@####.####
Date: 9 Dec 2005 17:01:26 +0000
Message-Id: <0b6401c5fce2$25c800c0$6401a8c0@gregnewport>

> I am using microwindow-0.90 on an intel pxa270 based board (linux-2.4.29).
The
problem is that the colors are weird on the screen. (I set
MWPF_TRUECOLOR0565
in the microwindows config file and set the framebuffer for 16bpp


We need more description of "wierd" in order to understand
exactly how the color/bytes per pixel is mismatched on your system,
versus created by nano-X, thus drawing bits that show other than intended.



: undefined reference to `COLORVALTOPIXELVAL'
: undefined reference to `PIXELVALTOCOLORVAL'

This is because you used MWPF_TRUECOLOR0565, rather
than MWPF_TRUECOLOR565.  (added a '0', note comment
in config file)

Regards,

Greg

Subject: Re: [nanogui] wrong colors
From: Takács ####@####.####
Date: 12 Dec 2005 14:23:27 +0000
Message-Id: <200512121424.41046.takacs.aron@infracont.hu>

Hi Greg, 

thank you for your answer! 
My second problem (compiling mw-0.91) is solved, thanks! But my original 
problem with the colors still exists. I figured out from pxa270 manual, that 
the LDD<0:17> pin color mappings change with the color depth. :-(
Now I have to change the connection between the board and the LCD. When I'm 
ready I'll infrom you about the situation. 
Thank you very much for your help again!

Áron  

> > I am using microwindow-0.90 on an intel pxa270 based board (linux-2.4.29).
> The
> problem is that the colors are weird on the screen. (I set
> MWPF_TRUECOLOR0565
> in the microwindows config file and set the framebuffer for 16bpp
> 
> 
> We need more description of "wierd" in order to understand
> exactly how the color/bytes per pixel is mismatched on your system,
> versus created by nano-X, thus drawing bits that show other than intended.
> 
> 
> 
> : undefined reference to `COLORVALTOPIXELVAL'
> : undefined reference to `PIXELVALTOCOLORVAL'
> 
> This is because you used MWPF_TRUECOLOR0565, rather
> than MWPF_TRUECOLOR565.  (added a '0', note comment
> in config file)
> 
> Regards,
> 
> Greg
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
> 
> 
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.