Ok, it worked.
Here's how I got X running on the Inspiron 2200:
Get kernel 2.4.30
compile it with agpgart as a module
get the source of X, I downloaded this.
The you need to make sure you have a few things, to install them on debian:
apt-get install libexpat1-dev libfreetype6-dev libpam0g-dev libpng2
After that, the normal "make World 2>&1 | tee world.log" should work.
Wait about 1/2 hour, to 45 minutes for the install to complete.
do "mv /usr/X11R6/lib/modules /usr/X11R6/lib/modules.old", then "make install".
Now you should be able to just "startx", or reboot, and have X come up.
Update: I just recompiled 2.6.11 again, since I wanted to try to get other things working, like sound, and hopefully the wlan, and after recompiling 2.6.11, and rebooting, X continued to work.
Another Update: I've realised this had X running with the vesa driver, and not in dri mode, so it was slow. When I tried to play gltron, it was hopeless.
I mucked around, ended up pulling the latest Xorg source tarball down, and the latest mesa and dri out of cvs. I built a new kernel, 2.6.11.11, then booted it, built and installed dri, for the kernel modules, and then mesa, and then I built X. After starting X, I couldn't get the direct rendering working still, but was getting about 400fps in vesa mode, rather than 250 that I had before.
I realised the next day that I had managed to get dri working.. the kernel was still trying to load the old dri module that I built with the kernel, instead of the dri one from xorg's cvs. I had to do a "depmod -a" to rebuild the modules dependencies, and now the newer drm/i915 driver are getting loaded.
Xorg now runs in direct mode, and gxgears gets about 1150 fps.

2 Comments:
Hi,
I have been banging my head on my inspiron 2200 for a while also.
I am using SUSE 9.3 which is basically 2.5.11.
I downloaded xorg 2.6.8.9.99...
and that is working OK, however at some point /dev/dri/card0 disapeared.
Can you tell me anything about how to get DRI/DRM/etc to create it?
Thanks
alex.hill@sbcglobal.net
> Hi,I have been banging my head on my inspiron 2200 for a while also.
> I am using SUSE 9.3 which is basically 2.5.11.
The distribution shouldn't make any difference, it's the kernel version that's important. 2.5.x
are experimental. If you're not aware, the odd numbered kernels, 2.1, 2.3, 2.5 etc are
experimental, and shouldn't really be used in production.
I would advise getting the 2.6.11.10 release, it's what I'm using, and it allows the video to work
(X, the console is still only 640x480, I haven't worked that one out yet), along with sound,
wireless, ethernet, usb etc
> I downloaded xorg 2.6.8.9.99...and that is working OK,
I'm not sure what version I'm using, I can't find a version number on it, besides 6.8.2, but that
refers to the X protocol I think. The file was released on the 9th February, if that helps.
> however at some point
/dev/dri/card0 disapeared.Can you tell me anything about how to get DRI/DRM/etc to create
it?
I don't think you need it. I was desperately trying to get them, since X wouldn't start without
them, or so I thought. I went back to kernel 2.4.30, managed to get /dev/agpgart working, then I
was able to install one of those "snapshots", from freedesktop.org, with the i915 drivers, and
this created /dev/dri/card0.
However, X still did not run, even with them there, and able to be opened. That's when I got the X
source, built it, and X came up. When I looked, I didn't have /dev/dri/card0, so I tried again
using 2.6.11.10, and X continued to run, and does not have a /dev/agpgart, or a /dev/dri/card0.
I get a sbout 250fps with glxgears, so I assume it to be running in accelerated mode properly.
Post a Comment
<< Home