From: Imago <imago@devinity.de>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: Fbcon issue
Date: Mon, 27 Dec 2004 01:52:43 +0100 [thread overview]
Message-ID: <41CF5CDB.8040300@devinity.de> (raw)
Hi
while doing some bug hunting for another project I discovered an issue
which is imho a bug in fbcon.
The problem is that each virtual console has its own color palette but
the framebuffer only has one color map.
So, for example, if im running fbcon on vt1 and set there a non-default
colormap and then allocate a new vt, for which the standard
color palette is set, also the framebuffer colormap is set back to the
default.Which will lead to color corruption on the actual vt.
A fix could be to allow setting of color palette only for the foreground
console,
ie change following in fbcon.c: fbcon_set_palette() at line 2400:
if (fbcon_is_inactive(vc, info))
return -EINVAL;
to
if ( fbcon_is_inactive(vc, info) || (vc->vc_num != fg_console) )
return -EINVAL;
Cu
Peter
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
reply other threads:[~2004-12-27 0:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=41CF5CDB.8040300@devinity.de \
--to=imago@devinity.de \
--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).