Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]Terminal resolution
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
henning_bravo
Apprentice
Apprentice


Joined: 11 Apr 2007
Posts: 197

PostPosted: Fri May 18, 2007 8:39 pm    Post subject: [Solved]Terminal resolution Reply with quote

Hello!

I have just installed Gentoo!
The first thing I noticed was that the resolution in the terminal was much better when I used the live-cd.

What can be the trouble?


Last edited by henning_bravo on Fri May 18, 2007 8:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Fri May 18, 2007 8:47 pm    Post subject: Reply with quote

If you use the framebuffer, you can use a high resolution console and then use a nice console font, like the excellent sun 12x22 font at 1024x768 for example looks very classy. Doing so is a little tricky.

This can help you make your console look nice:
http://gentoo-wiki.com/HOWTO_fbsplash
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
henning_bravo
Apprentice
Apprentice


Joined: 11 Apr 2007
Posts: 197

PostPosted: Fri May 18, 2007 8:51 pm    Post subject: Reply with quote

erik258 wrote:
If you use the framebuffer, you can use a high resolution console and then use a nice console font, like the excellent sun 12x22 font at 1024x768 for example looks very classy. Doing so is a little tricky.

This can help you make your console look nice:
http://gentoo-wiki.com/HOWTO_fbsplash

Ok, I'll give it a try!

Thank!
Back to top
View user's profile Send private message
di1bert
l33t
l33t


Joined: 16 May 2002
Posts: 963
Location: Oslo, Norway

PostPosted: Fri May 18, 2007 8:51 pm    Post subject: Reply with quote

You'll want to pass a vga=XXX option to your kernel to tell it what resolution you want.

That's if you're using vesa and not vesa-tng

Please can you paste the lines from your grub.conf file so we can tell you exactly
what you need to change. I assume you're using Grub as most people seem to
be going this way....

Here's an example from mine:
Quote:

title=Gentoo-Sources
root (hd0,1)
kernel /2.6.20-gentoo-r7 ro root=/dev/sda3 vga=792 notsc elevator=cfq

As you can see I used 792 which is 1024x768 ( I don't remember what color depth though)


HTH

-m
_________________
choff.
Back to top
View user's profile Send private message
henning_bravo
Apprentice
Apprentice


Joined: 11 Apr 2007
Posts: 197

PostPosted: Fri May 18, 2007 9:37 pm    Post subject: Reply with quote

This sounds much easier... 8)

di1bert wrote:
Please can you paste the lines from your grub.conf file so we can tell you exactly
what you need to change. I assume you're using Grub as most people seem to
be going this way...

Code:
title=Gentoo Linux 2.6.20-r8
root (hd0,0)
kernel /boot/kernel-2.6.20-gentoo-r8 root=/dev/hda3


di1bert wrote:
That's if you're using vesa and not vesa-tng

How do I know that?

Where can I find the what number to use for a resolution?
Back to top
View user's profile Send private message
di1bert
l33t
l33t


Joined: 16 May 2002
Posts: 963
Location: Oslo, Norway

PostPosted: Sun May 20, 2007 7:45 am    Post subject: Reply with quote

Quote:

How do I know that?

Check your kernel configuration:
device drivers -> Graphics Support -> VESA VGA graphics support

You'll either be using vesafb or vesa-tng, although I would say you're using plain
old vesa so just add a VGA=option....

Quote:

Where can I find the what number to use for a resolution?

Code:

depth------640x480-----800x600-----1024x768-----1280x1024
256----------769----------771-----------773-------------775
32000-------784----------787-----------790-------------793
65000-------785----------788-----------791-------------794
16.7 Mill.----786----------789-----------792-------------795


Choose one of the above and test....

HTH

-m
_________________
choff.
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Sun May 20, 2007 8:16 am    Post subject: Reply with quote

I recommend you just read the howto and do the whole procedure, daunting as it may be.

The basic idea is that you include in your kernel support for your graphics card, or ves (recommended) as a framebuffer device, and then include framebuffer on console. You want framebuffer support in the kernel so you don't have to mess around with your initrd. Then you add a boot parameter so that the kernel uses the framebuffer, as di1bert said. Lastly, examine /etc/conf.d/consolefont and choose a nice font, and then /etc/init.d/consolefont restart.
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum