Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 5 Feb 2003 10:41:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 5 Feb 2003 10:41:56 -0500 Received: from caramon.arm.linux.org.uk ([212.18.232.186]:49678 "EHLO caramon.arm.linux.org.uk") by vger.kernel.org with ESMTP id ; Wed, 5 Feb 2003 10:41:55 -0500 Date: Wed, 5 Feb 2003 15:51:27 +0000 From: Russell King To: Linux Kernel List , Linux Fbdev development list , James Simmons Subject: Re: fbcon scrolling madness + fbset corruption Message-ID: <20030205155127.B28758@flint.arm.linux.org.uk> Mail-Followup-To: Linux Kernel List , Linux Fbdev development list , James Simmons References: <20030119200340.A13758@flint.arm.linux.org.uk> <1043026112.988.4.camel@localhost.localdomain> <20030202195744.C32007@flint.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030202195744.C32007@flint.arm.linux.org.uk>; from rmk@arm.linux.org.uk on Sun, Feb 02, 2003 at 07:57:44PM +0000 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1775 Lines: 60 No one's commented on this yet. James? On Sun, Feb 02, 2003 at 07:57:44PM +0000, Russell King wrote: > This doesn't appear to solve the ywrap problem - I still get > places where the screen doesn't scroll. I decided to write a > small program to dump out the contents of fb_var_screeninfo, and > where stuff goes horribly wrong: > > bash-2.04# ./tst > Visible: 1280x1024 > Virtual: 1280x1632 > BPP : 8 > Offset : +0+2352 > bash-2.04# ./tst > Visible: 1280x1024 > Virtual: 1280x1632 > BPP : 8 > Offset : +0+2392 > > Up to the point where it goes wrong: > > bash-2.04# ./tst > Visible: 1280x1024 > Virtual: 1280x1632 > BPP : 8 > Offset : +0+528 > bash-2.04# ./tst > Visible: 1280x1024 > Virtual: 1280x1632 > BPP : 8 > Offset : +0+568 > bash-2.04# ./tst > Visible: 1280x1024 <--- this is the last line on the screen > Virtual: 1280x1632 > BPP : 8 > Offset : +0+608 > bash-2.04# > > So it looks like something isn't limiting the yoffset in the generic > console layer; an xoffset of 2392 when the maximum virtual Y is 1632 > is just nonsense. > > I also noticed an additional problem with fbcon: if I change the > resolution using fbset, the change occurs, except I end up with > corrupted mess on the screen (the reminents of the original display.) > The shell prompt is nowhere to be seen. > > Hitting ^L clears the screen and then the shell prompt is visiable. -- Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/