I don't know when this got lost...

---------- Forwarded message ----------
Date: Tue, 22 Jun 1999 12:45:30 -0500
From: anthony tong <[EMAIL PROTECTED]>
To: Brad Midgley <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: [Patch]: Re: [workaround] console-switch screws colors


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.   ]]

Reply via email to