Log in

View Full Version : Media Player Classic Home Cinema (MPC-HC) - DXVA!


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 [159] 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410

Leak
23rd May 2009, 09:58
Here is the problem, I want to be able to start 1st setup by double clicking, and maybe have 2d setup to start by doing right click, choose something on the context menu.
The solution I'm using is to put a shortcut to the second instance of MPC-HC into the "SendTo" folder in my profile (i.e. C:\Documents and Settings\Leak\SendTo - it's a hidden folder, so you might have to reconfigure Explorer to show it) so I can launch it by right-clicking on a file and choosing "Send To / MPC Projector"...

np: Yagya - Wind And Thunder (Will I Dream During The Process?)

Kurtnoise
23rd May 2009, 09:58
Has anyone tried compiling MPC-HC with Microsoft Visual Studio 2010 bèta 1 yet?
http://msdn.microsoft.com/en-us/netframework/dd819232.aspx

I wonder if it will give a lot of errors

a simple "Hello World" fails (https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=455544)...:rolleyes: sounds great to me.

tetsuo55
23rd May 2009, 09:58
The only problem I still have in svn 1120 is that V-sync doesn't work with VMR9 renderless (works with EVR custom, but I need VMR9 for DXVA1 on XP).
In the previous versions (svn 1043), V-sync was OK with VMR9 renderless if I checked "lock back-buffer", but the option seems to be gone now.

go to the rightclick menu, then renderer settings, then reset, then "reset to optimal defaults"

a simple "Hello World" fails (https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=455544)...:rolleyes: sounds great to me. ROFL!!

Lucky we don't need cross platform compatibility

Beliyaal
23rd May 2009, 10:23
Ahh Visual Studio 2010 Beta is horrible. We shouldn't bother with it until final version is available I would say. This is what I have found so far:

* When converting from old solution you can press Finish several times, starting several conversion processes that interfere with each other. The warning dialog appears behind the convert wizard making you press finish again.
* Changing solution configuration takes a merry old time.
* Bitmap fonts not working in editor!!!
* Several black pixels between rows, causing different colored blocks to look ugly.
* GUI elements take up a lot more space, wasting it.
* Text is antialiased even when tured off in Windows!
* Hard to drag a tab, must not go outside of tab area.
* STILL not possible to edit solution configuration inclusively

tetsuo55
23rd May 2009, 10:29
Ahh Visual Studio 2010 Beta is horrible. We shouldn't bother with it until final version is available I would say. This is what I have found so far:

* When converting from old solution you can press Finish several times, starting several conversion processes that interfere with each other. The warning dialog appears behind the convert wizard making you press finish again.
* Changing solution configuration takes a merry old time.
* Bitmap fonts not working in editor!!!
* Several black pixels between rows, causing different colored blocks to look ugly.
* GUI elements take up a lot more space, wasting it.
* Text is antialiased even when tured off in Windows!
* Hard to drag a tab, must not go outside of tab area.
* STILL not possible to edit solution configuration inclusively
Some of those sound like design choices, probably best if you report all of that to them (current dev phase still allows things like this to be changed)

Beliyaal
23rd May 2009, 10:34
Some of those sound like design choices, probably best if you report all of that to them (current dev phase still allows things like this to be changed)

Yeah, the only thing that really bothers me is the fonts. From another bug report it looks like .Net font classes only support TrueType fonts. Hopefully this is not true. It would be absolutely horrible to not be able to use bitmap fonts or at least non-anti aliased fonts in the editor.

