[PATCH] Hardware deinterlacing for both software and DXVA2 decoded material

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
IgorA100 Offline
Junior Member
Posts: 13
Joined: Apr 2011
Reputation: 0
Post: #181
isidrogar Wrote:Which GUI video settings are you using?
Yes.
isidrogar Wrote:Don't forget also to select DXVA as renderer in general video settings. "Auto" setting in current master code defaults to pixel shader renderer.

1. In the setting enabled ATI "Vector Adaptation"
If select "Auto", then OK. If "DXVA Best" - have artifacts.

2. If the ATI to select "Bob" in the settings and set HBMC to "DXVA Best", then everything is OK
find quote
StinDaWg Offline
Fan
Posts: 323
Joined: Jul 2011
Reputation: 1
Post: #182
isidrogar Wrote:@IgorA100, @StinDaWg:

Which GUI video settings are you using?

Don't forget also to select DXVA as renderer in general video settings. "Auto" setting in current master code defaults to pixel shader renderer.

It works for me now. Had to change renderer from auto to dxva in general video settings. In the player itself I have deinterlace video to auto and deinterlace method to DXVA best. I can confirm with test patterns I'm getting vector adaptive and I am not getting any noticeable artifacts on my ATI 5450. Thanks! Nod
(This post was last modified: 2011-10-08 23:15 by StinDaWg.)
find quote
StinDaWg Offline
Fan
Posts: 323
Joined: Jul 2011
Reputation: 1
Post: #183
Hmmmm. I may have spoke too soon. It reset itself from dxva best to auto (which lost vector adaptive) even though I had clicked save for all movies. I went ahead and reset it to dxva best and deinterlacing on from the previous auto setting. Lets hope that fixes it or it may be a bug in the current build I have.

edit: Selecting auto for deinterlace method seems to have a mind of its own, sometimes it does vector other times it does not. Problem is I can't get dxva best to stick. It keeps resetting itself to auto even after I hit save. I'm running the Oct 3rd master build.

edit 2: Something is definitely wrong in the master build. Will not under any circumstances keep the dxva best (vector adaptive setting). Had to revert back to a June 28th patched build I've used from this thread. On that build all I had to do was select auto for interlacing and it would choose vector every time. Don't know if this bug can be fixed before the final Eden release or not but it's definitely broken in the current master.
(This post was last modified: 2011-10-09 04:14 by StinDaWg.)
find quote
isidrogar Offline
Member
Posts: 59
Joined: Jun 2011
Reputation: 1
Location: Spain
Post: #184
@StinDaWg:
Some changes was made in way settings are saved to DB. A clean XBMC install running the setup may fix your problem to keep the dxva-best selection in place.

Regarding auto setting it must always choose vector adaptive if available. You can check the GUID used in debug. I also have seen (mainly ATI cards) the driver limits deinterlace to bob even when vector adaptive GUID is selected if system has low powered resources. Switching off Aero helps.
find quote
StinDaWg Offline
Fan
Posts: 323
Joined: Jul 2011
Reputation: 1
Post: #185
Thanks, I'll do a clean install and see if that helps. I've went back and forth on versions so many times something might have went wrong in the process.
find quote
StinDaWg Offline
Fan
Posts: 323
Joined: Jul 2011
Reputation: 1
Post: #186
Well, I uninstalled, rebooted, then installed the newest nightly. Did not fix the problem. Cannot save DXVA best, always reverts back to auto after reboot which gives garbage deinterlacing. Tried turning off Aero, no difference. Even when I put it on dxva best I got micro studdering and artifacts like Igor said above. I know it's not a problem with my video card because vector adaptive works in Windows Media Center 100% of the time. I guess I'm going back to MediaBrowser on WMC. I don't like it as much as xbmc but if I can't play 1080i content reliably on it then I can't use it.
find quote
Waven Online
Junior Member
Posts: 42
Joined: Oct 2010
Reputation: 6
Post: #187
As StinDaWg I cannot save DXVA best as default interlace method. I watched the changes of the <interlacemethod> tag in guisettings.xml.
When I choose DXVA best and save this as default video setting the value of the tag gets changed to 18.
Then if i close XBMC and open it again the value gets changed to 9. Maybe that is the problem.
I hope you understand what I'm trying to say.

Cheers
find quote
CrystalP Offline
Team-XBMC Developer
Posts: 822
Joined: Apr 2010
Reputation: 18
Location: The Great North
Post: #188
That makes sense, fixed.

Always read the XBMC online-manual, FAQ, Wiki and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
StinDaWg Offline
Fan
Posts: 323
Joined: Jul 2011
Reputation: 1
Post: #189
CrystalP Wrote:That makes sense, fixed.

In what build will this fix be implemented? Thanks.
find quote
StinDaWg Offline
Fan
Posts: 323
Joined: Jul 2011
Reputation: 1
Post: #190
Seems to be fixed in the 10/17 build. It saves the dxva best setting after restart, although I still get intense stuttering on every 1080i video, and no it is not my graphics card problem.
find quote
Post Reply