public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] scrollback using framebuffer
@ 2009-11-14 22:12 Maxim Wexler
  2009-11-15  0:37 ` Alan McKinnon
  0 siblings, 1 reply; 7+ messages in thread
From: Maxim Wexler @ 2009-11-14 22:12 UTC (permalink / raw
  To: gentoo-user

Hi group,

I'm using the nvidia framebuffer(CONFIG_FB_NVIDIA=y) but I can't get
scrollback to work for more than a few lines. I've added
'fbcon=scrollback:128' to my kernel line in grub.conf but scrollback
is still disabled.

Is there some nvidia specific way to do this?



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

* Re: [gentoo-user] scrollback using framebuffer
  2009-11-14 22:12 [gentoo-user] scrollback using framebuffer Maxim Wexler
@ 2009-11-15  0:37 ` Alan McKinnon
  2009-11-15  3:19   ` Maxim Wexler
  0 siblings, 1 reply; 7+ messages in thread
From: Alan McKinnon @ 2009-11-15  0:37 UTC (permalink / raw
  To: gentoo-user

On Sunday 15 November 2009 00:12:26 Maxim Wexler wrote:
> Hi group,
> 
> I'm using the nvidia framebuffer(CONFIG_FB_NVIDIA=y) but I can't get
> scrollback to work for more than a few lines. I've added
> 'fbcon=scrollback:128' to my kernel line in grub.conf but scrollback
> is still disabled.
> 
> Is there some nvidia specific way to do this?
> 

Yes, use vesa. It's slow at high res, but works.

The nvidia framebuffer does not work with nvidia-drivers

-- 
alan dot mckinnon at gmail dot com



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

* Re: [gentoo-user] scrollback using framebuffer
  2009-11-15  0:37 ` Alan McKinnon
@ 2009-11-15  3:19   ` Maxim Wexler
  2009-11-15  8:34     ` Alan McKinnon
  2009-11-15  9:43     ` Justin
  0 siblings, 2 replies; 7+ messages in thread
From: Maxim Wexler @ 2009-11-15  3:19 UTC (permalink / raw
  To: gentoo-user

On 11/14/09, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> On Sunday 15 November 2009 00:12:26 Maxim Wexler wrote:
>
> Yes, use vesa. It's slow at high res, but works.
>
> The nvidia framebuffer does not work with nvidia-drivers

Yeah, I found that out just after mailing the above. But now that I'm using vesa
how do I enable scrollback? 'fbcon=scrollback:128' in the grub kernel
line doesn't work. It's enabled in the kernel and works fine without
the fb, if that matters.

mw



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

* Re: [gentoo-user] scrollback using framebuffer
  2009-11-15  3:19   ` Maxim Wexler
@ 2009-11-15  8:34     ` Alan McKinnon
  2009-11-17  5:48       ` Maxim Wexler
  2009-11-15  9:43     ` Justin
  1 sibling, 1 reply; 7+ messages in thread
From: Alan McKinnon @ 2009-11-15  8:34 UTC (permalink / raw
  To: gentoo-user; +Cc: Maxim Wexler

On Sunday 15 November 2009 05:19:41 Maxim Wexler wrote:
> On 11/14/09, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> > On Sunday 15 November 2009 00:12:26 Maxim Wexler wrote:
> >
> > Yes, use vesa. It's slow at high res, but works.
> >
> > The nvidia framebuffer does not work with nvidia-drivers
> 
> Yeah, I found that out just after mailing the above. But now that I'm using
>  vesa how do I enable scrollback? 'fbcon=scrollback:128' in the grub kernel
>  line doesn't work. It's enabled in the kernel and works fine without the
>  fb, if that matters.

It JustWorked for me. My relevant settings:

CONFIG_FB=y
CONFIG_FB_BOOT_VESA_SUPPORT=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_VESA=y
CONFIG_VGACON_SOFT_SCROLLBACK=y
CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=256

I have no settings for scrollback on the kernel command line, just this to set 
the resolution etc:

vga=0x37D ywrap mtrr:4

-- 
alan dot mckinnon at gmail dot com



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

* Re: [gentoo-user] scrollback using framebuffer
  2009-11-15  3:19   ` Maxim Wexler
  2009-11-15  8:34     ` Alan McKinnon
@ 2009-11-15  9:43     ` Justin
  1 sibling, 0 replies; 7+ messages in thread
From: Justin @ 2009-11-15  9:43 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2426 bytes --]

Maxim Wexler wrote:
> On 11/14/09, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
>> On Sunday 15 November 2009 00:12:26 Maxim Wexler wrote:
>>
>> Yes, use vesa. It's slow at high res, but works.
>>
>> The nvidia framebuffer does not work with nvidia-drivers
> 
> Yeah, I found that out just after mailing the above. But now that I'm using vesa
> how do I enable scrollback? 'fbcon=scrollback:128' in the grub kernel
> line doesn't work. It's enabled in the kernel and works fine without
> the fb, if that matters.
> 
> mw
> 
Ty this here


