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

JarrettH
31st March 2015, 04:00
"lose BTB and WTW if it improves performance"

What's this one exactly? I know it's black to black and white to white :P

Asmodian
31st March 2015, 06:05
madVR v0.87.15 released Mostly v0.87.15 is about fixing bugs, and improving DXVA related stuff. Some of these changes go a bit deeper than previous v0.87.x minor releases, so a few new bugs could eventually show up. If so, please let me know.

Wow some big fixes in there though, portrait mode! Optimus too. Amazing. :D

:thanks:

edit:
I like that the OSD has a quite detailed report on the resize algorithm. I did find what seems like an oddity; when using image doubling on both luma and chroma but using a different number of neurons for chroma. The OSD simply reports "image" and the number of neurons used for luma instead of luma and chroma as it does when not doubling the chroma. This is not a big deal but it might as well use the same luma and chroma entries. :)

"lose BTB and WTW if it improves performance"

What's this one exactly? I know it's black to black and white to white :P

It is actually "Blacker Than Black" and "Whiter Than White". If losing below 16 and above 235 allows a speed optimization, use it. I am not sure what the optimization would be or when it would apply though. ;)

Siso
31st March 2015, 08:46
A quick question, using madvr on 72 hz Dell u2913wm, with version 0.87.13 and 0.87.14 the info "1 frame repeat every /1 frame drop every " was from 6 hours to 3 days etc., with 0.87.15 is always around ~ 1 hour and 10-40 min, is this a bug or incorrect info, I'm using reclock.

StinDaWg
31st March 2015, 09:11
Thanks for all the IVTC decimation/cadence fixes!

ryrynz
31st March 2015, 09:34
If losing below 16 and above 235 allows a speed optimization, use it. I am not sure what the optimization would be or when it would apply though. ;)

Madshi, could you impart some knowledge in what particular situations a typical user would not want this option disabled?

madshi
31st March 2015, 09:50
Great... That option was the only way for me to use NNEDI normally.
Really? I know that some people needed this option, but that before I had implemented a significant interop speedup. So I had hoped that after the speedup this option wouldn't be needed, anymore. If you absolutely do need it, I can put it back. I've just hidden it, the code is still there. Removing the option was kind of a test balloon to see if anybody would notice and complain.

Otherwise framerate detection (display xx.xxxxx Hz) now constantly resets to 0s and they both with GPU load start to jump like crazy, and I get stuttering with some presentation glitches reported. Nothing I've tried since then fixed it.
Try adding an empty file "disableRefreshRate1" into the madVR folder. Does that fix this problem? If not, try renaming it to "disableRefreshRate2". Does that fix it?

"lose BTB and WTW if it improves performance"

What's this one exactly? I know it's black to black and white to white :P
It is actually "Blacker Than Black" and "Whiter Than White". If losing below 16 and above 235 allows a speed optimization, use it. I am not sure what the optimization would be or when it would apply though. ;)
It allows madVR to use integer textures instead of floating point textures in some situations, which may improve performance.

Wow some big fixes in there though, portrait mode! Optimus too. Amazing. :D
Does it work? Especially the Optimus fix is just a hope, I wasn't able to verify that it works yet.

when using image doubling on both luma and chroma but using a different number of neurons for chroma. The OSD simply reports "image" and the number of neurons used for luma instead of luma and chroma as it does when not doubling the chroma. This is not a big deal but it might as well use the same luma and chroma entries. :)
Yeah, I'll rather keep it the way it is. Things are complicated enough as they are, e.g. when using different algorithms for X and Y!

A quick question, using madvr on 72 hz Dell u2913wm, with version 0.87.13 and 0.87.14 the info "1 frame repeat every /1 frame drop every " was from 6 hours to 3 days etc., with 0.87.15 is always around ~ 1 hour and 10-40 min, is this a bug or incorrect info, I'm using reclock.
This information has always been an estimate, not something you can fully trust in. FWIW, v0.87.15 has modified the way it calculates refresh rates, this probably is causing the estimation change. That shouldn't have an effect on anything other than the estimate.

