Posts: 126
Joined: Mar 2007
Reputation:
0
Ok, the issue indeed only happens with ISO's (where I dont' get DXVA2 decoding anyway). If I then select 'best available' or 'best available inverted' I get a black screen. The other options (bob etc) work.
When I unpack the ISO and play the VOB files, everything works ok (I get both DXVA2 decoding and the 'best available' options work ...
My guess is that when the ISO problem is resolved, your patches will works as well.
Posts: 126
Joined: Mar 2007
Reputation:
0
BTW, to make it more clear:
When I unpack the ISO and play the video directory, it's of course the same issue (no DXVA2 decoding and blackscreen on 'best available'). When I play the VOB files, everything is ok.
Posts: 126
Joined: Mar 2007
Reputation:
0
Well, thinking of it, now that I know what the source of the deinterlacing problems is (dvd outside specs instead of the lack of dxva2 decoding), I don't really *need* dxva2 decoding for dvd's anyway (Zacate is fast enough for it). So, dunno yet if I want to invest time into this ... If nobody wants to do it though, I'll probably take a look anyway next week, but no promises ... Invested quite a bit more time than I had planned into fixing DXVA-VC1, also got other stuff to do ...
Posts: 59
Joined: Jun 2011
Reputation:
1
Just to get all things clear and don't mix anything, a few reminders:
- DXVA deinterlacing with software decoded content will NEVER work with Dharma nor a11559's (thus you will never get "Best available" option) because it isn't implemented. This is the reason why I made my patch.
- You only will get DXVA decoding (note the word DECODING) for DVD content if your card supports MPEG2_VLD bitstream decoding. Only a few cards can do this.
- I don't now if there is a bug in DVD ISO/VOB parsing, but if it is really there I have no plans for looking at it for now. I want to focus in fixing "black screen" bug for DXVA. Using your information and my tests I think this is only related to trying to present and deinterlace an incorrect still progressive frame detected (or forced) as interlaced.
Anyway thank you so much guys for your posts. All these reports and future are welcome.
I hope to fix the bug soon...
Posts: 59
Joined: Jun 2011
Reputation:
1
After many tests I have found the best way to fix "black/mixed screen" problem with a generic solution.
It is based on detecting when a still image is presented cheking if there is repeated presentation time, and in this case set SampleFormat of the samples to DXVA2_SampleProgressiveFrame. The processor then renders the frame using only the last (correct) surface.
I'm at work now, but I'll post a compiled version soon for getting your feedback.
Posts: 1,019
Joined: May 2010
Reputation:
18
loggio
Posting Freak
Posts: 1,019
2011-06-20, 22:18
(This post was last modified: 2011-06-20, 22:25 by loggio.)
A1159,
I'm not sure this is the problem... I forgot to mention that I can bring up ANY other osd with deinterlace enabled and I get no drops what so ever, it's only when I bring up the channel list... (which isn't any different to other OSD's)
I can even exit full screen mode and browse xbmc with little to none frame drops.
If I disable dxva and watch tv and enable de-interlacing, then bring up the channel list it works fine with no frame drops.
dxva deinterlacing using your patch, drops frames if your refresh rate is set below 50hz. I had mine set at a cutom 47.956hz with modified timings, I found this achieved smooth 1080p playback with 23.976fps mkv's
However after applying your patch i couldnt use this refresh rate, as i would get frame drops. So I moved back to 60hz and tv playback worked great with no frame drops.
As I said, it's only this channel list that's causing mass frame drops... Maybe confluemce isnt applying it as 'background' loading or something... I have no idea.
I just need someone to look at it! Hehe
Cheers,
Loggio.