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

Soukyuu
25th January 2014, 15:33
dith | doubl | upsc
314.07: yes | yes | yes*
314.22: yes | yes | yes*
320.18: yes | yes | yes*
320.49: yes | yes | yes*
327.23: yes | yes | yes*
331.58: no | yes** | yes***
331.65: no | yes** | yes***
331.82: no | yes** | yes***
332.81: no | yes** | yes***

* yellow tint on 10bit h264 only
** no green channel (and no luma?) on 10bit h264 only
*** green tint on 10bit h264 only

Examples of yellow (https://dl.dropboxusercontent.com/u/19330332/nnedi3_upscale_yellow.jpg), green tints (https://dl.dropboxusercontent.com/u/19330332/nnedi3_upscale_green.jpg) and missing green channel (https://dl.dropboxusercontent.com/u/19330332/nnedi3_doubling_br.jpg).

327.23 is the first driver officially released for win8.1, so I'm glad it works. Reverting to it until the issue is fixed.
Oh and... openCL dithering makes me drop frames, rendering queue is running out very fast. Same applies to all NNEDI3 features.
I guess my GPU is just too slow.

edit: openCL dithering also makes the ctrl+J osd an opaque black box.

@everyone: don't forget to mention your GPU when you report the results (or just put it in your sig)

djfred93
25th January 2014, 15:35
MadVR don't load with the latest version, it is stuck at opening the file and it crash on the setting window. The debug work fine but the debug don't have the enable/disable OpenCL processing of DXVA NV12 option. The deinterlacing have framedrop but it's better than the other 0.87 version of MadVR. The deinterlacing worked fine (no framedrops) with the latest deband test and stable version. Thanks anyway for the latest version.

My system : Intel Core i7@920, Ati Radeon HD 5770, Windows 8.1, MPC-HC 1.7.1

Work well with the latest version. Except for deinterlacing, where I have framedrops with jinc3 AR/jinc3 AR but I think it's my graphics card is not powerful enough.

DarkSpace
25th January 2014, 15:38
I don't think so. I've written a custom pixel shader script for the shifting which is performance optimized for just this purpose. If I offered other algorithms, that would mean a lot extra work, and to be honest, I don't think it's important enough. When shifting, the algorithm is not too important. I don't think e.g. Jinc3AR would look any better even with test patterns for simple 0.5 pixel shifting.
No worries, I myself even mentioned that it's probably unimportant. I'm just very curious in general.

Budtz
25th January 2014, 15:45
I was using ffdshow de-banding before 0.87

I have enabled reduce banding artifacts. Is this the same as ffdshows debanding and should i disable that?

what de-banding settings are best for blurays?

thx

michkrol
25th January 2014, 15:45
"//" comments should be supported. Not tested it, though. I'm strictly opposed to using "/*" or "{" comments for documentation in C++, because doing so means you can't comment out large portions of source code. "//" comments don't come with this problem, so I added support only for "//".
Works great. One line comments should be enough in scripts, just to know what any given rule matches, without much thinking. Thanks again for the release.

James Freeman
25th January 2014, 15:46
It seems like it:
Force Film -> Works
Force Video -> Broken
Deinterlacing Off -> Works

0.86.11 in all of the cases above -> Works

Deinterlacing working perfectly in every mode over here (87.1 official).

332.21 Nvidia Drivers.

djfred93
25th January 2014, 15:47
I was using ffdshow de-banding before 0.87

I have enabled reduce banding artifacts. Is this the same as ffdshows debanding and should i disable that?

what de-banding settings are best for blurays?

thx

It's even better than ffdshow's deband so you should disable it.

I think the default setting are the best.

aufkrawall
25th January 2014, 15:57
Somehow my DPC latency doesn't get below 500 microseconds (at all, with literally no process or driver running).
Most likely there is some connection to the madVR issues I am experiencing, expecially since they also occur with 0.86, which wasn't the case before.
Sorry for bothering.

Deim0s
25th January 2014, 15:58
madshi,
And this did not occur with v0.86.11? It's a new problem with v0.87.x?
Yes, only v0.87.x.
Is it possible that you're running out of GPU RAM?
I do not quite understand the question. My GPU: ASUS GTX770 2GB, during the experiment, from applications that run only MPC-HC.
May I ask you, what do you recommend setting queues for this card? I am using "smooth motion".
Try lowering the GPU queues and/or the number of pre-rendered frames. Does that help?
I did the minimum queues:
CPU queue - 4
GPU queue - 4
Win. mode -> backbuffers - 1
LAV with DXVA CUVID when switching to full screen - black screen.
madVR - log (http://rghost.ru/51917970)
LAV without DXVA when switching to full screen - black screen.
madVR - log (http://rghost.ru/51918099)
LAV without DXVA - normal playback
madVR - log (http://rghost.ru/51918151)
If something else is needed, I will do.

flashmozzg
25th January 2014, 16:17
madshi,
I do not quite understand the question. My GPU: ASUS GTX770 2GB, during the experiment, from applications that run only MPC-HC.
May I ask you, what do you recommend setting queues for this card? I am using "smooth motion".

You can download GPU-Z and monitor your GPU RAM usage during playback.

Soukyuu
25th January 2014, 16:22
Stupid question: how do I create/use profiles? I don't see any configuration options for that in the tray icon settings.

cyberbeing
25th January 2014, 16:24
NVIDIA GTX 770 + madVR 0.87g | 0.87.1

OpenCL Dither
R304 branch = Functional
R310 branch = Functional
R313 branch = Functional
R319 branch = Functional
R325 branch = Functional
R331 branch = Broken
R334 branch = Broken

OpenCL NNEDI3
R304 branch = Broken
R310 branch = Broken
R313 branch = Broken
R319 branch = Broken
R325 branch = Broken
R331 branch = Broken
R334 branch = Broken

Broken = black screen, frozen frame, and/or hung GPU

R304 branch release tested = 309.00 (10/28/2013)
R310 branch release tested = 310.90 (12/29/2012) & 312.69 (10/28/2013)
R313 branch release tested = 314.22 (03/14/2013)
R319 branch release tested = 321.10 (12/05/2013)
R325 branch release tested = 327.23 (09/12/2013)
R331 branch release tested = 331.40 BETA (09/27/2013) & 332.21 (12/19/2013)
R334 branch release tested = 334.67 (01/15/2014)

Conclusion: NVIDIA R331 branch drivers and newer broke madVR display with OpenCL dither. madVR OpenCL NNEDI3 code may have never been functional on recent NVIDIA GPU architectures (Fermi & Kepler?). Remember my earlier post where I mentioned that your version of the OpenCL code for the Avisynth plugin produce a "failed to allocate OpenCL resources error", while SET's original OpenCL code works fine on my GPU.

DragonQ
25th January 2014, 16:28
Improved over v0.87.0, or improved over v0.86.11? How is it compared to v0.86.11?
Improved over 0.87. Hard to say whether it's really usable without the 10-bit chrome & image buffers. Certainly not better than 0.86.11. Average stats:

0.87.1 Software:
Deinterlace: 18.65 ms
Split: 18.85 ms
Rendering: 8.64 ms
Present: 0.42 ms
Dropped Frames: 63
Delayed Frames: 2

0.86.11 Software:
Deinterlace: 8.29 ms
Split: 9.15 ms
Rendering: 4.70 ms
Present: 0.17 ms
Dropped Frames: 14
Delayed Frames: 0

0.87.1 DXVA2 Native:
Deinterlace: 13.96 ms
Split: 16.53 ms
Rendering: 8.38 ms
Present: 0.41 ms
Dropped Frames: 4
Delayed Frames: 1

0.86.11 DXVA2 Native:
Deinterlace: 7.58 ms
Split: 8.08 ms
Rendering: 5.02 ms
Present: 0.16 ms
Dropped Frames: 8
Delayed Frames: 0

Using: HD4000, MPC-HC, LAV Filters, Smooth Motion, Bicubic75 Chroma upscaling, Catmull-Rom downscaling, playing 1080i/25 @ slightly under 1080p.

pie1394
25th January 2014, 16:32
Hmmmm... I've tried all of this on my NVidia 9400 GPU which had problems with black rectangles when using XySubFilter in the past. But no problems here, whatsoever. How can I reproduce these issues? Maybe you can provide me with small samples to test with, in case it has something to do with the samples somehow?


It looks like my HW or OS issue. Somehow P10 no longer works even with 0.86.10 version. Reverting the driver back to 320.49 does not help, either. I guess it is the time to reinstall the OS ... @_@


0.87.1 works fine on my HTPC, with HD7970 + Catalyst 13.12 -- Win7x64SP1. Just noticed the GPU's deinterlacing time is increased around 100%...

[720x480i60]
0.86.10 --> 0.83ms
0.87.1 --> 1.64ms

[1440x1080i60]
0.86.10 --> 1.44ms
0.87.1 --> 4.21ms

Regarding the Image Doubling function on the above 720x480i60 contents to 1920x1080p60 display mode, even HD7970 is not quick enough to handle 60fps. It needs more than 17ms (Debanding_with_AngleDetect + NNEDI3 2x + Jinc3AR) processing time vs 6.2ms (Debanding_with_AngleDetect + Jinc3AR)

Deim0s
25th January 2014, 16:45
flashmozzg,
You can download GPU-Z and monitor your GPU RAM usage during playback.
I can do this by using open source ProcessHacker.
If it helps madshi, here are the results:
When starting playback in windowed mode (http://i.imgur.com/dBi2QIM.jpg)
After switching to full screen mode and get a black screen (http://i.imgur.com/HUUht7y.png)

PetitDragon
25th January 2014, 16:57
Conclusion: NVIDIA R331 branch drivers and newer broke madVR display with OpenCL dither. madVR OpenCL NNEDI3 code may have never been functional on recent NVIDIA GPU architectures (Fermi & Kepler?). Remember my earily post where I mentions your version of the OpenCL code for the Avisynth plugin produce a "failed to allocate OpenCL resources error", while SET's original OpenCL code works fine on my GPU.

At the early beginning I was wondering too why new madVR doesn't work, while SEt's plugin just works fine.:o

michkrol
25th January 2014, 16:57
Stupid question: how do I create/use profiles? I don't see any configuration options for that in the tray icon settings.

Open settings, left click any settings group (processing/scaling ...), click create profile group. I'm sure you'll work it out from there ;)
When created, the profiles get switched automagically with your auto-select rules or by customizable key shortcuts. Be sure to read the help for auto-select rules scripting.

PixelH8
25th January 2014, 17:00
NVIDIA GTX 770 + madVR 0.87g

OpenCL Dither
R304 branch = Functional
R310 branch = Functional
R313 branch = Functional
R319 branch = Functional
R325 branch = Functional
R331 branch = Broken
R334 branch = Broken

OpenCL NNEDI3
R304 branch = Broken
R310 branch = Broken
R313 branch = Broken
R319 branch = Broken
R325 branch = Broken
R331 branch = Broken
R334 branch = Broken

R304 branch release tested = 309.00 (10/28/2013)
R310 branch release tested = 310.90 (12/29/2012) & 312.69 (10/28/2013)
R313 branch release tested = 314.22 (03/14/2013)
R319 branch release tested = 321.10 (12/05/2013)
R325 branch release tested = 327.23 (09/12/2013)
R331 branch release tested = 331.40 BETA (09/27/2013) & 332.21 (12/19/2013)
R334 branch release tested = 334.67 (01/15/2014)

Conclusion: NVIDIA R331 branch drivers and newer broke madVR display with OpenCL dither. madVR OpenCL NNEDI3 code may have never been functional on recent NVIDIA GPU architectures (Fermi & Kepler?). Remember my earily post where I mentions your version of the OpenCL code for the Avisynth plugin produce a "failed to allocate OpenCL resources error", while SET's original OpenCL code works fine on my GPU.

^This. My own testing mirrors this exactly.

On my system with the 560 Ti, the last driver to have OpenCL error diffusion working is 327.23.
Every version after this is total FAIL. Something went very wrong indeed. Nothing in the release notes for 331.40 indicate any changes that would adversely affect OpenCL applications but who knows? Maybe whoever compiled the latest drivers forgot to flip the OpenCL switch.

On the plus side, Nvidia does make installing and uninstalling drivers as pain-free as possible, so there's that. :)

EDIT: I forgot to mention I was using the latest 0.87.1 build of madvr. Also, I'm not 100% sure if this is only a problem that affects Fermi cards and newer so I really have to get my GTS 250 system up and running to find out for sure. I also have a stockpile of drivers going back to 2009, so let the good times roll. :D

noee
25th January 2014, 17:10
Just noticed the GPU's deinterlacing time is increased around 100%...

I notice the same thing using a 1080i video:

.86: Queues all full, no drops, deint=7.3ms
.87.1: Render and present queues struggle ~3-4, 50+ drops after 2 min of playback, deint=18.13ms

HD6570

Edit: Should add, this is a VC1 video using DXVA2 decode

DragonQ
25th January 2014, 17:22
I notice the same thing using a 1080i video:

.86: Queues all full, no drops, deint=7.3ms
.87.1: Render and present queues struggle ~3-4, 50+ drops after 2 min of playback, deint=18.13ms

HD6570

Edit: Should add, this is a VC1 video using DXVA2 decode
Glad it's not just me and not just Intel GPUs!

Soukyuu
25th January 2014, 18:00
Open settings, left click any settings group (processing/scaling ...), click create profile group. I'm sure you'll work it out from there ;)
When created, the profiles get switched automagically with your auto-select rules or by customizable key shortcuts. Be sure to read the help for auto-select rules scripting.Thanks, I saw the "add new device" button, but not the "add profile" on the groups :rolleyes:

I was holding off testing debanding until the final version, and man, does it make a difference. Though low seems to be the only non-destructive setting. What does the "don't analyze gradient angles" option affect? I didn't really see any difference

huhn
25th January 2014, 18:04
i just checked deint ms too they are high at start but after some time about the same like 86.9.

but while i was testing this is find a new bug introduced in 87.x.
when you change the deinterlacer mode with shift + control + alt + t i get - creating Direct3d Device failed (80070005) picture (http://abload.de/img/deinterrorqtlol.png)
one items it even switch to 8 bit color deep.
doesn't matter if film to video or video to film.

edit: works fine when change in the tray options strange but doesn't try to change resolution this way.

I was holding off testing debanding until the final version, and man, does it make a difference. Though low seems to be the only non-destructive setting. What does the "don't analyze gradient angles" option affect? I didn't really see any difference
it checks for parts that need debanding and didn't apply it to the hole image (very short version)

Thunderbolt8
25th January 2014, 18:15
OpenCL crashes (bluescreen) on a laptop with radeon 7650 with 13.12 drivers (leshcat drivers v3).

madshi
25th January 2014, 18:16
Error Diffusion works on 327.23, but NNEDI chroma upscaling or doubling doesn't.
dith | doubl | upsc
314.07: yes | yes | yes*
314.22: yes | yes | yes*
320.18: yes | yes | yes*
320.49: yes | yes | yes*
327.23: yes | yes | yes*
331.58: no | yes** | yes***
331.65: no | yes** | yes***
331.82: no | yes** | yes***
332.81: no | yes** | yes***

* yellow tint on 10bit h264 only
** no green channel (and no luma?) on 10bit h264 only
*** green tint on 10bit h264 only

Examples of yellow (https://dl.dropboxusercontent.com/u/19330332/nnedi3_upscale_yellow.jpg), green tints (https://dl.dropboxusercontent.com/u/19330332/nnedi3_upscale_green.jpg) and missing green channel (https://dl.dropboxusercontent.com/u/19330332/nnedi3_doubling_br.jpg).

327.23 is the first driver officially released for win8.1, so I'm glad it works. Reverting to it until the issue is fixed.
Oh and... openCL dithering makes me drop frames, rendering queue is running out very fast. Same applies to all NNEDI3 features.
I guess my GPU is just too slow.

edit: openCL dithering also makes the ctrl+J osd an opaque black box.

@everyone: don't forget to mention your GPU when you report the results (or just put it in your sig)
Tested GTX460 with drivers 327.23 and 331.40. Error Diffusion only works on 327.23, does not work on 331.40. NNEDI3 chroma upscaling and doubling don't work at all on both versions.
NVIDIA GTX 770 + madVR 0.87g

OpenCL Dither
R304 branch = Functional
R310 branch = Functional
R313 branch = Functional
R319 branch = Functional
R325 branch = Functional
R331 branch = Broken
R334 branch = Broken

OpenCL NNEDI3
R304 branch = Broken
R310 branch = Broken
R313 branch = Broken
R319 branch = Broken
R325 branch = Broken
R331 branch = Broken
R334 branch = Broken

R304 branch release tested = 309.00 (10/28/2013)
R310 branch release tested = 310.90 (12/29/2012) & 312.69 (10/28/2013)
R313 branch release tested = 314.22 (03/14/2013)
R319 branch release tested = 321.10 (12/05/2013)
R325 branch release tested = 327.23 (09/12/2013)
R331 branch release tested = 331.40 BETA (09/27/2013) & 332.21 (12/19/2013)
R334 branch release tested = 334.67 (01/15/2014)

Conclusion: NVIDIA R331 branch drivers and newer broke madVR display with OpenCL dither.
^This. My own testing mirrors this exactly.

On my system with the 560 Ti, the last driver to have OpenCL error diffusion working is 327.23.
Every version after this is total FAIL. Something went very wrong indeed. Nothing in the release notes for 331.40 indicate any changes that would adversely affect OpenCL applications but who knows? Maybe whoever compiled the latest drivers forgot to flip the OpenCL switch.

On the plus side, Nvidia does make installing and uninstalling drivers as pain-free as possible, so there's that. :)

EDIT: I forgot to mention I was using the latest 0.87.1 build of madvr. Also, I'm not 100% sure if this is only a problem that affects Fermi cards and newer so I really have to get my GTS 250 system up and running to find out for sure. I also have a stockpile of drivers going back to 2009, so let the good times roll. :D
Thanks for doing all those testing, guys! It's interesting to see that some features work with some drivers and some GPUs. I "like" especially Soukyuu's results where NNEDI3 produces different color artifacts depending on source color space and driver version. That pretty much shows how unreliable NVidia OpenCL is. It doesn't even go from working to non-working, but seemingly the color channels are interpreted differently depending on driver version. That's a nightmare!

What does the "don't analyze gradient angles" option affect? I didn't really see any difference
Enabling it makes debanding stronger for image areas which are likely large gradiants, while keeping debanding strength the same for areas which probably contain image detail. Basically it should improve debanding strength where it's needed without losing a lot of additional detail in other image areas. It costs quite a bit of added GPU performance, though.

Regarding the Image Doubling function on the above 720x480i60 contents to 1920x1080p60 display mode, even HD7970 is not quick enough to handle 60fps. It needs more than 17ms (Debanding_with_AngleDetect + NNEDI3 2x + Jinc3AR) processing time vs 6.2ms (Debanding_with_AngleDetect + Jinc3AR)
Image Doubling doesn't have just one settings. How many neurons did you use? And did you tell madVR to double chroma resolution, too? Furthermore: If you do use image doubling, I'd recommend to use a cheaper follow-up algorithm for "image upscaling". E.g. use Bicubic50AR instead of Jinc3AR.

Improved over 0.87. Hard to say whether it's really usable without the 10-bit chrome & image buffers. Certainly not better than 0.86.11. Average stats:

0.87.1 Software:
Deinterlace: 18.65 ms
Split: 18.85 ms
Rendering: 8.64 ms
Present: 0.42 ms
Dropped Frames: 63
Delayed Frames: 2

0.86.11 Software:
Deinterlace: 8.29 ms
Split: 9.15 ms
Rendering: 4.70 ms
Present: 0.17 ms
Dropped Frames: 14
Delayed Frames: 0

0.87.1 DXVA2 Native:
Deinterlace: 13.96 ms
Split: 16.53 ms
Rendering: 8.38 ms
Present: 0.41 ms
Dropped Frames: 4
Delayed Frames: 1

0.86.11 DXVA2 Native:
Deinterlace: 7.58 ms
Split: 8.08 ms
Rendering: 5.02 ms
Present: 0.16 ms
Dropped Frames: 8
Delayed Frames: 0

Using: HD4000, MPC-HC, LAV Filters, Smooth Motion, Bicubic75 Chroma upscaling, Catmull-Rom downscaling, playing 1080i/25 @ slightly under 1080p.
0.87.1 works fine on my HTPC, with HD7970 + Catalyst 13.12 -- Win7x64SP1. Just noticed the GPU's deinterlacing time is increased around 100%...

[720x480i60]
0.86.10 --> 0.83ms
0.87.1 --> 1.64ms

[1440x1080i60]
0.86.10 --> 1.44ms
0.87.1 --> 4.21ms
I notice the same thing using a 1080i video:

.86: Queues all full, no drops, deint=7.3ms
.87.1: Render and present queues struggle ~3-4, 50+ drops after 2 min of playback, deint=18.13ms

HD6570

Edit: Should add, this is a VC1 video using DXVA2 decode
Ok.

-------

So for all users who have:

(1) Stability problems (D3D9 error messages, freezing when switching video files in FSE mode etc).
(2) Performance issues with deinterlacing.

Please try the various test builds you can find here:

http://madshi.net/madVRtestbuilds.rar

Every test build reverts one change back to v0.86.11. This way hopefully we can identify which change is reponsible for which problem.

cyberbeing
25th January 2014, 18:24
That pretty much shows how unreliable NVidia OpenCL is. It doesn't even go from working to non-working, but seemingly the color channels are interpreted differently depending on driver version. That's a nightmare!

This is NVIDIA's way of telling you to use CUDA, instead of depending on their automated OpenCL to CUDA driver translation functioning properly. As a bonus, you can actually debug and profile CUDA kernels on NVIDIA as well, while no such thing exists for OpenCL on NVIDIA. ;)

nevcairiel
25th January 2014, 18:30
Thanks for doing all those testing, guys! It's interesting to see that some features work with some drivers and some GPUs. I "like" especially Soukyuu's results where NNEDI3 produces different color artifacts depending on source color space and driver version. That pretty much shows how unreliable NVidia OpenCL is. It doesn't even go from working to non-working, but seemingly the color channels are interpreted differently depending on driver version. That's a nightmare!

Should've gone with CUDA, the API is much easier to use, too! :D
More importantly, I don't think NVIDIA (or quite possibly any other GPU vendor) cares much about such (tiny) compute use-cases.

iSunrise
25th January 2014, 18:34
0.87.1 is working great here (speed-wise it seems at least on par with 0.86.11, if not faster, havenīt tested with de-interlacing yet, though).

I found one bug though, which is reproducible every time:

1) enable smooth motion - enable always
2) play a video file
3) enter fullscreen-exclusive
4) leave fullscreen-exclusive and return to windowed mode
-> black screen
5) going back to fullscreen-exclusive the picture is back
6) leave fullscreen-exclusive again
-> black screen
...