Thanks for all the IVTC decimation/cadence fixes!
No problem. Have you had a chance yet to check whether all problems are fixed?

Madshi, could you impart some knowledge on in what situations for a typical user one would not want this option disabled? Thanks.
It's a "trade quality" option like all the others. So don't use it if you're looking for best quality. But do use it if you need the extra performance. Usually it shouldn't hurt (much) to enable this option, unless you have a very specific calibration that includes some BTB/WTW content. If you have that then you will know not to enable this option.

Qaq
31st March 2015, 09:52
with 0.87.15 is always around ~ 1 hour and 10-40 min, .... I'm using reclock.Perhaps you need to reset ReClock's database.

Siso
31st March 2015, 10:04
Perhaps you need to reset ReClock's database.

I did that yesterday, but it is the same :) Thank you for the reply madshi :)

hannes69
31st March 2015, 10:13
One remark to the new version:
I use Windows 7 64 bit, Aero Theme, AMD R7 250 GPU, Catalyst 14.12. Up to version 0.87.14 I disabled desktop composition for FSE mode in the madvr options. Using the same options, in 0.87.15 the presentation glitch counter moves up by one every 8 seconds of playback regardless of the playbacked content. By enabling desktop composition I can avoid this.
I just wanted to give an information about this if someone else runs into this problem.
Thanks for the new version!

ryrynz
31st March 2015, 10:36
It's a "trade quality" option like all the others. So don't use it if you're looking for best quality. But do use it if you need the extra performance. Usually it shouldn't hurt (much) to enable this option, unless you have a very specific calibration that includes some BTB/WTW content. If you have that then you will know not to enable this option.

So I expect most users won't see any difference and gain a touch of speed having this enabled, figured as much, cheers.

BTW, for anyone blindly pasting over a previous software decoder enabled version, you can safely delete avcodec-mvr-53.dll and avutil-mvr-51.dll from your madVR installation directory.

JonnyRedHed
31st March 2015, 11:06
know issue. since driver version 347.25
http://bugs.madshi.net/view.php?id=250

i don't think mode 2 is better it's just different. just choice what looks better to you, if you don't see a difference don't use it.

I've dropped back to 347.09 and am still getting the issue and other odd flickering.

cyberbeing
31st March 2015, 11:55
This information has always been an estimate, not something you can fully trust in. FWIW, v0.87.15 has modified the way it calculates refresh rates, this probably is causing the estimation change. That shouldn't have an effect on anything other than the estimate.

From what I'm seeing, the Refresh Rate updates actually appear to be broken and never updating when the Windowed Mode (new path) is enabled, which is very abnormal especially during the few seconds of playback. Oddly, having the Windowed Mode (new path) enabled also breaks Refresh Rate updates for FSE (new path) as well. It appears as though madVR isn't attempting to calculate the refresh rate at all, and instead just reporting a fixed value based on the Desktop Composition Rate? In this case, it starts reporting 96.00000Hz (exactly the inaccurate desktop compaction integer rate), then a few ms later to either 95.90400Hz or 95.90465 and then never budges even +/- 0.00001Hz after that point. Both madVR debug logs and the OSD seem in agreement.

Yet if I enable Windowed Mode (old path) and restart madVR, OSD Refresh Rate reports functions correctly and updates constantly every second with a more accurate measurement using both Windowed (old path) & FSE (new path). Can anyone else reproduce this? I'll create a bug report after I wake up tomorrow if still needed. (Win7 x64 SP1, GTX 770, 347.90)

Edit: I can also reproduce a madVR hang (video display freezes) if I disable Windowed Mode (new path) during the first couple seconds of playback. Anyway heading to bed since it's 4am now.

