View previous topic :: View next topic |
Author |
Message |
nitro322 Guru
Joined: 24 Jul 2002 Posts: 594 Location: USA
|
Posted: Sat Jul 27, 2002 9:00 am Post subject: high-resolution console? |
|
|
Under a default RedHat install (which includes framebuffer support), I could pass vga=791 to the kernel through LILO to start with a console resolution of 1024x768 and 16-bit color. Gentoo obviously has framebuffer support, but it will only run at the default resolution, no matter what vga argument I pass to grub. Is there any reason for this, or anything I'm missing? Anyone else get this to work? Thanks allot. |
|
Back to top |
|
|
eheintz n00b
Joined: 16 Jul 2002 Posts: 12
|
Posted: Sat Jul 27, 2002 1:21 pm Post subject: |
|
|
I don't recall whether the default kernel config has framebuffer support so if you want ot use vga=791...
Make sure your kernel has at least the following:
Code Maturity Level Options -->
* Prompt for development and/or incomplete code/drivers
Console Drivers -->
* Video Mode Selection Support
Frame-buffer support -->
* Support for frame buffer devices
* VESA VGA graphics console
Advanced low level driver options -->
* 16bpp packed pixels support
Of course you can substitute another driver in place of the VESA driver if it applies to your system (Matrox, Voodoo, etc.)
Then append it as a kernel parameter in GRUBs menu.lst (unless you're going to pass it manually on each boot, of course)
i.e.
kernel /boot/bzImage root=/dev/hda1 vga=791
That should be it. |
|
Back to top |
|
|
butters Guru
Joined: 13 May 2002 Posts: 427 Location: Poughkeepsie, NY
|
Posted: Sat Jul 27, 2002 8:13 pm Post subject: |
|
|
I tried several times to get VGA framebuffer console, but could only get the default resolution with the bottom line off the bottom of the screen. I also used those kernel options and passed the vga=791 to GRUB. I was forced to changed this to vga=normal, because GRUB wouldn't accept 791 as a valid mode. _________________ If tugboats were bigger, they'd be the ones getting tugged. |
|
Back to top |
|
|
BradN Advocate
Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
Posted: Sat Jul 27, 2002 8:51 pm Post subject: |
|
|
try 0x791? |
|
Back to top |
|
|
nitro322 Guru
Joined: 24 Jul 2002 Posts: 594 Location: USA
|
Posted: Sat Jul 27, 2002 10:03 pm Post subject: |
|
|
hmm... Tried all of the suggestions, but it still runs at it's default framebuffer resolution everytime (except when trying 0x791, which resulted in an error). I even tryied using vga=ask and selecting one of the resolutions listed, but it still ran at the default resoution. Any other suggestions? |
|
Back to top |
|
|
JeroenV Guru
Joined: 16 Jul 2002 Posts: 447 Location: Amsterdam / Hamburg
|
Posted: Sat Jul 27, 2002 10:54 pm Post subject: |
|
|
hmm, try the correct hex code? For my 1280x1024 this is 0x31B, check (groups.)google.com for yours...
I might add that I have a matrox G450 with corresponding framebuffer support compiled in, maybe there's also a module for your card? I could also imagine that maybe you have to compile the frambuffer stuff hard in (not module), coz it's needed so soon in the boot process. Not sure about this all though...
good luck! _________________ Cheers
Jeroen
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
May The Source be with you! |
|
Back to top |
|
|
Russki Tux's lil' helper
Joined: 28 Apr 2002 Posts: 119 Location: Prague, Czech Republic
|
Posted: Sat Jul 27, 2002 11:50 pm Post subject: |
|
|
I've got Nvidia card and to use a console resolution of 1024x768 I had to use a patch. Look hier for more info about the patch. _________________ Facts are stupid things.
-Ronald Reagan
[img]http://www.danasoft.com/vipersig.jpg[/img] |
|
Back to top |
|
|
Kawada Apprentice
Joined: 22 Jul 2002 Posts: 159 Location: Florida, USA
|
Posted: Sun Jul 28, 2002 1:52 am Post subject: |
|
|
Did you compile in framebuffer support specific to your video card? Quite often when not using the standard VESA framebuffer (for instance using the Radeon FB) the line for changing resolution is not vga=* but something else (in the case of the Radeon, it is video=radeon:XRESxYRES). Overall, if you do not really need an accelerated fram buffer (which I don't think many people do) you're better of compiling in support for the VESA framebuffer and nothing else. Its just less of a hassle. |
|
Back to top |
|
|
Russki Tux's lil' helper
Joined: 28 Apr 2002 Posts: 119 Location: Prague, Czech Republic
|
Posted: Sun Jul 28, 2002 2:11 am Post subject: |
|
|
Quote: | Overall, if you do not really need an accelerated fram buffer (which I don't think many people do) you're better of compiling in support for the VESA framebuffer and nothing else. Its just less of a hassle. |
If I use VESA framebuffer, the bootup penguin won't show up. I guess that's a nvidia-VESA framebuffer prob. _________________ Facts are stupid things.
-Ronald Reagan
[img]http://www.danasoft.com/vipersig.jpg[/img] |
|
Back to top |
|
|
RMXO n00b
Joined: 06 Jul 2002 Posts: 31 Location: Silicon Valley, CA
|
Posted: Sun Jul 28, 2002 2:41 am Post subject: u using 1.3x or 1.2? |
|
|
Which version of Gentoo are u using? I was having the same problem on my Dell c600 & c800 when using 1.3b.
when i was using the Gentoo 1.2 img i was able to use vga=791 in grub. i added Framebuffer, VESA & VGA16 & my video module. im not sure vga16 helped or not. i forgot whatelse i added to the kernel. i rem it was "vga=<something_I_forgot>" in the kernel.
but when i used Gentoo 1.3b i wasnt able to use vga=791 in grub. i recompiled the kernel to make it work like 3 times all trying different options in the kernel. nothing worked for me. since it wasnt really important to have it, i just gave up cus i got tired of booting into boot CD & mounting & remounting. call me lazy.
Im not sure why 1.2 worked & 1.3b since im still a n00b. You might want to try out 1.2 if you are using 1.3b. BTW, YMMW.
Hardware:
c800
ATI Rage128 M4
c600
ATI Rage128 M3
1.2 works on those laptops but 1.3b didnt.
Im currently installing 1.3b on my desktop that has a gf3 ti200. so i will test out if i can do vga=791 & vga=794 (1280x1024). when i do my 1st reboot.
sorry, i wasnt able to give yah an exact answer.
Code: |
# Console drivers
#
CONFIG_VGA_CONSOLE=y
CONFIG_VIDEO_SELECT=y
CONFIG_MDA_CONSOLE=m
#
# Frame-buffer support
#
CONFIG_FB=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FB_RIVA=m
CONFIG_FB_I810=m
CONFIG_FB_I810_NONSTD=y
CONFIG_FB_CLGEN=m
CONFIG_FB_PM2=m
CONFIG_FB_PM2_FIFO_DISCONNECT=y
CONFIG_FB_PM2_PCI=y
CONFIG_FB_PM3=m
CONFIG_FB_CYBER2000=m
CONFIG_FB_VESA=y
CONFIG_FB_VGA16=m
CONFIG_FB_HGA=m
CONFIG_VIDEO_SELECT=y
CONFIG_FB_MATROX=m
CONFIG_FB_MATROX_MILLENIUM=y
CONFIG_FB_MATROX_MYSTIQUE=y
CONFIG_FB_MATROX_G100=y
CONFIG_FB_MATROX_I2C=m
CONFIG_FB_MATROX_MAVEN=m
CONFIG_FB_MATROX_G450=m
CONFIG_FB_MATROX_MULTIHEAD=y
CONFIG_FB_ATY=m
CONFIG_FB_ATY_GX=y
CONFIG_FB_ATY_CT=y
CONFIG_FB_RADEON=m
CONFIG_FB_ATY128=m
CONFIG_FB_SIS=m
CONFIG_FB_SIS_300=y
CONFIG_FB_SIS_315=y
CONFIG_FB_3DFX=m
CONFIG_FB_VOODOO1=m
CONFIG_FB_TRIDENT=m
# CONFIG_FB_VIRTUAL is not set
CONFIG_FBCON_SPLASHSCREEN=y
CONFIG_FBCON_CFB16=y
# CONFIG_FBCON_ADVANCED is not set
CONFIG_FBCON_MFB=m
CONFIG_FBCON_CFB8=y
CONFIG_FBCON_CFB16=y
CONFIG_FBCON_CFB24=y
CONFIG_FBCON_CFB32=y
CONFIG_FBCON_VGA_PLANES=m
CONFIG_FBCON_HGA=m
# CONFIG_FBCON_FONTWIDTH8_ONLY is not set
# CONFIG_FBCON_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
|
that is my Mandrake .config file from a default install. with this I was able to get vga=791 to work on my Mandrake Desktop w/ a GF3 ti200 as my video card. _________________ Once you go SMP you never wanna go back! |
|
Back to top |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Sun Jul 28, 2002 3:38 am Post subject: |
|
|
i have a nvidia gf4 and vesa working...i use 788 though because my screen is big so it looks better....791 is too small....do a search on this its been discussed before |
|
Back to top |
|
|
nitro322 Guru
Joined: 24 Jul 2002 Posts: 594 Location: USA
|
Posted: Sun Jul 28, 2002 6:27 am Post subject: |
|
|
ok, got it working. Finally! After a whole lot of trial and error, here's what I enabled to get it working.
Code: |
Enable:
Console drivers -> VGA text console <Y>
Console drivers -> Video mode selection support <Y>
-> Frame-buffer support -> Support for frame buffer devices <Y>
-> Frame-buffer support -> VESA VGA graphics console <Y>
-> Frame-buffer support -> 3dfx Banshee/Voodoo3 <M>
|
I have a Voodoo3, and for whatever reason, I have to compile that option as a Module, with VESA VGA support compiled in. Tried it about every possible way, but this was the only way that worked. Also, it didn't work for me with any of the "Advanced low level driver options" enabled, nor the "Select compiled-in fonts" option. Hopefully this'll help anyone still have trouble. Thanks for the suggestions, everyone.[/code][/quote] |
|
Back to top |
|
|
|