All of lore.kernel.org
 help / color / mirror / Atom feed
* [radeonfb]: unclean backward scrolling
@ 2006-05-21 13:38 Antonio
  2006-05-21 18:55 ` : " Nick Warne
  2006-05-23 18:38 ` [radeonfb]: " Ondrej Zary
  0 siblings, 2 replies; 9+ messages in thread
From: Antonio @ 2006-05-21 13:38 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: : unclean backward scrolling
  2006-05-21 13:38 [radeonfb]: unclean backward scrolling Antonio
@ 2006-05-21 18:55 ` Nick Warne
  2006-05-26  0:43   ` Antonino A. Daplas
  2006-05-23 18:38 ` [radeonfb]: " Ondrej Zary
  1 sibling, 1 reply; 9+ messages in thread
From: Nick Warne @ 2006-05-21 18:55 UTC (permalink / raw)
  To: Antonio; +Cc: linux-kernel

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 <tritemio@gmail.com> 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 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/
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [radeonfb]: unclean backward scrolling
  2006-05-21 13:38 [radeonfb]: unclean backward scrolling Antonio
  2006-05-21 18:55 ` : " Nick Warne
@ 2006-05-23 18:38 ` Ondrej Zary
  2006-05-26 17:40   ` Pavel Machek
  1 sibling, 1 reply; 9+ messages in thread
From: Ondrej Zary @ 2006-05-23 18:38 UTC (permalink / raw)
  To: Antonio; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: : unclean backward scrolling
  2006-05-21 18:55 ` : " Nick Warne
@ 2006-05-26  0:43   ` Antonino A. Daplas
  2006-05-26 12:00     ` Antonio
  0 siblings, 1 reply; 9+ messages in thread
From: Antonino A. Daplas @ 2006-05-26  0:43 UTC (permalink / raw)
  To: nick; +Cc: Antonio, linux-kernel

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 <tritemio@gmail.com> 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 <david.hollister@amd.com>

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 <david.hollister@amd.com>
Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
---

 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);
 			}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: : unclean backward scrolling
  2006-05-26  0:43   ` Antonino A. Daplas
@ 2006-05-26 12:00     ` Antonio
  2006-05-26 16:11       ` Nick Warne
  0 siblings, 1 reply; 9+ messages in thread
From: Antonio @ 2006-05-26 12:00 UTC (permalink / raw)
  To: Antonino A. Daplas; +Cc: nick, linux-kernel

Hi,

On 5/26/06, Antonino A. Daplas <adaplas@gmail.com> 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 <tritemio@gmail.com> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: : unclean backward scrolling
  2006-05-26 12:00     ` Antonio
@ 2006-05-26 16:11       ` Nick Warne
  0 siblings, 0 replies; 9+ messages in thread
From: Nick Warne @ 2006-05-26 16:11 UTC (permalink / raw)
  To: Antonio; +Cc: Antonino A. Daplas, linux-kernel, Andrew Morton

On Friday 26 May 2006 13:00, Antonio wrote:
> Hi,
>
> On 5/26/06, Antonino A. Daplas <adaplas@gmail.com> 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 <tritemio@gmail.com> 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 <david.hollister@amd.com>
Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
---

 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

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [radeonfb]: unclean backward scrolling
  2006-05-23 18:38 ` [radeonfb]: " Ondrej Zary
@ 2006-05-26 17:40   ` Pavel Machek
  2006-05-29  8:09     ` Antonio
  0 siblings, 1 reply; 9+ messages in thread
From: Pavel Machek @ 2006-05-26 17:40 UTC (permalink / raw)
  To: Ondrej Zary; +Cc: Antonio, linux-kernel

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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [radeonfb]: unclean backward scrolling
  2006-05-26 17:40   ` Pavel Machek
@ 2006-05-29  8:09     ` Antonio
  2006-05-31 20:29       ` Nick Warne
  0 siblings, 1 reply; 9+ messages in thread
From: Antonio @ 2006-05-29  8:09 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Ondrej Zary, linux-kernel, Andrew Morton, Nick Warne

Hi,

On 5/26/06, Pavel Machek <pavel@ucw.cz> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [radeonfb]: unclean backward scrolling
  2006-05-29  8:09     ` Antonio
@ 2006-05-31 20:29       ` Nick Warne
  0 siblings, 0 replies; 9+ messages in thread
From: Nick Warne @ 2006-05-31 20:29 UTC (permalink / raw)
  To: Antonio; +Cc: Pavel Machek, Ondrej Zary, linux-kernel, Andrew Morton

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-05-31 20:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-21 13:38 [radeonfb]: unclean backward scrolling Antonio
2006-05-21 18:55 ` : " Nick Warne
2006-05-26  0:43   ` Antonino A. Daplas
2006-05-26 12:00     ` Antonio
2006-05-26 16:11       ` Nick Warne
2006-05-23 18:38 ` [radeonfb]: " Ondrej Zary
2006-05-26 17:40   ` Pavel Machek
2006-05-29  8:09     ` Antonio
2006-05-31 20:29       ` Nick Warne

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.