heiseikiseki
31st March 2015, 11:58
Madshi, I'm using a optimus desktop(ASUS ROG GR8),
but I didn't have the black screen problem since I updated the drivers of the intel and Nvidia in 0.87.13.
So I think that other optimus laptop may be the same.
Only needs to update the drivers.

But the performance of optipus seens not good. Even GR8 has a GTX750TI,performed just like a HD7750,
I can't do nnedi3 16 on HD to FHD.(cause dropped frames) even the rendering time is only 28ms or lower.

I think the performance is not good is because the output port(HDMI/DISPLAY PORT) is from INTEL GPU.


Sorry for my bad English.

huhn
31st March 2015, 12:39
From what I'm seeing, the Refresh Rate updates actually appear to be broken and never updating when the Windowed Mode (new path) is enabled, which is very abnormal especially during the few seconds of playback. Oddly, having the Windowed Mode (new path) enabled also breaks Refresh Rate updates for FSE (new path) as well. It appears as though madVR isn't attempting to calculate the refresh rate at all, and instead just reporting a fixed value based on the Desktop Composition Rate? In this case, it starts reporting 96.00000Hz (exactly the inaccurate desktop compaction integer rate), then a few ms later to either 95.90400Hz or 95.90465 and then never budges even +/- 0.00001Hz after that point. Both madVR debug logs and the OSD seem in agreement.

Yet if I enable Windowed Mode (old path) and restart madVR, OSD Refresh Rate reports functions correctly and updates constantly every second with a more accurate measurement using both Windowed (old path) & FSE (new path). Can anyone else reproduce this? I'll create a bug report after I wake up tomorrow if still needed. (Win7 x64 SP1, GTX 770, 347.90)
after some time the refresh isn't changing at all. i have to investigated old path more but that doesn't work at all anymore.
Edit: I can also reproduce a madVR hang (video display freezes) if I disable Windowed Mode (new path) during the first couple seconds of playback. Anyway heading to bed since it's 4am now.

reproduced and reported.

Siso
31st March 2015, 13:23
Same problem here :/

madshi
31st March 2015, 13:52
From what I'm seeing, the Refresh Rate updates actually appear to be broken and never updating when the Windowed Mode (new path) is enabled
Does the "second counter" (not minute but second) increase during playback? If so, refresh rate calculation is working fine. I've added the second counter to make sure everything's still working ok. madVR v0.87.15 knows several methods to calculate the refresh rate. The "newer" methods are more stable than the older methods, because of that it locks into the detected refresh rate very quickly and as a result doesn't *have* to change, anymore. That doesn't mean refresh rate detection is broken, as long as the second counter is increasing.

That said, I plan to change the whole logic again in the next build.

Madshi, I'm using a optimus desktop(ASUS ROG GR8),
but I didn't have the black screen problem since I updated the drivers of the intel and Nvidia in 0.87.13.
So I think that other optimus laptop may be the same.
Only needs to update the drivers.

But the performance of optipus seens not good. Even GR8 has a GTX750TI,performed just like a HD7750,
I can't do nnedi3 16 on HD to FHD.(cause dropped frames) even the rendering time is only 28ms or lower.

I think the performance is not good is because the output port(HDMI/DISPLAY PORT) is from INTEL GPU.
There were always some Optimus users who had problems and others who didn't. I'm not sure if the fix I implemented works or not. So I'm still waiting for feedback from those who had problems before.

JohnLai
31st March 2015, 14:33
@mashi,

Is there any method to show if hardware acceleration is being used at madvr OSD?
If DXVA native is being selected at lavf, there is a [DXVA2] shown at the OSD.
But if other method is being used, eg:Quicksync, CUVID,DXVA CopyBack, these are not being shown at all.

kasper93
31st March 2015, 15:11
Because only in native mode renderer knows that H/W acceleration is used. Your player should have indication whether H/W acceleration is used. (e.g MPC-HC have this information on status bar)

JohnLai
31st March 2015, 16:32
Because only in native mode renderer knows that H/W acceleration is used. Your player should have indication whether H/W acceleration is used. (e.g MPC-HC have this information on status bar)

