Peter Hessler's blog



dri on openbsd/amd64

edit Posted by Peter Hessler on Saturday February 23, 2008 at 03:22PM

I've been helping out oga@ with the porting of dri onto OpenBSD, specifically in the !i386 sense. I'm also learning C, and kernel and X and ioctl at the same time. So needless to say, he's done the heavy lifting ;).

Last night, I finally got my machine to start dri. I had to remove DEBUG from my kernel config (an absurd amount of debug messages from everything, and all sorts of excess checking slowed things down dramatically. kernel compiles took 15 minutes, vs the 2.5 minutes they do in normal mode.), and fix the Xorg libdri libraries. Bampf, glxgears runs at 660fps, vs 40fps. PrivSep has to be disabled, and you have to run X as root (eep!!!), so those need to be fixed before anything hits the OpenBSD source tree. Anyways, the OpenBSD tree is locked in preparation for the 4.3 release, so nothing can hit the tree anyways.

what to do with vtophys()

edit Posted by Peter Hessler on Friday January 11, 2008 at 10:07PM

outside of work, I do some things with OpenBSD. Over the last month or so, I've been poking at the DRI code, mostly to make it compile on my laptop. Why is it taking so long? I don't know C, and are learning on the fly. Kernel space makes it interesting.

spare time

edit Posted by Peter Hessler on Thursday December 13, 2007 at 02:17AM

in my spare time, I've been poking at DRM/DRI code in OpenBSD. right now its been imported (but disabled). the code is not ready, but its far enough along to be hacked on in-tree.