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

James Freeman
26th February 2014, 21:13
Meh, I'd vote to leave Random Dither as-is. I have a feeling that oppositeColor with the noise level of 'random dither' would be horrible to my eyes. If there is anything which random dither has in its favor, it's that people have gotten used to it over the years. No need to blur the difference between dither algorithms even more.

Don't have this feeling...
There is no reason people will have to use it ever again, if they got Ordered Dithering with almost the same CPU requirements.
The result does look better as with the ED builds:
and I've already tested, it very noticeably lowers luma noise once more.


If there are unforseen problems for some, there should be a safe base to go back to.
Nothing will be changed in Random Dithering except it will look better.
I have an old laptop which Random Dithering is the only option, and I like it to be OppositeColor.

leeperry
26th February 2014, 21:14
w00t, new build :)
It worked fine with the default settings but once I enabled vanilla A4 it instantly gave: http://thumbnails112.imagebam.com/31075/a6c944310742572.jpg (http://www.imagebam.com/image/a6c944310742572)

I restarted PotP, it worked fine, I set vanilla ED11 and now it won't load videos anymore, all I get is the same OCL error msg :o

I'm on W7SP1 with the latest WHQL HD7850 drivers.

iSunrise
26th February 2014, 21:16
Don't have this feeling...
There is no reason people will have to use it ever again, if they got Ordered Dithering with almost the same CPU requirements.
The result does look better as with the ED builds:




Nothing will be changed in Random Dithering except it will look better.


I have an old laptop which Random Dithering is the only option, and I like it to have OppositeColor option.
Please stop trying to overrule our opinion. And please stop posting things about "looking better".

Youīre not the judge here. Youīre once again completely missing the point of madshiīs question.

aufkrawall
26th February 2014, 21:20
Even with the latest testbuild, debanding doesn't work right for me when upscaling this 1080p video to 1440p in FSE, I am getting dropped frames:
http://www.ausgamers.com/files/download/67564/cryengine-3-crysis-3-realtime-tech-demo-video

It does happen both on a Radeon r9 290 and a GTX 670 OC, so it definitely shouldn't be a performance issue. It doesn't happen when e.g. downscaling 4k to 1440p with CR AR + LL.
This particular video file seems to be like a stress test for madVR's debanding.
Even with just bilinear upscaling (chroma & luma) I'm still getting dropped frames (smooth motion on). This is happening since the debanding feature exists in madVR.

Will post an entry at the bugtracker later if needed.

James Freeman
26th February 2014, 21:24
Please stop trying to overrule our opinion. And please stop posting things about "looking better".
Youīre not the judge here. Youīre once again completely missing the point.

Just to make it clear,
My opinion is part of OUR opinion.
Judging is EXACTLY what beta testing and voting is.
We are all "The Judge".

The point is making Random Dithering be just as compatible as before, but slightly better.
madshi clearly stated: OppositeColor does make Random Dithering look better too.

Lay back and relax,
I can voice my opinion even if I may appear a little pushy.
You can ignore me if you like, but you can't take my voting or influencing power, That's how democracy rolls baby. ;)

EDIT:
I suggest you delete your post and I'll delete mine.

cyberbeing
26th February 2014, 21:24
Don't have this feeling...
There is no reason people will have to use it ever again, if they got Ordered Dithering with almost the same CPU requirements.
...
Nothing will be changed in Random Dithering except it will look better.
My subjective view disagrees. :devil:

I was serious when I mentioned in a previous post that I preferred 'random dither' over any of the 'oppositeColor' error diffusion builds. Similar to how I preferred 'multiColor' error diffusion over 'oppositeColor' error diffusion. I also actually still see myself using 'random dither' as a fallback as well, if by chance the behavior of ordered dither become problematic on certain content or displays in the future. There has been almost 5 years of madVR legacy, and up until now when madshi introduce error-diffusion, there have never been any strong complaints about the use of 'random dithering'. It was accepted and ignored, even if it was bad. Keeping something familiar which is not unlike adding random color noise in other applications for dithering or otherwise, I think is beneficial. In terms of madVR itself, it also allows people to do easy before/after comparisons.

