View Full Version : AMD's UVD2 & XvMC For Linux?
phoronix
09-04-2008, 11:10 AM
Phoronix: AMD's UVD2 & XvMC For Linux?
Last month the Catalyst 8.8 Linux driver was released with CrossFire For Linux (including support for the Radeon HD 4870 X2) and OverDrive-based overclocking. In that article we also shared two new interesting libraries appeared within the driver package: libAMDXvBA.so.1.o and libXvBAW.so.1.o. The AMDXvBA and XvBAW libraries aren't yet used by the driver, but their names are rather interesting containing Xv. Xv, or X-Video, has been supported by the proprietary Catalyst package for some time on Linux and Textured Video is even supported by the open-source xf86-video-ati driver for most of the card generations...
http://www.phoronix.com/vr.php?view=NjcwMA
cruiseoveride
09-04-2008, 01:09 PM
With that information out there, now we're willing to talk a bit more about these two new libraries.
What does that mean?
Cuppa-Chino
09-04-2008, 04:04 PM
Obviously this will be a major draw for the tech savy and it is necessary to combat intel in one market that they are developing good cards in ---> media pc's.
Anyhow I have been frowing, umming and ahhing for a long long time about an HTPC, if someone now brings out amicro-atx 790g board with optical spdif out and if the 22w x2 is available, then i am totally happy:
http://pics.computerbase.de/2/2/7/4/9/1_m.jpg
greedy i know
Michael
09-05-2008, 03:13 AM
What does that mean?
I can't comment.
DocentDAMP
09-05-2008, 04:25 AM
This is great news!
Will my X1250 with Avivo but no UVD, also benefit from this?
RoboJ1M
09-05-2008, 04:31 AM
Obviously this will be a major draw for the tech savy and it is necessary to combat intel in one market that they are developing good cards in ---> media pc's.
Anyhow I have been frowing, umming and ahhing for a long long time about an HTPC, if someone now brings out amicro-atx 790g board with optical spdif out and if the 22w x2 is available, then i am totally happy:
http://pics.computerbase.de/2/2/7/4/9/1_m.jpg
greedy i know
What's wrong with an mATX 780g board with optical SPDIF out?
They've been out for ages.
J1M.
tmpdir
09-05-2008, 04:53 AM
What's wrong with an mATX 780g board with optical SPDIF out?
They've been out for ages.
J1M.
Nothing wrong there... but newer is nice to. and now amd's support on linux is good enough to buy new introduced hardware... after doing some checking of course ;)
The new lowbudget amd chipset are great for mythbuntu (mythtv) based mediacenters. Works like a charm and drivers get better everyday.
legume
09-05-2008, 01:15 PM
This is great news!
Will my X1250 with Avivo but no UVD, also benefit from this?
Sure is good news.
I don't know what X1250 will get, I also don't know what my HD3850 will get, it's UVD but the article says UVD2...
Cuppa-Chino
09-05-2008, 03:18 PM
Nothing wrong there... but newer is nice to. and now amd's support on linux is good enough to buy new introduced hardware... after doing some checking of course ;)
The new lowbudget amd chipset are great for mythbuntu (mythtv) based mediacenters. Works like a charm and drivers get better everyday.
principally nothing wrong with 780g, and expect it could end that way, its just that the 790gx is even lower energy consumption . . .
and in a system that should come in around 45w (?) total at full load, the difference between the 780g and 790gx would be visible..
anyway as said its just pure greed on my part, I do hope that the 22w part will not only be OEM
cruiseoveride
09-05-2008, 04:27 PM
I can't comment.
Ok I will then.
With that information out there, now we're willing to talk a bit more about these two new libraries
So lets break this sentence down and see what we can find.
"With the information...", this is referring to the previous statement:
Word though has leaked onto the Internet by some Windows web-sites that AMD intends to provide high-definition video acceleration on some select Linux-based computers using ATI graphics.
"..out there", obviously referring to the public domain/internet.
", now we're willing to talk a bit more" hmm
This is strange, because if: phoronix/Michael was under an NDA over ATI UVD/Linux/Whatever, he would not be able to "talk" about it, until the embargo was lifted. But since he says "now we're willing" it gets tricky, why "now", did you have to wait for someone else to report so-called classified information, before you could? but how can you in the first place if you were under an NDA, already exposed information or not?
I am really beginning to doubt the credibility and sincerity of phoronix articles. There is way too much hush hush, I like open source and the sharing of information. I think trustworthy journalism, is an oxymoron, in this day and age.
And all this hype about ATi and open source drivers. Maybe ATi is just fueling journalists with this hypabole to reduce tension, so each month we get 2 lines of code every time the tension increases?
So by the time your ATi product is completely obsolete (some 10yrs later), there will be enough doc to write a full driver.
Closed source, open source, whatever, I want something that works, today, for current products, with current applications.
Sadly Nvidia is the only company that can boast Linux support.
ATi should:
1. Give out a copy of Windows, when you buy an ATi product.
2. Give a discount to Linux/Unix users, because they do not benefit from customer support.
I don't mind paying $100 for a HD4870, knowing I can only use it in 4 years.
jeffro-tull
09-05-2008, 05:30 PM
@ cruiseoveride
I was also curious about that sentence. And I share the same sentiment (though not to the same extent) about all the hush-hush in articles I read on this site. It does get kind of old seeing "well, we can't talk about that just yet" or "now we'll speak up" and things of that nature.
But, as a linux user with an R500, it's either dig through mailing lists, press releases, and IRC logs or put up with Phoronix's occasional secrecy. Laziness wins out.
dashcloud
09-07-2008, 03:31 PM
Ok I will then.
So lets break this sentence down and see what we can find.
"With the information...", this is referring to the previous statement:
"..out there", obviously referring to the public domain/internet.
", now we're willing to talk a bit more" hmm
This is strange, because if: phoronix/Michael was under an NDA over ATI UVD/Linux/Whatever, he would not be able to "talk" about it, until the embargo was lifted. But since he says "now we're willing" it gets tricky, why "now", did you have to wait for someone else to report so-called classified information, before you could? but how can you in the first place if you were under an NDA, already exposed information or not?
I'm pretty sure Michael's NDA has a clause which says if information under the NDA gets out due to no fault of your own, you can then speak to that information only (or they got the OK from AMD)
This is great news!
Will my X1250 with Avivo but no UVD, also benefit from this?
AIK UVD won't be supported anyhow due to the antifunctions.
If the spechs for the antifunctions where known you could actualy write drivers that makes things that "just works".
AIK UVD2 will be supported in the future.
But XVMC would be an very welcome gesture for UVD, even with the usual ATI tearing ;D
There is an thread where video acc and antifunctions are discussed.
W3ird_N3rd
09-16-2008, 08:40 PM
What will be interesting though is how AMD decides to implement their high-definition video support on Linux. Seeing as there is no suitable standard right now, they will likely introduce their own interface.
How about VAAPI? Intel is going to support it (already does on some ATOM chipsets I understood), if AMD would support it as well I guess ffmpeg support wouldn't be far away and that would bring support to mplayer, xine etc. And at that point nVidia won't really have any choice.
ATM there is no standard to accelerate h.264 (XvMC only supports MPEG2), VAAPI should be it but seems not to be used.. :(
mtippett
09-16-2008, 08:45 PM
How about VAAPI? Intel is going to support it (already does on some ATOM chipsets I understood), if AMD would support it as well I guess ffmpeg support wouldn't be far away and that would bring support to mplayer, xine etc. And at that point nVidia won't really have any choice.
ATM there is no standard to accelerate h.264 (XvMC only supports MPEG2), VAAPI should be it but seems not to be used.. :(
Which interface are you talking about? Intel is developing two competing ones - VAAPI and an extension to XvMC.
W3ird_N3rd
09-16-2008, 08:55 PM
Which interface are you talking about? Intel is developing two competing ones - VAAPI and an extension to XvMC.
I can't post links at this moment I believe (or my post would have to be reviewed), but in the freedesktop wiki there is an article Software/vaapi. I have already seen libva (an implementation of VAAPI) packages for Ubuntu, so all that should (apart from support in ffmpeg) pretty much already exist, or am I mistaken?
That freedesktop article says:
The main motivation for this proposal is to enable hardware accelerated video decode at various entry-points (VLD, IDCT, Motion Compensation etc.) for the prevailing coding standards today (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3). Extending XvMC was considered, but due to its original design for MPEG-2 MotionComp only, it made more sense to design an interface from scratch that can fully expose the video decode capabilities in today's GPUs.
So I do not believe Intel works on extending XvMC.
mtippett
09-16-2008, 09:27 PM
I can't post links at this moment I believe (or my post would have to be reviewed), but in the freedesktop wiki there is an article Software/vaapi. I have already seen libva (an implementation of VAAPI) packages for Ubuntu, so all that should (apart from support in ffmpeg) pretty much already exist, or am I mistaken?
That freedesktop article says:
So I do not believe Intel works on extending XvMC.
Intel - Keith Packard's team talking about XvMC extensions - http://www.x.org/wiki/Events/XDS2007/Notes#head-85fbeafd07c1bef104190a6a7acb82cad622a148
Intel - Jonathon Bian is the prime contact for VAAPI - http://freedesktop.org/wiki/Software/vaapi
I don't know the interplay between them, but it looks like Jonathon was one of the original authors of the i810 driver and Keith is the new kid on the block (Intel driver wise).
But it is clear that *BOTH* efforts are being funded by Intel, and *BOTH* seem to want to ignore the other. A Wiki article is hardly ever authoratitive or accurate :).
Regards,
Matthew
meden
09-17-2008, 09:30 AM
AIK UVD won't be supported anyhow due to the antifunctions.
If the spechs for the antifunctions where known you could actualy write drivers that makes things that "just works".
AIK UVD2 will be supported in the future.
But XVMC would be an very welcome gesture for UVD, even with the usual ATI tearing ;D
There is an thread where video acc and antifunctions are discussed.
Can someone "at high floors" (say... Bridgman) confirm this, so that I can stop to be happy (along with my HD2600)?
bridgman
09-17-2008, 10:36 AM
My position in this has been very consistent -- "I don't know yet" :D
Once we get 6xx/7xx 3D engine info released to the public and (hopefully) some basic power management stuff, video is next on the list for us to look at. Right now I have high confidence that IDCT (HD3xxx and earlier) will be released, low confidence that UVD (HD2xxx/HD3xxx) will be released, and slightly higher confidence that UVD2 (rs780, HD4xxx) will be released -- but won't be sure on any of them until we go through the risk & IP analysis effort.
Whether support for that hardware is implemented with XvMC or VAAPI or something else is up to the community. If our developers implemented the support first we would probably go with XvMC and try to align extensions with Intel to make things easier for player developers.
Use of video acceleration hardware by the proprietary driver is a different story -- we have a bit more freedom to use the hardware in fglrx without the associated IP hassles, but only to the extent that we can discourage reverse engineering or at least publication (say, in an open source driver) of the resulting information.
TechMage89
09-17-2008, 01:50 PM
Brig Bridgman, I'm not really sure from an IP/ DRM perspective that supporting video decode in the Linux Catalyst is any riskier than in the Windows version. I'm guessing that it's probably not much harder for a determined hacker to RE the Windows version
bridgman
09-17-2008, 02:10 PM
The Windows version has heavy anti-tamper protection support from the operating system. Linux kinda follows a different path ;)
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.