Re: [gentoo-user] Re: What to set in kernel for hi-res console terminal

2017-07-17 Thread Mick
On Monday 17 Jul 2017 18:27:04 Harry Putnam wrote:
> R0b0t1  writes:
> > On Sun, Jul 16, 2017 at 3:18 PM, Harry Putnam  wrote:
> >> I'm starting a new vbox install of gentoo using the minimal ISO from
> >> 07/13
> >> 
> >> When it gets to the kernel setup... I cannot figure out what to set
> >> to make my console terminal high resolution.  Something along the line
> >> of 1600x1200.
> >> 
> >> I understand this can all be done in the kernel now.  But cannot
> >> really get a good fix googling on what is needed there.
> > 
> > I was unable to figure this out either - can you comment on whether or
> > not Mick's suggestions work for you? The documentation I followed
> > about a year ago didn't seem to work.
> 
> I used to use old grub, of course, and used this on the kernel line:
> 
> (from 2010)
> 
>   title 2.6.32-r1
>   root (hd0,0)
>   kernel /vmlinuz  root=/dev/hda5 vga=0x31b video=vesfb:mtrr:3,ywrap
> 
> > I assume your goal is to have VTs that look like they do on Ubuntu, etc?
> 
>  Don't know dupe about Ubuntu...
> 
> My goal is a nice big fat high resolution console mode.
> Something on the order of 1600x1200
> 
> Didn't dig into kernel docs just now... but long long ago using old
> grub I dug up the chart Mick mentions .. It might have changed by now
> but probably not.
> 
> I kept it in comments on /boot/grub.conf down thru many installs
> and several different OS's.  Here is one from 2010 gentoo (On the same
> grub.conf as the title, root and kernel line above)
> 
> ## 640x480 800x600 1024x768 1280x1024
> ##   256 0x301   0x303   0x3050x307
> ##   32k 0x310   0x313   0x3160x319
> ##   64k 0x311   0x314   0x3170x31A
> ##   16M 0x312   0x315   0x3180x31B
> 
> So, I can probably figure out where to put stuff like that using Grub2
> but what I wanted to know about is using the Kernel modes KVM alone.
> 
> Hence the subject line about what to set `in kernel'.

Try adding this at the end of your kernel line options in GRUB:

video=1600x1200

If you are lucky your video card driver will cooperate.[1]  If not you may 
need to either add the refresh frequency, e.g. video=1600x1200@60Hz, or if 
your video drivers won't cooperate you'll have to add 'nomodeset' to disable 
KMS and specify your vga resolution of choice.

I tried this on with radeon card and it works.
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: What to set in kernel for hi-res console terminal

2017-07-17 Thread Harry Putnam
R0b0t1  writes:

> On Sun, Jul 16, 2017 at 3:18 PM, Harry Putnam  wrote:
>> I'm starting a new vbox install of gentoo using the minimal ISO from
>> 07/13
>>
>> When it gets to the kernel setup... I cannot figure out what to set
>> to make my console terminal high resolution.  Something along the line
>> of 1600x1200.
>>
>> I understand this can all be done in the kernel now.  But cannot
>> really get a good fix googling on what is needed there.
>>
>
> I was unable to figure this out either - can you comment on whether or
> not Mick's suggestions work for you? The documentation I followed
> about a year ago didn't seem to work.

I used to use old grub, of course, and used this on the kernel line:

(from 2010)

  title 2.6.32-r1
  root (hd0,0)
  kernel /vmlinuz  root=/dev/hda5 vga=0x31b video=vesfb:mtrr:3,ywrap


> I assume your goal is to have VTs that look like they do on Ubuntu, etc?

 Don't know dupe about Ubuntu...

My goal is a nice big fat high resolution console mode.
Something on the order of 1600x1200

Didn't dig into kernel docs just now... but long long ago using old
grub I dug up the chart Mick mentions .. It might have changed by now
but probably not.

I kept it in comments on /boot/grub.conf down thru many installs
and several different OS's.  Here is one from 2010 gentoo (On the same
grub.conf as the title, root and kernel line above)

## 640x480 800x600 1024x768 1280x1024
##   256 0x301   0x303   0x3050x307
##   32k 0x310   0x313   0x3160x319
##   64k 0x311   0x314   0x3170x31A
##   16M 0x312   0x315   0x3180x31B

So, I can probably figure out where to put stuff like that using Grub2
but what I wanted to know about is using the Kernel modes KVM alone.

Hence the subject line about what to set `in kernel'.

Guess I should have specified using KVM and made it a bit clearer.
Since there are kernel settings related to using the stuff above too.

I may need to post again with a better subject line.