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

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
StinDaWg Offline
Fan
Posts: 323
Joined: Jul 2011
Reputation: 1
Post: #191
After playing more video content it seems that this problem has nothing to do with 1080i content in particular, rather the stuttering affects All HD MPEG2 .ts files whether 720p or 1080i using dxva renderer. It's not a matter of filesize, bitrate, or anything else, they all stutter in the same consistent 2-3 second intervals. It's not a problem with my graphics card or cpu as this never happens in previous or stable builds. This has only been happening with the nightly builds from the past month or so. I have an ATI 5450. Something is wrong with the software or code, I just don't know how to pinpoint it.
find quote
icecuban Offline
Junior Member
Posts: 19
Joined: Dec 2010
Reputation: 0
Location: So. Cal
Post: #192
Just came across this patch. Thank you so much, really thought I would have to buy nvidia cards to be able to use dxva, you saved me some cash.
find quote
Freakish Offline
Member
Posts: 73
Joined: Dec 2009
Reputation: 0
Post: #193
StinDaWg Wrote:After playing more video content it seems that this problem has nothing to do with 1080i content in particular, rather the stuttering affects All HD MPEG2 .ts files whether 720p or 1080i using dxva renderer. It's not a matter of filesize, bitrate, or anything else, they all stutter in the same consistent 2-3 second intervals. It's not a problem with my graphics card or cpu as this never happens in previous or stable builds. This has only been happening with the nightly builds from the past month or so. I have an ATI 5450. Something is wrong with the software or code, I just don't know how to pinpoint it.

I also seem to be having these issues with Nvidia card over the last few weeks, with the PVR branch. It was previously working perfectly, but now .TS files seems to be causing huge CPU usage. Looking at the video options the GPU is seemingly not being used for these .TS file types.

I have noticed that Deinterlacing is looking better however, So i think it has something to do with that... Anyone else having issues?
find quote
isidrogar Offline
Member
Posts: 59
Joined: Jun 2011
Reputation: 1
Location: Spain
Post: #194
StinDaWg Wrote:After playing more video content it seems that this problem has nothing to do with 1080i content in particular, rather the stuttering affects All HD MPEG2 .ts files whether 720p or 1080i using dxva renderer. It's not a matter of filesize, bitrate, or anything else, they all stutter in the same consistent 2-3 second intervals. It's not a problem with my graphics card or cpu as this never happens in previous or stable builds. This has only been happening with the nightly builds from the past month or so. I have an ATI 5450. Something is wrong with the software or code, I just don't know how to pinpoint it.

Freakish Wrote:I also seem to be having these issues with Nvidia card over the last few weeks, with the PVR branch. It was previously working perfectly, but now .TS files seems to be causing huge CPU usage. Looking at the video options the GPU is seemingly not being used for these .TS file types.

I have noticed that Deinterlacing is looking better however, So i think it has something to do with that... Anyone else having issues?

Anyone more having the same issues? I can't replicate the problem Sad

BTW, are you sure you are not using PS or Software based renderer?
find quote
Freakish Offline
Member
Posts: 73
Joined: Dec 2009
Reputation: 0
Post: #195
isidrogar Wrote:Anyone more having the same issues? I can't replicate the problem Sad

BTW, are you sure you are not using PS or Software based renderer?

Render Method =DXVA
"Allow DXVA 2"

In Video Settings:

Deinterlace Video = Auto
Deinterlace Method = DXVA Best,
Video Scaling = DXVA.

What I have noticed when watching the Video statistics, is the deinterlacing is seemingly working or at least showing 50fps now. Previously it was showing 25fps. Is the deinterlacing now using frame doubling or some such?

It does indeed look better/smoother than previous. Right now I'm watching live SDTV and I'm seeing 18.4% CPU and 12% VCPU. From memory earlier builds were using higher VCPU and much lower CPU. (Is this normal?)

When using HDTV streams, it's worse in that the CPU is somewhere between 30-60% on average and rewind/fast forward will choke end stutter. This is on a C2D T9400, and 9650GT Videocard.

I will try and do some more testing and try and workout the issues further.
I may revert to an earlier version and look at the logs from both.
find quote
StinDaWg Offline
Fan
Posts: 323
Joined: Jul 2011
Reputation: 1
Post: #196
isidrogar Wrote:Anyone more having the same issues? I can't replicate the problem Sad

BTW, are you sure you are not using PS or Software based renderer?

I fixed my problems through trial and error. I was getting stuttering on 59p content but that was because I had deinterlace set to on rather than auto. It was trying to deinterlace the progressive content and cut the frame rate in half to 29, so that is why I was getting stuttering. Set to auto it works fine now. I also turned off pulldown detection in ati CCC as that caused some occasional flickering in 1080i content. I still have to manually set deinterlace to On for some 1080i content because of the 29/59hz bug so that I avoid flickering/stuttering, but thats not really xbmc fault and I'm not sure they could do anything to fix that. Otherwise through trial and error I've found the right combination of settings on both my ati card and xbmc to get everything working perfectly now. Nod

http://experts.windows.com/w/experts_wiki/71.aspx
find quote
CrystalP Offline
Team-XBMC Developer
Posts: 822
Joined: Apr 2010
Reputation: 18
Location: The Great North
Post: #197
As written in the other thread, it's not because Windows Media Player is screwed up that XBMC necessarily has to be screwed up. Post a sample and we'll be able to find what's really happening and maybe workaround it.

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
Post Reply