James Freeman
26th February 2014, 21:32
My subjective view disagrees.


No problem at all,
I don't care that much for Random Dithering so I'll rest my case here.
If there are some people who want it the way it is, then let it be.

Thanks for not being offensive...

iSunrise
26th February 2014, 21:38
iSunrise,
Sorry for getting you angry. :o
Iīm not angry, but some people actually liked the multiColor noise on random dithering and I absolutely see no reason to rush things right now.

Everyone basically used random dithering, before we did our in-depth tests and everyone is a pretty broad user base to ignore. Another reason being, that LAV also offers random dithering and if someone wants to use it in madVR, the option of random dithering still makes sense in that case.

But thatīs all up to madshi, anyway, he needs valid arguments though, which we provided.

cyberbeing
26th February 2014, 21:46
http://madshi.net/madVRfinalDither2.rar
This build appears to have fixed the NNEDI3 bug.

madshi
26th February 2014, 21:51
Can you please write a small list of what build are are what setting.
Rounding, Random Dithering, OD32, A4, ED11.

Did you have to rewrite a lot of code for that change?
"a lot of" is relative. It did require changing 3 files (mvrSettings.dll, madHcCtrl.exe, madVR.ax).

Also, Iīm curious, why did you stop at 3bit instead of 1bit?
Tried 2bit, it was more than useless. Absolutely terrible, no use for testing. Ok, 1bit might have been interesting.

Quick Bug report 2:
When switching from "None" to any Dithering mode, the checkbox options do not appear till the settings window is closed, or switched to another branch and back.
Ok, noted for the build after the next build.

Mathematically it is justified since doing so does not change the average colour. But it does mean that instead of interpolating between 8 different combinations (with varying probability) it will only interpolate between 4 different combinations. It's hard to say what kind of an effect this has.

One specific problem I can think of is the following, consider the colour: (0.4,1.2,0.7). If we want to do random dithering with oppositeColor noise then we should add something of the form (x,-x,x) with x a random number between -0.5 and 0.5, and then round the result to nearest integer, this gives us:

(0,2,0) if x<-0.3
(0,1,0) if -0.3<x<-0.2
(0,1,1) if -0.2<x<0.1
(1,1,1) if 0.1<x

But if we change the colour slightly to (0.4,1.3,0.8) then we get:

(0,2,0) if x<-0.3
(0,2,1) if -0.3<x<-0.2
(0,1,1) if -0.2<x<0.1
(1,1,1) if 0.1<x

So now dithering uses a different set of colours. I'm not sure how noticeable this would be on gradients etc. but it could look quite odd. In both of the above cases the multiColor version just picks randomly between:

(0,1,0), (0,1,1), (0,2,0), (0,2,1), (1,1,0), (1,1,1), (1,2,0), (1,2,1)

This might make the transition smoother.

Edit: A similar problem happens with multiColor when one of the values is almost 'whole' but this happens less frequently.
Hmmmm... I'm having headaches, and I'm tired of dithering algorithms, so please forgive me for not trying to think this through. FWIW, in practical tests oppositeColor does appear smoother/less noisy, though. So I'm feeling safe with sticking to oppositeColor instead of multiColor.

Meh, I'd vote to leave Random Dither as-is.
I also would say that it makes sense to leave some backwards compatibility in-place right now. If there are unforseen problems for some, there should be a safe base to go back to.
Ok.

Even with the latest testbuild, debanding doesn't work right for me when upscaling this 1080p video to 1440p in FSE, I am getting dropped frames:
http://www.ausgamers.com/files/download/67564/cryengine-3-crysis-3-realtime-tech-demo-video

It does happen both on a Radeon r9 290 and a GTX 670 OC, so it definitely shouldn't be a performance issue. It doesn't happen when e.g. downscaling 4k to 1440p with CR AR + LL.
This particular video file seems to be like a stress test for madVR's debanding.
Even with just bilinear upscaling (chroma & luma) I'm still getting dropped frames (smooth motion on). This is happening since the debanding feature exists in madVR.

Will post an entry at the bugtracker later if needed.
What do the queues say (see madVR debug OSD, Ctrl+J)? Are they getting empty? Which one first?

-------

