View previous topic :: View next topic |
Author |
Message |
henning_bravo Apprentice
Joined: 11 Apr 2007 Posts: 197
|
Posted: Fri May 18, 2007 8:39 pm Post subject: [Solved]Terminal resolution |
|
|
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 |
|
|
erik258 Advocate
Joined: 12 Apr 2005 Posts: 2650 Location: Twin Cities, Minnesota, USA
|
Posted: Fri May 18, 2007 8:47 pm Post subject: |
|
|
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 |
|
|
henning_bravo Apprentice
Joined: 11 Apr 2007 Posts: 197
|
Posted: Fri May 18, 2007 8:51 pm Post subject: |
|
|
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 |
|
|
di1bert l33t
Joined: 16 May 2002 Posts: 963 Location: Oslo, Norway
|
Posted: Fri May 18, 2007 8:51 pm Post subject: |
|
|
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 |
|
|
henning_bravo Apprentice
Joined: 11 Apr 2007 Posts: 197
|
Posted: Fri May 18, 2007 9:37 pm Post subject: |
|
|
This sounds much easier...
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 |
|
|
di1bert l33t
Joined: 16 May 2002 Posts: 963 Location: Oslo, Norway
|
Posted: Sun May 20, 2007 7:45 am Post subject: |
|
|
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 |
|
|
erik258 Advocate
Joined: 12 Apr 2005 Posts: 2650 Location: Twin Cities, Minnesota, USA
|
Posted: Sun May 20, 2007 8:16 am Post subject: |
|
|
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 |
|
|
|