[LUGOS] HP nx6110 in Xi

Uroš Golja goljau at comcom.si
Fri Jun 17 14:53:39 CEST 2005


Še ene stranpoti sem se spomnil

X-i znajo za prikaz uporabiti tudi t.i. framebuffer device, ki je pod 
nadzorstvom samega jedra, v tvojem primeru linuxa. Strojni gonilniki za 
framebuffer device so v /lib/modules/2.6.11-1-686/kernel/drivers/video 
(verzijo nadomesti s svojo). Zate sta bržkone zanimiva samo intelfb in 
i810fb. modinfo pravi takole:

# modinfo intelfb
filename:       
/lib/modules/2.6.11-1-686/kernel/drivers/video/intelfb/intelfb.ko
author:         David Dawes <dawes at tungstengraphics.com>, Sylvain Meyer 
<sylvain.meyer at worldonline.fr>
description:    Framebuffer driver for Intel(R) 
830M/845G/852GM/855GM/865G chipsets
license:        Dual BSD/GPL
vermagic:       2.6.11-1-686 686 gcc-3.3
depends:        agpgart,cfbfillrect,cfbimgblt,cfbcopyarea
alias:          pci:v00008086d00003577sv*sd*bc03sc00i*
alias:          pci:v00008086d00002562sv*sd*bc03sc00i*
alias:          pci:v00008086d00003582sv*sd*bc03sc00i*
alias:          pci:v00008086d00002572sv*sd*bc03sc00i*
parm:           mode:Initial video mode 
"<xres>x<yres>[-<depth>][@<refresh>]" (charp)
parm:           bailearly:Bail out early, depending on value (debug) (bool)
parm:           idonly:Just identify without doing anything else (debug) 
(bool)
parm:           probeonly:Do a minimal probe (debug) (bool)
parm:           noregister:Don't register, just probe and exit (debug) 
(bool)
parm:           noinit:Don't initialise graphics mode when loading (bool)
parm:           fixed:Disable mode switching (bool)
parm:           mtrr:Enable MTRR support (bool)
parm:           hwcursor:Enable HW cursor (bool)
parm:           vram:System RAM to allocate to framebuffer in MiB (int)
parm:           accel:Enable console acceleration (bool)

# modinfo i810fb
filename:       
/lib/modules/2.6.11-1-686/kernel/drivers/video/i810/i810fb.ko
author:         Tony A. Daplas
description:    Framebuffer device for the Intel 810/815 and compatible 
cards
license:        GPL
vermagic:       2.6.11-1-686 686 gcc-3.3
depends:        agpgart,cfbfillrect,cfbimgblt,vgastate,cfbcopyarea
parm:           dcolor:use DirectColor visuals (default = 0 = TrueColor) 
(bool)
parm:           sync:wait for accel engine to finish drawing (default = 
0) (bool)
parm:           ext_vga:Enable external VGA connector (default = 0) (bool)
parm:           mtrr:Use MTRR (default = 0) (bool)
parm:           accel:Use Acceleration (BLIT) engine (default = 0) (bool)
parm:           vsync2:Maximum vertical frequency of monitor in Hz 
(default = 60) (int)
parm:           vsync1:Minimum vertical frequency of monitor in Hz 
(default = 50) (int)
parm:           hsync2:Maximum horizontal frequency of monitor in KHz 
(default = 31) (int)
parm:           hsync1:Minimum horizontal frequency of monitor in KHz 
(default = 31) (int)
parm:           vyres:Virtual vertical resolution in scanlines (default 
= 480) (int)
parm:           yres:Vertical resolution in scanlines (default = 480) (int)
parm:           xres:Horizontal resolution in pixels (default = 640) (int)
parm:           bpp:Color depth for display in bits per pixel (default = 
8) (int)
parm:           voffset:at what offset to place start of framebuffer 
memory (0 to maximum aperture size), in MiB (default = 48) (int)
parm:           vram:System RAM to allocate to framebuffer in MiB 
(default=4) (int)

Torej... če ti uspe naložiti kateregakoli od njiju ('modprobe i810fb' 
ali 'modprobe intelfb') in dobiš konzolo v grafičnem načinu, potem si na 
konju. V /etc/X11/xorg.conf (ali /etc/X11/XF86Config-4) popravi gonilnik 
iz karkoli že pač imaš (vesa, i810) na fbdev (Driver "FBDev"). Pomaga 
tudi 'man fbdev'. Framebuffer device je sicer nepospešen, vendar ga imam 
na sumu, da dela bolje in hitreje kot pa vesa. Poskusi, morda ti uspe.

LP,
U.


More information about the lugos-list mailing list