GTX580, 331.82 drivers (quadro)

@madshi:
I donīt know if this is helpful for you, but on the 3dcenter-forum there is a member called Blaire (http://www.forum-3dcenter.org/vbulletin/member.php?u=12085), which seems to be part of the NV BETA Testing-Program and he seems to know a lot of various related (known) issues and he reports directly to them (driver related problems, primarily he reports game issues). He seems to be always up-to-date when it comes to new drivers, too. It seems that when he is reporting bugs directly, they have a very high chance to get fixed ASAP. Thatīs only an observation on my part though, I didnīt actually every have a conversation with him, since I never had serious problems, thankfully.

Also, if you tell him that a lot of the madVR users are going to consider switching to AMD in the future, because of the lackluster OpenCL drivers, NV may listen a bit more closely. Seems worth a try, at least. Not your problem if they cannot provide stable drivers for such things, anyway.

cca
25th January 2014, 18:36
CUDA though works exclusively and only on Nvidia, it's a proprietary interface. OpenCL isn't. Nvidia's attitude is forcing developers to support their own interface so they have to do double the work.

Sent from my Nexus 7 using Tapatalk

noee
25th January 2014, 18:37
Some more feedback....OpenCL...HD6570

I've been testing SD video (and interlaced) and film, upscaling to 1080, with the NNEDI Double Luma, 64neurons. I can't use secondary scaling options that use pixel shaders, but DXVA2 scaling works great in this case. I can still see some ringing around hair and people's heads, but it seems to be working very well, using about 25-30% less GPU than Jinc3/AR with SD film.

Edit: % perf numbers

huhn
25th January 2014, 18:42
So for all users who have:

(1) Stability problems (D3D9 error messages, freezing when switching video files in FSE mode etc).
(2) Performance issues with deinterlacing.

Please try the various test builds you can find here:

http://madshi.net/madVRtestbuilds.rar

Every test build reverts one change back to v0.86.11. This way hopefully we can identify which change is reponsible for which problem.

so all 6 didn't work all got the same error with switching video mode to film mode and all freeze/crash with fullscreen exclusive switching file.

BUT! after that 86.9 didn't work too at least the film video mode switching the error is different the player is completely crashing (bug report sending didn't work yet again) to fix this i have to reset all settings.

