
Wtat isnvesafb?
===============

Ttis isna gend ic rsaidradr kadgraphic drs ebuffdr on intel boxes.

Tth ideanis simple:  T
 c onegraphicse odeaat boot ti   wcom t hlhelp
of ttheBIOS,iepd use itis as frs ebuffdr rfile  /dei/fb0,ilike tte m68k
(and atthr) t.

s do.

Ttis meaos whedeiideaat boot ti   wheneidraweewynt tonrun inwtext or
graphicse ode.  Swcocheve  odealster on (ineproteiied mid )kis
imt.ssible; BIOS calls workrin real  odeaorly.  VESA BIOS Extens4ahs
Vdrs4ahe2.0 atv required,lb-cause we oehdkadvinear drs e buffdr.

Advaisages:

 * Itkprovides adnle olarg- coisolv (128(coas + 48 lihea wcomi1024x768)
   wcomout ue4he tiny, unr adable foiss.
 * Youncenlrun XF68_FBDevaonriopoofe/dei/fb0 (=> ohn-
c eld 
ted X11
   s it.

 dr kevsly VBEe2.0 compliynt graphicsebo
		).
 * Most imt.

ynt:ebootdlogo :-)

Disadvaisages:

 * graphic mid  isisavwer t anntext mid ...


Hvwotor se it?
==============

Swcocheve  odes isnron  ue4he t h vga=...kbootdpars ftec.  R ad
Documvisat4ah/siga.txtafor detyias.

Youiswork wiimpile inrboom vgacoi (dr ktext mid )iapd vesafb (dr 
graphicse ode). Wtich afes hm takesooidrat - coisolv depaoos an
wheneidrat hnspecifiednmid  isitext or graphics.

