|
From: James S. <jsi...@in...> - 2003-03-05 19:17:21
|
> > Well, this assumes that the user always want the best refresh rate, > > which is not desired in all cases. > > > > fb_get_mode() accepts 4 flags. Maximum refresh rate, hscan-driven, > vrefresh-driven and dotclock-driven calculations. It's flexible enough, > but of course not as flexible as specifying your own modeline. Things like pixclock rates can be changes by fbset and fbcon still sees these changes. stty is for the basic changes and fbset for advance changes. On a personal note. Many fbdev drivers in 2.4.X where also broken in that only the boot mode worked. This is where the fbset mode database in userland hack came in (/etc/fb.modes). This is horriable. Even with that userland database I often couldn't change video modes after booting. We should split the monitor programing stuff out from stuff like bpp etc. Now if you think about it we can do things like change the bpp without having to redo the monitor programming. This is the flaw with the old and even the new api. |