Strange are you certain about this? EVR CP can display it on OSD like this :

"H.264 E, bitstream decoder, no FGT [ LAV Video Decoder (Intel Quicksync) ]"

nevcairiel
31st March 2015, 16:45
The player tells EVR-CP, the renderer doesn't find out on its own. And really, the renderer doesn't even care, nor should it. It only cares if its DXVA2 Native mode, because it then receives the image differently. For all the other modes, it receives the image the exact same way, no matter if software, QS, CUVID or DXVA2-CopyBack.

aufkrawall
31st March 2015, 17:38
In this picture, Shiandow's deband filter seems to give a better result than madVR's@high:

madVR:
http://abload.de/thumb/madvrdebandj3armxuft.png (http://abload.de/image.php?img=madvrdebandj3armxuft.png)

MPDN Shiandow (new mode):
http://abload.de/thumb/mpdndebandj4aruyuwh.png (http://abload.de/image.php?img=mpdndebandj4aruyuwh.png)

Yes, madVR Jinc3 AR is much sharper than MPDN Jinc4 AR, but the banding is not related to this.
Shiandow deband + SuperRes:
http://abload.de/thumb/mpdndebandsuperres35usv.png (http://abload.de/image.php?img=mpdndebandsuperres35usv.png)

MS-DOS
31st March 2015, 17:46
Really? I know that some people needed this option, but that before I had implemented a significant interop speedup. So I had hoped that after the speedup this option wouldn't be needed, anymore. If you absolutely do need it, I can put it back. I've just hidden it, the code is still there. Removing the option was kind of a test balloon to see if anybody would notice and complain.

Try adding an empty file "disableRefreshRate1" into the madVR folder. Does that fix this problem? If not, try renaming it to "disableRefreshRate2". Does that fix it?


disableRefreshRate1 - refresh rate still jumping and the amout of presentation glitches is about the same as without it
disableRefreshRate2 - refresh rate is stable, but the amout of glitches and stuttering is now beyond roof

Only ~60% GPU usage in all three cases =\ While using alternative hack, I had about 1-2% more GPU load in that particular video I tested but could bump every single option like neurons up having a perfectly smooth playback until I reached 99% GPU load where it just obviously couldn't handle it. So, yeah, here's your balloon :)

madshi
31st March 2015, 17:53
And really, the renderer doesn't even care, nor should it.
Agreed. No plans to add this to the OSD.

In this picture, Shiandow's deband filter seems to give a better result than madVR's@high
It's not the same video frame! If you look at the trees in the background, they move slightly. Such comparisons only make sense if you use exactly the same video frame. Furthermore, debanding is always a compromise between removing artifacts and maintaining details. So just looking at debanding smoothness doesn't help much if you don't look for detail loss at the same time. For a really meaningful comparison please make sure you use exactly the same video frame, and also the same scaling algorithms. I'd suggest Lanczos3 *without* anti-ringing. Then the image should be equally sharp, which allows us to better compare debanding quality. Please also use an alternative test image which allows us to compare detail loss.

All that said, it's possible that Shiandow's filter could be better for "high" debanding. I've put most of my development efforts into the "low" and "mid" settings. For "high" I've just dialed the tresholds up, and even disabled some parts of the algorithm. Once I've added support for extended custom shaders, it should be easy to make all of Shiandow's algorithms work in madVR, too.

disableRefreshRate1 - refresh rate still jumping and the amout of presentation glitches is about the same as without it
disableRefreshRate2 - refresh rate is stable, but the amout of glitches and stuttering is now beyond roof

Only ~60% GPU usage in all three cases =\ While using alternative hack, I had about 1-2% more GPU load in that particular video I tested but could bump every single option like neurons up having a perfectly smooth playback until I reached 99% GPU load where it just obviously couldn't handle it. So, yeah, here's your balloon :)
Ok, thanks.

