2006-05-21 13:38:16

by Antonino Ingargiola

[permalink] [raw]
Subject: [radeonfb]: unclean backward scrolling

Hi,

I'm using the radeonfb driver with a radeon 7000 with the frambuffer
at 1280x1024 on a i386 system, with a 2.6.16.17 kernel. At boot time,
if I stop the messages with CTRL+s and try look the previous messages
with CTRL+PagUp (backward scrolling) the screen become unreadable. In
fact some lengthier lines are not erased scrolling backward and some
random characters a overwritten instead. So it's very difficult to
read the messages.

I don't have such problem with the frambuffer at 1024x768.

All the previous kernels I've tried have this problem (at least up to 2.6.15).

If someone can look at this issue I can provide further information.

Many Thanks.

Cheers,

~ Antonio


2006-05-21 18:55:29

by Nick Warne

[permalink] [raw]
Subject: Re: : unclean backward scrolling

Hmmmph.

I get this problem, and always have, but I always put it down to my system.

I run Slackware 10, and this has always happened to me from 2.6.2
upwards on CRT 1024x768 and later TFT 1280x1024 dvi.

I use[d] in lilo:

# VESA framebuffer console @ 1280x1024x?k
vga=794
# VESA framebuffer console @ 1024x768x64k
#vga=791

So you are not alone.

Nick

On 21/05/06, Antonio <[email protected]> wrote:
> Hi,
>
> I'm using the radeonfb driver with a radeon 7000 with the frambuffer
> at 1280x1024 on a i386 system, with a 2.6.16.17 kernel. At boot time,
> if I stop the messages with CTRL+s and try look the previous messages
> with CTRL+PagUp (backward scrolling) the screen become unreadable. In
> fact some lengthier lines are not erased scrolling backward and some
> random characters a overwritten instead. So it's very difficult to
> read the messages.
>
> I don't have such problem with the frambuffer at 1024x768.
>
> All the previous kernels I've tried have this problem (at least up to
> 2.6.15).
>
> If someone can look at this issue I can provide further information.
>
> Many Thanks.
>
> Cheers,
>
> ~ Antonio
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

2006-05-23 18:39:00

by Ondrej Zary

[permalink] [raw]
Subject: Re: [radeonfb]: unclean backward scrolling

Antonio wrote:
> Hi,
>
> I'm using the radeonfb driver with a radeon 7000 with the frambuffer
> at 1280x1024 on a i386 system, with a 2.6.16.17 kernel. At boot time,
> if I stop the messages with CTRL+s and try look the previous messages
> with CTRL+PagUp (backward scrolling) the screen become unreadable. In
> fact some lengthier lines are not erased scrolling backward and some
> random characters a overwritten instead. So it's very difficult to
> read the messages.
>
> I don't have such problem with the frambuffer at 1024x768.
>
> All the previous kernels I've tried have this problem (at least up to
> 2.6.15).
>
> If someone can look at this issue I can provide further information.

I have probably the same problem - but with vesafb on my notebook
(800x600). When I scroll back/forward or run mc and then exit, it fixes
itself. The problem was probably always there (in 2.6.x - don't know
about older versions).

--
Ondrej Zary

2006-05-26 00:44:09

by Antonino A. Daplas

[permalink] [raw]
Subject: Re: : unclean backward scrolling

Nick Warne wrote:
> Hmmmph.
>
> I get this problem, and always have, but I always put it down to my system.
>
> I run Slackware 10, and this has always happened to me from 2.6.2
> upwards on CRT 1024x768 and later TFT 1280x1024 dvi.
>
> I use[d] in lilo:
>
> # VESA framebuffer console @ 1280x1024x?k
> vga=794
> # VESA framebuffer console @ 1024x768x64k
> #vga=791
>
> So you are not alone.
>
> Nick
>
> On 21/05/06, Antonio <[email protected]> wrote:
>> Hi,
>>
>> I'm using the radeonfb driver with a radeon 7000 with the frambuffer
>> at 1280x1024 on a i386 system, with a 2.6.16.17 kernel. At boot time,
>> if I stop the messages with CTRL+s and try look the previous messages
>> with CTRL+PagUp (backward scrolling) the screen become unreadable. In
>> fact some lengthier lines are not erased scrolling backward and some
>> random characters a overwritten instead. So it's very difficult to
>> read the messages.
>>
>> I don't have such problem with the frambuffer at 1024x768.
>>
>> All the previous kernels I've tried have this problem (at least up to
>> 2.6.15).
>>
>> If someone can look at this issue I can provide further information.
>>
>> Many Thanks.
>>
>> Cheers,
>>

Can you try this patch and let me know if this fixes the problem?

Tony

PATCH: Fix scrollback with logo issue immediately after boot.

From: David Hollister <[email protected]>