tetsuo55
23rd May 2009, 10:37
i guess that would suck (but i don't have a clue why it would matter)

You can still try the 4 compile time switches i mentioned in 2008 SP1

ikarad
23rd May 2009, 12:53
Yeah, the only thing that really bothers me is the fonts. From another bug report it looks like .Net font classes only support TrueType fonts. Hopefully this is not true. It would be absolutely horrible to not be able to use bitmap fonts or at least non-anti aliased fonts in the editor.

Sorry to disturb you but have you the time for this problem?

Although it seems to differ slightly between the versions, none of them are correct. If you play the vob file directly the timing is correct.

When I play in 972 or the newest version the subtitles are much further off than for you. Also I see exactly the same thing in DirectVobSub, where the subtile time grows by 0.5 seconds. Could you post a screenshot with DirectVobSub enabled and its OSD showing?

screenshot

http://nsa07.casimages.com/img/2009/05/22/mini_090522124804888638.jpg (http://www.casimages.com/img.php?i=090522124804888638.jpg)

I try with directvobsub and it works like 972 and not like 1117


video captured by fraps with 972 and vobsub to display subtitles
http://www.zshare.net/info.html?60360755-771e34c88cafd4462a84002a7a202e12


If not I agree with you that if I play the vob file directly timing is correct (even with 1117) but if I use open dvd function and load sutbtile function with 972 transition between subtitles is smoother than with 1117 and i don't have the problem written above (subtitle that disappeared and then appeared anew)

GrofLuigi
23rd May 2009, 13:11
Forced subtitles are not displayed on my laptop with any renderer (standard ones + evr + haali). MPC-HC builds from www.xvidvideo.ru (1120 and several previous), + last from sourceforge mplayerc_homecinema_x86_v1.2.908.0 (didn't want to go further back until I get a hint on what's going on - whether others can reproduce).

Either playing from a physical DVD, folder, or virtual drive - when I activate* a stream consisting of forced subtitles only** the information bar then starts to display "Subtitles: ... (language)" but they are not displayed on video.

MPC-HC internal filters are used, no shaders, VSFilter is not in the graph. My configuration (http://forum.doom9.org/showthread.php?p=1267291#post1267291) (not hinting at lack of reply or, God forbid, bumping). :rolleyes:

I am 100% sure there is no hardware/software error in my OS configuration.

Will provide more info if necessary (just tell me what :)).

GL

* I think this is incorrect behavior of all MPC versions - forced subtitles are not activated by default. One has to go to menu Navigate > Subtitle Language > (the stream is ticked there, but has to be clicked on) Enable. This is different from all standalones and most software players. Forced should be forced IMO.

**Any stream of subtitles just converted to Forced with DVD Sub Edit. That is forced on any other player.

Px
23rd May 2009, 13:11
We'll talk again when you understand that "doesn't work" means "doesn't work properly" :rolleyes:
Ah, and what is not working properly? :rolleyes: DXVA in H264 is not supported by driver, not renderer
And you answer fully confirms what I write in previous post :D
Did you also update the dxva2.dll?
Yes

Here is a start:

To get EVR working(at its best) on XP, and to get DXVA 2 working on it you need to follow these steps:

DXVA2: install the latest driver, and use DXVAchecker to confirm support for DXVA2 for the codecs you intend to use.

After confirming, or when using EVR only in software mode follow the following steps:

-update windows
-install directx redist march 2009
-install .net 3.5 SP1
-Upgrade EVR.dll and DXVA2.dll to newest versions manually
As I remember, there is no need to install .net 3.5 SP1, you can simple copy needed EVR.dll and DXVA2.dll to Windows\System32 and register them with "Start" - "Run"
regsvr32 EVR.dll
regsvr32 DXVA2.dll

ForceX
23rd May 2009, 14:02
Well, I updated to the latest drivers, my resizer causing bad refresh rate detection problem is still persistent. :(

Beliyaal
23rd May 2009, 14:17
Well, I updated to the latest drivers, my resizer causing bad refresh rate detection problem is still persistent. :(

What is the draw time in statistics? If you enable "Wait for GPU flushes" what is you GPU time in statistics?

Phaser
23rd May 2009, 14:25
go to the rightclick menu, then renderer settings, then reset, then "reset to optimal defaults"

Tried to reset to optimal/default and all combinations for VSync but I still got tearing on VMR9 renderless...

tetsuo55
23rd May 2009, 15:15
Sorry to disturb you but have you the time for this problem?I think Beliyaal saw it the first time you posted that problem, i believe its also on the bug-tracker (where it belongs)
Forced subtitles are not displayed on my laptop with any renderer (standard ones + evr + haali). MPC-HC builds from www.xvidvideo.ru (1120 and several previous), + last from sourceforge mplayerc_homecinema_x86_v1.2.908.0 (didn't want to go further back until I get a hint on what's going on - whether others can reproduce).

Either playing from a physical DVD, folder, or virtual drive - when I activate* a stream consisting of forced subtitles only** the information bar then starts to display "Subtitles: ... (language)" but they are not displayed on video.

MPC-HC internal filters are used, no shaders, VSFilter is not in the graph. My configuration (http://forum.doom9.org/showthread.php?p=1267291#post1267291) (not hinting at lack of reply or, God forbid, bumping). :rolleyes:

I am 100% sure there is no hardware/software error in my OS configuration.

Will provide more info if necessary (just tell me what :)).

GL

* I think this is incorrect behavior of all MPC versions - forced subtitles are not activated by default. One has to go to menu Navigate > Subtitle Language > (the stream is ticked there, but has to be clicked on) Enable. This is different from all standalones and most software players. Forced should be forced IMO.

**Any stream of subtitles just converted to Forced with DVD Sub Edit. That is forced on any other player.Probably related to this bug, please confirm:
http://sourceforge.net/tracker/?func=detail&aid=2688444&group_id=170561&atid=854651

As I remember, there is no need to install .net 3.5 SP1, you can simple copy needed EVR.dll and DXVA2.dll to Windows\System32 and register them with "Start" - "Run"
regsvr32 EVR.dll
regsvr32 DXVA2.dllDo you get perfect playback without .net installed?
Well, I updated to the latest drivers, my resizer causing bad refresh rate detection problem is still persistent. :(

What is the draw time in statistics? If you enable "Wait for GPU flushes" what is you GPU time in statistics? please post a screenshot of the CTRL+J displayTried to reset to optimal/default and all combinations for VSync but I still got tearing on VMR9 renderless...Enable Wait for GPU flushes and post a screenshot of the CTRL+J display

ikarad
23rd May 2009, 16:08
I think Beliyaal saw it the first time you posted that problem, i believe its also on the bug-tracker (where it belongs)


I created the topic on bug tracker for this problem
https://sourceforge.net/tracker/?func=detail&aid=2795839&group_id=170561&atid=854651

that bug "might" be fixed with build 1115.

It's obvious that the vista dvd navigator is different from the XP one so it could be an unfixable bug :(

I try with 1120 and this problem isn't corrected

If I use vobsub or load subtitle function to display separated subtitles using opendvd fiunction, there is a delay about 1.6 seconds between voice and subtitle display.
under xp there is no delay.

Under vista load subtitle function is useless because we can't modify delay of subtitle display (I don't find the option under mpc-HC. although vobsub allows us to modify the delay), and it's a very big problem
https://sourceforge.net/tracker/?func=detail&aid=2449648&group_id=170561&atid=854651

ikarad
23rd May 2009, 16:34
I notice another problem.
Under vista MPC doesn't work with FRAPS since 1050

With 1043, it works and between 1050 and 1120 it doesn't work.


1043
http://nsa07.casimages.com/img/2009/05/23/mini_090523054050496104.jpg (http://www.casimages.com/img.php?i=090523054050496104.jpg)

1050
http://nsa07.casimages.com/img/2009/05/23/mini_090523054202920681.jpg (http://www.casimages.com/img.php?i=090523054202920681.jpg)

Under xp sp3, it works.

I use the last version of fraps 2.9.8

https://sourceforge.net/tracker/?func=detail&aid=2795842&group_id=170561&atid=854651

Casshern
23rd May 2009, 16:39
Here my rundown on issues iwith my 2600 AGP in WinXP and the new builds (and a bit of history of some stuff working now):

1) Since the "lock back buffer" options was removed in MPC HC, DXVA with VMR9 renderless (WIN XP) started to work. No more corruption and jumping frames.
2) Using VSYNC options doesn't yield any benefits with VMR9 but the GPU flush options are essential, or else the corruption returns
3) One can turn on all 3 GPU flush options, but i think only the first and the last are needed
4) Without GPU flushing and waiting enabled the VSYNC options exhibit tearing and the vsync offset does not seem to affect the tear position
5) With GPU flushing and waiting enabled, VSYNC options work, tear position can be adjusted (alternative vsync on). I did not get any difference to the same settings without vsync options
6) The minor occasional single frame judder i had with the inbuild h264 DXVA decoder and some bond scenes are gone when using the cyberlink DXVA h264 decoder. I can switch between decoders and reproduce the judder - i am at a loss what the MPC decoder does differently
7) With VC-1 DXVA material, on fade to blacks there is still a wierd bug (but not noticable if you do not stare at the stats screen - as the screen is black). For example on the BD of "any given sunday" during the credit sequence whenever theres a fade to black the frame rate is slowing down below 20 frames, judder shows on the jitter graph and the tearing bar judders. As soon as the black phase ends everything returns to normal. This is with or without shaders and both with evr cp (not as severe - the tearing bar just stops for a couple of frames) and vmr9 rl.
8) With the new versions (maybe even with the old beliyaal buiilds) sometimes with H264 MKV (also DXVA playback) severe judder starts out of nowhere and only pause play cures it - its not the usual critical vsync positions near the flip times, but it is more like 7 in that the detected frame rate drops suddenly. These mkvs are only 720p, so maybe during black scenes or easy to decode material, the decoder is to fast and something screws with the wait for GPU flush code?