Here's a fixed build:

http://madshi.net/madVRfinalDither2.rar

Ordered dithering should hopefully work ok now, and NNEDI should be back to working.

madshi
26th February 2014, 21:52
http://madshi.net/madVRfinalDither2.rar
This build appears to have fixed the NNEDI3 bug.
Haha! First time somebody guessed a new build before I announced it... :D

*Touche*
26th February 2014, 21:55
Do you guys really see differences between the last couple of builds in 8bit mode watching real video content or do you go to 4bit/sample images to choose favourites? I find it hard to impossible, after multiple blind tests, to consistently differentiate between them in 8bit mode while watching movies. My plasma's native dithering could be a factor here.

Soukyuu
26th February 2014, 21:55
The new build dies on me - black screen with mpc-hc 1.7.3 crashing the moment I close it. I didn't change any settings (not using NNEDI), driver version still the 327.23

edit: to clarify: that's with both the finalDither and the newest finalDither2 build.
If its using the same CPU power, go for the better looking option and leave the nostalgia behind.
Besides, if anyone is still using Random Dithering instead of Ordered Dithering, he probably couldn't care less "what's inside". ;)I sure care about "what's inside", not having a DX11 capable GPU leaves me out in the rain though.

iSunrise
26th February 2014, 22:00
Tried 2bit, it was more than useless. Absolutely terrible, no use for testing. Ok, 1bit might have been interesting.
Yes, thatīs why I asked. I also think 1bit would be interesting and nice for testing especially.

Thanks for the quick fixes.

Haha! First time somebody guessed a new build before I announced it... :D
LOL, thatīs actually quite funny. :D

