sculpsit daenzerm: > > additionally, i find that when the display blanks (using the fbdev driver, > > of course) i lose the console totally and can't regain it by any means other > > than rebooting the machine. > > Do you mean the bug that it blanks the screen even when you're in console? You > should be able to get the display back by switching back to X and having it > unblank.
nope. switching vts makes no difference. i can experiment with this more if you like. > > one thing i don't understand is why, when the fbdev driver uses the > > "default" mode, it *still* queries the framebuffer and then sets it > > explicitly. if it just reused the existing settings, for instance, i could > > use offb (which is readonly and doesn't support being set explicitly) to run > > x. > > It has to query the framebuffer device to fake an XFree86 mode which is then > used like a user- or pre-defined mode (thus the mode setting). > > It should work with offb though, all it really needs there is the resolution > and depth/bpp which even offb should report correctly. Or doesn't offb just > ignore mode settings? unfortunately not: it comes up with an error. it does report the resolution and depth fine but the timings are made up. here's the relevant part of the x server output when trying to run on offb: (**) FBDev(0): claimed PCI slot 0:16:0 (II) FBDev(0): using default device (**) FBDev(0): Depth 24, (--) framebuffer bpp 32 (==) FBDev(0): RGB weight 888 (==) FBDev(0): Default visual is TrueColor (==) FBDev(0): Using gamma correction (1.0, 1.0, 1.0) (II) FBDev(0): Hardware: OFfb ATY,Rage12 (vidmem: 2100k) (==) FBDev(0): Option ShadowFB is on (II) FBDev(0): Checking Modes against framebuffer device... (II) FBDev(0): mode "1280x1024" test failed (II) FBDev(0): Checking Modes against monitor... (--) FBDev(0): Virtual size is 1600x1200 (pitch 1600) (**) FBDev(0): Built-in mode "current": 100.0 MHz, 61.0 kHz, 49.2 Hz (++) FBDev(0): DPI set to (100, 100) (II) Loading /usr/X11R6/lib/modules/libfb.a (II) Module fb: vendor="The XFree86 Project" compiled for 4.0.1f, module version = 1.0.0 (II) Loading /usr/X11R6/lib/modules/libshadowfb.a (II) Module shadowfb: vendor="The XFree86 Project" compiled for 4.0.1f, module version = 1.0.0 (--) Depth 24 pixmap format is 32 bpp FBIOPUT_VSCREENINFO: Invalid argument Fatal server error: AddScreen/ScreenInit failed for driver 0 the "FBIOPUT_VSCREENINFO: Invalid argument" is the same message i get when trying to use fbset to change resolution etc under offb. -- dog