Re: [linux-fbdev] fbdev 2.4.0 cleanups

From: Sven LUTHER (luther@dpt-info.u-strasbg.fr)
Date: Fri Mar 17 2000 - 04:50:57 EST


On Thu, Mar 16, 2000 at 11:39:15PM +0000, Russell King wrote:
> James A Simmons writes:
> > Okay lets consider this. Now some video cards use different apertures for
> > their video memory. What I mean the framebuffer location is different for
> > 8 bit (it's little endian) and 16 bit (big endian). Consider this.
> > You start your X server in 8 bit mode. Now it will have write access to
> > /dev/fb. Now you start some app which opens /dev/fb in read only mode and
> > gets the current fix info. fix->smem_start will point to the little endian
> > aperture right. Now your X server has properly ALT whatever function keys
> > that do change the video mode. Since the X server has write access it can
> > change the modes. So now you switch to 16 bit color mode which means
> > fix->smem_start has changed to the big aperture. Your other app is still
> > writing to where the little endian aperture was which is the wrong place.
>
> Unless there has been a major change in X11, I don't think that's possible.
> I believe that the only thing that Alt +/- can do is change resolution, not
> colour depth.

please, please changethe cc/to lines back to the list only, ...

my procmail setting is getting all crazy by multiple copies of mails directed
directly to me ...

friendly,

Sven LUTHER

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:21 EST