Damien147
26th February 2014, 22:02
With an hd 4850(ati) all I get is black screen and mpc crash on exit.I reseted madvr settings but no luck.No support because of old card or something else I need in mind?(Of course I haven't put error diffusion)


@Soukyuu got me,same thing.

seiyafan
26th February 2014, 22:08
I maybe not in the right forum but is this a place to ask questions regarding functionality of MadVR? I've been lurking for some time and from what I read it seems mostly are about development.

leeperry
26th February 2014, 22:09
wow, dynamic ED11 looks stunning on anime :cool:
not really in the mood for serious evaluation atm but ED11's noise is so low that the wavey changes might end up being (far) less problematic to my eyes, I'll give it a serious shot tomorrow morning. :thanks:

Shiandow
26th February 2014, 22:13
Hmmmm... I'm having headaches, and I'm tired of dithering algorithms, so please forgive me for not trying to think this through. FWIW, in practical tests oppositeColor does appear smoother/less noisy, though. So I'm feeling safe with sticking to oppositeColor instead of multiColor.

It should only be a problem when you use oppositColor with random dithering. And even then using oppositeColor is probably fine, but as others pointed out it might be a bad idea to change the 'good old' random dithering to something which may introduce new problems. I was just trying to point out possible new problems.

aufkrawall
26th February 2014, 22:16
What do the queues say (see madVR debug OSD, Ctrl+J)? Are they getting empty? Which one first?

Render queue is falling to 2-8 / 8 when the drops occur. Upload queue goes down to 6-8 / 8 at the same time. Without debanding, both queues stay at 7-8 / 8 all the time.

cyberbeing
26th February 2014, 22:21
dynamic ED11

Almost forgot about that, madshi had mentioned I should re-test with dynamic ED11 for that reason. I'll check it out later.

I maybe not in the right forum but is this a place to ask questions regarding functionality of MadVR? I've been lurking for some time and from what I read it seems mostly are about development.

Yes, this is the right forum and thread to ask such questions (this thread on Doom9 is the official home of madVR). madshi is just in extremely active development mode at the moment (which rarely occurs), so a lot of recent discussions are about test build releases. During development lulls, discussion in this thread usually goes back to general questions about functionality and other topics related to use of madVR. But feel free to ask such questions at any time.

If I enable NNEDI3 doubling, since it only works with powers of 2, it would first double it to 2160, then downscale it (I think Catmull-Rom is the most popular algorithm for downscaling) to 1440. Would this still yield visually better results than just a one step upscaling using (Jinc-3/4 AR) without the doubling? Is Catmull-Rom a good algorithm to use here?

Use of NNEDI3 doubling will potentially improve quality even when viewing at scale ratios less than 2, but performance is prohibitive. With at least 2.0x scale, NNEDI3 should always yield superior results, but the closer you get to 1.0x scale it may or may not be worth it. madVR has "only if scaling factor" settings for exactly this reason. In general NNEDI3 will result in lower aliasing and ringing, and possibility a slightly sharper image. Catmull-Rom + Anti-Ringing + Linear Light is a popular choice for image downscaling, assuming your GPU is powerful enough.


My second question is: for 1080 --> 1440, is image upscaling algorithm used at all if NNEDI3 doubling is enabled?
Yes, assuming you only have NNEDI3 'luma doubling' enabled, 'image upscaling' will be used to scale the chroma from video resolution to output resolution.

My third question is: how is NNEDI3 under chroma upscaling related to NNEDI3 chroma doubling? Since both consume a lot of resources, which one yields a better result if I can only choose one or the other? Sorry I am still technically challenged in this area.

'Chroma upscaling' is always used to convert 4:2:0 or 4:2:2 YCbCr (almost all videos are 4:2:0) to RGB at native video resolution. If you have a 1920x1080 4:2:0 YCbCr video, the chroma is encoded at a half resolution of 960x540. 'Chroma upscaling' is used to resize this 960x540 chroma to match the video resolution of 1920x1080.

"Chroma doubling" is a separate operation performed after "Chroma upscaling".

madshi
26th February 2014, 22:44
The new build dies on me - black screen with mpc-hc 1.7.3 crashing the moment I close it. I didn't change any settings (not using NNEDI), driver version still the 327.23

edit: to clarify: that's with both the finalDither and the newest finalDither2 build.
I sure care about "what's inside", not having a DX11 capable GPU leaves me out in the rain though.
With an hd 4850(ati) all I get is black screen and mpc crash on exit.I reseted madvr settings but no luck.No support because of old card or something else I need in mind?(Of course I haven't put error diffusion)

@Soukyuu got me,same thing.
The OpenCL kernel code changed, which means madVR has to recompile OpenCL. Give it a couple of seconds. Don't close mpc too quickly. Does that help? Or still black screen? Did this also occur with the previous dither test builds?

It should only be a problem when you use oppositColor with random dithering. And even then using oppositeColor is probably fine, but as others pointed out it might be a bad idea to change the 'good old' random dithering to something which may introduce new problems. I was just trying to point out possible new problems.
Ok. I'll stick to multiColor for random dithering for now.

Render queue is falling to 2-8 / 8 when the drops occur. Upload queue goes down to 6-8 / 8 at the same time. Without debanding, both queues stay at 7-8 / 8 all the time.
Does activating the trade for quality option "don't rerender frames when fade in/out is detected" help?

-------

@Everybody: Are you happy with the new default dithering settings (ordered dither with both colored / dynamic checked)?

iSunrise
26th February 2014, 22:49
@madshi:
The improvement ED11 dynamic brings over static is just mind-blowingly awesome. Even in 3bit mode itīs only barely visible at all. I think we not only reached our goal to provide a fairly transparent dithering algorithm, but we clearly surpassed it. I just cannot believe how good this looks. And itīs a 5bit difference, which is huge. This should leave a lot of headroom for further madVR processing without degrading the quality.

My expectations for a dynamic ED11 build are clearly surpassed with this.

Now Iīm extremely interested how this looks in 1bit (if itīs not too much to ask). Would also be helpful for various display-specific tests.

seiyafan
26th February 2014, 22:54
Yes, assuming you only have NNEDI3 'luma doubling' enabled, 'image upscaling' will be used to scaling the chroma from video resolution to output resolution.



Thanks for your help, I still don't quite understand this one. If luma doubling is enabled, then chroma upscaling is still used but image upscaling will or will not? Because you said image upscaling will be used to scale chroma but there is already a chroma upscaling.

madshi
26th February 2014, 23:01
seiyafan, I already answered all your questions two pages ago.

turbojet
26th February 2014, 23:04
Same black screen issue as Soukyuu and Damien147 on GTX250. Happens with madVRfinal5 builds too, waited at least a minute for a picture.

Damien147
26th February 2014, 23:05
The OpenCL kernel code changed, which means madVR has to recompile OpenCL. Give it a couple of seconds. Don't close mpc too quickly. Does that help? Or still black screen? Did this also occur with the previous dither test builds?


Tried 2-3 different videos for 2-3 minutes and had the same result,also after ~30 seconds I lose sound(by skipping sound comes back).Expect those two builds I've tried adaptive4 build and had the same black screen.
[(gpu-z has opencl ticked just to confirm if it matters,catalyst 13.9(last supported)]

Soukyuu
26th February 2014, 23:05
The OpenCL kernel code changed, which means madVR has to recompile OpenCL. Give it a couple of seconds. Don't close mpc too quickly. Does that help? Or still black screen? Did this also occur with the previous dither test builds?I gave it a minute, no change. I didn't test the previous dither builds because I don't have a DX11 card...

edit: i tried the final 5 cylo- err, builds, but same thing. Latest working version for me is 87.4

cyberbeing
26th February 2014, 23:06
Thanks for your help, I still don't quite understand this one. If luma doubling is enabled, then chroma upscaling is still used but image upscaling will or will not? Because you said image upscaling will be used to scale chroma but there is already a chroma upscaling.

1920x1080 4:2:0 YCbCr video (Luma Resolution = 1920x1080, Chroma Resolution = 960x540)

->

'Chroma upscaling' upsamples the chroma from 4:2:0 to 4:4:4 RGB
1920x1080 4:4:4 RGB video (Luma Resolution = 1920x1080, Chroma Resolution = 1920x1080)

->

madVR converts back to YCbCr
1920x1080 4:4:4 YCbCr video (Luma Resolution = 1920x1080, Chroma Resolution = 1920x1080)

->

NNEDI3 Luma doubling, doubles luma resolution.
(Luma Resolution = 3840x2160)

->

'Image downscaling' performed on luma to match output resolution (let's assume 2560x1440 display)
(Luma Resolution = 2560x1440)

->

'Image upscaling' performed on chroma to match output resolution (let's assume 2560x1440 display).
(Chroma Resolution = 2560x1440)

->

Luma & Chroma re-combined
2560x1440 4:4:4 YCbCr video (Luma Resolution = 2560x1440, Chroma Resolution = 2560x1440)

->

madVR converts back to RGB
2560x1440 4:4:4 RGB video (Luma Resolution = 2560x1440, Chroma Resolution = 2560x1440)

seiyafan
26th February 2014, 23:13
seiyafan, I already answered all your questions two pages ago.

Ha, I really need to sharpen my reading skills.

Thanks a ton!

seiyafan
26th February 2014, 23:17
So it seems to me NNEDI3 works the best for doubling the resolution. Will it make 720 video look just as good on 1440 monitor compared with 1080 video (need one more downscale step)? My hunch is no because 1080 video still contains more information. Do you think so too?

DarkSpace
26th February 2014, 23:18
Thanks for the new build! I'm just curious (I'm always curious, in fact), did you change Error Diffusion to use linear light or not? You said that for 8 bit, it wouldn't matter because the distance between values is small enough, but since you now allow us to diffuse error down to 8-3 bit instead of only 8 bit, I thought I'd ask again.

iSunrise
26th February 2014, 23:22
So it seems to me NNEDI3 works the best for doubling the resolution. Will it make 720 video look just as good on 1440 monitor compared with 1080 video (need one more downscale step)? My hunch is no because 1080 video still contains more information. Do you think so too?
Both of this is correct.

Yes, because NNEDI3 works only with powers of 2 (double/quadruple and so forth).

Yes, because everything that comes in native higher resolution or bitrate will always have more image data compared to an already downscaled alternative if both were transfered directly from the master tape itself. With compressed content your milage may vary a lot, because you also upscale image artifacts / compression artifacts too, which the higher resolution (native) version wonīt have.

However, NNEDI3 does an extremely impressive job of keeping the differences as small as possible and depending on the content, will work wonders if you have a really well-handled and well-compressed 720p source.

madshi
27th February 2014, 00:01
The improvement ED11 dynamic brings over static is just mind-blowingly awesome. Even in 3bit mode itīs only barely visible at all. I think we not only reached our goal to provide a fairly transparent dithering algorithm, but we clearly surpassed it. I just cannot believe how good this looks. And itīs a 5bit difference, which is huge. This should leave a lot of headroom for further madVR processing without degrading the quality.

My expectations for a dynamic ED11 build are clearly surpassed with this.
Good to hear! :)

Same black screen issue as Soukyuu and Damien147 on GTX250. Happens with madVRfinal5 builds too, waited at least a minute for a picture.
Tried 2-3 different videos for 2-3 minutes and had the same result,also after ~30 seconds I lose sound(by skipping sound comes back).Expect those two builds I've tried adaptive4 build and had the same black screen.
[(gpu-z has opencl ticked just to confirm if it matters,catalyst 13.9(last supported)]
I gave it a minute, no change. I didn't test the previous dither builds because I don't have a DX11 card...

edit: i tried the final 5 cylo- err, builds, but same thing. Latest working version for me is 87.4
Ok, was a bug with handling DirectCompute failure. Should be fixed in this build:

http://madshi.net/madVRfinalDither3.rar

Maybe I should stop calling these "final"... :D

turbojet
27th February 2014, 00:06
Works fine now, thanks.

Damien147
27th February 2014, 00:17
All good here too,thanks.

Soukyuu
27th February 2014, 00:22
Same here, works fine now.

A (probably already asked) question about dithering: when is it actually applied?
I just tried watching a few anime episodes with dithering _off_ and I don't really see a difference...

iSunrise
27th February 2014, 00:28
Same here, works fine now.

A (probably already asked) question about dithering: when is it actually applied?
I just tried watching a few anime episodes with dithering _off_ and I don't really see a difference...
Since madshi has now introduced lower native bit-selections for your display, just select a lower one from the devices - properties tab, until you can see the dithering pixels. Then you can select which oneīs you prefer on your display and dial that up again to where it was.

Dithering is applied always, unless you select "None" in the dithering tab (and then you will actually see, how good the new dithering algorithms really are).

Soukyuu
27th February 2014, 00:31
Well the thing is, with my panel set to 8Bit, I can disable dithering and not see a difference. I remember madshi saying one should not disable dithering because it would show banding etc, but I'm not seeing it... or not looking at the right things.

Sure, if I go down to 5Bit and below, I start to see the dithering (and I prefer ordered dithering (color noise, static pattern) over old random dithering in that case).
What I'm trying to figure out is, why would I need to spend resources on dithering in the first place...

Shiandow
27th February 2014, 00:47
Sure, if I go down to 5Bit and below, I start to see the dithering (and I prefer ordered dithering (color noise, static pattern) over old random dithering in that case).
What I'm trying to figure out is, why would I need to spend resources on dithering in the first place...

No-one is forcing you to, but using ordered dithering shouldn't use a significant amount of resources and it does prevent banding and improves colour accuracy. You may want to make sure that your screen is actually capable of displaying more than 6bit and doesn't use dithering to increase this to 8bit, because that would also explain why you don't see much difference between 6bit and 8bit.

Damien147
27th February 2014, 01:15
I don't know if it's placebo but everything seems to run smoother:)

cyberbeing
27th February 2014, 01:18
@Everybody: Are you happy with the new default dithering settings (ordered dither with both colored / dynamic checked)?

Ack, I just checked again and realized ordered dither has very strong patterns on certain shades. I didn't notice this until seeing 'colored' in the latest build, but on close examination it also exists on luma when using 'mono'. Originally I thought I preferred ordered dither as mono / static, but after noticing the patterns with colored / dynamic, I think I'd settle on mono / dynamic instead. I'm torn now though... and unsure if ordered dither makes a good default over random dither.

Though I guess defaults don't really matter, as long as configuration options for dithering don't start disappearing at some later date. If you are not already doing so, please allow each dither algorithm choice to have separate saved/restored 'options' checkboxes instead of being a global setting.

iSunrise
27th February 2014, 01:30
madshi, another bug that may be related to the bug that James Freeman already reported, is that when you go into the madVR dithering settings and select "None" and apply it, then you close the madVR settings completely and open them up again, in the dithering settings there suddenly is no selection at all. So it seems madVR doesnīt remember the "None" dithering selection.

To be clear, every other dithering option works, only the "None" option doesnīt stick.

This is with madVRfinalDither3.

Shiandow
27th February 2014, 01:46
I don't know if it's placebo but everything seems to run smoother:)

I have the same impression, but maybe we shouldn't rule out the placebo effect too quickly. A plausible explanation would be that the lack of 'temporal' noise lessens the strain on the 'motion sensing' neurons which makes things seem smoother, if this is true then using a static algorithm would make things seem even smoother. But this is just speculation on my part.

noee
27th February 2014, 03:36
Well, something got "smoother", because now I can just barely run A4 with SmoothMotion On with 1080p 10-bit encodes. Before I could not, a drop fest. Not so with ED11 and SM. Without SM, like a champ.

seiyafan
27th February 2014, 03:49
Earlier I have been looking for benchmarks of MadVR, especially with the newer NNEDI3, I didn't find any. So I decide to make my own and share with this community. This is for a 1920x1080 video upscaled to 2560x1440 (monitor res)

Enjoy:

http://s28.postimg.org/tgq6gkq1n/madvr.png

XMonarchY
27th February 2014, 05:08
So decreasing dithering bits is there to improve performance but decrease quality, correct?

cyberbeing
27th February 2014, 05:38
So decreasing dithering bits is there to improve performance but decrease quality, correct?

No, that is not intended to be a performance vs quality setting. If you don't set it to your display's bitdepth, you'll just have an incorrect dithering result. It was originally added by madshi long ago if someone had a 6bit display which does not internally dither to 8bit. Upon adding unrealistic display bitdepths below 6bit, it's now more of a dithering test mode or similar, not something for general use.

James Freeman
27th February 2014, 05:38
@Everybody: Are you happy with the new default dithering settings (ordered dither with both colored / dynamic checked)?

I my opinion, Yes.
Its OD32, which to me looks as good as ED11.

I think, OD32 will be an excellent choice for madTPG.
Whether Mono/Color/Static/Dynamic, (probably Mono Dynamic will be best for greyscale).
Graeme should decide based on what would "look" better for the hardware sensors (should probably look good to our eyes too).


madshi,
Thank you for a your effort, I really appreciated and admire your work.
We are lucky to be on the edge of HTP video experience in this time (and be part of it).

Upon adding unrealistic display bitdepths below 6bit, it's now more of a dithering test mode or similar, not something for general use.
Yes, probably to save a lot of questions, and let people actually SEE the difference for themselves.
Although with the new dithering methods, 5-bit is quite enough to enjoy the movie completely. :D

pie1394
27th February 2014, 05:42
Well, something got "smoother", because now I can just barely run A4 with SmoothMotion On with 1080p 10-bit encodes. Before I could not, a drop fest. Not so with ED11 and SM. Without SM, like a champ.

I bought a new NB for my new job recently -- Sony Fit 11A, which the CPU is Pentium N3520 with redesigned out-of-ordered Atom CPU core * 4 + HD4000-downgraded GPU of 4 units.

Basically I don't expect it to be as powerful as Core i5-4200U(+HD4400). Yet its performance is indeed very impressive to me since its maxTDP is just 8w and SDP is 4.5w. It allows SmoothMotion on H.264 720p24, 1080p24 contents and half-frame-rated deinterlacing on 1080i60 ones. LavFilter is set to use QuickSync decoder. ASS is handled by XySubFilter. madVR Chroma upscaling is set to SoftCubic100, Image Up/Down-scaling is DXVA. If I don't remember it wrong, madshi ever mentioned that HD4000 GPU contains HW Lanczos4 scaler...

About the CPU part, it can handle the regular bit-rate of H.264 Hi10p 1080p contents -- maybe up to 10Mbps.

Anima123
27th February 2014, 05:48
Just for testing purpose I guess. It's harder for human eyes to distinguish delicate differences in 8 bit between various dithering algorithms Madshi used.