public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] How to increase console (text) screen resolution
@ 2011-12-07 21:44 Harry Putnam
  2011-12-07 21:55 ` Michael Mol
  2011-12-07 23:33 ` [gentoo-user] " Paul Hartman
  0 siblings, 2 replies; 15+ messages in thread
From: Harry Putnam @ 2011-12-07 21:44 UTC (permalink / raw
  To: gentoo-user

What is the simplest way to get a higher resolution screen when
booting gentoo into console mode?

I used to have something in /boot/grub/grub.conf that did that but I
have forgotten the full syntax.  My best guess is:
    [...] vga=0x31a video=vesafb:mtrr,ywrap
on kernel line.

With that in place, at bootup the terminal expands to a (quite a lot)
bigger size, but it's only momentary and then right back down to what
is I guess default.

So either I missed something in the kernel or that stanza is outdated
now.

Or maybe, FB doesn't work for vbox guest vm.

(ps I'm not interest in wasting huge amounts of time with the KMS
approach.) 






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

* Re: [gentoo-user] How to increase console (text) screen resolution
  2011-12-07 21:44 [gentoo-user] How to increase console (text) screen resolution Harry Putnam
@ 2011-12-07 21:55 ` Michael Mol
  2011-12-07 22:34   ` [gentoo-user] " Harry Putnam
  2011-12-07 23:33 ` [gentoo-user] " Paul Hartman
  1 sibling, 1 reply; 15+ messages in thread
From: Michael Mol @ 2011-12-07 21:55 UTC (permalink / raw
  To: gentoo-user

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

On Wed, Dec 7, 2011 at 4:44 PM, Harry Putnam <reader@newsguy.com> wrote:

> What is the simplest way to get a higher resolution screen when
> booting gentoo into console mode?
>
> I used to have something in /boot/grub/grub.conf that did that but I
> have forgotten the full syntax.  My best guess is:
>    [...] vga=0x31a video=vesafb:mtrr,ywrap
> on kernel line.
>
> With that in place, at bootup the terminal expands to a (quite a lot)
> bigger size, but it's only momentary and then right back down to what
> is I guess default.
>
> So either I missed something in the kernel or that stanza is outdated
> now.
>
> Or maybe, FB doesn't work for vbox guest vm.
>
> (ps I'm not interest in wasting huge amounts of time with the KMS
> approach.)
>
>
>
>
>
VESA framebuffer should work with absolutely everything PC-derived. I don't
know the grub configuration details, though.

-- 
:wq

[-- Attachment #2: Type: text/html, Size: 1231 bytes --]

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

* [gentoo-user] Re: How to increase console (text) screen resolution
  2011-12-07 21:55 ` Michael Mol
@ 2011-12-07 22:34   ` Harry Putnam
  2011-12-07 23:03     ` Mick
  0 siblings, 1 reply; 15+ messages in thread
From: Harry Putnam @ 2011-12-07 22:34 UTC (permalink / raw
  To: gentoo-user


[...]

Harry wrote:
>>    [...] vga=0x31a video=vesafb:mtrr,ywrap
  
    (Does not work with newly installed gentoo guest on win7 Vbox)

Michael Mol <mikemol@gmail.com> responded:
> VESA framebuffer should work with absolutely everything PC-derived. I don't
> know the grub configuration details, though.

Sorry.. yes... here it is:

/boot/grub/grub.conf

  default 0
  timeout 10
  splashimage=(hd0,0)/grub/splash.xpm.gz
  
  title vgen
  root (hd0,0)
  kernel /vmlinuz root=/dev/sda3 vga=0x31A video=vesafb:mtrr,ywrap
  # initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5
  
  # vim:ft=conf:
  






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

* Re: [gentoo-user] Re: How to increase console (text) screen resolution
  2011-12-07 22:34   ` [gentoo-user] " Harry Putnam
@ 2011-12-07 23:03     ` Mick
  2011-12-07 23:57       ` Harry Putnam
  0 siblings, 1 reply; 15+ messages in thread
From: Mick @ 2011-12-07 23:03 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 837 bytes --]

On Wednesday 07 Dec 2011 22:34:33 Harry Putnam wrote:
> [...]
> 
> Harry wrote:
> >>    [...] vga=0x31a video=vesafb:mtrr,ywrap
> 
>     (Does not work with newly installed gentoo guest on win7 Vbox)
> 
> Michael Mol <mikemol@gmail.com> responded:
> > VESA framebuffer should work with absolutely everything PC-derived. I
> > don't know the grub configuration details, though.
> 
> Sorry.. yes... here it is:
> 
> /boot/grub/grub.conf
> 
>   default 0
>   timeout 10
>   splashimage=(hd0,0)/grub/splash.xpm.gz
> 
>   title vgen
>   root (hd0,0)
>   kernel /vmlinuz root=/dev/sda3 vga=0x31A video=vesafb:mtrr,ywrap
>   # initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5
> 
>   # vim:ft=conf:

Have you tried:

   vga=ask

It'll give you a list of hopefully supported resolutions.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] How to increase console (text) screen resolution
  2011-12-07 21:44 [gentoo-user] How to increase console (text) screen resolution Harry Putnam
  2011-12-07 21:55 ` Michael Mol
@ 2011-12-07 23:33 ` Paul Hartman
  2011-12-07 23:52   ` [gentoo-user] " Harry Putnam
  1 sibling, 1 reply; 15+ messages in thread
From: Paul Hartman @ 2011-12-07 23:33 UTC (permalink / raw
  To: gentoo-user

On Wed, Dec 7, 2011 at 3:44 PM, Harry Putnam <reader@newsguy.com> wrote:
> What is the simplest way to get a higher resolution screen when
> booting gentoo into console mode?
>
> I used to have something in /boot/grub/grub.conf that did that but I
> have forgotten the full syntax.  My best guess is:
>    [...] vga=0x31a video=vesafb:mtrr,ywrap
> on kernel line.
>
> With that in place, at bootup the terminal expands to a (quite a lot)
> bigger size, but it's only momentary and then right back down to what
> is I guess default.
>
> So either I missed something in the kernel or that stanza is outdated
> now.
>
> Or maybe, FB doesn't work for vbox guest vm.
>
> (ps I'm not interest in wasting huge amounts of time with the KMS
> approach.)

See if you have /etc/init.d/consolefont running at startup, it may be
changing your font from the one you see initially.



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

* [gentoo-user] Re: How to increase console (text) screen resolution
  2011-12-07 23:33 ` [gentoo-user] " Paul Hartman
@ 2011-12-07 23:52   ` Harry Putnam
  2011-12-08  0:02     ` Neil Bothwick
  0 siblings, 1 reply; 15+ messages in thread
From: Harry Putnam @ 2011-12-07 23:52 UTC (permalink / raw
  To: gentoo-user

Paul Hartman <paul.hartman+gentoo@gmail.com> writes:

> On Wed, Dec 7, 2011 at 3:44 PM, Harry Putnam <reader@newsguy.com> wrote:
>> What is the simplest way to get a higher resolution screen when
>> booting gentoo into console mode?
>>
>> I used to have something in /boot/grub/grub.conf that did that but I
>> have forgotten the full syntax.  My best guess is:
>>    [...] vga=0x31a video=vesafb:mtrr,ywrap
>> on kernel line.
>>
>> With that in place, at bootup the terminal expands to a (quite a lot)
>> bigger size, but it's only momentary and then right back down to what
>> is I guess default.

[...]

> See if you have /etc/init.d/consolefont running at startup, it may be
> changing your font from the one you see initially.

No, it doesn't appear at all in rc-update output.  What I actually see
happen as boot starts is the vbox window expands quickly to about 3-4
times its original size, then after only a moment it drops back to its
original size.  Like a resolution is tried and dropped.




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

* [gentoo-user] Re: How to increase console (text) screen resolution
  2011-12-07 23:03     ` Mick
@ 2011-12-07 23:57       ` Harry Putnam
  2011-12-08  0:09         ` Paul Hartman
  0 siblings, 1 reply; 15+ messages in thread
From: Harry Putnam @ 2011-12-07 23:57 UTC (permalink / raw
  To: gentoo-user

Mick <michaelkintzios@gmail.com> writes:

> Have you tried:
>
>    vga=ask
>
> It'll give you a list of hopefully supported resolutions.

Yes but those are not really resolutions are they?... I thought they
were actual font size changes.

5 is closest but any of the smaller ones look too silly and
unreadable.  Whereas a hefty resolution like 1200 over 1024 looks
nice, just smaller.

I moved away, yrs ago from using vga=ask because it really does not
have a satisfactory view setting.  5 is best, but also seem a bit
large, the next one looks too crowded and ugly.




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

* Re: [gentoo-user] Re: How to increase console (text) screen resolution
  2011-12-07 23:52   ` [gentoo-user] " Harry Putnam
@ 2011-12-08  0:02     ` Neil Bothwick
  2011-12-08  0:36       ` Harry Putnam
  0 siblings, 1 reply; 15+ messages in thread
From: Neil Bothwick @ 2011-12-08  0:02 UTC (permalink / raw
  To: gentoo-user

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

On Wed, 07 Dec 2011 17:52:04 -0600, Harry Putnam wrote:

> No, it doesn't appear at all in rc-update output.  What I actually see
> happen as boot starts is the vbox window expands quickly to about 3-4
> times its original size, then after only a moment it drops back to its
> original size.  Like a resolution is tried and dropped.

That sounds like KMS kicking in and reducing the resolution to what it
thinks your hardware can handle. There is a kernel option to enable it, I
can't remember the exact syntax but Google can.


-- 
Neil Bothwick

Don't let your mind wander, it's too little to be let out alone.

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

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

* Re: [gentoo-user] Re: How to increase console (text) screen resolution
  2011-12-07 23:57       ` Harry Putnam
@ 2011-12-08  0:09         ` Paul Hartman
  2011-12-08  0:43           ` Michael Mol
  0 siblings, 1 reply; 15+ messages in thread
From: Paul Hartman @ 2011-12-08  0:09 UTC (permalink / raw
  To: gentoo-user

On Wed, Dec 7, 2011 at 5:57 PM, Harry Putnam <reader@newsguy.com> wrote:
> Mick <michaelkintzios@gmail.com> writes:
>
>> Have you tried:
>>
>>    vga=ask
>>
>> It'll give you a list of hopefully supported resolutions.
>
> Yes but those are not really resolutions are they?... I thought they
> were actual font size changes.
>
> 5 is closest but any of the smaller ones look too silly and
> unreadable.  Whereas a hefty resolution like 1200 over 1024 looks
> nice, just smaller.
>
> I moved away, yrs ago from using vga=ask because it really does not
> have a satisfactory view setting.  5 is best, but also seem a bit
> large, the next one looks too crowded and ugly.

I use uvesafb. It's a little awkward to set up the first time, but was
more flexible for me as far as the possible resolutions.

Instructions are here:
http://dev.gentoo.org/~spock/projects/uvesafb/

The relevant part of my grub kernel line:
video=uvesafb:1280x800-32,mtrr:2,ywrap

That goes into a 1280x800 video mode. I then use consolefont in my
default runlevel to set the font to one that I prefer (ter-112n from
media-fonts/terminus-font)



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

* [gentoo-user] Re: How to increase console (text) screen resolution
  2011-12-08  0:02     ` Neil Bothwick
@ 2011-12-08  0:36       ` Harry Putnam
  2011-12-08  0:42         ` Harry Putnam
  0 siblings, 1 reply; 15+ messages in thread
From: Harry Putnam @ 2011-12-08  0:36 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick <neil@digimed.co.uk> writes:

> On Wed, 07 Dec 2011 17:52:04 -0600, Harry Putnam wrote:
>
>> No, it doesn't appear at all in rc-update output.  What I actually see
>> happen as boot starts is the vbox window expands quickly to about 3-4
>> times its original size, then after only a moment it drops back to its
>> original size.  Like a resolution is tried and dropped.
>
> That sounds like KMS kicking in and reducing the resolution to what it
> thinks your hardware can handle. There is a kernel option to enable it, I
> can't remember the exact syntax but Google can.

You might have something there.  However, everything that comes up on
a `/KMS' search in make menuconfig is set `=n' and I just noticed
another area that comes up is the `advanced' option under power
management.

I just now turned all the advanced stuff off by removing the
`asterisk'.

Building kernel now but I have a hunch nothing is going to change as
regards the resolution. 




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

* [gentoo-user] Re: How to increase console (text) screen resolution
  2011-12-08  0:36       ` Harry Putnam
@ 2011-12-08  0:42         ` Harry Putnam
  2011-12-08  5:53           ` Frank Steinmetzger
  0 siblings, 1 reply; 15+ messages in thread
From: Harry Putnam @ 2011-12-08  0:42 UTC (permalink / raw
  To: gentoo-user

Harry Putnam <reader@newsguy.com> writes:

> Neil Bothwick <neil@digimed.co.uk> writes:
>
>> On Wed, 07 Dec 2011 17:52:04 -0600, Harry Putnam wrote:
>>
>>> No, it doesn't appear at all in rc-update output.  What I actually see
>>> happen as boot starts is the vbox window expands quickly to about 3-4
>>> times its original size, then after only a moment it drops back to its
>>> original size.  Like a resolution is tried and dropped.
>>
>> That sounds like KMS kicking in and reducing the resolution to what it
>> thinks your hardware can handle. There is a kernel option to enable it, I
>> can't remember the exact syntax but Google can.
>
> You might have something there.  However, everything that comes up on
> a `/KMS' search in make menuconfig is set `=n' and I just noticed
> another area that comes up is the `advanced' option under power
> management.
>
> I just now turned all the advanced stuff off by removing the
> `asterisk'.
>
> Building kernel now but I have a hunch nothing is going to change as
> regards the resolution. 

I guessed right, no change far as getting a larger resolution.  Still
has the quick expansion and then drops back to original res.




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

* Re: [gentoo-user] Re: How to increase console (text) screen resolution
  2011-12-08  0:09         ` Paul Hartman
@ 2011-12-08  0:43           ` Michael Mol
  0 siblings, 0 replies; 15+ messages in thread
From: Michael Mol @ 2011-12-08  0:43 UTC (permalink / raw
  To: gentoo-user

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

FWIW, uvesafb breaks if you use the -march=native unpacking trick on amd64;
the special compiler v86d depends on doesn't like the --param parameter.
That appears to be used by gcc to communicate details about CPU cache
geometry.

ZZ
On Dec 7, 2011 7:19 PM, "Paul Hartman" <paul.hartman+gentoo@gmail.com>
wrote:

> On Wed, Dec 7, 2011 at 5:57 PM, Harry Putnam <reader@newsguy.com> wrote:
> > Mick <michaelkintzios@gmail.com> writes:
> >
> >> Have you tried:
> >>
> >>    vga=ask
> >>
> >> It'll give you a list of hopefully supported resolutions.
> >
> > Yes but those are not really resolutions are they?... I thought they
> > were actual font size changes.
> >
> > 5 is closest but any of the smaller ones look too silly and
> > unreadable.  Whereas a hefty resolution like 1200 over 1024 looks
> > nice, just smaller.
> >
> > I moved away, yrs ago from using vga=ask because it really does not
> > have a satisfactory view setting.  5 is best, but also seem a bit
> > large, the next one looks too crowded and ugly.
>
> I use uvesafb. It's a little awkward to set up the first time, but was
> more flexible for me as far as the possible resolutions.
>
> Instructions are here:
> http://dev.gentoo.org/~spock/projects/uvesafb/
>
> The relevant part of my grub kernel line:
> video=uvesafb:1280x800-32,mtrr:2,ywrap
>
> That goes into a 1280x800 video mode. I then use consolefont in my
> default runlevel to set the font to one that I prefer (ter-112n from
> media-fonts/terminus-font)
>
>

[-- Attachment #2: Type: text/html, Size: 2110 bytes --]

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

* Re: [gentoo-user] Re: How to increase console (text) screen resolution
  2011-12-08  0:42         ` Harry Putnam
@ 2011-12-08  5:53           ` Frank Steinmetzger
  2011-12-08 23:44             ` Harry Putnam
  0 siblings, 1 reply; 15+ messages in thread
From: Frank Steinmetzger @ 2011-12-08  5:53 UTC (permalink / raw
  To: gentoo-user

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

On Wed, Dec 07, 2011 at 06:42:22PM -0600, Harry Putnam wrote:

> >> That sounds like KMS kicking in and reducing the resolution to what it
> >> thinks your hardware can handle. There is a kernel option to enable it, I
> >> can't remember the exact syntax but Google can.
> >
> > You might have something there.  However, everything that comes up on
> > a `/KMS' search in make menuconfig is set `=n' and I just noticed
> > another area that comes up is the `advanced' option under power
> > management.
> >
> > I just now turned all the advanced stuff off by removing the
> > `asterisk'.
> >
> > Building kernel now but I have a hunch nothing is going to change as
> > regards the resolution. 
> 
> I guessed right, no change far as getting a larger resolution.  Still
> has the quick expansion and then drops back to original res.

AFAIK you also need to use a supporting Graphics driver. I, for instance,
usually use the binary NVidia blob, which cannot handle KMS. So I use uvesafb
and am fine with it. The only problem with it is that on every other session I
get but a blank screen when I switch from X to a console.
OTOH I also tried nouveau and (on a friend’s netbook) the intel driver. Both
automatically detected the correct screen resolution without any additional
kernel parameter.
-- 
Gruß | Greetings | Qapla'
I forbid any use of my email addresses with Facebook services.

Baby to twin at the other breast, winking: “Bottoms up!?”

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

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

* [gentoo-user] Re: How to increase console (text) screen resolution
  2011-12-08  5:53           ` Frank Steinmetzger
@ 2011-12-08 23:44             ` Harry Putnam
  2011-12-09  7:01               ` Mick
  0 siblings, 1 reply; 15+ messages in thread
From: Harry Putnam @ 2011-12-08 23:44 UTC (permalink / raw
  To: gentoo-user

Frank Steinmetzger <Warp_7@gmx.de> writes:

> AFAIK you also need to use a supporting Graphics driver. I, for instance,

Even for a no X setup?.  What ever it needs must be there since it
pops up in a high resolution, but then drops back.  If the good
weren't there to create that resolution, I doubt it would enter a high
res at all.





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

* Re: [gentoo-user] Re: How to increase console (text) screen resolution
  2011-12-08 23:44             ` Harry Putnam
@ 2011-12-09  7:01               ` Mick
  0 siblings, 0 replies; 15+ messages in thread
From: Mick @ 2011-12-09  7:01 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 616 bytes --]

On Thursday 08 Dec 2011 23:44:25 Harry Putnam wrote:
> Frank Steinmetzger <Warp_7@gmx.de> writes:
> > AFAIK you also need to use a supporting Graphics driver. I, for instance,
> 
> Even for a no X setup?.  What ever it needs must be there since it
> pops up in a high resolution, but then drops back.  If the good
> weren't there to create that resolution, I doubt it would enter a high
> res at all.

Have you tried passing something like:

  video=1024x768

to your kernel line?  I know this is a KMS way of specifying the resolution, 
but it may just work with recent kernels.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2011-12-09  7:04 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-07 21:44 [gentoo-user] How to increase console (text) screen resolution Harry Putnam
2011-12-07 21:55 ` Michael Mol
2011-12-07 22:34   ` [gentoo-user] " Harry Putnam
2011-12-07 23:03     ` Mick
2011-12-07 23:57       ` Harry Putnam
2011-12-08  0:09         ` Paul Hartman
2011-12-08  0:43           ` Michael Mol
2011-12-07 23:33 ` [gentoo-user] " Paul Hartman
2011-12-07 23:52   ` [gentoo-user] " Harry Putnam
2011-12-08  0:02     ` Neil Bothwick
2011-12-08  0:36       ` Harry Putnam
2011-12-08  0:42         ` Harry Putnam
2011-12-08  5:53           ` Frank Steinmetzger
2011-12-08 23:44             ` Harry Putnam
2011-12-09  7:01               ` Mick

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