Setting modes in framebuffer console

Setting modes in framebuffer console

Post by Per-Karsten Nordhau » Tue, 10 Jul 2001 20:38:43



This question has probably been answered before, but anyway...

I've just started fiddling with the vesafb stuff in the 2.4.x kernels,
and have run into a problem...

It seems that no matter what I put into the lilo.conf
(at the moment: vga=0x315), the console switches *back* into the very
useless 80x30 lines, 640x480x60 Hz mode.

Is there anyway to get this to work w/out having to use fbset ?
fbset -g 800 600 800 600 8 -t 22272 40 24 15 9 144 12 -hsync high
gives me exactly what I want, but it is annoying having to su, run
that for every TTY...

Any advice ?
Can I put fbset somewhere in the startup sequence so that the above is
automatically loaded ?

Thanks in advance...
--
ask not what you can do for your country,
ask what your country did to you.

 
 
 

Setting modes in framebuffer console

Post by Faux_Pseu » Tue, 10 Jul 2001 21:54:58


--(Once apon a time, in comp.os.linux.setup,)--
                --(Per-Karsten Nordhaug said it like only they can.)--

Quote:> This question has probably been answered before, but anyway...

> I've just started fiddling with the vesafb stuff in the 2.4.x kernels,
> and have run into a problem...

> It seems that no matter what I put into the lilo.conf
> (at the moment: vga=0x315), the console switches *back* into the very
> useless 80x30 lines, 640x480x60 Hz mode.

> Is there anyway to get this to work w/out having to use fbset ?
> fbset -g 800 600 800 600 8 -t 22272 40 24 15 9 144 12 -hsync high
> gives me exactly what I want, but it is annoying having to su, run
> that for every TTY...

> Any advice ?
> Can I put fbset somewhere in the startup sequence so that the above is
> automatically loaded ?

try useing the dec equiv number and see if it still happens
if it dose then try vga = ask
select the mode you want and if it still goes into 80x30 then I can
only guess that its a hardware issue. the dec numbers are given in the
form letter response below

_______________________________________________________
this is a form letter response i have created because
of the frequancey that this question comes up.

set vga=xxx in /etc/lilo.conf to one of the following

       Colours 640x480 800x600 1024x768 1280x1024 1600x1200
       --------+---------------------------------------------
       256     |  769    771      773      775      796
       32,768  |  784    787      790      793      797
       65,536  |  785    788      791      794      798
       16.8M   |  786    789      792      795      799

From the Vesafb mini-HOWTO

it is also recomended that in lilo.conf you creat a duplicate
entry for use with apps that dont handle framebuffers like quake
and use vga=ask ie

image = /vmlinuz
        root = /dev/hda1
        label = linux
        vga = 788
image = /vmlinuz
        root = /dev/hda1
        label = quake
        vga=ask

a word on 16M colors
things like ofbis and as a result things that run under it such as zen will
not work with the 16M color mode
kick it down to 65k and they will still work

--

GUI's are for slackers.  Get ibpconf.sh 6.1 on freshmeat.net  

It's a damn poor mind that can only think of one way to spell a word.
        - Andrew Jackson

 
 
 

1. Setting modes for framebuffer console

This pquestion has probably been answerede before, but anyway...

I've just started fiddling with the vesafb stuff in the 2.4.x kernels,
and have run into a problem...

It seems that no matter what I put into the lilo.conf
(at the moment: vga=0x315), the console switches *back* into the very
useless 80x30 lines, 640x480x60 Hz mode.

Is there anyway to get this to work w/out having to use fbset ?
fbset -g 800 600 800 600 8 -t 22272 40 24 15 9 144 12 -hsync high
gives me exactly what I want, but it is annoying having to su, run
that for every TTY...

Any advice ?
Can I put fbset somewhere in the startup sequence so that the above is
automatically loaded ?

Thanks in advance...
--
ask not what you can do for your country,
ask what your country did to you.

2. MIDI Sequencer?

3. what is mode line input for 1186x862 in framebuffer console

4. Tell me how Linux boots ?

5. Setting the console Video Mode higher than ModeX

6. kde 3.05 compile error

7. setting vga mode virtual consoles

8. HELP: Solaris 2.3 print server

9. VGA setting in console mode

10. Framebuffer ram allocation / modes / fbset

11. is framebuffer console code in 2.5.4x functional ?

12. 2.6.x kernel & Radeon framebuffer console

13. two framebuffer, console problem