[ltp] Re: Linux-Thinkpad digest, Vol 1 #663 - 22 msgs

Chris linux-thinkpad@linux-thinkpad.org
Thu, 28 Oct 2004 17:45:37 +1000


On Thu, 28 Oct 2004 17:20, linux-thinkpad-request@linux-thinkpad.org wrote:
You cannot compile agpgart as a module, it has to be compiled into the kern=
el=20
I think. also you might need support only for LX/BX/GX, I8xx, E7x05 into=20
kernel as well, i had DRI into kernel also. with the driver under DRI you c=
an=20
compile it as a module.


> Hi everyone,
>
> I finally took some time (of my healthy sleep - gotta be up for work
> in another four hours again :-)) to fiddle around a little more with
> my Thinkpad X30. Finally succeeded with a stable X-Server (Xorg
> 6.8.1.99, Build 09 October, XFree kept locking up) but still no DRI.
> ISTR I had it working once, during the 2.4 era, so I cannot really go
> back to that working setup...
>
> What I did was the following:
>
> - Installed Xorg
> - Installed dri-package (snapshot from - well, it's yesterday by now :-)
> (10-27) - Unpacked kernel (2.6.9final)
> - Compiled kernel with agpgart as a module (support only for LX/BX/GX,
> I8xx, E7x05), ACPI, no DRI.
> - Rebootet, reinstalled dri-package
> - Inserted the agpgart-module:
> - dmesg spoke to me: "Linux agpgart interface v0.100 (c) Dave Jones"
> - Inserted the i915-module:
> - dmesg: "[drm:i915_fill_in_dev] *ERROR* Cannot initialize the agpgart
> module." - dmesg: "i915: probe of 0000:00:02.1 failed with error -22"
> - Started the X-Server with startx which came up just fine, except for
> dri, als glxinfo told me:
> "name of display: :0.0
> display: :0 =C2=A0screen: 0
> direct rendering: No [...]" (If there is any more interesting output
> of glxinfo, I will happily post the entire output)
> - and Xorg.0.log contains the entries:
> "(EE) GARTInit: Unable to open /dev/agpgart (No such device)
> (WW) I810(0): /dev/agpgart is either not available, or no memory is
> available for allocation. =C2=A0Using pre-allocated memory only." (entire
> log is attached)
>
> /dev/agpgart exists, is root.root and 666. For the memory issue, I
> tried turning down the ColorDepth, but with 8bpp still the same
> problem as with 24bpp. I guess the error is already somewhere between
> the agpgart and the i915, but I am at a complete loss concerning how
> to find and solve that error. (except for maybe waiting for it to
> disappear in an older/newer dri-package and/or kernel)
>
> If anyone of you has any idea about where to take a closer look at,
> please be so kind and drop me a mail. Tell me about anything I could
> have missed - it's quite some time since I recompiled XFree for the
> nvidia-driver to work, and I've always put together what I found and
> hoped it would work :-)
>
> G'Night everyone,
>
> Heiko Rosemann