[WINDOWS] GPU assisted video decoding in XBMC for Windows via a custom DXVA renderer? - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Feature Suggestions (/forumdisplay.php?fid=9)
+--- Thread: [WINDOWS] GPU assisted video decoding in XBMC for Windows via a custom DXVA renderer? (/showthread.php?tid=33323)
- ashlar - 2009-06-08 10:38
Not fully understanding the coding behind this proposed solution, my simple (and hopefully flawed logic) is sending me warning messages regarding audio-video synch stuff. All the work done by bobo1on1 for Smoothvideo could be seriously compromised, couldn't it?
Please, tell me I'm wrong.
- BrokenCodes - 2009-06-08 11:13
I'm simply offering another render method, no more, no less, the devs here can do with that as they see fit...
- ashlar - 2009-06-08 18:22
So it would be something appearing under the Renderer choice? And it would be... let's say you call it DirectX. When you choose DirectX XBMC is gonna render stuff according to the standard merit settings for DirectShow?
Is that how it's gonna work?
- Livin - 2009-06-11 04:55
A professional developer friend (does it for a living, codes for MS at time too) in the gaming industry told me DX11 (coming natively in Win7) had some enhancements that make it easier to code. Not sure if it will help in this situation but I'm hoping it would.
- BrokenCodes - 2009-06-11 10:12
Problem is, if you target DX11, it will not function in earlier OS's.
Vista will work when they release DX11 for Vista, but Windows XP users (80%, my assumption) of Windows users will be left without use of your application.
Also, only Premium users of vista will be able to use the DX11 updates for Vista as is my understanding...
- ashlar - 2009-06-11 10:53
BC, would you be so kind as to better describe how the end result will be, as per my previous question?
Many thanks in advance.
- waldo22 - 2009-06-11 16:51
This may be an ignorant question, but have you considered messing around with JMarshall's original Windows "port", which was a DirectX 8 binary?
According to him, it was not meant as a full port, but it functioned by simply replacing the xbox .xbe executable with his Windows DirectX .exe.
It is still in SVN, but it's not been maintained, but the code to render the GUI all works.
Gamester17 mentioned it earlier in this very thread:
If you could somehow update his GUI renderer to be compatable with SVN, then you could add your own DirectX Video renderer and not worry about SDL or OpenGL at all.
Is that helpful at all?
- Livin - 2009-06-11 17:29
BrokenCodes Wrote:Problem is, if you target DX11, it will not function in earlier OS's.
I understand but if someone wants to be able to utilize the latest/greatest I say let them update to Win7/Vista.
If they don't want to they can still keep the regular CPU rendering.
People always want "everything" and that is unrealistic... life has trade-offs. For those that want GPU rendering we will install Win7 and likely be spending $ on a new super quiet system anyway. I will be.
Ans, if you get the at128 working with the new stream at the same time, even better... I'll buy you an Atom system
- miljbee - 2009-06-11 19:49
I agree, CrossPlatform compatibility has its limits.
VDPAU is only available for Linux, but XBMC still run flawessly in Windows. So if there is a specific feature that is available only on Windows Seven, that's not a problem. My opinion is that XBMC should be able to run on every platform, and take the best from each one.
If you have some sort of interrest in DX11, please go, don't limit yourself with dx9 or Dx10. Changing the OS of a dedicated HTPC is quiet easy for most of us here.
- watzen - 2009-06-11 22:55
Livin Wrote:I understand but if someone wants to be able to utilize the latest/greatest I say let them update to Win7/Vista.
The biggest point of having gpu accelerated decoding of video is that slower and cheaper systems can play back high definition media. So mostly those who need the hw-acc is not going to spend a lot of $/£/€/:- on new super quiet system anyway. And if you're buying an ion system you probably won't do anything else with it then playing back media, in which case you can install linux and get the VDPAU going.
I say have some faith in BrokenCodes and let him try to develop his implementation his own way and be as it may with high compatibility with alot of systems... then that is even better for the masses.