From: "Alex Stewart" <alex@foogod.com>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: fbcon VT (mode) switching issue
Date: Tue, 27 Apr 2004 13:59:54 -0700 (PDT) [thread overview]
Message-ID: <10040.159.37.7.44.1083099594.squirrel@www.foogod.com> (raw)
I'm still trying to sort out a few of the little "annoyance" issues still
present in the neofb driver. One of these is the following:
If I change VT from XFree86 (using its own neomagic driver, not through
fb) to a framebuffer console, and the resolution/bitdepth of the console
screen is different from what the X server was using, the screen is not
initially repainted correctly.
This appears to be due to the fact that when changing VTs, set_par (which
is where neofb changes the hardware video mode) isn't called until
sometime after the fbcon code uses imageblit to transfer the console text
to the screen. The result is that the accelerated imageblit is done with
the hardware still set to the old screen resolution/depth, and thus the
neomagic chip writes the data to memory in a form appropriate for the old
mode, not the new one that we're switching to.
I've tried to figure out how this whole process works and what the best
fix for this problem is, but to be honest, trying to follow some of the
code paths in the framebuffer console system is rather like trying to
follow Brer Rabbit through the briar patch.. I could use the help of
somebody a bit more familiar with this part of things, I think.
I have determined that adding a call to set_par at the beginning of
fbcon_switch does fix the problem. Of course it also ends up calling
set_par twice during the overall switching procedure (with noticeable
flicker), and I'm not really sure this is the right place to put it
anyway, so I wanted to get people's opinion as to what the right fix is..
-alex
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
next reply other threads:[~2004-04-27 21:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-27 20:59 Alex Stewart [this message]
2004-04-28 0:44 ` fbcon VT (mode) switching issue Benjamin Herrenschmidt
2004-04-28 0:49 ` Antonino A. Daplas
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=10040.159.37.7.44.1083099594.squirrel@www.foogod.com \
--to=alex@foogod.com \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).