aufkrawall
31st March 2015, 17:56
I really tried to jump to the exact frame, but unfortunately, MPDN didn't let me.
Hm, I may need the help of AviSynth.

However, I'm very sure that there's not a noteworthy difference in banding between the two frames (gap shouldn't be larger).

madshi
31st March 2015, 17:57
You can use Ctrl+Right (at least in MPC-HC) to move forward frame by frame. That should allow you to get to the same frame.

aufkrawall
31st March 2015, 18:04
I see that now. I really didn't realize the tree has moved a little in the background. Already confusing enough that NNEDI3 shifts the image. :o

Ok, will test again with Lanczos 3 w.o. AR and will find us another test image. Probably a game screenshot would fit well, since they usually have very fine detail compared to movies.

madshi
31st March 2015, 18:22
The important thing is that the detail must be low contrast. High-contrast detail isn't affected by debanding. E.g. fine detail in a very low contrast shadow area should work well to test debanding algorithms. The detail should be so that the algorithm mistakes it for banding, but the intelligent human eye sees that it's detail and not banding. Banding is usually only 1-2 steps on the grayscale away from the next pixel. So the detail can't have more contrast than 1-2 grayscale steps (max!).

Asmodian
31st March 2015, 18:22
Yes, madVR Jinc3 AR is much sharper than MPDN Jinc4 AR, but the banding is not related to this.

madVR Jinc3 is equivalent to MPDN Jinc6. MadVR's debanding is meant to be pretty subtle, so as not to change the video too much, not to be the strongest at removing banding.

aufkrawall
31st March 2015, 18:31
MPDN doesn't offer Lanczos 3 taps, so I set both renderers to 8 (both luma and chroma). However, they are still not totally equivalent (but almost).

madVR Lanczos 8:
http://abload.de/thumb/mpchcl8gjjxo.png (http://abload.de/image.php?img=mpchcl8gjjxo.png)

madVR Lanczos 8 + deband@high:
http://abload.de/thumb/mpchcl8deband0qkdt.png (http://abload.de/image.php?img=mpchcl8deband0qkdt.png)

MPDN Lanczos 8:
http://abload.de/thumb/mpdnl81vkh9.png (http://abload.de/image.php?img=mpdnl81vkh9.png)

MPDN Lanczos 8 + Shiandow deband:
http://abload.de/thumb/mpdnl8debandjpjny.png (http://abload.de/image.php?img=mpdnl8debandjpjny.png)

To my eyes, Shaindow's algorithm fights much better banding at the sign, the walls or also the table.

Now I'm gonna try to find a more detailed picture. At least in the very low quality pictures above, I could hardly see details vanashing.

madshi
31st March 2015, 19:13
MPDN doesn't offer Lanczos 3 taps, so I set both renderers to 8 (both luma and chroma). However, they are still not totally equivalent (but almost).
MPDN counts taps differently compared to madVR. madVR 3 taps = MPDN 6 taps.

To my eyes, Shaindow's algorithm fights much better banding at the sign, the walls or also the table.
Now here comes the problem: How much of that is actually banding and how much is compression artifacts? Banding means visible steps in large gradients caused by rounding to a too small bitdepth. Most of the artifacts in your image appear to be compression noise to me (blocking and mosquito noise artifacts). Is a debanding algorithm supposed to remove compression noise? Well, it doesn't hurt if it does, but then I wonder if it does that, maybe it also removes more detail? I don't know, just wondering. As I said, it's possible that Shiandow's algo is better at this debanding strength. But we first need to test for detail loss.

cyberbeing
31st March 2015, 19:59
Does the "second counter" (not minute but second) increase during playback? If so, refresh rate calculation is working fine. I've added the second counter to make sure everything's still working ok. madVR v0.87.15 knows several methods to calculate the refresh rate. The "newer" methods are more stable than the older methods, because of that it locks into the detected refresh rate very quickly and as a result doesn't *have* to change, anymore. That doesn't mean refresh rate detection is broken, as long as the second counter is increasing.

Yes, the counter is increasing just fine in both cases. Though when Windowed mode (new path) is enabled the actual refresh rate calculation doesn't seem accurate. If I mess around with toggling render mode settings, sometimes I see madVR make sudden jumps between claiming the the refresh is the desktop composition rate (96.00000Hz) and this other rate (95.90465Hz) with no other values reported in-between in the middle of playback.

Any idea why when I enable Windowed mode (old path), madVR behaves like older builds and updates and refines the calculation every second in small 0.00001Hz-0.00004Hz movements until it settles on a values only after a couple minutes or so of playback?

If this an entirely separate refresh rate algorithm, it seems considerably more reliable on 'traditional desktop PCs' considering as it never makes massive sudden jumps and always seems to settle on the same refresh rate that older builds of madVR always did reliably (95.90445Hz). Actually, after looking at your old post this seems to be the case. If I add a 'disableRefreshRate2' file to the madVR directory it resolves the refresh rate calculation issue with Windowed mode (new path) is enabled.

That said, I plan to change the whole logic again in the next build.

There were always some Optimus users who had problems and others who didn't. I'm not sure if the fix I implemented works or not. So I'm still waiting for feedback from those who had problems before.
Ah, so I assume this 'Refresh Rate 2' method was part of the 'try not to break for Optimus users' fixes, while 'Refresh Rate 1' is the older traditional method which madVR has always used?

It madVR intentional defaults to 'Refresh Rate 2' with Windowed (new path) or rather what should be madVR defaults on a new install, this all makes sense now. Will the ability to disable the 'Refresh Rate 2' method remain in future builds, or were you intending to actually refine this method and eventually eliminate the traditional 'Refresh Rate 1' method?

Edit: I can also reproduce a madVR hang (video display freezes) if I disable Windowed Mode (new path) during the first couple seconds of playback.
FWIW, adding the 'disableRefreshRate2' file to my madVR directory also seems to resolve this hanging issue when stitching new->old path Windowed modes.

madshi
31st March 2015, 20:13
Yes, the different refresh rate behaviour was fully intended. And the jump from 96.000Hz to the correct rate was part of the algorithm. The "new" method doesn't work with the old windowed mode, though. There are also a couple of other circumstances in which the new method doesn't work. Furthermore, I've received feedback from a user who said that in dual monitor setup the "new" method has severe problems. So for the next madVR build I'll go back to the old method and use the new one only if the old one doesn't work. That should still fix the Optimus problems. At least I hope so.

madshi
31st March 2015, 20:42
madVR v0.87.16 released

http://madshi.net/madVR.zip

* fixed: #181: "deint" tag sometimes didn't work when using profiles
* fixed: #267: crash when seeking with smooth motion enabled
* fixed: #272: black screen in old windowed mode
* fixed: #275: image freeze when switching from new path to old path window mode
* fixed: some BT.709 video files were misdetected as BT.601
* reintroduced the "interop hack" option
* improved DXVA color space conversion performance again
* added trade option "trust DXVA color & levels conversion"
* SettingsSetBoolean("DebugOsd") now turns the debug OSD on/off
Just to make sure this doesn't get lost:

There's now a DSPlayer version (XBMC/kodi) available with full support for madVR. It's still a work in progress, but already looking good. It's a custom build, though, and not officially endorsed by the kodi devs. Still, it's based on the latest kodi sources, AFAIK. See here for more details:

http://forum.kodi.tv/showthread.php?tid=154534

TheElix
31st March 2015, 21:40
Hi, madshi! Great to know the project's alive and kickin'! After the update to 0.87.16 I have weird colors. Here's a comparison against the screenshot (the one above):
http://i.imgur.com/wPmvylKl.png

sneaker_ger
31st March 2015, 21:43
Post a sample and your config and screenshot of OSD.

TheElix
31st March 2015, 22:10
Post a sample and your config and screenshot of OSD.OSD: https://yadi.sk/i/O3n4S3wPffChr
Torrent file (315 Mb): http://www.nyaa.se/?page=view&tid=670389

What config do you mean? MadVR or my hardware? I have an AMD GPU (HD7990).

nevcairiel
31st March 2015, 22:15
Almost looks like U/V are swapped.
On second thought, maybe not.

But your madVR config would be useful. What I can think of would be a possible 3DLUT or other color calibration settings, for example.
Entire settings to be safe. ;)