What is the draw time in statistics? If you enable "Wait for GPU flushes" what is you GPU time in statistics?

tetsuo55
23rd May 2009, 16:50
I notice another problem.
Under vista MPC doesn't work with FRAPS since 1050

With 1043, it works and between 1050 and 1120 it doesn't work.
Under xp sp3, it works.

I use the last version of fraps 2.9.8

https://sourceforge.net/tracker/?func=detail&aid=2795842&group_id=170561&atid=854651Looks like a regression of the beliyaal mergeHere my rundown on issues iwith my 2600 AGP in WinXP and the new builds (and a bit of history of some stuff working now):

1) Since the "lock back buffer" options was removed in MPC HC, DXVA with VMR9 renderless (WIN XP) started to work. No more corruption and jumping frames.
2) Using VSYNC options doesn't yield any benefits with VMR9 but the GPU flush options are essential, or else the corruption returns
3) One can turn on all 3 GPU flush options, but i think only the first and the last are needed
4) Without GPU flushing and waiting enabled the VSYNC options exhibit tearing and the vsync offset does not seem to affect the tear position
5) With GPU flushing and waiting enabled, VSYNC options work, tear position can be adjusted (alternative vsync on). I did not get any difference to the same settings without vsync options
6) The minor occasional single frame judder i had with the inbuild h264 DXVA decoder and some bond scenes are gone when using the cyberlink DXVA h264 decoder. I can switch between decoders and reproduce the judder - i am at a loss what the MPC decoder does differently
7) With VC-1 DXVA material, on fade to blacks there is still a wierd bug (but not noticable if you do not stare at the stats screen - as the screen is black). For example on the BD of "any given sunday" during the credit sequence whenever theres a fade to black the frame rate is slowing down below 20 frames, judder shows on the jitter graph and the tearing bar judders. As soon as the black phase ends everything returns to normal. This is with or without shaders and both with evr cp (not as severe - the tearing bar just stops for a couple of frames) and vmr9 rl.
8) With the new versions (maybe even with the old beliyaal buiilds) sometimes with H264 MKV (also DXVA playback) severe judder starts out of nowhere and only pause play cures it - its not the usual critical vsync positions near the flip times, but it is more like 7 in that the detected frame rate drops suddenly. These mkvs are only 720p, so maybe during black scenes or easy to decode material, the decoder is to fast and something screws with the wait for GPU flush code?

