From: Juergen B. <jue...@kr...> - 2007-02-10 14:33:14
|
Hi Petr, On Wednesday 31 January 2007 10:12, Petr Vandrovec wrote: > Take a look at updatescrollmode() in fbcon.c - you must persuade this > function to use SCROLL_*_MOVE, not SCROLL_*_REDRAW. FBINFO_READS_FAST > should be sufficient - or you can report fast bitblt + fast panning, or > fast bitblt + slow imageblit. If you report no panning + fast bitblt + > fast imageblit, redraw is used :-( I tried around to get fbcon to use SCROLL_MOVE. These are my current settings: info->flags = FBINFO_DEFAULT | FBINFO_HWACCEL_COPYAREA | FBINFO_HWACCEL_FILLRECT | FBINFO_HWACCEL_IMAGEBLIT | FBINFO_READS_FAST; With this settings updatescrollmode() decides to use SCROLL_MOVE. Two things are coming up with this scroll mode (all in fbcon_scroll() ): 1) why is the variable "logo_shown" always set to 0 for console 0? When in console 0 it always ends up in "goto redraw_up;" But I have no logo on my console? For other consoles than 0 "logo_shown" is -1 (=FBCON_LOGO_CANSHOW) 2) with the settings above active on another console then 0, the whole system freezes immediately in ops->bmove() or ops->clear()???? 2a) when I comment out the "logo_shown" check in fbcon_scroll() it also freezes the whole system in console 0. Any ideas? Juergen |