2.6.13-rc2-mm2 -- vesafb mode and mtrr questions

Miles Lane <[email protected]>
Newsgroups gmane.linux.fbdev.user
Message-ID <[email protected]>
I am using Grub and have this in my kernel arguments:
video=vesafb:ywrap,mtrr,vram:128 vga=792

I have a 1280x768 laptop display.

My Xorg.log contains:

(II) I810(0): VESA VBE PanelID read successfully
(II) I810(0): PanelID returned panel resolution : 1280x768
(II) I810(0): VESA VBE DDC supported
(II) I810(0): VESA VBE DDC Level 2
*Mode: 7e (1280x768)
        BitsPerPixel: 32

Does this mean there is a way for me to tell vesafb to use this mode?
I would like to have the consoles display in 1280x768.

Also, when I boot I see that there are problems with overlapping
mtrr regions.  I have read:
http://www.rage3d.com/board/showthread.php?t=33821469
but this doesn't give me enough information to understand my
current mtrr configuration:

cat /proc/mtrr
reg00: base=0x00000000 (   0MB), size=1024MB: write-back, count=1
reg01: base=0x3df00000 ( 991MB), size=   1MB: uncachable, count=1
reg02: base=0x3e000000 ( 992MB), size=  32MB: uncachable, count=1
reg03: base=0xe8000000 (3712MB), size=  16MB: write-combining, count=1

I only have 1Gig of RAM, so I don't know what this 3712MB could be 
refering to.

mtrr: 0xe8000000,0x8000000 overlaps existing 0xe8000000,0x1000000
[drm] Initialized i915 1.1.0 20040405 on minor 0: Intel Corporation
82852/855GM Integrated Graphics Device
mtrr: 0xe8000000,0x8000000 overlaps existing 0xe8000000,0x1000000
[drm] Initialized i915 1.1.0 20040405 on minor 1: Intel Corporation
82852/855GM Integrated Graphics Device (#2)

vesafb: framebuffer at 0xe8000000, mapped to 0xf8880000, using 6144k,
total 32576k
vesafb: mode is 1024x768x32, linelength=4096, pages=9
vesafb: protected mode interface info at 00ff:44f0
vesafb: scrolling: redraw
vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0

mtrr: base(0xe8020000) is not aligned on a size(0x3c0000) boundary
mtrr: 0xe8000000,0x8000000 overlaps existing 0xe8000000,0x1000000

0000:00:02.0 VGA compatible controller: Intel Corp. 82852/855GM
Integrated Graphics Device (rev 02) (prog-if 00 [VGA])
        Subsystem: Hewlett-Packard Company: Unknown device 3080
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at e8000000 (32-bit, prefetchable) [size=128M]
        Memory at e0000000 (32-bit, non-prefetchable) [size=512K]
        I/O ports at 1800 [size=8]
        Capabilities: [d0] Power Management version 1

0000:00:02.1 Display controller: Intel Corp. 82852/855GM Integrated
Graphics Device (rev 02)
        Subsystem: Hewlett-Packard Company: Unknown device 3080
        Flags: bus master, fast devsel, latency 0
        Memory at f0000000 (32-bit, prefetchable) [disabled] [size=128M]
        Memory at e0080000 (32-bit, non-prefetchable) [disabled] [size=512K]
        Capabilities: [d0] Power Management version 1

The system information says the video card has access to 128M of memory,
yet my Xorg log doesn't say that is getting used:

(--) I810(0): Chipset: "852GM/855GM"
(--) I810(0): Linear framebuffer at 0xE8000000
(--) I810(0): IO registers at addr 0xE0000000
(II) I810(0): 2 display pipes available.
(II) I810(0): detected 32636 kB stolen memory.
(II) I810(0): I830CheckAvailableMemory: 929788 kB available
(II) I810(0): Checking Lid status enabled
(--) I810(0): Pre-allocated VideoRAM: 32636 kByte
(==) I810(0): VideoRAM: 32768 kByte
(==) I810(0): video overlay key set to 0x101fe
(**) I810(0): page flipping disabled
(==) I810(0): Display is using Pipe B
(--) I810(0): Maximum frambuffer space: 32600 kByte

What is going on?

How do I best optimize my vesafb and Xorg configurations?

          Miles


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.