After the system boots with the logo, if the first action is a
scrollback, the screen may become garbled. This patch ensures
that the softback_curr value is updated along with softback_in
following the scrollback.

Signed-off-by: David Hollister <[email protected]>
Signed-off-by: Jordan Crouse <[email protected]>
---

drivers/video/console/fbcon.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
index ca02071..953eb8c 100644
--- a/drivers/video/console/fbcon.c
+++ b/drivers/video/console/fbcon.c
@@ -2631,7 +2631,7 @@ static int fbcon_scrolldelta(struct vc_d
scr_memcpyw((u16 *) q, (u16 *) p,
vc->vc_size_row);
}
- softback_in = p;
+ softback_in = softback_curr = p;
update_region(vc, vc->vc_origin,
logo_lines * vc->vc_cols);
}

2006-05-26 12:01:14

by Antonino Ingargiola

[permalink] [raw]
Subject: Re: : unclean backward scrolling

Hi,

On 5/26/06, Antonino A. Daplas <[email protected]> wrote:
> Nick Warne wrote:
> > Hmmmph.
> >
> > I get this problem, and always have, but I always put it down to my system.
> >
> > I run Slackware 10, and this has always happened to me from 2.6.2
> > upwards on CRT 1024x768 and later TFT 1280x1024 dvi.
> >
> > I use[d] in lilo:
> >
> > # VESA framebuffer console @ 1280x1024x?k
> > vga=794
> > # VESA framebuffer console @ 1024x768x64k
> > #vga=791
> >
> > So you are not alone.
> >
> > Nick
> >
> > On 21/05/06, Antonio <[email protected]> wrote:
> >> Hi,
> >>
> >> I'm using the radeonfb driver with a radeon 7000 with the frambuffer
> >> at 1280x1024 on a i386 system, with a 2.6.16.17 kernel. At boot time,
> >> if I stop the messages with CTRL+s and try look the previous messages
> >> with CTRL+PagUp (backward scrolling) the screen become unreadable. In
> >> fact some lengthier lines are not erased scrolling backward and some
> >> random characters a overwritten instead. So it's very difficult to
> >> read the messages.
> >>
> >> I don't have such problem with the frambuffer at 1024x768.
> >>
> >> All the previous kernels I've tried have this problem (at least up to
> >> 2.6.15).
> >>
> >> If someone can look at this issue I can provide further information.
> >>
> >> Many Thanks.
> >>
> >> Cheers,
> >>
>
> Can you try this patch and let me know if this fixes the problem?
>
> Tony
>
> PATCH: Fix scrollback with logo issue immediately after boot.
[cut]

This patch fixes completely the problem for me. Many thanks!

Is going to be included in mainline anytime soon?

Many thanks again, I've really appreciated your help.

Cheers,

~ Antonio

2006-05-26 16:11:21

by Nick Warne

[permalink] [raw]
Subject: Re: : unclean backward scrolling

On Friday 26 May 2006 13:00, Antonio wrote:
> Hi,
>
> On 5/26/06, Antonino A. Daplas <[email protected]> wrote:
> > Nick Warne wrote:
> > > Hmmmph.
> > >
> > > I get this problem, and always have, but I always put it down to my
> > > system.
> > >
> > > I run Slackware 10, and this has always happened to me from 2.6.2
> > > upwards on CRT 1024x768 and later TFT 1280x1024 dvi.
> > >
> > > I use[d] in lilo:
> > >
> > > # VESA framebuffer console @ 1280x1024x?k
> > > vga=794
> > > # VESA framebuffer console @ 1024x768x64k
> > > #vga=791
> > >
> > > So you are not alone.
> > >
> > > Nick
> > >
> > > On 21/05/06, Antonio <[email protected]> wrote:
> > >> Hi,
> > >>
> > >> I'm using the radeonfb driver with a radeon 7000 with the frambuffer
> > >> at 1280x1024 on a i386 system, with a 2.6.16.17 kernel. At boot time,
> > >> if I stop the messages with CTRL+s and try look the previous messages
> > >> with CTRL+PagUp (backward scrolling) the screen become unreadable. In
> > >> fact some lengthier lines are not erased scrolling backward and some
> > >> random characters a overwritten instead. So it's very difficult to
> > >> read the messages.
> > >>
> > >> I don't have such problem with the frambuffer at 1024x768.
> > >>
> > >> All the previous kernels I've tried have this problem (at least up to
> > >> 2.6.15).
> > >>
> > >> If someone can look at this issue I can provide further information.
> > >>
> > >> Many Thanks.
> > >>
> > >> Cheers,
> >
> > Can you try this patch and let me know if this fixes the problem?
> >
> > Tony
> >
> > PATCH: Fix scrollback with logo issue immediately after boot.
>
> [cut]
>
> This patch fixes completely the problem for me. Many thanks!
>
> Is going to be included in mainline anytime soon?
>
> Many thanks again, I've really appreciated your help.
>
> Cheers,
>
> ~ Antonio

