Currently Playing
- Quake 4
- Darwinia
- Firefox - <3 extensions
- My Myspace
- My Facebook
- My Xanga(shudder)
- Archive of my old website
- Remnants of Earwacs
- My Animations
- April 2005
- May 2005
- June 2005
- July 2005
- August 2005
- September 2005
- October 2005
- November 2005
- December 2005
- January 2006
- February 2006
- March 2006
- April 2006
- May 2006
- June 2006
- July 2006
- August 2006
- September 2006
- October 2006
- November 2006
- December 2006
- April 2007
- May 2007
- August 2007
- September 2007
- October 2007
- May 2010
- June 2010
- February 2011
- July 2016
Random Links
Places I frequent(or use RSS)
"Cool" People
Archives
Check these for all the interestingstuff I've posted in the past.
Site Feed
Computer graphics, games, a bunch of random "stuff", and a slippery slope between insanity
(to look for something specific try the search above or the archives to the right)Tuesday, July 19, 2005
SIS and XGI Linux support sucks
So, I was trying to get this SIS 6326(I think that's right...) video card to use Direct Rendering on this old computer I have in my room, in Ubuntu Linux. SIS's video drivers for linux(SIS's video department is now a separate ocmpany called XGI), and subsequently XGI's, really suck.
So one guy, Thomas Winischhofer, out of the goodness of his heart and necessity(he had a laptop with an SIS chipset) wrote a driver for them and has continued to maintain it. While I was looking for some info on trying to get Direct Rendering to work, I happened across something on the forum that he said that I thought was really funny. Someone asked him what someone would have to do to develop a video driver for a video chipset and this was his reply:
"Method A)
1. Find hardware documentation
2. Read hardware documentation
3. Add support for memory size detection, memory bandwidth calculation, mode setting, HWCursor, 2D acceleration, eventually Xv by providing driver primitives that do all this.
4. Spend time with your girlfriend.
5. Be happy.
Method B)
1. Spend days and nights for weeks to figure out how the hardware might work, by writing different values to registers and try to find out what they do.
2. Help your girlfriend to move out of your appartment.
3. Spend further days and nights to figure out how the hardware might work.
4. Eventually implement memory size detection and mode switching to the driver.
5. Be spammed by folks claiming the driver is "dead slow", and demanding futher features.
6: Get stuck with driver development for nearly 5 years.
Method C)
1. Spend weeks with trying to find out how hardware works that you don't even have, by sending out driver binaries to folks and analyzing logs that come back days later.
2.-6. like Method B).
While A) is to be preferred, it often is B) or C) in reality."
It's kind of sad, because it's true, but I think it's funny.
So one guy, Thomas Winischhofer, out of the goodness of his heart and necessity(he had a laptop with an SIS chipset) wrote a driver for them and has continued to maintain it. While I was looking for some info on trying to get Direct Rendering to work, I happened across something on the forum that he said that I thought was really funny. Someone asked him what someone would have to do to develop a video driver for a video chipset and this was his reply:
"Method A)
1. Find hardware documentation
2. Read hardware documentation
3. Add support for memory size detection, memory bandwidth calculation, mode setting, HWCursor, 2D acceleration, eventually Xv by providing driver primitives that do all this.
4. Spend time with your girlfriend.
5. Be happy.
Method B)
1. Spend days and nights for weeks to figure out how the hardware might work, by writing different values to registers and try to find out what they do.
2. Help your girlfriend to move out of your appartment.
3. Spend further days and nights to figure out how the hardware might work.
4. Eventually implement memory size detection and mode switching to the driver.
5. Be spammed by folks claiming the driver is "dead slow", and demanding futher features.
6: Get stuck with driver development for nearly 5 years.
Method C)
1. Spend weeks with trying to find out how hardware works that you don't even have, by sending out driver binaries to folks and analyzing logs that come back days later.
2.-6. like Method B).
While A) is to be preferred, it often is B) or C) in reality."
It's kind of sad, because it's true, but I think it's funny.
Copyright Stewart James Martin unless otherwise noted(or accidently not noted). If you want to use anything shoot me an e-mail, at least.