[haiku-development] Re: ATI Video Driver Source Code

  • From: Gerald Zajac <zajacg@xxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 05 Jun 2009 12:32:14 -0400

Axel Dörfler wrote:
Gerald Zajac <zajacg@xxxxxxxxxxxxx> wrote:
I have finally finished the ATI driver which supports the Mach64 and Rage128 chips.

Great! Don't you have commit access already? If not, I would propose you to be added, if you want that.

I don't have commit access; however, I have commits so infrequently (about 3 or 4 in the past year) that I'm not sure whether I really need commit access unless I start having more frequent commits.
Overlays are not supported by this driver. I might implement this support in the future if it is considered important under Haiku.

Hardware overlay is sort of mandatory on old chips in order to watch videos. Not sure if that's what you would do with older machines with these chips, though :-)

I've considered adding overlay support for the Rage128 chips, but have not found any code in the X windows driver for overlay support. Thus, at this point I would not know how to set up an overlay on the those chips.

Does the Media Player use overlays? Under BeOS & Zeta using the BeOS/Zeta version of the ATI driver, I can play the Memorial Day movies that came with BeOS R5.0; but under Haiku these movies do not play using the Haiku Media Player. I believe that these movies are AVI format.
Finally, the atimach64 driver currently in the source repository can be discarded since it supports only the 264VT2 chip.

Okay, good to know. Does that one support the V0 chips, or also only newer ones?

That one supports all versions of the chip, but does a worse job than my driver handling the V0 chip. I built that driver a while ago and tried it with the V0 chip that I have. The display was blank after it set the mode; whereas, my driver would actually set the mode, but the colors and the display would be messed up. Another problem with the atimach64 driver is that the source code is under the GPL license.

The 264VT2 chip is one of the older Mach64 chips, and the one that I have has only 2 MB of memory; thus, if support for this chip were dropped completely, it would be no big deal IMO.

Best regards,
Gerald


Other related posts: