Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on AMD64
  • Search

Grub conf and vga/video

Have an x86-64 problem? Post here.
Locked
Advanced search
8 posts • Page 1 of 1
Author
Message
TheLegend81
n00b
n00b
Posts: 46
Joined: Fri Aug 26, 2005 11:42 am
Location: Charleston, S.C.

Grub conf and vga/video

  • Quote

Post by TheLegend81 » Thu Sep 15, 2005 6:40 pm

Hey all:

I've finally got a working Gentoo installation but there is one quirk.

I have a 19" LCD monitor that I'd like to run at 1280x1024@24bit@72Hz

the console, as I understand, is configured in the grub.conf file under the tag "vga="

As the handbook indicates, 1280x1024@24bit color = 0x31B

so I have tried vga=0x31B and vga=31B. Everytime I boot the kernel, mount filesystems as well as the console itself, the text goes off of the side of the screen. the resolution looks FAR lower than 1280x1024.

how do I go about getting my console to display the right resolution?
for the record (and not that it necessarily amtters as modules are loaded much after the grub.conf file is taken into account) but I am using nvidia-kernel as my display adapter. What am I missing?
ASUS A8N-SLI Deluxe - AMD64 3500+
2x CorsairXMS3200XL-512MB (1024 total)
2x Seagate 80GB SATA barracuda HDs (not in raid)
1x PX-716SA (SATA DVD+/-RW)
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56100
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Thu Sep 15, 2005 6:48 pm

TheLegend81,

There are two console drivers, the vga one which is configured with the vga statement and the framebuffer one which needs the video statement. Do you know which driver you are using ?

If you get a Penguin boot logo, its framebuffer, if not, you can't tell by looking at the boot screen.

The nvidia-kernel modules is used only for X - not the console.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
TheLegend81
n00b
n00b
Posts: 46
Joined: Fri Aug 26, 2005 11:42 am
Location: Charleston, S.C.

  • Quote

Post by TheLegend81 » Thu Sep 15, 2005 7:06 pm

okay.

well, I'm using both vga and video

I don't have tux anywhere though.

From:http://www.gentoo.org/doc/en/handbook/h ... =1&chap=10
If you have configured your kernel with framebuffer support (or you used genkernel's default kernel configuration), you can activate it by adding a vga and/or a video statement to your bootloader configuration file.

64-bit systems must use the the vesafb driver, and so will need to set the vga statement. The vga statement controls the resolution and color depth of your framebuffer screen for vesafb. As stated in /usr/src/linux/Documentation/fb/vesafb.txt (which gets installed when you install a kernel source package), you need to pass the VESA number corresponding to the requested resolution and color depth to it.

The following table lists the available resolutions and colordepths and matches those against the value that you need to pass on to the vga statement.

640x480 800x600 1024x768 1280x1024
256 0x301 0x303 0x305 0x307
32k 0x310 0x313 0x316 0x319
64k 0x311 0x314 0x317 0x31A
16M 0x312 0x315 0x318 0x31B

The video statement controls framebuffer display options. It needs to be given the framebuffer driver (vesafb for 2.6 kernels, or vesa for 2.4 kernels) followed by the control statements you wish to enable. All variables are listed in /usr/src/linux/Documentation/fb/vesafb.txt, but we'll inform you about three most-used options:

Control Description
ywrap Assume that the graphical card can wrap around its memory (i.e. continue at the beginning when it has approached the end)
mtrr Setup MTRR registers

The result of those two statements could be something like vga=0x318 video=vesafb:mtrr,ywrap or video=vesafb:mtrr,ywrap,1024x768-32@85. Remember (or write down) this setting; you will need it shortly.

Now continue by installing GRUB.
am I right that I should be putting this in the grub.conf?

I just popped it right at the top, honestly, it doesn't follow a kernel statement or anything

Code: Select all

vga=0x31B
video=vesafb:mtrr,ywrap,1280x1024-24@72

title=...
should it be appended to the i.e.

Code: Select all

kernel = kernel-2.6.13-gentoo-r1 -doscsi vga=0x31B video=vesafb:mtrr,ywrap,1280x1024-24@72
Thanks so much!

and yes, I'm a lunix newb.[/code]
ASUS A8N-SLI Deluxe - AMD64 3500+
2x CorsairXMS3200XL-512MB (1024 total)
2x Seagate 80GB SATA barracuda HDs (not in raid)
1x PX-716SA (SATA DVD+/-RW)
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56100
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Thu Sep 15, 2005 8:14 pm

TheLegend81,

Code: Select all

kernel = kernel-2.6.13-gentoo-r1 -doscsi vga=0x31B video=vesafb:mtrr,ywrap,1280x1024-24@72 
Is correct, on one long line with all the other stuff already there. However, you should not need both

Code: Select all

vga=0x31B 
and

Code: Select all

video=vesafb:mtrr,ywrap,1280x1024-24@72

Code: Select all

vga=ask
is worth playing with. It will give you a list of supported vga modes to choose from right after the kernel is loaded.
If you are using framebuffer, it should be the vesa-tng one.

You only get the Penguin in the framebuffer if you have configured the boot time logo too.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
TheLegend81
n00b
n00b
Posts: 46
Joined: Fri Aug 26, 2005 11:42 am
Location: Charleston, S.C.

  • Quote

Post by TheLegend81 » Thu Sep 15, 2005 9:22 pm

thanks, I'll try that!
ASUS A8N-SLI Deluxe - AMD64 3500+
2x CorsairXMS3200XL-512MB (1024 total)
2x Seagate 80GB SATA barracuda HDs (not in raid)
1x PX-716SA (SATA DVD+/-RW)
Top
ldoe3000
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 78
Joined: Tue Jul 19, 2005 7:29 pm
Location: Portland, OR

  • Quote

Post by ldoe3000 » Fri Sep 16, 2005 6:54 am

vga=795 is 1280X1024, you might try that also.
Athlon64 3500+ MSI Neo2 Platinum
2X74 WD Raptor Raid 0
2X512MB Crucial Ballistix
ATI x800XT PE (8.18.6)
SB Audigy 2 ZS
Dell 24" Widescreen LCD
Dual boot: Gentoo x86_64 2.6.13-r4 , Windows XP x64
Top
TheLegend81
n00b
n00b
Posts: 46
Joined: Fri Aug 26, 2005 11:42 am
Location: Charleston, S.C.

  • Quote

Post by TheLegend81 » Fri Sep 16, 2005 6:55 pm

okay--I tried this but my terminals still seem to be the same size. I tried using one of the consolefonts (to make the text smaller--more like the 2005.1 live cd size) but they don't seem to work.


for example:

in /etc/X11/consolefont

CONSOLEFONT="ISO-08x08" does not work

My ultimate goal for the console is just to make the screen like the live-cd 2005.1 boot sequence and terminals. I find smaller text much more vivid and hate having to scroll as much as I do.

Any help would be appreciated.
ASUS A8N-SLI Deluxe - AMD64 3500+
2x CorsairXMS3200XL-512MB (1024 total)
2x Seagate 80GB SATA barracuda HDs (not in raid)
1x PX-716SA (SATA DVD+/-RW)
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56100
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Fri Sep 16, 2005 7:24 pm

TheLegend81,

If you have some web space, please post your /usr/src/linux/.config file there and put a link in the thread.
If you must, paste your entire .config file here.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Locked

8 posts • Page 1 of 1

Return to “Gentoo on AMD64”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic