From: anthony tong <atong@uiuc.edu>
To: Brad Midgley <brad@pht.com>
Cc: linuxppc-users@lists.linuxppc.org, linuxppc-dev@lists.linuxppc.org
Subject: [Patch]: Re: [workaround] console-switch screws colors
Date: Tue, 22 Jun 1999 12:45:30 -0500 [thread overview]
Message-ID: <19990622124530.A20390@mango.aol.edu> (raw)
In-Reply-To: <Pine.LNX.3.95.990622110721.4570A-100000@pacific.pht.com>; from Brad Midgley on Tue, Jun 22, 1999 at 11:11:51AM -0600
Brad Midgley (Tue, Jun 22, 1999 at 11:11:51AM -0600):
> i've noticed (at least) with a couple of machines that use ati graphics
> that switching away from and back to X screws up the colors (using xfb).
> fortunately, i left it that way long enough for the screensaver to kick in
> and realize it was fixed by the screensaver!
>
> so if you switch back to x and the colors are screwed, invoke the
> screensaver:
>
> xset s activate
>
> hopefully this is one of those things that will be fixed soon anyway.
This may help. I don't know if Tom built new rpms yet.
--- fbdev.c Thu Jun 17 01:41:44 1999
+++ /home/atong/fbdev.c Thu Jun 17 01:43:50 1999
@@ -1261,6 +1261,11 @@
}
if (!xf86Resetting) {
+#ifdef DIRECTCOLORHACK
+ if (fb_fix.visual == FB_VISUAL_DIRECTCOLOR)
+ fbdevSetLinearColormap(&fb_var);
+ else
+#endif
/* Update the colormap */
fbdevRestoreColors(pScreen);
}
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]
next prev parent reply other threads:[~1999-06-22 17:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-18 7:18 precompiled 2.2.10 kernel available Paul Mackerras
1999-06-22 2:37 ` Brad Midgley
1999-06-22 2:57 ` Tom Rini
1999-06-22 3:07 ` Paul Mackerras
1999-06-22 17:11 ` [workaround] console-switch screws colors Brad Midgley
1999-06-22 17:34 ` puetzk6715
1999-06-22 17:45 ` anthony tong [this message]
1999-06-22 20:54 ` precompiled 2.2.10 kernel available Brad Midgley
1999-06-22 21:44 ` Kostas Gewrgiou
1999-06-23 0:40 ` Paul Mackerras
1999-06-25 3:37 ` Machine Check in Kernel Mode with Paul's 2.2.10 on B+W G3 Kevin B. Hendricks
1999-06-25 8:01 ` Geert Uytterhoeven
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=19990622124530.A20390@mango.aol.edu \
--to=atong@uiuc.edu \
--cc=brad@pht.com \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=linuxppc-users@lists.linuxppc.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 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).