Re: [linux-fbdev] fbdev 2.4.0 cleanups

From: Russell King (rmk@arm.linux.org.uk)
Date: Wed Mar 15 2000 - 14:57:23 EST


Sven LUTHER writes:
> whats the problem with me wanting to know what resolution my xserver is
> currently running at ?

As far as the applications are concerned, xdpyinfo is more what you want.
However, this will give you the virtual resolution, not the physical res.

> i just do a fbset -i on it, and then i can for example set the console fbdev
> mode to exatcly the same to avoid slow switching between the console and X.

Linux actually switches quickly - it's your monitor that can't. You don't even
have to have the same colour depth - all you really need to ensure is that the
refresh rates for X and console are closely matched, and the monitor will not
detect any difference during the switch.

(Disclaimer: on some really really cheapo video hardware, you may get a
glitch, but I think that would be unlikely to be picked up with todays
monitors).
   _____
  |_____| ------------------------------------------------- ---+---+-
  | | Russell King rmk@arm.linux.org.uk --- ---
  | | | | http://www.arm.linux.org.uk/~rmk/aboutme.html / / |
  | +-+-+ --- -+-
  / | THE developer of ARM Linux |+| /|\
 / | | | --- |
    +-+-+ ------------------------------------------------- /\\\ |

-
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:17 EST