View previous topic :: View next topic |
Author |
Message |
Beetle B. Guru
Joined: 01 Mar 2003 Posts: 524
|
Posted: Sat Nov 29, 2003 5:43 am Post subject: Framebuffer - How do I get rid of them? |
|
|
Hi,
I configured my kernel for framebuffers, and decided I didn't like them.
I'd like two entries in my Lilo - one for pure plain text (80x25), and the other using framebuffers.
How do I set it so that I can get back to text only?
Thanks. _________________ Beetle B.
Please update the table of equivalents.
A Firefox guide. |
|
Back to top |
|
|
Xiol Apprentice
Joined: 24 Jul 2003 Posts: 209 Location: UK
|
Posted: Sat Nov 29, 2003 12:21 pm Post subject: |
|
|
Code: | title=Gentoo Linux (2.6.0-test10-mm1)
root=(hd0,6)
kernel (hd0,6)/boot/2.6.0-test10-mm1 root=/dev/hda8 vga=0x317 video=ywrap,mtrr,vesa:1024x768@72 |
If I wanted to stop using a framebuffer, I'd just remove everything after 'root=/dev/hda8' and reboot. That's with Grub, not sure how it works with Lilo, but I'm guessing it's pretty much the same. |
|
Back to top |
|
|
Beetle B. Guru
Joined: 01 Mar 2003 Posts: 524
|
Posted: Sat Dec 13, 2003 5:46 am Post subject: |
|
|
Well, I'm using LILO.
I tried vga=normal. That gives me 80x25, but it does not look "normal" (i.e. before I had framebuffers). In addition, if I do that, the screen is shifted to the left.
Surely, there's a quick way to disable framebuffers?
Thanks, _________________ Beetle B.
Please update the table of equivalents.
A Firefox guide. |
|
Back to top |
|
|
-Anders n00b
Joined: 02 Sep 2003 Posts: 50
|
Posted: Sat Dec 13, 2003 9:55 am Post subject: |
|
|
I think you disable the framebuffer by not just adding the vga=blah line to the kernel parametres |
|
Back to top |
|
|
Beetle B. Guru
Joined: 01 Mar 2003 Posts: 524
|
Posted: Thu Dec 18, 2003 8:02 am Post subject: |
|
|
Quote: | I think you disable the framebuffer by not just adding the vga=blah line to the kernel parametres |
Kernel Parameters, or Lilo?
I disabled all vga=... statements in lilo.conf, but I get the same result if I use vga=normal. It still uses some sort of framebuffer, and the text is off center (into the left of the monitor).
Just a reminder to everyone: I want to be able to easily disable the framebuffer without having to recompile the kernel. How?! I liked my good old plain text consoles.
Thanks, _________________ Beetle B.
Please update the table of equivalents.
A Firefox guide. |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Thu Dec 18, 2003 10:21 am Post subject: |
|
|
simply removing the vga= and video= lines should disable it, it does on mine... _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
mrsteven Veteran
Joined: 04 Jul 2003 Posts: 1938
|
Posted: Thu Dec 18, 2003 12:51 pm Post subject: |
|
|
Maybe you have compiled "VGA16-Framebuffer" into your kernel. Disabling that will give you your plain text mode console. _________________ Unix philosophy: "Do one thing and do it well."
systemd: "Do everything and do it wrong." |
|
Back to top |
|
|
etnoy Apprentice
Joined: 29 Aug 2003 Posts: 255 Location: Västerås, Sweden
|
Posted: Thu Dec 18, 2003 1:46 pm Post subject: |
|
|
try
vga=normal
in lilo.conf _________________ The md5sum of the above post is 06280ccd85ef9deb49c336e7945f4b5c
God is dead! - Nietzsche
Nietzsche is dead! -God |
|
Back to top |
|
|
Beetle B. Guru
Joined: 01 Mar 2003 Posts: 524
|
Posted: Thu Dec 18, 2003 6:14 pm Post subject: |
|
|
Sorry, I already tried vga=normal - it's the same as having no vga line at all.
Removing vga= and video= lines don't work.
Just if needed, my kernel framebuffer parameters:
Code: | #
# Frame-buffer support
#
CONFIG_FB=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FB_LOGO_TUX=y
# CONFIG_FB_LOGO_LARRY is not set
# CONFIG_FB_LOGO_GENTOO is not set
# CONFIG_FB_LOGO_G is not set
# CONFIG_FB_LOGO_PENGUIN is not set
# CONFIG_FB_LOGO_POWEREDBY is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_CLGEN is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CYBER2000 is not set
CONFIG_FB_VESA=y
CONFIG_FB_VGA16=y
# CONFIG_FB_HGA is not set
CONFIG_VIDEO_SELECT=y
# CONFIG_FB_MATROX is not set
CONFIG_FB_ATY=m
# CONFIG_FB_ATY_GX is not set
# CONFIG_FB_ATY_CT is not set
CONFIG_FB_RADEON=y
CONFIG_FB_ATY128=m
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FBCON_SPLASHSCREEN is not set
# CONFIG_FBCON_ADVANCED is not set
CONFIG_FBCON_CFB8=y
CONFIG_FBCON_CFB16=y
CONFIG_FBCON_CFB24=y
CONFIG_FBCON_CFB32=y
CONFIG_FBCON_VGA_PLANES=y
# CONFIG_FBCON_FONTWIDTH8_ONLY is not set
# CONFIG_FBCON_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
|
_________________ Beetle B.
Please update the table of equivalents.
A Firefox guide. |
|
Back to top |
|
|
dabooty Guru
Joined: 15 May 2003 Posts: 482 Location: Belgium
|
Posted: Thu Dec 18, 2003 6:47 pm Post subject: |
|
|
Code: | title=Gentoo Linux nocandy
root (hd1,0) # Partition where the kernel image (or operating system) is located
kernel (hd1,0)/bzImage root=/dev/hdb3
title=Gentoo Linux +fb +bs
root (hd1,0) # Partition where the kernel image (or operating system) is located
kernel (hd1,0)/bzImage root=/dev/hdb3 splash=verbose video=vesa:ywrap,mttr vga=791
initrd=(hd1,0)/initrd |
works like a charm for me
i've not only removed the kernel parameters, but also the initrd line _________________ registered user #284425
get yourself counted
http://counter.li.org
------
#emerge -pv solves a lot of questions beforehand |
|
Back to top |
|
|
Beetle B. Guru
Joined: 01 Mar 2003 Posts: 524
|
Posted: Fri Dec 19, 2003 4:29 pm Post subject: |
|
|
Yes, but that's not Lilo...
I think I'll just recompile the kernel without framebuffers, and I'll keep the old one also in the boot partition, so I can still switch between the two.
Just a pain, that's all. _________________ Beetle B.
Please update the table of equivalents.
A Firefox guide. |
|
Back to top |
|
|
dabooty Guru
Joined: 15 May 2003 Posts: 482 Location: Belgium
|
Posted: Fri Dec 19, 2003 4:51 pm Post subject: |
|
|
it's the same with lilo
remove the kernel parameters and remove the initrd line, and it'll boot without framebuffer (the kernel), you should also remove the initscript for framebuffers if you don't want it kicking in later _________________ registered user #284425
get yourself counted
http://counter.li.org
------
#emerge -pv solves a lot of questions beforehand |
|
Back to top |
|
|
|