Sunday, August 10, 2008

S3Virge Woes

I decided to salvage an old junk computer over the weekend. I burned a copy of Xubuntu, and proceeded to install. When the installer tried to initialize X, it couldn't, so I had to do the install in safe graphics mode. The video card, a low-end S3Virge 3d/2x, uses the Xorg s3virge driver. After getting everything working in crappy Vesa mode, I stumbled onto a bug report indicating that there was a bug in s3virge resolution detection that was fixed in Git. I recompiled the appropriate driver from Git, and everything works now. SO, for future reference, here are the steps to re-build the s3virge driver from Git in Xubuntu.

# install packages required for build
apt-get install xorg-dev xserver-xorg-dev libtool autoconf automake

# install git
apt-get install git-core

# check out the repo
git clone git://

# cd into the repo
cd xf86-video-s3virge

# build and install
./ --prefix=/usr && make && sudo make install

Not Vim related I know, but I figure this might help someone.


graywh said...

The debian package "git" is GNU Interactive Tools (it's being transitioned to "gnuit"). You only need "git-core" to use Git.

Travis Whitton said...

Thanks for the info. I'll edit the post.

Anonymous said...

Many thanks for that. Was tearing my hair out, but now get a clean boot. However can't get more than 800x600 and displayconfig just locks up. Does yours work??

[AMDK2/500, 384MB, Diamond Stealth 3D 2000, Xubuntu Hardy]