Thursday, May 26, 2005

Ok. Now I'm just at a loss.

I've spent another day trying to get X working.

I gave up trying to get kernel 2.6 working, since 2.6.11 is not supported by the drm drivers, and neither 2.6.10 or 2.6.9 setup /dev/agpgart properly.

I went back to 2.4.30, and thought I was getting close. I've managed to get a /dev/agpgart setup.

I even finally managed to get /dev/dri/card0 to exist, for the first time.

Now, X still refuses to start, but I can't see why, it opens the card, looks happy. then complains that dri failed, and the laptop screen just goes off.

If I try to start it a couple more times, the whole thing will lockup.

I've gone to try compiling the source of Xorg again, which I didn't have any luck with the last couple of times I tried, since the binaries I've been trying to use are from February, and maybe they've fixed them up a bit in the last couple of months.

Ok, not having much luck compiling X.

First the config file failed to compile, this was because I needed "expat" or something (apt-get install libexpat1-dev), then it got a bit further, until I needed "libfreetype" (apt-get install libfreetype6-dev) for something to do with fonts to compile.

I got a bit further (eventually, since it restarts the whole compile when the restart it). Until I needed some other weird file, turned out I needed libpam0g (apt-get install libpam0g-dev).

Now I need png.h, so I guess I need to install libpng2 (apt-get install libpng2-dev), which needs libpng10-0, libpng10-dev, and libpng2-dev.

One more compilation try (since it takes about 1/2 hour before failing now), and I'm giving up, and going to the pub.

2 Comments:

At 6:38 PM, void *Copper[balls] said...

I'm now fighting with my i915GM based laptop. I already made agpgart show up in /dev, however the card0 is still not in /dev/dri. The i810 Xorg module works, however without DRI support. How did you manage to get the card0?

 
At 1:56 PM, Simon said...

I would have emailed you back, but you didn't leave your address.

Anyway, it seems that you don't need to worry about /dev/dri anymore. Using kernel 2.6, I don't have anything in there, but X still runs, and I get about 250fps (glxgears).

Just get the latest source to X, and compile it.

 

Post a Comment

<< Home