I confirm this for my HD2400pro on both XP and windows7, however VC1 was broken for me in 1920x1080 resolution last time i checked. (and windows7 fixes all the other wierdness i was experiencing)

Phaser
23rd May 2009, 16:58
please post a screenshot of the CTRL+J displayEnable Wait for GPU flushes and post a screenshot of the CTRL+J display

Here's some screenshots:

- GPU Control - "Wait for flushes" - DISABLED:

http://img269.imageshack.us/img269/7126/withoutwaitforgpuflushe.th.jpg (http://img269.imageshack.us/img269/7126/withoutwaitforgpuflushe.jpg)


- GPU Control - "Wait for flushes" - ENABLED:

http://img269.imageshack.us/img269/8947/withwaitforgpuflushes.th.jpg (http://img269.imageshack.us/img269/8947/withwaitforgpuflushes.jpg)


With "Wait for GPU flushes" enabled, the tearing seems to be gone, but the VSync option have no effect (still works even if I disable all types of VSync).
I'm not sure what this option does exactly and if the VSync works properly this way.

Beliyaal
23rd May 2009, 17:06
With "Wait for GPU flushes" enabled, the tearing seems to be gone, but the VSync option have no effect (still works even if I disable all types of VSync).
I'm not sure what this option does exactly and if the VSync works properly this way.

The only time tearing is expected is if you turn off VSync with Alternative VSync enabled.

If you get no tearing in this case you might have forced VSync in the graphics drivers.

Maybe we should default to "Wait for GPU flush" enabled.

Why you started experiencing tearing in recent builds is probably because the BiCubic shader is more expensive now with 2pass disabled. I will try to reenable the 2pass shader that has half as many texture samplings and should provide roughly double the performance. But it might also be the shader math that is more expensive.

