From: Russell King <rmk@arm.linux.org.uk>
To: Linux Kernel List <linux-kernel@vger.kernel.org>,
Linux Fbdev development list
<linux-fbdev-devel@lists.sourceforge.net>,
James Simmons <jsimmons@infradead.org>
Subject: Re: fbcon scrolling madness + fbset corruption
Date: Wed, 5 Feb 2003 15:51:27 +0000 [thread overview]
Message-ID: <20030205155127.B28758@flint.arm.linux.org.uk> (raw)
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
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
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
WARNING: multiple messages have this Message-ID (diff)
From: Russell King <rmk@arm.linux.org.uk>
To: Linux Kernel List <linux-kernel@vger.kernel.org>,
Linux Fbdev development list
<linux-fbdev-devel@lists.sourceforge.net>,
James Simmons <jsimmons@infradead.org>
Subject: Re: fbcon scrolling madness + fbset corruption
Date: Wed, 5 Feb 2003 15:51:27 +0000 [thread overview]
Message-ID: <20030205155127.B28758@flint.arm.linux.org.uk> (raw)
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
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
next prev parent reply other threads:[~2003-02-05 15:52 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-19 20:03 fbcon scrolling + initialisation oddity Russell King
2003-01-20 1:29 ` [Linux-fbdev-devel] " Antonino Daplas
2003-02-02 19:57 ` fbcon scrolling madness + fbset corruption Russell King
2003-02-05 7:15 ` Antonino Daplas
2003-02-05 7:15 ` [Linux-fbdev-devel] " Antonino Daplas
2003-02-05 15:51 ` Russell King [this message]
2003-02-05 15:51 ` Russell King
2003-02-12 17:46 ` Passing the torch [was Re: fbcon scrolling madness + fbset corruption] James Simmons
2003-02-12 17:46 ` James Simmons
2003-02-12 23:37 ` Antonino Daplas
2003-02-12 20:26 ` fbcon scrolling madness + fbset corruption James Simmons
2003-02-12 23:55 ` Russell King
2003-02-12 23:55 ` Russell King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030205155127.B28758@flint.arm.linux.org.uk \
--to=rmk@arm.linux.org.uk \
--cc=jsimmons@infradead.org \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.