so i try all 6 again but this time i reset them all each time... and type the display modes in each time X-)

maybe just an problem with an registry entry?

Soukyuu
25th January 2014, 18:42
Enabling it makes debanding stronger for image areas which are likely large gradiants, while keeping debanding strength the same for areas which probably contain image detail. Basically it should improve debanding strength where it's needed without losing a lot of additional detail in other image areas. It costs quite a bit of added GPU performance, though.Hmm, so setting deband to say, "low", that option will increase it to "high" where needed?

As for nVidia's openCL, I guess I just have to be happy other openCL seems to function properly, i.e. flaccl still being lossless. But that kind of scares me to be honest. Maybe I'll go with AMD for my next GPU this iteration...

madshi
25th January 2014, 18:44
This is NVIDIA's way of telling you to use CUDA, instead of depending on their automated OpenCL to CUDA driver translation functioning properly. As a bonus, you can actually debug and profile CUDA kernels on NVIDIA as well, while no such thing exists for OpenCL on NVIDIA. ;)
Should've gone with CUDA, the API is much easier to use, too! :D
More importantly, I don't think NVIDIA (or quite possibly any other GPU vendor) cares much about such compute use-cases.
That's all nice and fine. But think about the future, too. What if I add a dozen new features relying on computing? Am I really expected to create, debug and profile two versions of every kernel? It might not be twice the work, but it would definitely be a lot extra work. I'd really *REALLY* prefer to stick with one API. I'm considering to maybe at some point adding a full OpenCL rendering queue, dropping D3D9 rendering completely (just for GPUs which support it, of course). That would mean there would be several dozens of pixel shaders that need to be converted to OpenCL. Converting them all to OpenCL *and* CUDA would increase my workload quite a lot. So much that I might actually forget about the whole idea.

