Re: Setting colors on atyfb framebuffer console.

"Antonino A. Daplas" <[email protected]> Tue, 16 Oct 2007 16:35:25 +0800
Newsgroups gmane.linux.fbdev.user
Message-ID <1192523725.7213.3.camel@daplas>
On Mon, 2007-10-15 at 19:04 -0400, cga2000 wrote:
> On Mon, Oct 15, 2007 at 10:51:20AM EDT, Antonino A. Daplas wrote:
> > On Mon, 2007-10-15 at 07:53 -0400, cga2000 wrote:
> > > On Mon, Oct 15, 2007 at 12:43:35AM EDT, Antonino A. Daplas wrote:
> > > > On Sun, 2007-10-14 at 19:24 -0400, cga2000 wrote:
> > 
> > > > And let us know what kind of driver you are using.
> > > 
> > > I have video=atyfb:1400x1050 in my grub boot command.
> > > 
> > > The card is a mach64.
> > > 
> > 
> > This has to be a bug if your atyfb can't even show the console colors
> > properly. I'll CC some people.
> 
> Thank you for your interest.
> 
> > Can you post your dmesg and fbset -i?
> 
> Here's the output of fbset -i:
> 
> mode "1400x1050-60"
>     # D: 107.701 MHz, H: 63.804 kHz, V: 59.853 Hz
>     geometry 1400 1050 1400 5980 8
>     timings 9285 128 48 13 0 112 3
>     accel true
>     rgba 8/0,8/0,8/0,0/0
> endmode
> 
> Frame buffer device information:
>     Name        : ATY Mach64
>     Address     : 0xfd000000
>     Size        : 8384512
>     Type        : PACKED PIXELS
>     Visual      : PSEUDOCOLOR
>     XPanStep    : 8
>     YPanStep    : 1
>     YWrapStep   : 0
>     LineLength  : 1400
>     MMIO Address: 0xfc000000
>     MMIO Size   : 2048
>     Accelerator : ATI Mach64GT
> 
> What does the rgba line mean?
> 

red|green|blue|alpha length/offset


> As to dmesg, could you be a bit more specific?
> 

Just the atyfb messages.

> I don't want to spam the list with unrelated material.
> 
> Would you want the dmesg log immediately after a (re)boot?

Anytime, doesn't matter.

> 
> If you need the entire dmesg, I'll put it up some place on the web,
> hopefully tomorrow.
> 
> > If you're using a recent kernel, try tinkering with
> 
> linux 2.6.20 .. which is pretty recent?
> 
> > /sys/module/vt/parameters/default_blu|default_grn|default_red
> 
> Hmm .. I don't seem to have anything called default_blu on this machine
> and no vt directory in the /sys/module tree.
> 
> Would this be a clue?
> 
> > The above will show you the colors of the console palette, which you can
> > also customize anytime.
> 
> Interesting.  When I have the time I would like to change the default
> colors to something a bit more interesting -- both in the console and
> in xterm for the sake of applications that do not support 256 colors.
> 

It's a 2.6,21 or 2.6.22 feature.

Tony



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/