Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Framebuffer - How do I get rid of them?
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
Beetle B.
Guru
Guru


Joined: 01 Mar 2003
Posts: 524

PostPosted: Sat Nov 29, 2003 5:43 am    Post subject: Framebuffer - How do I get rid of them? Reply with quote

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
View user's profile Send private message
Xiol
Apprentice
Apprentice


Joined: 24 Jul 2003
Posts: 209
Location: UK

PostPosted: Sat Nov 29, 2003 12:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
Beetle B.
Guru
Guru


Joined: 01 Mar 2003
Posts: 524

PostPosted: Sat Dec 13, 2003 5:46 am    Post subject: Reply with quote

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
View user's profile Send private message
-Anders
n00b
n00b


Joined: 02 Sep 2003
Posts: 50

PostPosted: Sat Dec 13, 2003 9:55 am    Post subject: Reply with quote

I think you disable the framebuffer by not just adding the vga=blah line to the kernel parametres
Back to top
View user's profile Send private message
Beetle B.
Guru
Guru


Joined: 01 Mar 2003
Posts: 524

PostPosted: Thu Dec 18, 2003 8:02 am    Post subject: Reply with quote

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
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Thu Dec 18, 2003 10:21 am    Post subject: Reply with quote

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
View user's profile Send private message
mrsteven
Veteran
Veteran


Joined: 04 Jul 2003
Posts: 1938

PostPosted: Thu Dec 18, 2003 12:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
etnoy
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 255
Location: Västerås, Sweden

PostPosted: Thu Dec 18, 2003 1:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
Beetle B.
Guru
Guru


Joined: 01 Mar 2003
Posts: 524

PostPosted: Thu Dec 18, 2003 6:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
dabooty
Guru
Guru


Joined: 15 May 2003
Posts: 482
Location: Belgium

PostPosted: Thu Dec 18, 2003 6:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Beetle B.
Guru
Guru


Joined: 01 Mar 2003
Posts: 524

PostPosted: Fri Dec 19, 2003 4:29 pm    Post subject: Reply with quote

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. :cry:
_________________
Beetle B.

Please update the table of equivalents.
A Firefox guide.
Back to top
View user's profile Send private message
dabooty
Guru
Guru


Joined: 15 May 2003
Posts: 482
Location: Belgium

PostPosted: Fri Dec 19, 2003 4:51 pm    Post subject: Reply with quote

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
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