Older blog entries for anholt (starting at number 14)

freedesktop.org:
Got some practice administering apache and twiki today. Some wanker decided to register his protest of wikis by making freedesktop.org things point to goatse.cx. Had to figure out how to block ips, remove twiki accounts, revert twiki pages, etc. Totally wasted an hour of good coding time.

DRI:
Committed various cleanups to the FreeBSD DRM in DRI CVS. Part of work on doing SMPNG locking of the DRM. Also committed Keith Whitwell's patches for allowing attaching of DRM to i8xx devices to the DRM and AGP devices.

SiS:
Got my sis6326 DRI driver (which will sit alongside the sis driver for the 540/630/730 card) to the point of compiling, including changes to the SiS DDX to load the appropriate driver. Now I need some hardware to start testing parts of it with.

FreeBSD:
Spent some time Monday looking at port fixes. Fixed some build errors on glide3 with new gcc (still need to figure out the automake issues with the new version of glide3). Also need to figure out why glean's texEnv test has decided to start crashing on me after I built it from ports. It's not my patch to the texEnv test causing it, though.

DRI:
Started working on a SiS 6326/530 DRI driver. I think it should be pretty easy, given that the hardware is very similar to, but simpler than the 540/630/730.

FreeBSD:
Ports are unfrozen, which is nice. Fixed a package building error in XFree86-4-Server. Committed various fixes submitted for XFree86-4-Server-snap, and pushed patches upstream. Still to do: the mesa-demos port, my libglut port and mesagl update, and I need to finish the glean port. I tried to update the Glide port after the new glide.sf.net release, but yet again automake is giving me errors that I don't know what to do with.

SiS:
I added the GL_EXT_texture_lod_bias extension to the SiS DRI driver last night. It was fun to be successful in implementing a feature without docs (well, I had two bitmasks to deal with, but not the format of the bits in the important one). Fixed two out of the seven broken texenv modes. Disabled the broken 3d clearing code that could make things faster but so far just makes things not work. The code now passes a couple more glean tests, and would pass several more if glean was just a little bit less strict. I'm thinking about adding a general "allow an additional bit of error" option for glean, but not sure how I would go about implementing it. Started submitting patches to glean, which I hope to continue to do.
SiS:
I finally managed to get glean, a set of OpenGL conformance tests, to compile. I wasn't following the directions properly -- you have to "make install" to build it, not "make", and it doesn't actually install the software, just puts it in the $(GLEAN_ROOT)/bin/

The initial output was an intimidating list of FAIL messages. However, the tests have been incredibly useful. It's led me to get quake3 fixed, fix frontbuffer scissoring, fix subpixel x/y offsets (fixes gaps between triangles), partially fix readpixels, and fix mipmapping. It still has issues in the following tests: blendFunc (minor), maskedClear, paths, polygonOffset, readPixSanity (24-bit depth and stencil issues), exactRGBA, and texEnv.

16 Sep 2003 (updated 17 Sep 2003 at 07:27 UTC) »
DRI:
I finally finished off the move of DRI CVS to freedesktop.org. We've been frustrated with sourceforge.net CVS for a while due to the 24-hour lag between commit and when the commit appears in anoncvs, along with other issues. It's taken at least a week, due to various sf.net issues. Now, we've got both anoncvs and cvsup, always up to date. That may change some day if the single box hosting things gets overloaded, but for now it's great. I'd like to say thank you to the sourceforge.net support folks who have helped us with all the support requests we sent in trying to get this done.

FreeBSD:
Finally committed the XFree86-4-Server-snap port, which is the server part of the 4.3.99.12 development snapshot. I'm now using that with the new DRI CVS layered over the top. Very nice on the 8500, so far. Committed and MFCed a typo fix to the Intel AGP code from the most detailed problem report I've ever handled -- the submitter looked at the current code, the FreeBSD 4.6 code, the linux equivalent of that code, and tested all variations, with just-short-of-patches included. Plus the testing involved starting XFree86 many times to reproduce the bug. I also spent a significant portion of the night talking with Silby about a problem with my Via Rhine onboard nic and how to debug them. The debug printfs unfortunately/fortunately seem to have suppressed the issue, though.

SiS:
Committed my DRI update for the SiS to CVS today. It's doing pretty well -- the mesa demos I've tried so far work and tuxracer works. Quake3 unfortunately has major rendering issues in-game. Still need to get AGP support fixed up for the new infrastructure, but I was happy to hear that it worked for someone with an AGP card anyway. For now I'm looking at what GL extensions will be easy to implement.
SiS:
Ported the SiS DRI to FreeBSD, and in the process removed the requirement for sisfb for SiS DRI (requires new X Server and DRM to work, which also means it requires the new client driver, too). My goal in this was to see if phkmalloc would find what was going on in tuxracer better than I could on linux. Basically, on linux tuxracer is crashing in free() of memory that was allocated with calloc() and is still allocated as far as I know. gdb is still happy to print out the structure being freed. However, on FreeBSD tuxracer worked just fine without crashing. Now I need to find some sort of memory debugger for linux, hopefully something I can hook up without requiring changes in compiling. dmalloc wasn't doing anything when I tried using LD_PRELOAD.

Turns out the problem with r128 was that I was looking at the code from trunk (which was good) while testing using config-0-0-1-branch, which didn't have the fix for alpha testing that was in trunk. Happy to see another bug I knew of squashed.

SiS:
Got some basic texturing working over the weekend, and got the big one I wanted to get working done: the fire demo. Sure, it's no quake3, or even tuxracer, but it's being rendered better than with the r128 driver now :) (And I've stuck figuring out what's wrong with the r128 driver on my todo list). At this point I've got glxgears, geartrain, tunnel, ipers, fire, multiarb, ray, morph3d, isosurf, and spectex working. gloss, texenv, teapot, reflect, and a few others are not working, besides those that don't work due to lack of GL extensions. Oh, and tuxracer doesn't work for some reason I absolutely cannot figure out. Plus I've got to get the AGP vertex output into the new driver, which I'm putting off until I can get an AGP card.
23 Aug 2003 (updated 23 Aug 2003 at 08:24 UTC) »
SiS DRI:
Finally got glxgears running hardware-accelerated with the SiS. It was pretty exciting, but it's only running at ~65fps, compared to ~65fps in software. I'm not sure how fast the card should be running (it's PCI only) -- it's spending something like 95% of the time in the MMIO write of a quad to the card. I've decided not to think about that and try to get the rest of the driver working, such as textures. But if I thought getting colored triangles was hard, this texture stuff looks really hard. I've started trying to learn OpenGL so I can understand this better, but after about page 60 of the spec I wanted to bang my head against something. Probably I should go through some tutorials, then attack the spec.

5 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!