All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Herbert Poetzl <herbert@13thfloor.at>
Cc: linux-fbdev-devel@lists.sourceforge.net,
	Linux Kernel ML <linux-kernel@vger.kernel.org>,
	"Antonino A. Daplas" <adaplas@hotpop.com>
Subject: Re: funny framebuffer fonts on PowerBook with radeonfb
Date: Mon, 27 Mar 2006 16:26:38 +1100	[thread overview]
Message-ID: <1143437199.2221.3.camel@localhost.localdomain> (raw)
In-Reply-To: <20060327033743.GA19788@MAIL.13thfloor.at>

On Mon, 2006-03-27 at 05:37 +0200, Herbert Poetzl wrote:

> after that, the screen goes white for half a second
> and becomes black with a large terminal font on it
> (the one I get without framebuffer, I think), the
> text there is printed undistorted ... shortly after
> that, I get a flash, and the mode switches to a much
> smaller font (the final framebuffer font) and the
> kernel messages written there are already distorted.
> half a second later (or less) the penguin appears at
> the top area (undistorted), when the bootup is done
> I get the following prompt (which again is okay)
> 
> 	bash-2.05b#
> 
> typing anything there is distorted again ...

Hrm... this is a a pristine 2.6.16 without any patch applied ? Also,
what video chip revision do you have exactly ? (lspci will tell you)

> pressing enter several times leaves 'copies' of
> the caracters on the screen, forming vertical bars
> the prompt (bash) is now always fine, the copy one
> line above (as all the others) is distorted ...
> 
> note, the bootup is not much different with older
> kernels, except for the strange distortions ...
> 
> attached my kernel configuration, just in case
> it is related ...

# CONFIG_VGA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
CONFIG_FONTS=y
# CONFIG_FONT_8x8 is not set
# CONFIG_FONT_8x16 is not set
CONFIG_FONT_6x11=y
CONFIG_FONT_7x14=y
# CONFIG_FONT_PEARL_8x8 is not set
# CONFIG_FONT_ACORN_8x8 is not set
# CONFIG_FONT_MINI_4x6 is not set
# CONFIG_FONT_SUN8x16 is not set
# CONFIG_FONT_SUN12x22 is not set
# CONFIG_FONT_10x18 is not set

Interesting... I suspect there is an endian bug in the new font code
that hits odd sized fonts (or non-multiple-of-8 fonts). Can you try
enabling 8x8 and 8x16 instead of 6x11 and 7x14 fonts and tell me if
those work ?

Tony: If my suspition is confirmed, I think that's your call :)

Cheers,
Ben.




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

WARNING: multiple messages have this Message-ID (diff)
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Herbert Poetzl <herbert@13thfloor.at>
Cc: linux-fbdev-devel@lists.sourceforge.net,
	Linux Kernel ML <linux-kernel@vger.kernel.org>,
	"Antonino A. Daplas" <adaplas@hotpop.com>
Subject: Re: funny framebuffer fonts on PowerBook with radeonfb
Date: Mon, 27 Mar 2006 16:26:38 +1100	[thread overview]
Message-ID: <1143437199.2221.3.camel@localhost.localdomain> (raw)
In-Reply-To: <20060327033743.GA19788@MAIL.13thfloor.at>

On Mon, 2006-03-27 at 05:37 +0200, Herbert Poetzl wrote:

> after that, the screen goes white for half a second
> and becomes black with a large terminal font on it
> (the one I get without framebuffer, I think), the
> text there is printed undistorted ... shortly after
> that, I get a flash, and the mode switches to a much
> smaller font (the final framebuffer font) and the
> kernel messages written there are already distorted.
> half a second later (or less) the penguin appears at
> the top area (undistorted), when the bootup is done
> I get the following prompt (which again is okay)
> 
> 	bash-2.05b#
> 
> typing anything there is distorted again ...

Hrm... this is a a pristine 2.6.16 without any patch applied ? Also,
what video chip revision do you have exactly ? (lspci will tell you)

> pressing enter several times leaves 'copies' of
> the caracters on the screen, forming vertical bars
> the prompt (bash) is now always fine, the copy one
> line above (as all the others) is distorted ...
> 
> note, the bootup is not much different with older
> kernels, except for the strange distortions ...
> 
> attached my kernel configuration, just in case
> it is related ...

# CONFIG_VGA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
CONFIG_FONTS=y
# CONFIG_FONT_8x8 is not set
# CONFIG_FONT_8x16 is not set
CONFIG_FONT_6x11=y
CONFIG_FONT_7x14=y
# CONFIG_FONT_PEARL_8x8 is not set
# CONFIG_FONT_ACORN_8x8 is not set
# CONFIG_FONT_MINI_4x6 is not set
# CONFIG_FONT_SUN8x16 is not set
# CONFIG_FONT_SUN12x22 is not set
# CONFIG_FONT_10x18 is not set

Interesting... I suspect there is an endian bug in the new font code
that hits odd sized fonts (or non-multiple-of-8 fonts). Can you try
enabling 8x8 and 8x16 instead of 6x11 and 7x14 fonts and tell me if
those work ?

Tony: If my suspition is confirmed, I think that's your call :)

Cheers,
Ben.



  reply	other threads:[~2006-03-27  5:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-27  0:47 funny framebuffer fonts on PowerBook with radeonfb Herbert Poetzl
2006-03-27  1:17 ` Benjamin Herrenschmidt
2006-03-27  1:17   ` Benjamin Herrenschmidt
2006-03-27  3:37   ` Herbert Poetzl
2006-03-27  5:26     ` Benjamin Herrenschmidt [this message]
2006-03-27  5:26       ` Benjamin Herrenschmidt
2006-03-27  7:11       ` [Linux-fbdev-devel] " Antonino A. Daplas
2006-03-27  7:24         ` Kyle Moffett
2006-03-27 11:06       ` Herbert Poetzl
2006-03-27  1:19 ` Antonino A. Daplas
2006-03-27 11:01   ` Herbert Poetzl
2006-03-27  1:24 ` D. Hazelton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1143437199.2221.3.camel@localhost.localdomain \
    --to=benh@kernel.crashing.org \
    --cc=adaplas@hotpop.com \
    --cc=herbert@13thfloor.at \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.