0.87.1 is working great here (speed-wise it seems at least on par with 0.86.11, if not faster, havenīt tested with de-interlacing yet, though).

I found one bug though, which is reproducible every time:

1) enable smooth motion - enable always
2) play a video file
3) enter fullscreen-exclusive
4) leave fullscreen-exclusive and return to windowed mode
-> black screen
5) going back to fullscreen-exclusive the picture is back
6) leave fullscreen-exclusive again
-> black screen
...

GTX580, 331.82 drivers (quadro)
Everybody please, if you find a bug, always double check with v0.86.11 for now. I need to know which bugs are new bugs and which already existed in v0.86.11. I'm mostly only interested in fixing new bugs for now.

@iSunrise, if this issue did not occur in v0.86.11 (please double check), could you please also check the test builds I posted a couple posts above to see if any one of them fixes this problem or not? Thanks.

Some more feedback....OpenCL...HD6570

I've been testing SD video (and interlaced) and film, upscaling to 1080, with the NNEDI Double Luma, 64neurons. I can't use secondary scaling options that use pixel shaders, but DXVA2 scaling works great in this case. I can still see some ringing around hair and people's heads, but it seems to be working very well, using about 12-15% less GPU than Jinc3/AR.
Unfortunately if you activate DXVA2 scaling, NNEDI3 is not used at all. Sorry, should have said so. But it would be technically quite difficult to combine NNEDI3 and DXVA2 scaling. Try NNEDI3 for Luma only + Bilinear.