TheElix
31st March 2015, 22:35
But your madVR config would be useful. What I can think of would be a possible 3DLUT or other color calibration settings, for example.
Entire settings to be safe. ;)There are no 3DLUTs loaded on an active display. There are 3DLUTs active, however, on inactive displays. Is there a function to copy entire madVR settings? There're no settings in the log file, unfortunately.

Edit: I hope that's enough settings: https://yadi.sk/d/QMPfjQpCffEN9

kasper93
31st March 2015, 22:36
@TheElix: See this post http://forum.doom9.org/showpost.php?p=1715342&postcount=57 and you will know what to do :)

fairchild
31st March 2015, 22:49
As always, thanks madshi for the new versions of MadVR. There is some new behavior introduced in latest version which is causing a bug with FSE search bar from MadVR to not display because for some reason. Going to the bottom of the screen triggers MPC-HC's navigation bar to kick in which kicks the video out of FSE into windowed mode for some odd reason.

I verified that it's the latest v0.87.16 because when rolling back to v0.87.15 I can retain MadVR's FSE seek bar and MPC-HC stays in background properly as it should.

Qotscha
31st March 2015, 22:56
As always, thanks madshi for the new versions of MadVR. There is some new behavior introduced in latest version which is causing a bug with FSE search bar from MadVR to not display because for some reason. Going to the bottom of the screen triggers MPC-HC's navigation bar to kick in which kicks the video out of FSE into windowed mode for some odd reason.

