You are not logged in.

#1 2006-02-01 16:28:34

thegnu
Member
From: Brooklyn, NY
Registered: 2004-05-04
Posts: 280
Website

X.org and i830 video chipset hell - VGA BIOS probs

I've got a Motion Computing M1200 tablet PC with an i830 video chipset.  People have had problems with this chipset, the VGA BIOS being buggy, and it not allowing you to reallocate Video RAM:

http://www.cse.unsw.edu.au/~chak/linux/c400.html
http://web.archive.org/web/200312150932 … ene/m1200/
http://gentoo-wiki.com/HARDWARE_Motion_Computing_M1200

I've tried a whole heck of a lot of different things.  I've tried both X.org 6.8 and 7, I've tried the vesa driver (doesn't work), vga (loads like 8-bit 640x480, w00t!) and i810.

i810 loads 1024x768 at 8- 16- and 24-bit as display artifact confetti and the system bombs immediately.  It also loads 800x600 at 8-bit with minor artifacts, and the system bombs within a few seconds.

I'm aware that some have gotten a broken i810 BIOS rev to work anyway, so I'm probably maybe doing something wrong.  Oh, and Arch forum link:

http://bbs.archlinux.org/viewtopic.php? … light=i810

My files:

/etc/X11/xorg.conf, with irrelevant stuff removed.

# File generated by xorgconfig.
...

Section "Module"

    Load        "dbe"  # Double buffer extension

    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
#    Load        "type1"
#    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
#    Load       "glx"
# This loads the DRI module
#    Load       "dri"

EndSection

Section "Files"

    RgbPath"/usr/lib/X11/rgb"

    FontPath   "/usr/share/fonts/misc"
    FontPath   "/usr/share/fonts/75dpi"
    FontPath   "/usr/share/fonts/100dpi"
#    FontPath   "/usr/share/fonts/TTF"
    FontPath   "/usr/share/fonts/Type1"
#    FontPath   "/usr/lib/X11/fonts/local/"
#    FontPath   "/usr/lib/X11/fonts/misc/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/Speedo/"
#    FontPath   "/usr/lib/X11/fonts/Type1/"
#    FontPath   "/usr/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/lib/X11/fonts/freefont/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/"
#    FontPath   "/usr/lib/X11/fonts/100dpi/"

EndSection
Section "ServerFlags"
EndSection

#REMOVED INPUT DEVICE SECTION, BECAUSE IT'S NOT RELEVANT

**********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
Identifier "Monitor0"
HorizSync 31.5-100
VertRefresh50-90
Modeline "640x350"    31.5  640  672  736  832    350  382  385  445 +hsync -vsync
Modeline "640x400"    31.5  640  672  736  832    400  401  404  445 -hsync +vsync
Modeline "720x400"    35.5  720  756  828  936    400  401  404  446 -hsync +vsync
Modeline "640x480"    25.2  640  656  752  800    480  490  492  525 -hsync -vsync
Modeline "640x480"    31.5  640  664  704  832    480  489  491  520 -hsync -vsync
Modeline "640x480"    31.5  640  656  720  840    480  481  484  500 -hsync -vsync
Modeline "640x480"    36.0  640  696  752  832    480  481  484  509 -hsync -vsync
Modeline "800x600"    36.0  800  824  896 1024    600  601  603  625 +hsync +vsync
Modeline "800x600"    40.0  800  840  968 1056    600  601  605  628 +hsync +vsync
Modeline "800x600"    50.0  800  856  976 1040    600  637  643  666 +hsync +vsync
Modeline "800x600"    49.5  800  816  896 1056    600  601  604  625 +hsync +vsync
Modeline "800x600"    56.3  800  832  896 1048    600  601  604  631 +hsync +vsync
Modeline "1024x768"   44.9 1024 1032 1208 1264    768  768  776  817 +hsync +vsync Interlace
Modeline "1024x768"   65.0 1024 1048 1184 1344    768  771  777  806 -hsync -vsync
Modeline "1024x768"   75.0 1024 1048 1184 1328    768  771  777  806 -hsync -vsync
Modeline "1024x768"   78.8 1024 1040 1136 1312    768  769  772  800 +hsync +vsync
Modeline "1024x768"   94.5 1024 1072 1168 1376    768  769  772  808 +hsync +vsync
Modeline "1152x864"  108.0 1152 1216 1344 1600    864  865  868  900 +hsync +vsync
Modeline "1280x960"  108.0 1280 1376 1488 1800    960  961  964 1000 +hsync +vsync
Option"DPMS"
EndSection

