Pagina 1 di 1

Framebuffer

Inviato: sab 17 ott 2009, 20:16
da hal9000
Dopo compilazione del kernel ottengo una console con caratteri e logo grandi. In Lilo ho messo vga=791 ma senza risultato.
Dando dmesg ottengo con 2.6.27.7 di defoult il seguente messaggio:

Codice: Seleziona tutto

vesafb: framebuffer at 0x80800000, mapped to 0xe0280000, using 3072k, total 8192k
vesafb: mode is 1024x768x16, linelength=2048, pages=4
vesafb: protected mode interface info at c000:7640
vesafb: pmi: set display start = c00c7650, set palette = c00c76b3
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
con il 2.6.29.6 invece ottengo

Codice: Seleziona tutto

tridentfb 0000:01:00.0: PCI INT A -> Link[PILA] -> GSI 11 (level, low) -> IRQ 11
tridentfb: framebuffer size = 8192 Kb
tridentfb: 1024x768 flat panel found
Console: switching to colour frame buffer device 80x30
tridentfb: fb0: Trident frame buffer device 640x480-8bpp
vesafb: cannot reserve video memory at 0x80800000
vesafb: framebuffer at 0x80800000, mapped to 0xe0980000, using 3072k, total 8192k
vesafb: mode is 1024x768x16, linelength=2048, pages=4
vesafb: protected mode interface info at c000:7640
vesafb: pmi: set display start = c00c7650, set palette = c00c76b3
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
fb1: VESA VGA frame buffer device
vga16fb: initializing
vga16fb: mapped to 0xc00a0000
fb2: VGA16 VGA frame buffer device
Probabilmente il parametro da cambiare è:
Console: switching to colour frame buffer device 80x30 tridentfb: fb0: Trident frame buffer device 640x480-8bpp
ma non ho idea di come fare. Grazie Hal9000

Re: Framebuffer

Inviato: sab 17 ott 2009, 20:41
da neongen
puoi passare al kernel il parametro "video=tridentfb:1024x768-16"

/usr/src/linux/Documentation/fb/tridentfb.txt

Re: Framebuffer

Inviato: sab 17 ott 2009, 21:49
da hal9000
Grazie, ma tutte le volte che lo inserisco nel Lilo mi dà un errore. Dove devo metterlo esattamente? devo metterlo con le virgolette? Quando lo scrivo mi resta sempre in rosso e non con altri colori. Uso vim per i file.
Grazie Hal9000

Re: Framebuffer

Inviato: dom 18 ott 2009, 16:44
da neongen
image = /boot/vmlinuz-generic-2.6.29.6
root = /dev/sda5
label = generic
append = "video=tridentfb:1024x768-16"
initrd = /boot/initrd.gz
read-only

Re: [Risolto]Framebuffer

Inviato: dom 18 ott 2009, 19:33
da hal9000
Grazie adesso ho capito e risolto. Funziona alla grande.
Saluti Hal900