Hi ecsrun4! Yes, there is a problem with the i830 driver if you only have 1M stolen memory in your BIOS. I'll fix this as soon as I get time (and as soon as I start working again in January).
If you're really anxious to get the driver going, you can try this hack: Edit xc/programs/Xserver/hw/xfree86/drivers/i810/i830_driver.c (it might also be i810_driver.c - can't remember) and the search for the part where it initializes StolenSize. After it initialized it, set it to 0 (pI810->StolenSize = 0). That should solve the problem although it's going to waste 1MB of your memory. Iirc the code checks whether you have stolen memory or not and if you do have, it tries to use it for the frame buffer (which of course won't work if you only have 1MB stolen memory). > I am running the new dell latitude c400, which uses an i830M > chipset for graphics support. So far I have compiled and > installed the latest 2.4.17 kernel, and downloaded the most > recent cvs development tree for xfree86. > > I enabled /dev/agpgart support, as well as the two options direct > underneath it, namely... > "Intel 440lx/bx/gx and I815/I830/I840/I850 support" as well as.. > "Intel I810/I815/I830M (on-board) support" > I disabled "Direct Rendering Manager" in kernel, and instead > compiled and insmod'd the i830.o module included with the > latest cvs version of xfree. > > I have tried using the built in kernel DRM as well - with > absolutely no change in results. > > > The relevenant kernel output when I start linux is as follows.. > ----------------------------------------------------------------------- > vesafb: framebuffer at 0xe0000000, mapped to 0xd0800000, size 832k > vesafb: mode is 1024x768x8, linelength=1024, pages=0 > vesafb: protected mode interface info at a5f3:1f5f > vesafb: scrolling: redraw > Console: switching to colour frame buffer device 128x48 > fb0: VESA VGA frame buffer device > vga16fb: initializing > vga16fb: mapped to 0xc00a0000 > fb1: VGA16 VGA frame buffer device > agpgart: Maximum main memory to use for agp memory: 202M > agpgart: Detected an Intel 830M Chipset. > agpgart: detected 1024K stolen memory. > agpgart: AGP aperture is 128M @ 0xe0000000 > [drm] AGP 0.99 on Intel i810 @ 0xe0000000 128MB > [drm] Initialized i830 1.2.0 20011004 on minor 0 > --------------------------------------------------------------------- > > > I also have vesafb compiled into the kernel, and I have it > loading the console at 1024x768x8bpp at boot time, which works > fine. Any attempts to run the vesafb at resolutions higher then > 1024x768x8bpp, such as lets say.. 1024x768x24bpp, are met with > "invalid mode" as soon as the kernel attempts load. I am assuming > this is because the kernel is detecting only 1024k~ or less video memory. > > I set up my XF86Config file to load the i810 driver, and this works > fine ___ONLY__ in 8bpp mode. > How can this be a problem related to modes (as in earlier > Xpert discussions) if X __works__ in 1024x768x8bpp using the > i810 cvs driver? > > Let me summarize.. > --xfree86 is working in 1024x768x8bpp, using the CVS i810(i830) driver.-- > > Based on what I have seen, it would seem the kernel or xfree86 is > incorrectly allocating memory from the I830M for video usage. > There is no option on this laptop in the bios to assign video > memory, even though it is called in the specs for I830 on intel's website. > > Can anyone take a closer look at a dell latitude c400 or the I830M > and find out why there is a problem? > > Notice the Bad V_BIOS checksum, and "1024k stolen memory" in the > output below. Does this have any influence on the problem? I > notice it says "Will alloc AGP framebuffer: 32768 kByte", so why > won't it let me use this memory? > > In my X config file I have "Videoram 32768" in the device section, > but I have tried _not_ including a videoram line, or changing the > line to 16384, etc with no affect on the problem. > > > Here is the output from X when it fails to load under > 1024x768x24bpp using the i810 driver > ---------------------------------------------------------------------------- -- Regards Abraham You will feel hungry again in another hour. __________________________________________________________ Abraham vd Merwe - 2d3D, Inc. Device Driver Development, Outsourcing, Embedded Systems Cell: +27 82 565 4451 Snailmail: Tel: +27 21 761 7549 Block C, Antree Park Fax: +27 21 761 7648 Doncaster Road Email: [EMAIL PROTECTED] Kenilworth, 7700 Http: http://www.2d3d.com South Africa
msg02769/pgp00000.pgp
Description: PGP signature