I verified that it's the latest v0.87.16 because when rolling back to v0.87.15 I can retain MadVR's FSE seek bar and MPC-HC stays in background properly as it should.

I have the same issue with 0.87.16. However, enabling OSD prevents MPC-HC navigation bar from showing.

TheElix
31st March 2015, 23:02
@TheElix: See this post http://forum.doom9.org/showpost.php?p=1715342&postcount=57 and you will know what to do :)That did it, Kasper... Thanks.)

fairchild
31st March 2015, 23:03
I have the same issue with 0.87.16. However, enabling OSD prevents MPC-HC navigation bar from showing.

Yep, just verified that. enabling the OSD by doing CTRL+J and then going FSE allows MadVR's FSE bar to function as it should. I'm 100% sure this is not the intended behavior unless we are meant to watch all videos with the OSD up :p

kasper93
31st March 2015, 23:17
IMadVRSettings::SettingsGetBoolean(L"enableExclusive", &bOptExcl);
IMadVRSettings::SettingsGetBoolean(L"enableSeekbar", &bOptExclSeekbar);

Both returns false, while it should be true in exclusive mode and when seekbar is enabled. At least it was like that ;p

Shii
31st March 2015, 23:23
Found a problem with latest Kaspersky Internet Security 15.0.1.415(c) and it's process avpui.exe. When running, sometimes it prevents madVR from entering Fullscreen Exclusive Mode. Only full antivirus unloading helps.
My setup: Windows 7 SP1, monitor and tv in extended mode. Monitor works at 1920x1080 60Hz DVI, TV - 1920x1080 24Hz HDMI. GeForce GTX 660Ti.

madVR log:
00013685 Render CSettings::GetCurrentWhiteLevel(self: 15AD6018) -> 255
00013685 Render COsd::Update(self: 158926C8);
00013685 Render fullscreen windowed mode, covered by some windows
00013685 Render madVR window [madVR] {-1920,0,0,1080}
00013687 Render covered by avpui.exe window [AVP.SandboxWindow] {-1920,0,3840,1080}
00013687 Render COsd::SetBitmap(self: 158926C8, name: madVR.internal.DebugOSD, leftEye: 01051F0F, posX: 10, posY: 10, duration: 0);
00013688 Render CQueue::IsStillImage();
00013688 Render CQueue::IsStillImage() -> no