│ CONFIG_VGACON_SOFT_SCROLLBACK_SIZE:


                                                         │
  │


                                                           │
  │ Enter the amount of System RAM to allocate for the scrollback


                                                           │
  │ buffer.  Each 64KB will give you approximately 16 80x25


                                                           │
  │ screenfuls of scrollback buffer


                                                           │
  │


                                                           │
  │ Symbol: VGACON_SOFT_SCROLLBACK_SIZE [=256]


                                                           │
  │ Prompt: Scrollback Buffer Size (in KB)


                                                           │
  │   Defined at drivers/video/console/Kconfig:37


                                                           │
  │   Depends on: HAS_IOMEM && VT && VGACON_SOFT_SCROLLBACK


                                                           │
  │   Location:


                                                           │
  │     -> Device Drivers


                                                           │
  │       -> Graphics support


                                                           │
  │         -> Console display driver support


                                                           │
  │           -> VGA text console (VGA_CONSOLE [=y])


                                                           │
  │             -> Enable Scrollback Buffer in System RAM
(VGACON_SOFT_SCROLLBACK [=y])

                                                                         │


I am using 256kb with 1050x1680 resolution.



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] scrollback using framebuffer
  2009-11-15  8:34     ` Alan McKinnon
@ 2009-11-17  5:48       ` Maxim Wexler
  2009-11-17  8:26         ` Alan McKinnon
  0 siblings, 1 reply; 7+ messages in thread
From: Maxim Wexler @ 2009-11-17  5:48 UTC (permalink / raw
  To: Alan McKinnon; +Cc: gentoo-user

>
> CONFIG_FB=y
> CONFIG_FB_BOOT_VESA_SUPPORT=y
> CONFIG_FB_CFB_FILLRECT=y
> CONFIG_FB_CFB_COPYAREA=y
> CONFIG_FB_CFB_IMAGEBLIT=y
> CONFIG_FB_VESA=y
> CONFIG_VGACON_SOFT_SCROLLBACK=y
> CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=256

Identical to mine.

> I have no settings for scrollback on the kernel command line, just this to
> set
> the resolution etc:
>
> vga=0x37D ywrap mtrr:4

Sure about this? 0x37D is not  a recognized mode. Are you missing some
punctuation?

my line is:  video=vesafb:ywrap,mtrr vga=0x318. Is this syntax
correct? There seems to be a variety out there. Mine only scrolls a
few lines, doesn't matter If I give scrollback 128 or 256k. But there
are no errors, so I must be doing something right. Tried ypan too, no
luck.

mw



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

* Re: [gentoo-user] scrollback using framebuffer
  2009-11-17  5:48       ` Maxim Wexler
@ 2009-11-17  8:26         ` Alan McKinnon
  0 siblings, 0 replies; 7+ messages in thread
From: Alan McKinnon @ 2009-11-17  8:26 UTC (permalink / raw
  To: gentoo-user

On Tuesday 17 November 2009 07:48:21 Maxim Wexler wrote:
> > CONFIG_FB=y
> > CONFIG_FB_BOOT_VESA_SUPPORT=y
> > CONFIG_FB_CFB_FILLRECT=y
> > CONFIG_FB_CFB_COPYAREA=y
> > CONFIG_FB_CFB_IMAGEBLIT=y
> > CONFIG_FB_VESA=y
> > CONFIG_VGACON_SOFT_SCROLLBACK=y
> > CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=256
> 
> Identical to mine.
> 
> > I have no settings for scrollback on the kernel command line, just this
> > to set
> > the resolution etc:
> >
> > vga=0x37D ywrap mtrr:4
> 
> Sure about this? 0x37D is not  a recognized mode. Are you missing some
> punctuation?

Nope, that's exactly how it is in grub. I have a 1920x1440 screen and I get as 
many 8x8 characters as can fit

I got the 0x37D parameter by the table shown with vga=ask

> my line is:  video=vesafb:ywrap,mtrr vga=0x318. Is this syntax
> correct? There seems to be a variety out there. Mine only scrolls a
> few lines, doesn't matter If I give scrollback 128 or 256k. But there
> are no errors, so I must be doing something right. Tried ypan too, no
> luck.

And I get 32k worth of scrollback. There's a setting for this in menuconfig:

Device Drivers -> Graphics support -> Console display driver support

what is yours set to?

I must admit, the fb situation is very confusing and the Documentation 
directory seems to be a mixture of old, new, wrong and just flat out obsolete 
stuff. One has to read the code to find out what is supported it seems

-- 
alan dot mckinnon at gmail dot com



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

end of thread, other threads:[~2009-11-17  8:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-14 22:12 [gentoo-user] scrollback using framebuffer Maxim Wexler
2009-11-15  0:37 ` Alan McKinnon
2009-11-15  3:19   ` Maxim Wexler
2009-11-15  8:34     ` Alan McKinnon
2009-11-17  5:48       ` Maxim Wexler
2009-11-17  8:26         ` Alan McKinnon
2009-11-15  9:43     ` Justin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox