« January 2006 | Main | August 2006 »

July 22, 2006

Automatic Kernel Header Updates

The Ubuntu Dapper kernel has been updated a couple of times and with that, I've had to update the custom compiled VMWare modules to run Windows XP on my laptop. The new kernels are important, but I do still need VMWare and Windows for Quicken. Worse, I keep forgetting to update the headers when I get a new kernel.

I found there is a package called linux-headers-*** that automatically installs the latest kernel headers, so I don't need to install them manually each time. There are 4 flavors of this package: 386, 686, k7, server. If you don't know which one you need, execute.

uname -r

It will give you something like 2.6.15-26-k7 or 2.6.15-26-686

Now that you know the right flavor, you can install it by executing

sudo apt-get install linux-headers-***

Replace the *** with 386, 686, k7 or server. Now when Ubuntu releases a new kernel, it will automatically grab the new headers and I won't have to hunt and find it.

Posted by cjennings at 03:42 PM | Comments (0) | TrackBack

July 21, 2006

FPS and glxgears

After upgrading, I found I wasn't getting frames-per-second information with glxgears any longer. I've since been using other applications to get a rough benchmark of my ATI 3D card's performance. Just recently I stumbled across the solution: you must turn use a command-line switch:


$ glxgears -iacknowledgethatthistoolisnotabenchmark

Silly, isn't it? I'm also a bit baffled as to why someone would think this switch is necessary as I doubt printing frames per second would get anyone into legal trouble.

Whatever the case, I thought I'd post it since there's neither a --help switch to get information, nor any man or info pages to reveal what the switches are.

Posted by cjennings at 08:57 PM | Comments (0) | TrackBack