Log in

View Full Version : madVR - high quality video renderer (GPU assisted)


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 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329

madshi
24th October 2011, 17:45
madshi, there's a typo in OSD. It says "limited range (says bistream)" instead of bitstream.
Thanks, fixed.

Unfortunately it supports nothing besides 60Hz, or I would have tried. It's an 32" LCD TV with an analogue VGA (RGB) input, I watch everything video related there. It used to have HDMI, but the inputs failed at some point and it's out of warranty for years now. I want to replace it but cannot afford it really, recession...
To be honest, I'm not sure about the "magnitude" of the judder you're seeing. It could be a real problem caused by a bug in madVR or a bug in the GPU drivers. But it could also be just the result of the fact that madVR is not yet optimized for 24fps @ 60Hz playback. I would have to see it with my own eyes to judge that, I guess. Since you did managed to get smooth 30fps @ 60Hz playback, my best guess is that the problem you're seeing will go away once I spend some time to optimize 24fps @ 60Hz. Actually after I did that, madVR should be much smoother than any other renderer with 24fps @ 60Hz. But I don't know when exactly I'll find time for that. I've so many other important things on my to do list.

Yes I'm using exclusive mode.

Here are 4 logs file
Thanks. I've seen 2 weird things in the logs:

(1) madVR does some funny things, which I think I've now fixed in my sources. So the next madVR build might already solve the problem for you. Or maybe not.

(2) The splitter you're using ("AVI Splitter") creates very bad timestamps. Practically there are always 2 frames which have identical timestamps. That makes it difficult for madVR to achieve smooth motion. madVR tries, and fails, which I might have just fixed (see (1)). But ideally the splitter should not create such bad timestamps.

having some issue with Nvidia GT 550M with Optimus.

when used with MPC-HC v1.5.2.3456 or PotPlayer v1.5.29917, after a while video will freeze but audio continue.

When used with intergrated Intel HD 3000, playback is error free.
A freeze is weird. I'd suggest to try updating to the latest MPC-HC/PotPlayer versions, just to be safe. Then it might make sense to reset the madVR options to default. Furthermore make sure you that you've disabled (or set to application preference) anisotropic filtering and anti-aliasing in your GPU settings. Finally, make sure your GPU clocks don't jump around during playback and try without Reclock, just as a test.

The glitches never were a problem on the old exclusive mode, and everything was running perfectly fine as well. People also reported that going back to it solves their problem (in the case when glitches are actually visible).
The old exclusive mode worked well for many people, but not for all. The new one should in theory be much better, but practically it isn't for some people, while it is for others. Personally, the old exclusive mode never worked well on my NVidia 9400 HTPC when playing back 25fps @ 50Hz, while I can get the new one work well (with special settings).

So maybe its also doing something that is not "normal" for a "game" to do?
Actually the old exclusive mode is less like what games do than the new one. The new one does in large parts do what games do. However, madVR doesn't use double buffering or triple buffering, but instead 8-times-buffering (by default). Games don't do that. You can simulate double-buffering or triple-buffering by settings the number of pre-rendered frames to 2 or 3 and by disabling all exclusive mode tweak options. That way madVR should behave quite similar to a game. All the tweak options move madVR away from what a game usually does.

HeadlessCow
24th October 2011, 17:59
Why upscale it ?
Let it at 20 in window mode, and 20 in Full Screen.


If you just do that, anything that is positioned over the video (like a sign), will not look correct.

sneaker_ger
24th October 2011, 18:15
New nVidia WHQL drivers are up! Working great with mpc-hc + lav filters + madvr.

http://www.nvidia.com/object/win7-winvista-64bit-285.62-whql-driver.html

Did they fix any issue you were having with the previous driver?