Section "Device"
    Identifier"Standard VGA"
    VendorName"Unknown"
    BoardName"Unknown"

    Driver     "vga"
EndSection


Section "Device"
    Identifier  "** Intel i810 (generic)               [i810]"
    Driver      "vesa"
    Option"DisplayInfo" "FALSE"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "** Intel i810 (generic)               [i810]"
    Monitor     "Monitor0"
    DefaultDepth 16

    Subsection "Display"
        Depth       8
        Modes       "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
EndSection


Section "ServerLayout"

    Identifier  "Simple Layout"

    Screen "Screen 1"

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

/var/log/Xorg.0.log:

X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.15-rc6 i686
Current Operating System: Linux slablet 2.6.15-ARCH #1 SMP PREEMPT Sat Jan 21 14:59:24 CET 2006 i686
Build Date: 01 January 2006
.............
(**) I810(0): Depth 16, (--) framebuffer bpp 16
(==) I810(0): RGB weight 565
(==) I810(0): Default visual is TrueColor
(**) I810(0): Option "DisplayInfo" "FALSE"
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/lib/xorg/modules/libint10.so
(II) I810(0): initializing int10
(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(II) I810(0): VESA BIOS detected
(II) I810(0): VESA VBE Version 3.0
(II) I810(0): VESA VBE Total Mem: 832 kB
(II) I810(0): VESA VBE OEM: Almador Graphics Chip Accelerated VGA BIOS
(II) I810(0): VESA VBE OEM Software Rev: 1.0
(II) I810(0): VESA VBE OEM Vendor: Intel Corporation
(II) I810(0): VESA VBE OEM Product: Almador Graphics Controller
(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) I810(0): Integrated Graphics Chipset: Intel(R) 830M
(--) I810(0): Chipset: "i830"
(--) I810(0): Linear framebuffer at 0xE8000000
(--) I810(0): IO registers at addr 0xE0000000
(II) I810(0): 2 display pipes available.
(II) I810(0): detected 892 kB stolen memory.
(II) I810(0): Kernel reported 112128 total, 1 used
(II) I810(0): Checking Available AGP Memory: 448508 kB available (total 448512 kB, used 4 kB)
(II) I810(0): Monitoring connected displays enabled
(II) I810(0): Will attempt to tell the BIOS that there is 12288 kB VideoRAM
(WW) I810(0): Extended BIOS function 0x5f11 not supported.
(II) I810(0): Before: SWF1 is 0x00000101
(II) I810(0): After: SWF1 is 0x00000108
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/lib/xorg/modules/libint10.so
(II) I810(0): initializing int10
(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(II) I810(0): VESA BIOS detected
(II) I810(0): VESA VBE Version 3.0
(II) I810(0): VESA VBE Total Mem: 8000 kB
(II) I810(0): VESA VBE OEM: Almador Graphics Chip Accelerated VGA BIOS
(II) I810(0): VESA VBE OEM Software Rev: 1.0
(II) I810(0): VESA VBE OEM Vendor: Intel Corporation
(II) I810(0): VESA VBE OEM Product: Almador Graphics Controller
(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) I810(0): BIOS now sees 8000 kB VideoRAM
(--) I810(0): Pre-allocated VideoRAM: 892 kByte
(==) I810(0): VideoRAM: 65536 kByte
(==) I810(0): video overlay key set to 0x83e
(**) I810(0): page flipping disabled
(==) I810(0): Using gamma correction (1.0, 1.0, 1.0)
(II) I810(0): BIOS Build: 2756
(==) I810(0): Device Presence: disabled.
(**) I810(0): Display Info: disabled.
(II) I810(0): Currently active displays on Pipe A:
(II) I810(0): LFP (local flat panel)
(II) I810(0): No display size information available for pipe A.
(II) I810(0): No active displays on Pipe B.
(**) I810(0): Display is using Pipe A
(--) I810(0): Maximum frambuffer space: 65368 kByte
(II) I810(0): VESA VBE PanelID read successfully
(II) I810(0): PanelID returned panel resolution : 1024x768
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/lib/xorg/modules/libddc.so
(II) Module ddc: vendor="X.Org Foundation"
compiled for 7.0.0, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.8
(II) I810(0): VESA VBE DDC supported
(II) I810(0): VESA VBE DDC Level none
(II) I810(0): VESA VBE DDC transfer in appr. 0 sec.
(II) I810(0): VESA VBE DDC read failed
(--) I810(0): A non-CRT device is attached to pipe A.
No refresh rate overrides will be attempted.
(--) I810(0): Maximum space available for video modes: 8000 kByte
...............

(II) I810(0): Monitor0: Using hsync range of 31.50-100.00 kHz
(II) I810(0): Monitor0: Using vrefresh range of 50.00-90.00 Hz
(II) I810(0): Not using mode "1024x768" (no mode of this name)
(II) I810(0): Not using built-in mode "1024x600" (width too large for virtual size)
(II) I810(0): Increasing the scanline pitch to allow tiling mode (800 -> 1024).
(--) I810(0): Virtual size is 800x600 (pitch 1024)
(**) I810(0): *Built-in mode "800x600"
(==) I810(0): DPI set to (75, 75)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 7.0.0, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.2
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/lib/xorg/modules/libxaa.so
(II) Module xaa: vendor="X.Org Foundation"
compiled for 7.0.0, module version = 1.2.0
ABI class: X.Org Video Driver, version 0.8
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/lib/xorg/modules/libramdac.so
(II) Module ramdac: vendor="X.Org Foundation"
compiled for 7.0.0, module version = 0.1.0
ABI class: X.Org Video Driver, version 0.8
(==) I810(0): VBE Restore workaround: enabled.
.................
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/lib/xorg/modules/libint10.so
(II) I810(0): initializing int10
(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(II) I810(0): VESA BIOS detected
(II) I810(0): VESA VBE Version 3.0
(II) I810(0): VESA VBE Total Mem: 832 kB
(II) I810(0): VESA VBE OEM: Almador Graphics Chip Accelerated VGA BIOS
(II) I810(0): VESA VBE OEM Software Rev: 1.0
(II) I810(0): VESA VBE OEM Vendor: Intel Corporation
(II) I810(0): VESA VBE OEM Product: Almador Graphics Controller
(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) I810(0): Before: SWF1 is 0x00000101
(II) I810(0): After: SWF1 is 0x00000108
(II) I810(0): Allocated 128 kB for the ring buffer at 0x0
(II) I810(0): Allocating at least 768 scanlines for pixmap cache
(II) I810(0): Initial framebuffer allocation size: 2736 kByte
(II) I810(0): Allocated 4 kB for HW cursor at 0x7fff000 (0x1d9be000)
(II) I810(0): Allocated 16 kB for HW (ARGB) cursor at 0x7ffb000 (0x1db0c000)
(II) I810(0): Allocated 4 kB for Overlay registers at 0x7ffa000 (0x1d9d8000).
(II) I810(0): Allocated 64 kB for the scratch buffer at 0x7fea000
(II) I810(0): Updated framebuffer allocation size from 2736 to 4096 kByte
(II) I810(0): Updated pixmap cache from 768 scanlines to 1448 scanlines
(II) I810(0): 0x8216174: Memory at offset 0x00020000, size 4096 kBytes
(II) I810(0): 0x8216990: Memory at offset 0x07fff000, size 4 kBytes
(II) I810(0): 0x8216eb8: Memory at offset 0x07ffb000, size 16 kBytes
(II) I810(0): 0x8216584: Memory at offset 0x00000000, size 128 kBytes
(II) I810(0): 0x82161b4: Memory at offset 0x07fea000, size 64 kBytes
(II) I810(0): 0x8216ad8: Memory at offset 0x07ffa000, size 4 kBytes
(II) I810(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(WW) I810(0): Extended BIOS function 0x5f05 failed.
(II) I810(0): Detected resume, re-POSTing.
(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(II) I810(0): Re-POSTing via int10.
(II) I810(0): xf86BindGARTMemory: bind key 4 at 0x000df000 (pgoffset 223)
(II) I810(0): xf86BindGARTMemory: bind key 0 at 0x07fff000 (pgoffset 32767)
(II) I810(0): xf86BindGARTMemory: bind key 1 at 0x07ffb000 (pgoffset 32763)
(II) I810(0): xf86BindGARTMemory: bind key 3 at 0x07fea000 (pgoffset 32746)
(II) I810(0): xf86BindGARTMemory: bind key 2 at 0x07ffa000 (pgoffset 32762)
(II) I810(0): Before: SWF1 is 0x00000001
(II) I810(0): After: SWF1 is 0x00000008
(II) I810(0): Display plane A is enabled and connected to Pipe A.
(II) I810(0): Display plane B is disabled and connected to Pipe B.
(II) I810(0): Enabling plane A.
(II) I810(0): Display plane A is now enabled and connected to Pipe A.
(II) I810(0): Display plane B is now disabled and connected to Pipe B.
(II) I810(0): PIPEACONF is 0x80000000
(II) I810(0): PIPEBCONF is 0x80000000
(II) I810(0): Mode bandwidth is 28 Mpixel/s
(II) I810(0): maxBandwidth is 640 Mbyte/s, pipe bandwidths are 78 Mbyte/s, 0 Mbyte/s
(II) I810(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Indirect CPU to Screen color expansion
Solid Horizontal and Vertical Lines
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
15 256x256 slots
(==) I810(0): Backing store disabled
(==) I810(0): Silken mouse enabled
(II) I810(0): Initializing HW Cursor
(**) Option "dpms"
(**) I810(0): DPMS enabled
(II) I810(0): direct rendering: Failed
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
............
Error in I830WaitLpRing(), now is 627640113, start is 627638112
pgetbl_ctl: 0x1ff60001 pgetbl_err: 0x1d
ipeir: 0 iphdr: 0
LP ring tail: 30 head: 0 len: 1f001 start 0
eir: 0 esr: 11 emr: ffff
instdone: ffc1 instpm: 0
memmode: 108 instps: 20
hwstam: ffff ier: 0 imr: ffff iir: 0
space: 131016 wanted 131064

Fatal server error:
lockup

Error in I830WaitLpRing(), now is 627642124, start is 627640123
pgetbl_ctl: 0x1ff60001 pgetbl_err: 0x1d
ipeir: 0 iphdr: 0
LP ring tail: 38 head: 0 len: 1f001 start 0
eir: 0 esr: 11 emr: ffff
instdone: ffc1 instpm: 0
memmode: 108 instps: 20
hwstam: ffff ier: 0 imr: ffff iir: 0
space: 131008 wanted 131064

FatalError re-entered, aborting
lockup

I might be leaving out something important, but I don't think so.  The log file was long as heck.  If anybody has any ideas, I'd appreciate it.


fffft!

Offline

#2 2006-05-04 03:45:31

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: X.org and i830 video chipset hell - VGA BIOS probs

I just acquired a Dell Latitude C400 that has the same i830 and X is (finally) working well here. I have it running 1024x768 with a depth of 24. Here's my xorg.conf if it helps...

Section "ServerLayout"
    Identifier     "Xorg Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "USB Mouse" "CorePointer"
EndSection

Section "ServerFlags"
    Option "AllowMouseOpenFail"  "true"
    
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/cyrillic"
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/local"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
        Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
        Option      "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
#    Option "XkbLayout" ""
#    Option "XkbVariant" ""
EndSection

Section "InputDevice"
    Identifier  "PS/2 Mouse"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option          "ZAxisMapping"          "4 5"
    Option      "Device" "/dev/psaux"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
    Option        "SendCoreEvents"    "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

Section "Monitor"
    Identifier "Monitor0"
        Option "DPMS" "true"
    HorizSync 31.5 - 48.5
    VertRefresh 40.0 - 70.0
    ModelName "LCD Panel 1024x768"
    DisplaySize 260 195
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "i810"
    VendorName  "Videocard Vendor"
    BoardName   "Intel 830"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultColorDepth 24
    SubSection "Display"
        Viewport 0 0
        Depth     24
        Modes "1024x768"
    EndSubSection
EndSection

Section "DRI"
    Group 0
    Mode 0666
EndSection

I am a gated community.

Offline

Board footer

Powered by FluxBB