[lkml]   [2000]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [linux-fbdev] fbdev 2.4.0 cleanups
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
|_____| ------------------------------------------------- ---+---+-
| | Russell King --- ---
| | | | / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:57    [W:0.115 / U:2.688 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site