nanogui: does framebuffer driver make everything greenish ?


Previous by date: 1 Jul 2008 06:04:27 -0000 Re: Nano-X and win32, Greg Haerr
Next by date: 1 Jul 2008 06:04:27 -0000 Key problem with frame buffer, mohanreddy.b
Previous in thread: 1 Jul 2008 06:04:27 -0000 Re: does framebuffer driver make everything greenish ?, Greg Haerr
Next in thread: 1 Jul 2008 06:04:27 -0000 Re: does framebuffer driver make everything greenish ?, Wayne

Subject: RE: [nanogui] does framebuffer driver make everything greenish ?
From: "Aveek Adhya" ####@####.####
Date: 1 Jul 2008 06:04:27 -0000
Message-Id:

Thanks Greg.
I have given some printf within GdOpenScreen() to get those h/w information.
It says:

GdOpenScreen(): no of colors currently supported = 16777216 [psd->ncolors]
No. of planes = 1 [psd->planes]
bpp = 24 [psd->bpp]
Size of memory allocated = 2764800 [psd->size]
address of fb memory  = 0x29558000 [psd->addr]
etc.... 

It also says that true color is used, not any palette.

According to the h/w manufacturer the graphics chip used has 3 graphics
plane and 1 cursor plane. 

Then why GdOpenScreen() is reporting there is only one plane? 
Does 'psd->planes' mean that graphics plane only or something else?
  
As here is 3 graphics planes, might be one of the plane is filled with green
color and causing the greenish effect on final display. Just guessing...

Microwindow supports only one graphics plane. Can I get the control of other
planes somehow? (just to clean other planes.... )

Is it the limitation of frame buffer driver because of which Microwindows
can't support more than one graphics plane?

How is each graphics plane identified by the fb driver?

Regards,
Aveek

  

-----Original Message-----
From: Greg Haerr ####@####.#### 
Sent: Tuesday, July 01, 2008 1:33 AM
To: Aveek Adhya; ####@####.####
Subject: Re: [nanogui] does framebuffer driver make everything greenish ?

: Is there any generic application (like fbset) to query the frame buffer
: driver to get graphics h/w information (bpp, no. of graphics planes, alpha
: support etc.) of my target system?

fbset won't tell you this.  But look at the code in
microwindows' driver/scr_fb.c, this queries the framebuffer,
as well as deals with palette issues with the kernel.

It would help to know your framebuffer format, its hard
to guess an answer for you with so little information.  For
instance, on palettized displays, your problem is simple,
the master palette is incorrect.

If your kernel is booting and shows a greenish shade, then
its obvious the problem hasn't to do with microwindows, but
instead with your kernel config/fb setup.

Regards,

Greg 


---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####


Previous by date: 1 Jul 2008 06:04:27 -0000 Re: Nano-X and win32, Greg Haerr
Next by date: 1 Jul 2008 06:04:27 -0000 Key problem with frame buffer, mohanreddy.b
Previous in thread: 1 Jul 2008 06:04:27 -0000 Re: does framebuffer driver make everything greenish ?, Greg Haerr
Next in thread: 1 Jul 2008 06:04:27 -0000 Re: does framebuffer driver make everything greenish ?, Wayne


Powered by ezmlm-browse 0.20.