6233638
24th October 2011, 18:20
OK, with the new 285.62 WHQL drivers, things may have been fixed.
I was definitely seeing less presentation glitches than with the betas without making any changes. (there definitely seems to have been more with most beta drivers I've tried)

EDIT: Nope, didn't work, still glitching.

I need to do longer testing to be sure though, and want to see if all of those settings are necessary.
"run presentation in a separate thread" did not have any benefit previously (may actually have been detrimental) but seems to have helped this time.

I wish things weren't so tempermental.

madshi
24th October 2011, 18:36
madVR v0.77 released

http://madshi.net/madVR.zip

* added support for ffmpeg/libav h264 4:2:2 decoding
* optimized ffmpeg/libav compiling options
* fixed: madVR disliked getting 2 frames with identical timecodes all the time
* modified autodetect priorities slightly

cca
24th October 2011, 19:15
To be honest, I'm not sure about the "magnitude" of the judder you're seeing. It could be a real problem caused by a bug in madVR or a bug in the GPU drivers. But it could also be just the result of the fact that madVR is not yet optimized for 24fps @ 60Hz playback. I would have to see it with my own eyes to judge that, I guess. Since you did managed to get smooth 30fps @ 60Hz playback, my best guess is that the problem you're seeing will go away once I spend some time to optimize 24fps @ 60Hz. Actually after I did that, madVR should be much smoother than any other renderer with 24fps @ 60Hz. But I don't know when exactly I'll find time for that. I've so many other important things on my to do list.


Patience is one thing that I do have, I'll test it when the time comes.

Peuj
24th October 2011, 19:48
Thanks. I've seen 2 weird things in the logs:

(1) madVR does some funny things, which I think I've now fixed in my sources. So the next madVR build might already solve the problem for you. Or maybe not.

(2) The splitter you're using ("AVI Splitter") creates very bad timestamps. Practically there are always 2 frames which have identical timestamps. That makes it difficult for madVR to achieve smooth motion. madVR tries, and fails, which I might have just fixed (see (1)). But ideally the splitter should not create such bad timestamps.

Thanks madshi.

I didn't test the new version yet but just to say about the "2 frames" problem, it's most probably due to an option in PotPlayer called "Motion Blur".
If you want to make some tests it's under Preference=>Video=>Video Processing: Motion Blur.

Budtz
24th October 2011, 19:50
* fixed: madVR disliked getting 2 frames with identical timecodes all the time
* modified autodetect priorities slightly

What does these two points do?

whitestar999
24th October 2011, 20:02
@peuj,disable all video post processing options in potplayer & then see if it helps with madvr.personally i prefer ffdshow raw filter for post processing instead of using pot player's internal ones.

nevcairiel
24th October 2011, 20:36
OK, with the new 285.62 WHQL drivers, things may have been fixed.

Things definitely changed, i needed to tweak my settings some.
"Limit rendering times to avoid glitches" is now off, however i had to set "flush & wait (sleep)" for ".. after D3D presentation".
This is combined with 12 buffers and "use separate device for presentation"

Running strong both for 24@24 and 25@50.

gerhard.kiels
24th October 2011, 21:19
Good day to you all! I couldn't find this mentioned anywhere else no matter how hard I tried, so here it goes:

I would like to report an inconvenience bug:

I use madVR v0.77 in mpc homecinema v1.5.2.3456.

Whenever I set "use 10bit chroma/luma buffer instead of 16bit" in the "trade quality for performance" tab in madvr options, I get a periodically flashing OSD message that says "madVR reports: creating 10bit render texture failed, used 8bit instead".

Now, about the fact that madVR uses 8bit instead of 10bit - I couldn't care less, because my eyes can't tell the difference. What bothers me is that it constantly flashes on the screen! What I mean by that is that when I press "ctrl+j" i get that OSD message displayed all the time in the upper left side corner of the screen (whitch is unaccaptable while watching anything), and when I turn off the OSD by pressing the same "ctrl+j" again it disappears only to start periodically flashing on the screen. It's like disappearing, displaying and then disappearing again 2 times a second, then it disappears for like 40 seconds and then starts flashing again 2 times a second (these are only estimates). Sometimes it helps to press "ctrl+j" twice to remove the flashing, but every time it comes back after a while. And just to clarify: I use these options because I have an old system with a poor Geforce 7 7600GS, whitch can't handle 720p videos in 16bit processing modes. Besause of that I do appreciate the existence of those options very much.

On top of that, I can't see the actual stats that the OSD should show when I press "ctrl+j" - only that message is displayed.

So I would like to ask: is that message so important? Can't it simply be removed or moved to only the debug-version?

Other than that - a really splendid renderer!

madshi
24th October 2011, 21:42
Patience is one thing that I do have, I'll test it when the time comes.
Good. Just check back every couple of weeks/months. Sooner or later I hope to get special support in for 24fps @ 60Hz.

* fixed: madVR disliked getting 2 frames with identical timecodes all the time
* modified autodetect priorities slightly

What does these two points do?
Nothing but 2 small bug fixes, which you shouldn't notice, unless you had these exact specific problems before.

Things definitely changed, i needed to tweak my settings some.
"Limit rendering times to avoid glitches" is now off, however i had to set "flush & wait (sleep)" for ".. after D3D presentation".
This is combined with 12 buffers and "use separate device for presentation"
Interesting. I'm really wondering why different driver versions need different madVR settings. I guess I should finally post a proper bug report to NVidia with some source code.

Whenever I set "use 10bit chroma/luma buffer instead of 16bit" in the "trade quality for performance" tab in madvr options, I get a periodically flashing OSD message that says "madVR reports: creating 10bit render texture failed, used 8bit instead".

Now, about the fact that madVR uses 8bit instead of 10bit - I couldn't care less, because my eyes can't tell the difference. What bothers me is that it constantly flashes on the screen!
I understand. Haven't seen a GPU yet which couldn't do 10bit textures. Have you tried updating to the latest drivers for your GPU? There should be a visible difference at least with test patterns. 8bit is really too low to avoid banding in certain situations. But I understand that the madVR message doesn't make much sense. I mean either madVR supports 8bit textures or it doesn't. If it does, you should be able to use it that way. However, I at least wanted to let the user (you) know that something isn't as it should be. Oh well.

gerhard.kiels
24th October 2011, 21:50
@madshi

Yes, I always have the latest version of drivers installed (in fact, today I installed Forceware version 285.58). I run windows XP, and weather I enable or disable "use managed upload textures" has no effect on the phenomenon. Could it be that because my graphics card is in an AGP socket it can't do 10-bit textures?

Can you remove the message then nonetheless?

Plutotype
25th October 2011, 00:33
Hi,
I have the latest versions of MPC-HC 3794, LAVfilters 0.38RC, Reclock and madVR 0.77. With following video file I experience dropped frames and can not find the cause for this. The frames are dropping because the present que is not stable. If I have buffer set to 12 ( exclusive mode ), the present que goes from 10-11 to 0 and at that moment it causes frames to drop:
http://www.mediafire.com/?1rja6beiptppzq8

What makes this video file special that it causes madVR to drop frames in my setup?

Thanks for help.

Gary.M
25th October 2011, 02:19
I've updated to the new Nvidia driver, and latest madVR, and under Jriver 16 I still have the presentation glitches...

Nevcairiel could you list exactly all the settings you're now using? My usage is almost exclusively PAL 25 fps on a 50Hz projector. I have resorted to the old presentation path at the moment as is "seems" to not glitch.

I also have ordered an AMD 6670 to see if the "other side" can deliver the glitch free playback I am looking for.

Things definitely changed, i needed to tweak my settings some.
"Limit rendering times to avoid glitches" is now off, however i had to set "flush & wait (sleep)" for ".. after D3D presentation".
This is combined with 12 buffers and "use separate device for presentation"

Running strong both for 24@24 and 25@50.

06_taro
25th October 2011, 02:54
Crash when decoding 10-bit 4:2:2 AVC using madVR's internal libav decoder, LAV Video decoder (outputs P210) and madVR's renderer plays fine.

Crash decoding environment:
mpc-hc 1.5.3.3755 xvidvideo BEmod x86
LAV Splitter git-r1380(be78b9e) ( can be downloaded here (http://forum.doom9.org/showthread.php?p=1533936#post1533936) )
madVR 0.77 internal libav decoder and renderer
Windows 7 SP 1 x64 Ultimate

8-bit 4:2:2 works fine with madVR's internal libav decoder.

cyberbeing
25th October 2011, 04:15
Haven't seen a GPU yet which couldn't do 10bit textures.
Sure you have, my 7800 GTX 512 is unable to do 10bit textures with madVR, and I've told you that a few times before. gerhard.kiels has a Geforce 7600GS, another NVIDIA 7-series card, so it's unsurprising that he can't get it working either.

Edit: I found the info below in an NVIDIA PDF for reference.
http://img822.imageshack.us/img822/9649/fmtlimits7series.png (http://developer.download.nvidia.com/GPU_Programming_Guide/GPU_Programming_Guide.pdf)

madshi
25th October 2011, 09:02
Can you remove the message then nonetheless?
Will do. Or maybe replace it with a one-time-only (and self removing) warning.

What makes this video file special that it causes madVR to drop frames in my setup?
The sample runs fine on my HTPC (XPSP3, Radeon 6850). You can upload a log, maybe I can see something.

Crash when decoding 10-bit 4:2:2 AVC using madVR's internal libav decoder, LAV Video decoder (outputs P210) and madVR's renderer plays fine.
Do you have a sample for me? That would be great, I don't have a 10bit 4:2:2 file here. Thanks!

Sure you have, my 7800 GTX 512 is unable to do 10bit textures with madVR, and I've told you that a few times before.
I don't remember. But your GPU is fast enough to use 16bit textures, right? Probably that's why it didn't stick with me that your GPU can't do 10bit.

The Seeker
25th October 2011, 11:00
Is it okay to install new versions over the top, or I do have to uninstall the old version first?

madshi
25th October 2011, 11:07
In most cases you can even simply replace the files without having to reinstall at all. If you do feel the need to install, it might make sense to also uninstall first, but neither is usually needed.

cyberbeing
25th October 2011, 11:18
I don't remember. But your GPU is fast enough to use 16bit textures, right? Probably that's why it didn't stick with me that your GPU can't do 10bit.
Well since the last time I told you was probably back when you first added the checkbox for 10bit textures (a long time ago...), I don't blame you for not remembering. I've been using madVR happily for a long time now, so I'd 16-bit textures work well enough. That said, I've never even considered ever using madVR with 8-bit textures as a valid option because you were strongly against it for quality reasons, and it meant a big fat red warning was on the screen permanently.

If you've had a change of heart and are willing to make the 8-bit textures setting usable (with OSD stats), I'd be interested to see if there was any significant performance gain to be had with heavy duty processing.

Will do. Or maybe replace it with a one-time-only (and self removing) warning.
Why not make it simpler and just add a drop-down box to choose between 10-bit and 8-bit buffers for those two settings? It doesn't make any sense to have a temporary warning, since it could lead people to believe 10-bit textures are actually working when they're not.

On another note, ever since you added those extra stats to the OSD, it's now 4 lines too tall to display at 360p. Since that is the smallest size I'd ever want to read stats at, hopefully you don't mind fixing it. A) shrink the font, B) put the least important stats on the very bottom, C) scale the OSD to resolution, and/or D) change the OSD to double column from single column.

The Seeker
25th October 2011, 12:34
In most cases you can even simply replace the files without having to reinstall at all. If you do feel the need to install, it might make sense to also uninstall first, but neither is usually needed.

Thanks mate. Thanks also for madVR itself, it's really something else.

6233638
25th October 2011, 14:27
Update: This is fixed for me now, have spent more time testing and haven't encountered a single presentation glitch. :D
----------

OK, I think I may have my presentation glitch problems sorted, though I've only played back two videos that are just over 40 minutes long, so far.

What I did earlier today, to see if this was actually a Nvidia driver issue, or if it was possibly something introduced with newer versions of madVR, was to go back to v0.60

Why 0.60? It was the first version where I could get glitch-free playback on my GTX 570, thanks to the addition of the "limit rendering times to avoid glitches" option.

So I reset to the defaults, and ran v0.60 with the settings from that post.

Perfect playback.


Some time between then and now, those settings "broke" and I could no longer get glitch-free playback, which resulted in me trying most combinations of settings without any luck, and deciding to leave for a while. Most of my playback at the time was 24p@24Hz which was fine, but recently I've been watching a lot more 30p@60Hz content.

Today, with the 285.62 drivers and madVR 0.77, I seem to have glitch-free playback again.

The only change from the default settings, is upping the present queue to 16 and enabling "limit rendering times to avoid glitches", all the other rendering settings have been left alone.

I am using my preferred scaling settings, and 3DLUTs/Gamma correction as well, which seems to be working fine.

Things definitely changed, i needed to tweak my settings some.
"Limit rendering times to avoid glitches" is now off, however i had to set "flush & wait (sleep)" for ".. after D3D presentation".
This is combined with 12 buffers and "use separate device for presentation"It's strange that your settings are always so different from mine. When I try out your flush options, the present queue drops to 0–2 and I get a lot of glitches.

It must be a generational thing. (I suspected as much, as settings that worked fine on my 9400 did not work at all on my GTX570)

nevcairiel
25th October 2011, 14:43
It's strange that your settings are always so different from mine. When I try out your flush options, the present queue drops to 0–2 and I get a lot of glitches.

It must be a generational thing. (I suspected as much, as settings that worked fine on my 9400 did not work at all on my GTX570)

My settings are always against a GTS450. I also have a GTX570 in my main PC, however i don't use it for video watching, and therefor never really bothered with checking its madVR behaviour.
The funny thing is, before this latest WHQL version, that flush mode also caused the queue drop and lots of glitches, but now its perfect playback with full queues.

SamuriHL
25th October 2011, 14:47
My settings are always against a GTS450. I also have a GTX570 in my main PC, however i don't use it for video watching, and therefor never really bothered with checking its madVR behaviour.
The funny thing is, before this latest WHQL version, that flush mode also caused the queue drop and lots of glitches, but now its perfect playback with full queues.

I didn't get a chance to try it on my 450 last night. Will hopefully do so today.

jovovick
25th October 2011, 15:20
A freeze is weird. I'd suggest to try updating to the latest MPC-HC/PotPlayer versions, just to be safe. Then it might make sense to reset the madVR options to default. Furthermore make sure you that you've disabled (or set to application preference) anisotropic filtering and anti-aliasing in your GPU settings. Finally, make sure your GPU clocks don't jump around during playback and try without Reclock, just as a test.



i tried MPC-HC_r3792_x86, and using MadVr 0.77, with Nvidia notebook driver 280.26.

anisotropic and anti-aliasing is disabled, and not using Reclock.

The freeze still occurs, i think it is not caused the movie file, as the point where it freezes, might not freeze again when reopen the video file.

vivan
25th October 2011, 15:50
Same problem that jovovick has (video freezes after some time (about 60-90 seconds) when using nVidia card on Optimus system).
Updated to 285.62 nVidia notebook driver... Problem still occurs. Plus now it's impossible to use discrete graphics (choice is disabled) for mpc-hc.exe, so I had to rename exe file in order to use it.
Seems that problem is in Optimus...

06_taro
25th October 2011, 16:56
10-bit 4:2:2 sample:
BBB422p10-rr3.rar (http://www.mediafire.com/file/3n64vyvlrqduhg1/BBB422p10-rr3.rar)

Plutotype
25th October 2011, 18:37
The sample runs fine on my HTPC (XPSP3, Radeon 6850). You can upload a log, maybe I can see something.


Hi madshi,

The issue with my dropped frames is not related only to the video I posted. Today I watched other videos, there were 10-15 dropped frames. Again I have everything up to date: MPC-HC 3794, LAVfilters 0.38RC, Reclock 1.8.7.7. and madVR 0.77.

Here you can find a log for the same video I posted here.
I installed the same SW setup on different computer with HD6570 (fresh win7 install ), also 11.9 Catalyst and the result was the same also there. Even under 24p setup.

Excl. mode HD5670, 3 frames in advance:
http://www.mediafire.com/?yeepbtt836xwt31

Eclusive mode HD5670, 8frames in advance:
http://www.mediafire.com/?399sz3d2q56fx3t

Increasing to presenting 16 frames in advance under exclusive mode does not help. What can you see in the log please?

Thanks
Pluto

EDIT: PROBABLY FOUND THE CAUSE. As frame dropping occured on different hardware but with Catalyst 11.9, tried uninstall them, cleaned the registry via Driver Sweeper and installed 11.10 RC3. With 8 pre-frames set, the presentation que stays 8-8 or 7-8 and keeps these levels. Every frame drop stat is back to almost 2hours ( was 2-6 minutes when the frames dropped with 11.9 ). I remember - both installations of CCC 11.9 on both computers failed on installing Microsoft Visual C++ 2010 Redistributable package. 11.10 RC3 not. Maybe somebody will know more about this issue.

EDIT2 False alarm, the updated CCC driver didnt solve the issue, the frames are still dropping. On 24p Bravia, HD6570 via Yamaha receiver ( no processing ), 1080p23 = one frame drop in 5-6 minutes. 8 frames present que. The weird thing is, if I set 16 frames for exclusive mode, Presentation que stays max on 6-7. GPU max load (GPU-Z) 35percent, CPU i5 25percent at peak.
Flush
Flush and Wait (sleep )
Dont flush
Dont flush

HD6570 ( different computer ), log with 2 dropped frames in approximately 10 minutes of video: http://www.mediafire.com/download.php?b60u90yxo6u80ss

dansrfe
25th October 2011, 20:31
Hi madshi,

I'm having a similar issue to Plutotype yet I can't figure out why. 8 frames queue limit on decoder, upload, render, and backbuffer. About 2-3 frames drop every 10-15 seconds. Some frames are also delayed. I'm not sure if it is for this specific file I;m playing or it happens on other files as well.

I've uploaded a log for you to check out the problem.

http://www.sendspace.com/file/5kz8zd

Mikey2
25th October 2011, 21:35
I was reading an updated version of one of my favorite HTPC configuration GUIDES (http://www.homecinema-hd.com/ffdshow-video-avisynth_en.html)

and it is now updated to suggest to upscale 720P material in aviSynth (spline64resize function) instead of in madVR so that the aviSynth function LimitedSharpenFaster can correctly perform the sharpening on the upscaled material. I completely understand the reasoning behind this; however, what is your opinion on the benefits of this vs. the quality of the madVR upscaler (which I still find to be unsurpassed, including aviSynth-scripts...)

[Note: the aforementioned script takes a lot of CPU processing power; however, since I have a very fast machine and am going for the absolute best quality, for the purposes of this question let's just assume that we have limitless CPU and GPU power...]

Thanks much!

pirlouy
25th October 2011, 22:00
@Dansrfe: Strange, you know how to register on a forum and write posts, but you haven't heard of ZIP stuff ! o_O

dansrfe
25th October 2011, 22:59
@Dansrfe: Strange, you know how to register on a forum and write posts, but you haven't heard of ZIP stuff ! o_O

I want to hit myself on the head now.... :o

Link updated and about 20 times smaller now.

THX-UltraII
26th October 2011, 14:27
Just sold my ATI HD5450 and bought a NVIDIA GTX 460 card to be able to use CUVID in LAV Video decoder.

First thing I just noticed is that madVR reports a display refrash rate of 23,971xx (NVIDIA 23Hz setting) while madVR reported a display rate of 23,975xx which is far more close to EXACTLY 23,976 which it should be ideally.

Do you guys also get 23,971xx reported by madVR and if so, will this result in far more dropped frames during a movie? With my ATI 5450 I got about 1-3 dropped frames during a 2-3 hour movie which was pretty satisfying to me.

nand chan
26th October 2011, 14:33
I was reading an updated version of one of my favorite HTPC configuration GUIDES (http://www.homecinema-hd.com/ffdshow-video-avisynth_en.html)

and it is now updated to suggest to upscale 720P material in aviSynth (spline64resize function) instead of in madVR so that the aviSynth function LimitedSharpenFaster can correctly perform the sharpening on the upscaled material. I completely understand the reasoning behind this; however, what is your opinion on the benefits of this vs. the quality of the madVR upscaler (which I still find to be unsurpassed, including aviSynth-scripts...)

[Note: the aforementioned script takes a lot of CPU processing power; however, since I have a very fast machine and am going for the absolute best quality, for the purposes of this question let's just assume that we have limitless CPU and GPU power...]

Thanks much!

Avisynth is limited to 8-bit precision, unless you some functions with specific workarounds (eg. flash3kyuu), but the internal resize functions and limitedsharpenfaster will produce 8-bit results, which is horrible in precision compared to the 16-bit madVR uses.

madVR's upscaling will produce much, much nicer results than anything you will be able to get from avisynth scripts. As an alternative work-around, you could try using EVR-CP and implement your own pixel shaders for upscaling and sharpening, which EVR-CP will support using on 16-bit or 32-bit floating point textures.

Andy o
26th October 2011, 15:49
Just sold my ATI HD5450 and bought a NVIDIA GTX 460 card to be able to use CUVID in LAV Video decoder.

First thing I just noticed is that madVR reports a display refrash rate of 23,971xx (NVIDIA 23Hz setting) while madVR reported a display rate of 23,975xx which is far more close to EXACTLY 23,976 which it should be ideally.

Do you guys also get 23,971xx reported by madVR and if so, will this result in far more dropped frames during a movie? With my ATI 5450 I got about 1-3 dropped frames during a 2-3 hour movie which was pretty satisfying to me.

madVR will tell you pretty reliably how many minutes between dropped frames. I think with NV I get one every several minutes. But I just use ReClock and everything's working great.

RBG
26th October 2011, 16:04
Hello madshi.

I've got a weird bug with madVR, when I turn off/on(shift+X by default) audio processing filter in Daum Potplayer, video hangs or player crashes. First I thought that this problem occurred due to some kind of splitter incompatibility, I tried various combinations of splitter/decoder pairs, haali/lav + CoreAVC/LAVcuvid/LavVido with cuvid implementation/Built-in Decoder in renderless mode, and got same result, then I tried to change render to EVRcp, and it helped. Is it possible to fix it?

Here is my crash log:

Problem signature:
Problem Event Name: APPCRASH
Application Name: PotPlayerMini.exe
Application Version: 1.5.29795.0
Application Timestamp: 4d252720
Fault Module Name: madVR.ax
Fault Module Version: 0.77.0.0
Fault Module Timestamp: 4ea5a08d
Exception Code: c0000005
Exception Offset: 00007610
OS Version: 6.1.7601.2.1.0.256.4
Locale ID: 1049
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

http://www.filefactory.com/file/ce98df3/n/ufo_ultramaiden_valkyrie_ep01.mkv - video sample.

dansrfe
26th October 2011, 17:23
What does present queue mean? For some reason I start getting dropped frames sometimes because the present queue shows 0-2/8. I don't know what the problem is and how to fix it.

Plutotype
26th October 2011, 18:34
What does present queue mean? For some reason I start getting dropped frames sometimes because the present queue shows 0-2/8. I don't know what the problem is and how to fix it.

Dansrfe,
I have exactly the same problem. I have tested this on 2 computers today, one of them is fresh new DELL computer with HD6570 and Core i5. The second one is my custom ( see signature ) with HD5670. Both computers show exactly the same behaviour. Exclusive mode is dropping frames. The number is changing from 20 to 200 during the 2 hour movie.. Dont know if I should downgrade to older Catalyst version. During past year, I have never had simillar issues with my setup.
Pluto

THX-UltraII
26th October 2011, 19:09
madVR will tell you pretty reliably how many minutes between dropped frames. I think with NV I get one every several minutes. But I just use ReClock and everything's working great.

thanks for your reply.

But ReClock has no sense (/will make no difference) when I only bitstream correct?

Andy o
26th October 2011, 19:19
Yeah, but there's not much reason to bitstream when you can already fully decode all formats.

THX-UltraII
26th October 2011, 19:52
Yeah, but there's not much reason to bitstream when you can already fully decode all formats.
Thats my problem. I need itstreaming because I own a D-Box system

Andy o
26th October 2011, 20:11
If you need a Dolby Digital stream, then ReClock can encode to DD on-the-fly. Better use the lossless tracks, decode them, and let ReClock do its thing and encode to DD.

THX-UltraII
26th October 2011, 20:54
If you need a Dolby Digital stream, then ReClock can encode to DD on-the-fly. Better use the lossless tracks, decode them, and let ReClock do its thing and encode to DD. I don t fully understand this, sorry. :stupid:

I ll try to explain what I want/need so you can tell if this is possible:

A D-Box decoder needs the core DD/DTS track that comes on a BR-disc to be able to 'read'. For years all D-Box owners thought that enjoy both D-Box AND high res. (DTS-MA/True-HD) audio to receiver simultanously was not possible due to windows limitations. So most D-Box users use a Dune media player. With this player audio is send out over both HDMI (lossless) and SPDIF (lossy core) simultanously.

But there has been a new D-Box user who developed an MPC-HC and LAV audio decoder which makes it possible to have two audio streams send out. One with the DTS-MA track send through the HDMI audio out of a NVIDIA/ATI card and one with the core DTS/DD track over a second audio device (a plain simple external USB audio device with just a regular SPDIF output on it). This works good until now; there are some minor fixes on his to-to list but the main feature works.

So what we would need is to be able to get the UNALTERED lossy core signal send over via the external USB audio device and at the same time send the lossless DTS-MA/True-HD that is decoded by ReClock via LPCM over HDMI and all this simultanously.

I think the author of this project will join soon here to give further explanation but the main thing is explained now, maybe not very technical but I think you will know the problem now and what we (D-Box users) need/want.

Andy o
26th October 2011, 22:11
It's ok, I got it. I don't think you could do it with ReClock if you need two audio stream outputs simultaneously.

rahzel
26th October 2011, 22:47
ATI is more accurate 'out-of-the-box' than Nv with refresh rates. I can go a whole movie without a single dropped frame without reclock and my refresh rate is 23.9774 (Radeon 5570). I've used Reclock for the past year or two and recently stopped using it because I found it was unnecessary.

If you really don't want to use reclock, you can play around with custom resolutions to alter the timings to get the refresh rate closer to the target 23.976. As you can see, you don't need the refresh rate to be perfect.

Here's some reading for you:
http://www.anandtech.com/show/4380/discrete-htpc-gpus-shootout/5
http://www.avsforum.com/avs-vb/showthread.php?p=20430210&highlight=custom+resolution#post20430210
http://www.avsforum.com/avs-vb/showthread.php?p=20664433&highlight=custom+resolution#post20664433
http://www.avsforum.com/avs-vb/showthread.php?p=21039739&highlight=custom+resolution#post21039739

THX-UltraII
27th October 2011, 06:44
ATI is more accurate 'out-of-the-box' than Nv with refresh rates. I can go a whole movie without a single dropped frame without reclock and my refresh rate is 23.9774 (Radeon 5570). I've used Reclock for the past year or two and recently stopped using it because I found it was unnecessary.

If you really don't want to use reclock, you can play around with custom resolutions to alter the timings to get the refresh rate closer to the target 23.976. As you can see, you don't need the refresh rate to be perfect.

Here's some reading for you:
http://www.anandtech.com/show/4380/discrete-htpc-gpus-shootout/5
http://www.avsforum.com/avs-vb/showthread.php?p=20430210&highlight=custom+resolution#post20430210
http://www.avsforum.com/avs-vb/showthread.php?p=20664433&highlight=custom+resolution#post20664433
http://www.avsforum.com/avs-vb/showthread.php?p=21039739&highlight=custom+resolution#post21039739

THis is great and just the solution I was looking for! I ll try this tonight. If this works, I don t need ReClock.

kennae
27th October 2011, 17:10
With reclock, should I use 24.000 or 23.976 for monitor when watching typical 23.976 material reclock being set to "AUTO"? I can get close to both Hz's but not sure what to use. Sorry for OT, but you guys were speaking about it anyway. :)
I tested both ways, even without reclock, but I want to be sure.

SamuelMaki
27th October 2011, 17:23
With reclock, should I use 24.000 or 23.976 for monitor when watching typical 23.976 material reclock being set to "AUTO"? I can get close to both Hz's but not sure what to use. Sorry for OT, but you guys were speaking about it anyway. :)
I tested both ways, even without reclock, but I want to be sure.

23.976. It is closer (even if its not 23.976) than 24.000... I recommend to use madVR internal frequency- switcher and put there all the max resolution frequencys that your TV/projector supports... Then it chooses the best for each media file...

kennae
27th October 2011, 17:54
23.976. It is closer (even if its not 23.976) than 24.000... I recommend to use madVR internal frequency- switcher and put there all the max resolution frequencys that your TV/projector supports... Then it chooses the best for each media file...

Been using it when it came out, AutoFrequency before that. I have 24p/50p/59p/60p available and everything works great.

Thanks for clearing this up.