Yep, good job! I confirm it fixes the issues I had on garbled screen when
scrolling back (which I always thought was my hardware!).

Many Thanks!

Nick

Signed-off-by: David Hollister <[email protected]>
Signed-off-by: Jordan Crouse <[email protected]>
---

drivers/video/console/fbcon.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
index ca02071..953eb8c 100644
--- a/drivers/video/console/fbcon.c
+++ b/drivers/video/console/fbcon.c
@@ -2631,7 +2631,7 @@ static int fbcon_scrolldelta(struct vc_d
scr_memcpyw((u16 *) q, (u16 *) p,
vc->vc_size_row);
}
- softback_in = p;
+ softback_in = softback_curr = p;
update_region(vc, vc->vc_origin,
logo_lines * vc->vc_cols);
}



--
"Person who say it cannot be done should not interrupt person doing it."
-Chinese Proverb

2006-05-27 16:25:11

by Pavel Machek

[permalink] [raw]
Subject: Re: [radeonfb]: unclean backward scrolling

Hi!

> >I'm using the radeonfb driver with a radeon 7000 with
> >the frambuffer
> >at 1280x1024 on a i386 system, with a 2.6.16.17 kernel.
> >At boot time,
> >if I stop the messages with CTRL+s and try look the
> >previous messages
> >with CTRL+PagUp (backward scrolling) the screen become
> >unreadable. In
> >fact some lengthier lines are not erased scrolling
> >backward and some
> >random characters a overwritten instead. So it's very
> >difficult to
> >read the messages.
> >
> >I don't have such problem with the frambuffer at
> >1024x768.
> >
> >All the previous kernels I've tried have this problem
> >(at least up to 2.6.15).
> >
> >If someone can look at this issue I can provide further
> >information.
>
> I have probably the same problem - but with vesafb on my
> notebook (800x600). When I scroll back/forward or run mc
> and then exit, it fixes itself. The problem was probably
> always there (in 2.6.x - don't know about older
> versions).

I see it too, and it is as old as framebuffer support iirc.

--
Thanks for all the (sleeping) penguins.

2006-05-29 08:09:28

by Antonino Ingargiola

[permalink] [raw]
Subject: Re: [radeonfb]: unclean backward scrolling

Hi,

On 5/26/06, Pavel Machek <[email protected]> wrote:
> Hi!
>
> > >I'm using the radeonfb driver with a radeon 7000 with
> > >the frambuffer
> > >at 1280x1024 on a i386 system, with a 2.6.16.17 kernel.
> > >At boot time,
> > >if I stop the messages with CTRL+s and try look the
> > >previous messages
> > >with CTRL+PagUp (backward scrolling) the screen become
> > >unreadable. In
> > >fact some lengthier lines are not erased scrolling
> > >backward and some
> > >random characters a overwritten instead. So it's very
> > >difficult to
> > >read the messages.
> > >
> > >I don't have such problem with the frambuffer at
> > >1024x768.
> > >
> > >All the previous kernels I've tried have this problem
> > >(at least up to 2.6.15).
> > >
> > >If someone can look at this issue I can provide further
> > >information.
> >
> > I have probably the same problem - but with vesafb on my
> > notebook (800x600). When I scroll back/forward or run mc
> > and then exit, it fixes itself. The problem was probably
> > always there (in 2.6.x - don't know about older
> > versions).
>
> I see it too, and it is as old as framebuffer support iirc.

Have you tried the patch early posted by Antonino A. Daplas?

For me and Nik Warne it fixes the problem.

I hope the patch is queued for inclusion...

Cheers,

~ Antonio

2006-05-31 20:30:11

by Nick Warne

[permalink] [raw]
Subject: Re: [radeonfb]: unclean backward scrolling

On Monday 29 May 2006 09:09, Antonio wrote:
> > > I have probably the same problem - but with vesafb on my
> > > notebook (800x600). When I scroll back/forward or run mc
> > > and then exit, it fixes itself. The problem was probably
> > > always there (in 2.6.x - don't know about older
> > > versions).
> >
> > I see it too, and it is as old as framebuffer support iirc.
>
> Have you tried the patch early posted by Antonino A. Daplas?
>
> For me and Nik Warne it fixes the problem.
>
> I hope the patch is queued for inclusion...
>
> Cheers,
>
> ~ Antonio

Yes it will be fixed... don't panic.

I am also jumping the wagon here - for some reason any mail I send to lkml
disappears now (so a test too)...

Nick
--
"Person who say it cannot be done should not interrupt person doing it."
-Chinese Proverb