STaRGaZeR
23rd May 2009, 17:11
Ah, and what is not working properly? :rolleyes: DXVA in H264 is not supported by driver, not renderer

Who cares? It doesn't work as I said ;)

Brazil2
23rd May 2009, 17:34
you can simple copy needed EVR.dll and DXVA2.dll to Windows\System32 and register them with "Start" - "Run"
regsvr32 EVR.dll
regsvr32 DXVA2.dll
You may want to copy and to register evrprop.dll as well ;)

Brazil2
23rd May 2009, 17:37
There is a little bug with MPC-HC and VobSub subs embedded in MP4 (Nero can make and play these files).
According to GraphEdit/GraphStudio the subs are detected and played (using the internal built-in filter) but they don't appear on screen. I think they are displayed with transparent color and I have the feeling that's because of the multiple palette/alpha per packet.

Sample: http://www.zshare.net/download/60416018634d8e69

GrofLuigi
23rd May 2009, 17:52
Probably related to this bug, please confirm:
http://sourceforge.net/tracker/?func=detail&aid=2688444&group_id=170561&atid=854651
I think it is. How can I confirm? :confused: I don't have/know how to work with idx/sub files... :(

GL

mark0077
23rd May 2009, 20:25
Guys, Found a strange "bug". When the following three things come together I see the problem.

1) When using mpc-hc as an external player for things like xbmc or media center + media browser
and
2) When using fullscreen d3d mode and d3d fullscreen gui in evr-cp
then
3) When using the keyboard shortcut ALT+SPACE to navigate through DVD's.
then a small menu appears on the screen that allows things like Closing the window etc.

This menu only appears when mpc isn't loaded from a more standard method. The menu that appears is actually the menu that would appear if you right click the icon in the upper left hand corner of the mpc-hc window. Has anyone seen this before?

lxfmadman
23rd May 2009, 20:53
3) When using the keyboard shortcut ALT+SPACE to navigate through DVD's.
then a small menu appears on the screen that allows things like Closing the window etc.


well that shortcut is part of windows and is doing what it's supposed to do - should work on most windows. try for example alt + space + n -> minimize a window

Mercury_22
23rd May 2009, 20:54
@ casimir666
Can you PLEASE (if you have time) take a quick look at your changes from rev 1107 or 1108 to see what cause the Dolby TrueHD bug (Dolby TrueHD it's BROKEN with internal filters) (https://sourceforge.net/tracker/?func=detail&aid=2794828&group_id=170561&atid=854651) ?

mark0077
23rd May 2009, 20:59
well that shortcut is part of windows and is doing what it's supposed to do - should work on most windows. try for example alt + space + n -> minimize a window

I think if its a windows shortcut, then it shouldn't be a mpc-hc shortcut as they obviously clash in this case. Any opinions on this?

lxfmadman
23rd May 2009, 21:21
I think if its a windows shortcut, then it shouldn't be a mpc-hc shortcut as they obviously clash in this case. Any opinions on this?
well i agree
but it actually works:
press and hold alt and press space -> works
press alt, release alt and press space -> window menu

73ChargerFan
23rd May 2009, 21:54
Can we open up the wiki (http://apps.sourceforge.net/mediawiki/mpc-hc/index.php?title=Main_Page) to be edited by community? It is empty, and I'd like to help (not admin).

ADude
23rd May 2009, 22:05
Okay, as tetsuo55 suggested, I updated:
- VC2005
- VC2008
- DirectX
all from the links he supplied.
Then, I tried 1043 again, and no change, it works fine just as before.
Then, I tried 1120 again, and no change, meaning that once again, it adds tearing, stutter, loss of audio sync, dropped frames, and audio dropouts (plenty of all of the above in the first 60 seconds, so not a subtle difference).
I tried changing all of the Vsync setting, optimal, default, each off individually, Vsync off, flush off, etc. and no change.
Then I tried changing to Bilinear from Bicubic, and most of the problems went away. I think that with Bilinear, there might be some combinations of Vsync settings that works well.
So, whoever said "with 1043, it is not really using Bicubic even when Bicubic is selected", might be correct.
I checked CPU usage and it is never near 100% with any of the above.
The filters are Haali MKV splitter, CoreAVC Professional, SPDIFer (spdif version of AC3Filter).
PS My AC current is 60hz, is it possible that is why I have not seen any problems requiring a whole new vsync code base ?

73ChargerFan
23rd May 2009, 23:02
Question / suggestion about refresh rates.

My dlp rptv is always set for 60hz. So is my lcd monitor on my other computer. They never change.

Can mpc-hc simply remember that instead of having to figure it out every time?

73ChargerFan
23rd May 2009, 23:11
Windows XP MCE2005 SP3, all software updates
AMD 4600X2 on nVidia nforce4 mb, VERY FAST DDR memory
ATI 4850 pci-express, 9.3 driver
HP DLP rear projection TV always at 60hz, DVI connection

1080p on VMR9 always tears, I've tried lots of render options.
Internal splitter or Haali, .TS, .MKV, .M2TS, h264.

Why? Isn't my computer fast enough?
No other renderer allows me to use shaders.

btw, MPEG2 1080p files work fine, no tearing. ???

Casimir666
23rd May 2009, 23:12
Can we open up the wiki (http://apps.sourceforge.net/mediawiki/mpc-hc/index.php?title=Main_Page) to be edited by community? It is empty, and I'd like to help (not admin).

I have replace the MediaWiki by Wikispaces, and now it should be editable for everyone :
http://mpc-hc.wiki.sourceforge.net/

ADude
23rd May 2009, 23:53
Why? Isn't my computer fast enough?
No other renderer allows me to use shaders.

Out of curiosity, why do you want to use shaders when playing back video ?

Px
24th May 2009, 00:24
Do you get perfect playback without .net installed?
I don't check this way personally, only read about it in DVXA topic on other forum, but people doesn't write about any problems with that. I can made quick test, when got some free time, but not in near future :)
You may want to copy and to register evrprop.dll as well ;)
Yes :), but I don't find anything useful on that render properties pages :)
It doesn't work as I said ;)
Goodnight, lamer :D