noee
25th January 2014, 18:46
haha! Yes, that explains a lot..... ;)

Okay, I see, yeah. I can only run 32 neurons with Bilinear without drops, but it works, GPU is >80%.

madshi
25th January 2014, 18:50
so all 6 didn't work all got the same error with switching video mode to film mode and all freeze/crash with fullscreen exclusive switching file.

BUT! after that 86.9 didn't work too at least the film video mode switching the error is different the player is completely crashing (bug report sending didn't work yet again) to fix this i have to reset all settings.

so i try all 6 again but this time i reset them all each time... and type the display modes in each time X-)

maybe just an problem with an registry entry?
So what is the final conclusion? I'm not sure right now. Is this a new problem with v0.87.x or is it not?

Hmm, so setting deband to say, "low", that option will increase it to "high" where needed?
Not to "high" maybe, but quite a bit higher than "low". But don't expect perfection.

As for nVidia's openCL, I guess I just have to be happy other openCL seems to function properly, i.e. flaccl still being lossless. But that kind of scares me to be honest. Maybe I'll go with AMD for my next GPU this iteration...
If you want OpenCL support, AMD is the better option at the moment. Many of the problems I've having are with the D3D9 <-> OpenCL interop, though. Which most applications don't need. So probably for normal use causes you're safe enough with NVidia. OpenCL performance is probably not as good as AMD, though, compared to how your NVidia GPU compares to AMD in game performance.