madshi
31st March 2015, 23:29
Hi, madshi! Great to know the project's alive and kickin'! After the update to 0.87.16 I have weird colors. Here's a comparison against the screenshot (the one above):
@TheElix: See this post http://forum.doom9.org/showpost.php?p=1715342&postcount=57 and you will know what to do :)
Good catch by kasper93. FWIW, I've suggested a little change to the FineSharp scripts to fix this issue.

As always, thanks madshi for the new versions of MadVR. There is some new behavior introduced in latest version which is causing a bug with FSE search bar from MadVR to not display because for some reason. Going to the bottom of the screen triggers MPC-HC's navigation bar to kick in which kicks the video out of FSE into windowed mode for some odd reason.

I verified that it's the latest v0.87.16 because when rolling back to v0.87.15 I can retain MadVR's FSE seek bar and MPC-HC stays in background properly as it should.
SettingsGetBoolean(L"enableExclusive", &bOptExcl);
SettingsGetBoolean(L"enableSeekbar", &bOptExclSeekbar);

Both returns false, while it should be true in exclusive mode and when seekbar is enabled. At least it was like that ;p
kasper93 is doing all the work for me... :)

Thanks, that was a stupid mistake. I hate when I have to release a new build just because of one stupid mistake.

Found a problem with latest Kaspersky Internet Security 15.0.1.415(c) and it's process avpui.exe. When running, sometimes it prevents madVR from entering Fullscreen Exclusive Mode. Only full antivirus unloading helps.
My setup: Windows 7 SP1, monitor and tv in extended mode. Monitor works at 1920x1080 60Hz DVI, TV - 1920x1080 24Hz HDMI. GeForce GTX 660Ti.

madVR log:
00013685 Render CSettings::GetCurrentWhiteLevel(self: 15AD6018) -> 255
00013685 Render COsd::Update(self: 158926C8);
00013685 Render fullscreen windowed mode, covered by some windows
00013685 Render madVR window [madVR] {-1920,0,0,1080}
00013687 Render covered by avpui.exe window [AVP.SandboxWindow] {-1920,0,3840,1080}
00013687 Render COsd::SetBitmap(self: 158926C8, name: madVR.internal.DebugOSD, leftEye: 01051F0F, posX: 10, posY: 10, duration: 0);
00013688 Render CQueue::IsStillImage();
00013688 Render CQueue::IsStillImage() -> no
Uhm, that's really ugly. Seems they have a window which is probably "on top" and covers both of your monitors. Probably the window is transparent or something, I don't know. It seems weird. But that's what the log says. There isn't really much I can do about it, I fear.

madshi
31st March 2015, 23:39
madVR v0.87.17 released

http://madshi.net/madVR.zip

* fixed: FSE seekbar didn't show, anymore
No further changes planned for the next 2-3 weeks, unless some important new bug shows up.

MS-DOS
31st March 2015, 23:49
* reintroduced the "interop hack" option


NNEDI is working fine again, thanks :)

cyberbeing
1st April 2015, 00:38
madVR v0.87.17 released
No further changes planned for the next 2-3 weeks, unless some important new bug shows up.
I have an important new bug. ;)
http://bugs.madshi.net/view.php?id=276

Ever since madVR 0.87.10, TV.601 subtitle colors are incorrect on TV.709 when upscaling if the subtitle trade quality for performance option is enabled.

ThurstonX
1st April 2015, 01:13
Thanks for the new versions, and esp. getting the fix in before you take a madVR break. I had to laugh when I saw the date stamp: 4/1/2015 12:37 AM. It's software from the future! As long as it's not an April Fool's joke ;-)