I couldn't help but try more compiling efforts on using DRI with openchrome, but I didn't succeed this time either. :-(
Seems its just not possible. I found some good resources though, and tried to take notes.
This is as far as it would go:
drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 7, (OK) drmOpenByBusid: Searching for BusID PCI:1:0:0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 7, (OK) drmOpenByBusid: drmOpenMinor returns 7 drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0(EE) AIGLX error: Calling driver entry point failed(EE) AIGLX: reverting to software rendering
I was under the impression that I could get DRI working if I disabled IRQs and turned off AGPDRM, but it just wasn't working. Oh well.
Also still getting this error:
VIALoadPalette: Function not implemented for this chipset.
UPDATE: Strangely enough, I am now able to load the DRI modules - "drm" and "via" while using the openchrome driver. I still get an error when trying to run glxgears, but it defaults to using software rendering. What's great about this is that I now have accelerated MPEG! :-)
(==) CHROME(0): Xv Bandwidth check is enabled. (II) CHROME(0):[XvMC] Registering chromeXvMCPro. (II) CHROME(0): [XvMC] Initialized XvMC extension.
I can have a large VLC window playing in the background while I am browsing interactively in swiftweasel, while my processor is running at 400Mhz... way to go VIA! Now how about opening up that unichrome 3D driver? Huh?
What fixed it? I'm not exactly sure... as usual I didn't follow a strictly scientific methodology in troubleshooting the problems. Two things that potentially could have helped: * Added load "GLcore" to xorg.conf* Recompiled kernel using agp / drm P4M900 chipset fix as described on the openchrome wiki
I'm thinking it was the agp / drm fix. The openchrome wiki also mentions how confusing drivers for the unichrome hardware can be - I agree! At the moment, my gut is telling me to stick with openchrome, understanding that they are trying out experimental features. To keep this blog post from getting to large, I've started a page about the openchrome drivers in the Docunext wiki.
I also want to mention how much fun it has been to work with graphics again. I haven't done much work with 3D since I got my first 3D Macintosh software days about 12 years ago. Wow!