ForceX
24th May 2009, 00:48
What is the draw time in statistics? If you enable "Wait for GPU flushes" what is you GPU time in statistics?
The draw time is mostly 2.something ms, rarely reaching 3. The GPU time is 2.something in default 100% zoom.

In 1093, using Bicubic resizer and maximize, the GPU time is 5 ms and Bilinear PS resizer is 2-3 ms.
For the same file, using Bicubis resizer in 1120 gives 17-ish ms and Bilinear PS gives 3-4 ms. Using just bilinear gives 1-2 ms GPU.

No custom shaders enabled. RGB32 output. So the new Bicubic resizer code is significantly more taxing on the GPU, not sure if that is the reason for the abnormal refresh rate detection.

Then, I tried 1043 again, and no change, it works fine just as before.
Then, I tried 1120 again, and no change, meaning that once again, it adds tearing, stutter, loss of audio sync, dropped frames, and audio dropouts (plenty of all of the above in the first 60 seconds, so not a subtle difference).
I tried changing all of the Vsync setting, optimal, default, each off individually, Vsync off, flush off, etc. and no change.
Then I tried changing to Bilinear from Bicubic, and most of the problems went away. I think that with Bilinear, there might be some combinations of Vsync settings that works well.

Your problem seems similar to mine. Can you ensure that your screen refresh rate is being detected properly?

ADude
24th May 2009, 01:34
Your problem seems similar to mine. Can you ensure that your screen refresh rate is being detected properly?
Being detected properly by what ?

Around here the AC power is 60 hz, the LCD refresh rate is 60 hz and most of the TV is 60 fps.

PS I tried the new sync display. With "Vsync" unchecked in the Renderer settings, other settings will change the graph. There is no documentation on the graph, but perhaps it is just showing what the code would do if it is turned on ? I am assuming that unchecking "Vsync" in the Renderer settings turns off all of MPC-HC's Vsync code and allows the graphic card drivers to do the sync in whatever manner they have been set to do - is that correct ? There are different graph results with the 4 different combinations of "Vsync" and "Alternate Vsync" checked, for example.

If you get no tearing in this case you might have forced VSync in the graphics drivers.

And why should that not be fine ? Is all this code only for graphics drivers that do not work correctly ?

ForceX
24th May 2009, 03:17
AC power has nothing to do with refresh rate.

When playing a video using EVR CP, Enable VSync, Accurate Vsync and Alternative VSync along with Wait for flushes. Maximize your player window, press Ctrl and J; at the left, you'll see a label named "Refresh rate" which should report some changing number, like 60.01234 Hz. Look at it for a minute and see if remains stable while the video plays.