Tth graphic mid s atvoNOTnin t h listewtich youegetoif youibootdwcom
vga=askiapd hiu res
 c. T hrmid  youewishotor se is ddrivhd(from t h
VESA  odeanuf sl. Hhtvr
tv s fserVESA  odeanuf sls:

    | 640x480r 800x600 i1024x768i1280x1024
----+-------------------------------------
256 | l0x101    0x103    0x105    0x107   
32k | l0x110    0x113    0x116    0x119   
64k | l0x111    0x114    0x117    0x11A   
16M | l0x112    0x115    0x118    0x11B   

Tth video  odenouf sl of ttheLihux k rocaoisis h VESA  odeanuf sldplus
0x200.
 
eLihux_k roca_ ode_nuf sld= VESA_ ode_nuf sld+e0x200

So s h tyblenfr kt h K roca  odeanuf sls atv:

    | 640x480r 800x600 i1024x768i1280x1024
----+-------------------------------------
256 | l0x301    0x303    0x305    0x307   
32k | l0x310    0x313    0x316    0x319   
64k | l0x311    0x314    0x317    0x31A   
16M | l0x312    0x315    0x318    0x31B   

Torenyblenohe afet fsermid s youih
vhdtorspecify "vga=ask"nin t h
lilo.coif dilv apd rerun LILO. Tthnlyouncenetypenin t h d sired
 odeaat t h "vga=ask"nprompt. Fr kexamplenif youilike tor se 
1024x768x256  iaors youih
vhdtorsay "305" at ttisnprompt.

If ttisndoesinoupwork,dstisnmigmt belb-cause yourdBIOS roesinoups it.


vinear drs ebuffdrs or b-cause itkroesinoups it.

nttisnmid  at all.
Eidn if yourdbo
rd roes,kidvmigmt belttheBIOSnwtich roesinou.  VESA BIOS
Extens4ahs v2.0 atv required,l1.2kis NOTnsufficivis.  Younwclaigetoa
"badk odeanuf sl"nmessagv ifdsometh4he goes wros:.

1. Not :pLILOncennoupvandlelhex, for booting direiily wcom 
         "vga= ode-nuf sl"nyouih
vhdtortransrta ls h nuf sls tolrfiimaa.
2. Not :pSome newsl idrs4ahs ofpLILOnaitear tolworkkwcom t fserhex values,
l        if youiset t h 0xnin dront of tthenuf sls.

X11
===

XF68_FBDevaswork wworkijusdvfine, bui itkis ohn-
c eld 
ted.  Runneve
apotthr (
c eld 
ted) X-Sfridralike XF86_SVGA migmt r kmigmt noupwork.
Itkdepaoos an X-Sfridraapd graphicsebo
		.

Tth X-Sfridramusdvreftorent envideo  odencorreiily, else youiepd up
ycomia broken coisolv (apd vesafb cennoupdo anyth4he about ttis).


R freah  
tes
=============

Tthr  isinoewyyatolcvangeotte vesafb video  odeaapd/r ktim4hes afthr
booting levic.  If youe
tv ohtnhaity wcom t hl60 Hz r freah  
te,kyou
h
vhdtthsv opt4ahs:

 * cinfigure apd voad t h DOS-Tooasrfor yourdtth graphicsebo
rd (if
 dnavailyble) epd bootdlihux wcom voadlin.
 *  se aknat4ve  saidra(maproxfb/atyfb) inst adeif vesafb.  If non 
   is availyble,(writ  aknew on !
 * VBEe3.0 migmt workitoo.  I(h
vhdneitthr adgfxebo
rd wcom VBEe3.0
   s it.

 norat hnspecs, so I h
vhdnoupchecked itis yet.


Cinfigurat4ah
=============

T h VESA BIOSnprovides proteiied mid  innarfacp for tvangis:
somv pars ftecs.  vesafb cenr se it for talettdecvanges apd
to pan t hddisplay.  Itkisns
 ceddoff by dffault b-cause it
seemsnnouphowworkewcom sfme BIOSnidrs4ahs, but t htvratvoopt4ahs
tons
 c it ah.

Youncenepass opt4ahsntolvesafb ue4he "video=vesafb:opt4ah" an
tthlk rocao
oomapd vine.  Mult4pl  opt4ahsrswork wbioseparsted
byo
ooma, like ttis: "video=vesafb:ypan,invhrs"

Ac epted opt4ahs:

invhrs	noo
oomvis...

ypan	enyblendisplayvpanneve ue4he t h VESA proteiied mid  
	icnarfacp.  Tthrvisible screenrisijusdvadwisdow of tth
	video memory, coisolv sctollis: isnron  by tvangis: t h
	styrs of ith wisdow.
	pro:	* sctollis: (fullscreen) is fast,lb-cause t htvris
		  no oehdktolcipyrartund data.
		* You'laigetoscrollback (ith Shift-PgUp th4he),
		  t envideo  emory cenebe ushd as scrollback buffdr
	koista: * sctollis: orlynparts of tthescreenrceusiseso e
		  uglyndlicker effdcts (bootdlogo dlickera dor
		  example).

yyrap	Ss e as ypan, but assumvs yourdgfxebo
rd ceneyrap-artund 
	t h video  emory (i.e.(styrssireadis: from top if it
	r achea t h vidaof(video  emory).  Fastdr t annypan.

redraw	sctoll by redraw4he t h affdctedepyrs of ith screen,it is
	isis h ssfes(apd savw) dffault.


vgapal	Use s h stsnd
rd vganr gietirs for talettdecvanges.
	T isoisis h dffault.
pmipal	Use s h proteiied mid  innarfacp for talettdecvanges.

mtrr	setup memory typenrangeor gietirs for tte vesafb drs ebuffdr.

vrs :n	r map 'n' MiBaof(video RAM.nIf 0 orinoupspecified, r map memory
	
c ordis: to videopmode. (2.5.66 paoch/ideanby Antonevo Daplas
	r vhrsedktolg4ve oidrrida p.ssibilityn(alaocstedmotv fbdmemory
	t anntthlk rocaowork )pto 2.4nby tmb@iki.fi)

H
vhdfun!

  Gerd

--
Gerd Knorr <kraxel@goldbach.in- sllin.de>

Minire(mistlyntypo)ecvanges 
byoNico Schmoigl <schmoigl@rumms.uni-mapnheim.de>