Ziron
25th January 2014, 18:57
Couldn't NNEDI3 be written as an OpenGL shader? That would probably cause less compatibility issues. It would also have the side effect of making it useable by emulators.

sneaker_ger
25th January 2014, 19:02
I'm also having trouble with the FSE image freezing (but sound playing on normally) when skipping to a new file/restarting the file.

http://www.file-upload.net/download-8552116/madVR---log---image-freeze-FSE-new-file.7z.html

1. start file in windowed mode
2. go into FSE and play file for a few seconds (everything's normal up until here)
3. restart video via ctrl+e (->current image freezes)

Win 7 x64, MPC-HC 1.7.1.383, madvr 0.87.11

===

A question regarding the settings dialogue outside of playing a file: is it normal that it takes a few seconds to open compared to instantly when playing a file? Is it waiting for an answer of open madVR instances and assumes there is none after waiting a bit?

iSunrise
25th January 2014, 19:05
@iSunrise, if this issue did not occur in v0.86.11 (please double check), could you please also check the test builds I posted a couple posts above to see if any one of them fixes this problem or not? Thanks.
Switching while smooth motion is on works fine in 0.86.11 and in all of your test builds, too. I found the problem though and itīs not smooth motion related at all.

It seems that simply enabling OpenCL related things like image doubling in itīs current form on NV can lead to the NV drivers behaving abnormally, even after shutting down every related player process or madVR entirely and that doesnīt seem to go away if you donīt restart the system. So any OpenCL testing currently could lead to false positives with other madVR functionality. Just as a heads-up.

After a system restart, 0.87.1 works just fine in that regard. Sorry for the wasted time, but I didnīt expect this weird NV driver behaviour at all. They are usually not that error prone and very reliable.

noee
25th January 2014, 19:07
Every test build reverts one change back to v0.86.11. This way hopefully we can identify which change is reponsible for which problem.

No diff with any of the 6 builds with the deint speed, all hover between 18-22ms for this 1080i VC1 (DXVA2 decode) file I'm using.

huhn
25th January 2014, 19:11
i only report problem with 87.x so yeah i can get it working with 86.11 (i just switch to this sup version)

i just finished testing all 6 again all crash with 70080005 error.

yet again after this i toke the madVR08611.zip from videohelp override alle datas from 87.1 and it didn't work to the player crashed again every thing was at default except the display mode i added : 1080p23, 1080p24, 1080p50, 1080p59, 1080p60

then i started the restore default settings.bat added 1080p23, 1080p24, 1080p50, 1080p59, 1080p60 and it works fine now so the error with film-video has something to do with the madvr settings.

i tested all 6 .ax with 87.1 with uninstall install and reset.

but the freeze problem doesn't happen with 86.11 and settings from version 87.1

madshi
25th January 2014, 19:13
I'm also having trouble with the FSE image freezing (but sound playing on normally) when skipping to a new file/restarting the file.

http://www.file-upload.net/download-8552116/madVR---log---image-freeze-FSE-new-file.7z.html

1. start file in windowed mode
2. go into FSE and play file for a few seconds (everything's normal up until here)
3. restart video via ctrl+e (->current image freezes)

Win 7 x64, MPC-HC 1.7.1.383, madvr 0.87.11
Please try the test builds I posted a few posts above.

A question regarding the settings dialogue outside of playing a file: is it normal that it takes a few seconds to open compared to instantly when playing a file? Is it waiting for an answer of open madVR instances and assumes there is none after waiting a bit?
It opens instantly on my PC.

It seems that simply enabling OpenCL related things like image doubling in itīs current form on NV can lead to the NV drivers behaving abnormally, even after shutting down every related player process or madVR entirely and that doesnīt seem to go away if you donīt restart the system. So any OpenCL testing currently or in the future on NV could lead to false positives with other madVR functionality. Just as a heads-up.

After a system restart, 0.87.1 works just fine in that regard. Sorry for the wasted time, but I didnīt expect this weird NV driver behaviour at all. They are usually not that error prone and very reliable.
Ouch... :(

No diff with any of the 6 builds with the deint speed, all hover between 18-22ms for this 1080i VC1 (DXVA2 decode) file I'm using.
That's weird! I wish I could reproduce that here... :(

madshi
25th January 2014, 19:16
i only report problem with 87.x so yeah i can get it working with 86.11 (i just switch to this sup version)

i just finished testing all 6 again all crash with 70080005 error.

yet again after this i toke the madVR08611.zip from videohelp override alle datas from 87.1 and it didn't work to the player crashed again every thing was at default except the display mode i added : 1080p23, 1080p24, 1080p50, 1080p59, 1080p60

then i started the restore default settings.bat added 1080p23, 1080p24, 1080p50, 1080p59, 1080p60 and it works fine now so the error with film-video has something to do with the madvr settings.

i tested all 6 .ax with 87.1 with uninstall install and reset.

but the freeze problem doesn't happen with 86.11 and settings from version 87.1
I'm having trouble understanding what you mean. You're saing "and it works fine now". That seems to say that one of the test builds (or all of them or what?) work alright after restoring the default settings. But then you say "bug the freeze problem doesn't happen with 86.11". So I'm all confused. Is it working fine now or is it not? I don't really understand what you're saying...

truexfan81
25th January 2014, 19:18
madshi the 0.87.1 works much better thank you, i can even do 1080i with it if i disable the deband filter.

any chance of getting the deband settings added to the profiles? with that i could make a 1080i profile to have it turn it off automatically.

thanks

huhn
25th January 2014, 19:24
ok 2 problems:


video-film mode switch with frame rate change error:

87.1 and 6 test build= crash - creating Direct3d Device failed (80070005)

87.1 at default except display modes overwritten with 86.11 = player crash need a log i can pm it to you

ofc 86.11 working fine

freeze with exclusive fullscreen and file change:

87.1 and 6 test build= freeze

87.1 at default except display modes overwritten with 86.11 = works fine

ofc 86.11 working fine no reset needed.

madshi
25th January 2014, 19:29
any chance of getting the deband settings added to the profiles?
This functionality is already there!

ok 2 problems:

video-film mode switch with frame rate change error:

87.1 and 6 test build= crash - creating Direct3d Device failed (80070005)

87.1 at default except display modes overwritten with 86.11 = player crash need a log i can pm it to you

ofc 86.11 working fine

freeze with exclusive fullscreen and file change:

87.1 and 6 test build= freeze

87.1 at default except display modes overwritten with 86.11 = works fine

ofc 86.11 working fine no reset needed.
Ok, I understand. Now I just I wish I would understand what's causing these problems...

cyberbeing
25th January 2014, 19:30
A question regarding the settings dialogue outside of playing a file: is it normal that it takes a few seconds to open compared to instantly when playing a file?

Same issue here, it takes 5 seconds or so after clicking "Edit Settings" before the settings window opens when madVR is offline. Can reproduce this in GraphStudioNext as well as a MPC-HC's external filters pane.

Win7 SP1 x64

kerimcem
25th January 2014, 19:30
I do not like NNEDI3 :( blurry :( lancos3 jin3 bubic75 good...

madshi
25th January 2014, 19:33
Same issue here, it takes 5 seconds or so after clicking "Edit Settings" before the settings window opens when madVR is offline. Can reproduce this in GraphStudioNext as well as a MPC-HC's external filters pane.
Why does every *** bug not occur on my PC? I'm getting a little bit frustrated right now...

I do not like NNEDI3 :( blurry :( lancos3 jin3 bubic75 good...
Are you sure you're really testing NNEDI3? It shouldn't be blurry, at least not if you already start with sharp content and then upscale it.

Leader
25th January 2014, 19:38
Hi madshi. In Windows XP, versions 0.87.0, 0.87.1, when you open any video - black screen. In version 0.86.11 - okay, all right. What is the reason?

DragonQ
25th January 2014, 19:38
So for all users who have:

(1) Stability problems (D3D9 error messages, freezing when switching video files in FSE mode etc).
(2) Performance issues with deinterlacing.

Please try the various test builds you can find here:

http://madshi.net/madVRtestbuilds.rar

Every test build reverts one change back to v0.86.11. This way hopefully we can identify which change is reponsible for which problem.

Phew, that took a while. None of those comes close to 0.86.11 times unfortunately (scroll to see all):

Default Software:
Deinterlace: 18.99 ms
Split: 19.22 ms
Rendering: 8.19 ms
Present: 0.46 ms
Dropped Frames: 20
Delayed Frames: 0

Default DXVA2 Native:
Deinterlace: 14.63 ms
Split: 17.75 ms
Rendering: 8.16 ms
Present: 0.57 ms
Dropped Frames: 26
Delayed Frames: 2

No Crop Software:
Deinterlace: 19.82 ms
Split: 19.88 ms
Rendering: 9.81 ms
Present: 0.46 ms
Dropped Frames: 33
Delayed Frames: 1

No Crop DXVA2 Native:
Deinterlace: 11.21 ms
Split: 14.25 ms
Rendering: 6.97 ms
Present: 0.26 ms
Dropped Frames: 8
Delayed Frames: 1

No Shared Textures Software:
Deinterlace: 17.32 ms
Split: 18.44 ms
Rendering: 7.74 ms
Present: 0.44 ms
Dropped Frames: 7
Delayed Frames: 1

No Shared Textures DXVA2 Native:
Deinterlace: 11.69 ms
Split: 14.84 ms
Rendering: 6.77 ms
Present: 0.32 ms
Dropped Frames: 7
Delayed Frames: 1

DeintThread Setting Textures Software:
Deinterlace: 18.87 ms
Split: 18.92 ms
Rendering: 8.35 ms
Present: 0.42 ms
Dropped Frames: 18
Delayed Frames: 1

DeintThread Setting DXVA2 Native:
Deinterlace: 11.27 ms
Split: 14.76 ms
Rendering: 6.65 ms
Present: 0.28 ms
Dropped Frames: 8
Delayed Frames: 0

No Backbuffer+1 Software:
Deinterlace: 17.06 ms
Split: 17.18 ms
Rendering: 8.37 ms
Present: 0.56 ms
Dropped Frames: 16
Delayed Frames: 1

No Backbuffer+1 DXVA2 Native:
Deinterlace: 11.93 ms
Split: 14.89 ms
Rendering: 7.31 ms
Present: 0.28 ms
Dropped Frames: 11
Delayed Frames: 1

ConfigCopyback Software:
Deinterlace: 18.48 ms
Split: 18.91 ms
Rendering: 7.28 ms
Present: 0.37 ms
Dropped Frames: 21
Delayed Frames: 1

ConfigCopyback DXVA2 Native:
Deinterlace: 10.49 ms
Split: 14.27 ms
Rendering: 6.46 ms
Present: 0.25 ms
Dropped Frames: 8
Delayed Frames: 1


Repeated for reference:

0.86.11 Software:
Deinterlace: 8.29 ms
Split: 9.15 ms
Rendering: 4.70 ms
Present: 0.17 ms
Dropped Frames: 14
Delayed Frames: 0

0.86.11 DXVA2 Native:
Deinterlace: 7.58 ms
Split: 8.08 ms
Rendering: 5.02 ms
Present: 0.16 ms
Dropped Frames: 8
Delayed Frames: 0

EDIT: I found the issue. These slow rendering times only occur when Smooth Motion is enabled. Otherwise, 0.87.1 is fine in both decoding modes (although still a bit worse than 0.86.11), as shown here:

0.86.11 Software:
Deinterlace: 7.78 ms
Split: 8.97 ms
Rendering: 2.84 ms
Present: 0.15 ms
Dropped Frames: 8
Delayed Frames: 0

0.87.1 Software:
Deinterlace: 9.02 ms
Split: 11.64 ms
Rendering: 2.49 ms
Present: 0.14 ms
Dropped Frames: 12
Delayed Frames: 1

cca
25th January 2014, 19:40
If it's any consolation, I don't seem to have any of these bugs either with my Radeon 5850. Debugging is such a nasty job...

Sent from my Nexus 7 using Tapatalk