STaRGaZeR
24th May 2009, 03:29
Since the refresh rate and SL detection doesn't work as it should for lots of people, how about an option for forcing our personal refresh rate/SL?

nijiko
24th May 2009, 04:23
Problem with Gabest's AVI splitter

Last time, I reported some AVI files can't be played correctly.
Some peoples said it's about I have no decoders.
This time, I confirm the peoblem is about Gabest's AVI splitter.

The pics attached, they are all played in MPC-HC.
Diffs. is only the splitter.

System:
http://forum.doom9.org/attachment.php?attachmentid=9874&d=1241934173

Gabest:
http://forum.doom9.org/attachment.php?attachmentid=9875&d=1241934184

Sorry. I had a long time to not surf online.
I found, in new version, some one try to fix this problem.
But now MPC with VMR9 can't play RGB555 RAW format at all.
No output.
Filter is Color Convert Space.
Test on rev1111.

Also through ffdshow, the video output is WRONG like before.
(Just system AVI filter is right, Gabest's is wrong.)

tetsuo55
24th May 2009, 10:13
I think it is. How can I confirm? :confused: I don't have/know how to work with idx/sub files... :(

GLThat's too bad, i don't have or use those file either. Well you can at least update that bug report with your problem.
@ casimir666
Can you PLEASE (if you have time) take a quick look at your changes from rev 1107 or 1108 to see what cause the Dolby TrueHD bug (Dolby TrueHD it's BROKEN with internal filters) (https://sourceforge.net/tracker/?func=detail&aid=2794828&group_id=170561&atid=854651) ?The bug looks like a regression caused by the renaming of audio type's, it seems some other part of the rendering chain is expecting the typo'd TrueHD name.

Okay, as tetsuo55 suggested, I updated:
- VC2005
- VC2008
- DirectX
all from the links he supplied.
Then, I tried 1043 again, and no change, it works fine just as before.
Then, I tried 1120 again, and no change, meaning that once again, it adds tearing, stutter, loss of audio sync, dropped frames, and audio dropouts (plenty of all of the above in the first 60 seconds, so not a subtle difference).
I tried changing all of the Vsync setting, optimal, default, each off individually, Vsync off, flush off, etc. and no change.
Then I tried changing to Bilinear from Bicubic, and most of the problems went away. I think that with Bilinear, there might be some combinations of Vsync settings that works well.
So, whoever said "with 1043, it is not really using Bicubic even when Bicubic is selected", might be correct.
I checked CPU usage and it is never near 100% with any of the above.
The filters are Haali MKV splitter, CoreAVC Professional, SPDIFer (spdif version of AC3Filter).
PS My AC current is 60hz, is it possible that is why I have not seen any problems requiring a whole new vsync code base ? currenct doesn't matter anymore with digital media and devices.
It's pretty clear now that the bicubic resizer uses about 3x more GPU than it used to, Beliyaal is looking into a way to lower the GPU usage. For now you will have to use the bilinear resizer.
Question / suggestion about refresh rates.

My dlp rptv is always set for 60hz. So is my lcd monitor on my other computer. They never change.

Can mpc-hc simply remember that instead of having to figure it out every time?It's not that simple, refresh rate occilates slightly and is never exactly 60hz, also depending on what the computer is doing in the background timings can drift even more.

Windows XP MCE2005 SP3, all software updates
AMD 4600X2 on nVidia nforce4 mb, VERY FAST DDR memory
ATI 4850 pci-express, 9.3 driver
HP DLP rear projection TV always at 60hz, DVI connection

1080p on VMR9 always tears, I've tried lots of render options.
Internal splitter or Haali, .TS, .MKV, .M2TS, h264.

Why? Isn't my computer fast enough?
No other renderer allows me to use shaders.

btw, MPEG2 1080p files work fine, no tearing. ???Try resetting the renderer settings to optimal defaults, and use bilinear instead of bicubic resizer.
Also CAT9.5 fixes a lot of problems like these
The draw time is mostly 2.something ms, rarely reaching 3. The GPU time is 2.something in default 100% zoom.

In 1093, using Bicubic resizer and maximize, the GPU time is 5 ms and Bilinear PS resizer is 2-3 ms.
For the same file, using Bicubis resizer in 1120 gives 17-ish ms and Bilinear PS gives 3-4 ms. Using just bilinear gives 1-2 ms GPU.

No custom shaders enabled. RGB32 output. So the new Bicubic resizer code is significantly more taxing on the GPU, not sure if that is the reason for the abnormal refresh rate detection.


Your problem seems similar to mine. Can you ensure that your screen refresh rate is being detected properly?That confirms what Beliyaal said, the fixed bicubic resizer uses about 3x more GPU than the broken one, he is working on simplifing it so it uses less GPU, ideally some Shader expert should have a look at the code to make it faster.
And why should that not be fine ? Is all this code only for graphics drivers that do not work correctly ?All manufacturers use a slightly different approach making it difficult to find a way that works for everyone, the current code is the best way we could get it. However it appears madshi has found a better way to detect it, maybe he will share this method with us is we ask him nicely?(MadVR is closed source)
Since the refresh rate and SL detection doesn't work as it should for lots of people, how about an option for forcing our personal refresh rate/SL?Forcing just makes things worse, because refresh rate changes constantly by a slight margin.MadVR proves it can be done, but i'm not 100% sure if his method will work with VMR and EVR too, (that's assuming he will share the method if we ask nicely)

tetsuo55
24th May 2009, 11:16
Why not start from scratch and write a PS 3.0 bicubic resizer? PS 3.0 is more flexible and allows more instructions to be used rather than limiting yourself to PS 2.0's 96 instruction limit.

Most people these days have minimum Shader Model 3.0 cards anyway(Geforce 6 (2004-2005), Geforce 7 (2005-2006), Radeon X1xxx (2005-2006)) or DX10 GPUs with more powerful shader units, in fact that seems to be most common these days anyway because everyone wants to use DXVA for H.264 decoding and only DX10 GPUs have bitstream decoding.

Those with legacy PS 2.0/2.0a/2.0b GPUs can stick with the older PS2.0 bicubic resizers or upgrade to newer hardware.Or a dual codepath would be even better, defaults to 3.0 and uses 2.0 only when 3.0 is not supported(like half-life2)

Mercury_22
24th May 2009, 12:26
Revision 1125 - Directory Listing
Modified Sun May 24 10:59:10 2009 UTC (23 minutes, 5 seconds ago) by casimir666
Fixed : True HD decoder broken in rev 1108

:thanks:

I'll test it as soon as alexins will compile a new version .:D

tetsuo55
24th May 2009, 12:33
DXVA Checker 2.0.0.0 released.

http://bluesky23.hp.infoseek.co.jp/

http://bluesky23.hp.infoseek.co.jp/dxvac/DXVAChecker_2.0.0.0.zip

Does anyone know if there is any way to get WMV acceleration working with ATI under Vista/Windows 7??:thanks:

I'll test it as soon as alexins will compile a new version .:Dwow that fix was far more complicated than i thought, i cannot image that being a simple regression, almost makes you wonder how it ever worked

Casimir666
24th May 2009, 13:56
Does anyone know if there is any way to get WMV acceleration working with ATI under Vista/Windows 7??wow that fix was far more complicated than i thought, i cannot image that being a simple regression, almost makes you wonder how it ever worked

It works because before there wasn't difference between MLP and True HD in ffmpeg ;-)

mariner
24th May 2009, 14:05
Greetings Casimir.

Did you get a chance to read my earlier post. Any idea why the combination of internal mp4 splitter/H264 decoder it is not working?

Thanks and best regards.

Greetings Beliyaal.

1920x1080@60P H264/AAC .mp4 file playback still broken using internal mp4 splitter and DXVA decoder. Black screen with only audio.

The last build that works is 1043.

Here's a sample:

http://www.sanyo-dsc.com/products/lineup/dmx_hd2000/img/sample/movie_sample_hd2000_01.zip

STaRGaZeR
24th May 2009, 14:32
Forcing just makes things worse, because refresh rate changes constantly by a slight margin.MadVR proves it can be done, but i'm not 100% sure if his method will work with VMR and EVR too, (that's assuming he will share the method if we ask nicely)

Can't be worse than random values.

Casimir666
24th May 2009, 14:54
Greetings Casimir.

Did you get a chance to read my earlier post. Any idea why the combination of internal mp4 splitter/H264 decoder it is not working?

Thanks and best regards.

Sorry it's more complicated than a transparency problem, this bug will not be fixed for the moment.

mariner
24th May 2009, 15:26
Many thanks for the kind reply, Casimir.

If you have the time, would you also look into a related problem: the internal h264 decoder seems to have problem working with third party splitter apart from Haali's, causing the program to crash.

Best regards.