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

mark0077
2nd January 2016, 18:06
According to nvidia inspector its staying in state P2 regardless of this checkbox.

Manni
2nd January 2016, 19:25
Profiles! :)

If I could find the option, maybe :)

ibius
2nd January 2016, 19:54
devices -> "device name" -> calibration

Manni
2nd January 2016, 20:09
Simply configure madVR to "this display is already calibrated to BT.2020".


devices -> "device name" -> calibration

Thanks, that's where I would have looked first, but there is no such option there (or anywhere that I can see):

At least not for my display.

ibius
2nd January 2016, 20:48
Thanks, that's where I would have looked first, but there is no such option there (or anywhere that I can see):

At least not for my display.

Em, what options do you get on that page?

You don't see "this display is already calibrated"?

Manni
2nd January 2016, 21:08
Em, what options do you get on that page?

You don't see "this display is already calibrated"?

Sure, I see this option, but how does this help? It disables all the 3D LUTs, so it would only work if I wanted to select a display mode with a native rec2020 calibration and no 3D LUT with MadVR, which isn't what I'm trying to do.

What I'm trying to do is to be able to get MadVR not to convert rec2020 content to P3 when there is a rec2020 3D LUT.

This is why I didn't understand Madshi's answer to my question, as I don't see an option that allows you to select "this display is already calibrated to rec2020" when using a rec2020 3D LUT.

aufkrawall
2nd January 2016, 21:20
Just thought it was worth mentioning anyways for those not using fullscreen exclusive mode. I'm using GTX 980 in Windows 10.
Those statistics can be deceiving, there shouldn't be any real performance difference between D3D9 or 11 path.
The differences in overhead or whatever between the APIs are neglectable compared to shader run times.
When GPU load gets a little too high, I get dropped frames, no matter if D3D9 or 11. Got a 980 and Win 10 as well.

huhn
2nd January 2016, 23:59
According to nvidia inspector its staying in state P2 regardless of this checkbox.

try GPU-z

aufkrawall
3rd January 2016, 00:17
It will say the same. What's interesting is not the used power state but the actual clocks.

Warner306
3rd January 2016, 01:58
Can you show a screenshot where the ringing is visible? Ideally a short video sample with which I could reproduce it? Improving the sharpening anti-ringing filter is on my to do list, but it's not too easy. We want to supress the ringing, but we want to allow sharpening, too. If I make the anti-ringing filter too strict, I might also remove some valid sharpening.

I don't have any screenshots showing excess ringing with sharpen edges. My concerns with sharpen edges relate mostly to watching uncompressed 1080p Blu-rays on a 1080p display. The "shimmer" effect during scenes of motion is due to the aggressive and obvious edge enhancement of this sharpener. I am sure this is lessened considerably when sharpen edges is applied instead from upscaling refinement.

Let me clarify. I currently use image sharpening with all profiles to keep the appearance of the image consistent:

SD -> 1080p (crispen edges (1.0), SuperRes (3))
720p -> 1080p (SuperRes (1))
1080p -> 1080p (sharpen edges (0.5))

The 1080p profile is where madVR begins to look inconsistent. SuperRes is the primary image sharpener on other profiles. Not only does SuperRes produce less aggressive edges; it also looks much better in motion. Normally I don't like crispen edges because it alters image brightness. But I find it is not offensive at a 2x scaling factor and actually blends very well with SuperRes, which can look bloated at high values, and crispen edges helps with this.

So, for the 1080p profile, I am left using small values of image enhancements to match the look of the other profiles. Of the bunch, I prefer sharpen edges, but it is very harsh (almost clinical) when applied to 1080p Blu-ray rips. Even at small values, the haloing around objects, which can be a combination of fattened lines and/or ringing is sometimes distracting. The sharper the Blu-ray, the more distracting the ringing can be. If you could tame the edges, even slightly, this would be my prefered sharpener. I know crispen edges is available, but I find it changes the brightness of the image in unwanted ways.

An even better solution than improving sharpen edges would be to introduce an image enhancement that looks similar to SuperRes. Also, perhaps the sharpening anti-ringing filter needs to be more aggressive with image enhancements?

madshi
3rd January 2016, 12:01
Also if there is a rec2020 3D LUT, would you consider not converting rec2020 content to P3?
1) Where is this option? I've probably missed it, but I've never seen it.

2) Will this allow to use a rec-709 calibration for rec-709, PAL and SMPTE-C, a P3 calibration for P3 and a rec2020 calibration for rec2020? Or will it force us to use the same baseline for all calibrations?
I think there is a misunderstanding somewhere. Let me sum up some things, in the hope that it will clear things up:

1) madVR does *not* convert native 2020 content to P3, as I've already said before. Exceptions: If you have a P3 3dlut file loaded in the 2020 slot (see point 5). Or if the 2020 slot is empty and a P3 3dlut file is loaded in the P3 slot *). Or if you have setup calibration to "this display is already calibrated to P3".

2) When talking about "P3 in 2020 container" content, madVR treats that as P3 content - because it is! The container doesn't matter.

3) "Conversion" between different gamuts is lossless - except if somebody somewhere clips (3dlut processing does clip). Conversion from a smaller to a wider gamut is always lossless.

4) You can force madVR to process P3 content (and "P3 in 2020 container" content) through a 2020 processing pipeline by either leaving the P3 slot empty and filling the 2020 slot with a 2020 3dlut *). Or by filling the P3 slot with a 2020 3dlut (see point 5). Or by setting "this display is already calibrated to 2020".

5) Generally when using a 3dlut, madVR does *not* convert to the gamut identified by the slot. The slot just makes madVR choose the 3dlut file. But the 3dlut file might have a different gamut stored in its header. Meaning: You could create a 3dlut for e.g. BT.709 and then load it into a 2020 slot. If you do that, madVR will pick that 3dlut for 2020 content, because the slot says so. But madVR knows that the 3dlut was made for BT.709, so madVR converts the source to BT.709 in this situation, because that's the only way to get correct colors out of that 3dlut file. Usually I would expect the 3dlut gamut to match the slot it's loaded in, but you *can* load a 3dlut into a slot which wasn't made for the slot gamut. So this can complicate things.

*) The exact behaviour which slot to use (if the slot that matches the source gamut) is not well designed right now. Currently if the slot is empty always the BT.709 slot is used instead. That will be improved in the next build, where P3 will use 2020 and 2020 will use P3 as the first workaround slot if the source slot is empty.

madshi
3rd January 2016, 12:02
KNLMeansCL was initially an OpenCL version of TNLMeans, so I guess yeah,
parameters used in chromareconstructor:
ax=ay= radius
az=0
sx=sy=bx=by=0
a=1.0
h=str
ssd=1
"rclip" (external clip as the weighting reference) wasn't implemented in TNLMeans, guess you have to do that by yourself, but it should be pretty easy..
Ok, thanks, will have a look.

wouldn't IVTC fail in this case too?

ok it could kind of survive 30p. are the informations from media info unreliable or unaccessible?

can madVR always read the repeat flag and act different when they are found? like enabling smoothmotion.

so every case that is not interlaced is not harmed by this.
IVTC handles 30p sections just fine. However, display refresh mode selection and smooth motion activation always assumes 23p.

The general problem here is that the repeat flag is not guaranteed to be constant throughout the whole movie file. It can change at any time. So if there's such a flag at the start of the video file, that doesn't say anything about playback at runtime 5 seconds, or vice versa. Furthermore the flags might change back and forth all the time, even very quickly. So adjusting refresh rate and smooth motion activation all the time when the flags change would result in weird behaviour with a lot of content. Especially broadcasts and also some DVDs have very inconsistent flags.

I don't have any screenshots showing excess ringing with sharpen edges. My concerns with sharpen edges relate mostly to watching uncompressed 1080p Blu-rays on a 1080p display. The "shimmer" effect during scenes of motion is due to the aggressive and obvious edge enhancement of this sharpener. I am sure this is lessened considerably when sharpen edges is applied instead from upscaling refinement.

Let me clarify. I currently use image sharpening with all profiles to keep the appearance of the image consistent:

SD -> 1080p (crispen edges (1.0), SuperRes (3))
720p -> 1080p (SuperRes (1))
1080p -> 1080p (sharpen edges (0.5))

The 1080p profile is where madVR begins to look inconsistent. SuperRes is the primary image sharpener on other profiles. Not only does SuperRes produce less aggressive edges; it also looks much better in motion. Normally I don't like crispen edges because it alters image brightness. But I find it is not offensive at a 2x scaling factor and actually blends very well with SuperRes, which can look bloated at high values, and crispen edges helps with this.

So, for the 1080p profile, I am left using small values of image enhancements to match the look of the other profiles. Of the bunch, I prefer sharpen edges, but it is very harsh (almost clinical) when applied to 1080p Blu-ray rips. Even at small values, the haloing around objects, which can be a combination of fattened lines and/or ringing is sometimes distracting. The sharper the Blu-ray, the more distracting the ringing can be. If you could tame the edges, even slightly, this would be my prefered sharpener. I know crispen edges is available, but I find it changes the brightness of the image in unwanted ways.

An even better solution than improving sharpen edges would be to introduce an image enhancement that looks similar to SuperRes. Also, perhaps the sharpening anti-ringing filter needs to be more aggressive with image enhancements?
The problem for me is that it's hard to improve something if I can't reproduce the exact problem you're seeing. I kind of understand what you mean, but if I don't see a screenshot or a sample video to reproduce that shimmering effect on my PC, then I can know whether changing the algorithm has improved things or not?

Manni
3rd January 2016, 12:12
I think there is a misunderstanding somewhere. Let me sum up some things, in the hope that it will clear things up:

1) madVR does *not* convert native 2020 content to P3, as I've already said before. Exceptions: If you have a P3 3dlut file loaded in the 2020 slot (see point 5). Or if the 2020 slot is empty and a P3 3dlut file is loaded in the P3 slot *). Or if you have setup calibration to "this display is already calibrated to P3".

2) When talking about "P3 in 2020 container" content, madVR treats that as P3 content - because it is! The container doesn't matter.

3) "Conversion" between different gamuts is lossless - except if somebody somewhere clips (3dlut processing does clip). Conversion from a smaller to a wider gamut is always lossless.

4) You can force madVR to process P3 content (and "P3 in 2020 container" content) through a 2020 processing pipeline by either leaving the P3 slot empty and filling the 2020 slot with a 2020 3dlut *). Or by filling the P3 slot with a 2020 3dlut (see point 5). Or by setting "this display is already calibrated to 2020".

5) Generally when using a 3dlut, madVR does *not* convert to the gamut identified by the slot. The slot just makes madVR choose the 3dlut file. But the 3dlut file might have a different gamut stored in its header. Meaning: You could create a 3dlut for e.g. BT.709 and then load it into a 2020 slot. If you do that, madVR will pick that 3dlut for 2020 content, because the slot says so. But madVR knows that the 3dlut was made for BT.709, so madVR converts the source to BT.709 in this situation, because that's the only way to get correct colors out of that 3dlut file. Usually I would expect the 3dlut gamut to match the slot it's loaded in, but you *can* load a 3dlut into a slot which wasn't made for the slot gamut. So this can complicate things.

*) The exact behaviour which slot to use (if the slot that matches the source gamut) is not well designed right now. Currently if the slot is empty always the BT.709 slot is used instead. That will be improved in the next build, where P3 will use 2020 and 2020 will use P3 as the first workaround slot if the source slot is empty.

Thanks a lot for taking the time to write this, it does help to clear things up. :)

My experience of 1) is different, as with a rec2020 3D LUT loaded in the rec2020 slot and no 3D LUT in the P3 slot MadVR still reported rec2020>P3 when playing rec2020 encoded but P3 mastered HDR content (as in say the Exodus HDR10 trailer). Unless that falls in 2) for you. In that case this is related to the ongoing discussion in the Spectracal thread, so let's not discuss here. I was asking you to give us the option of not doing this conversion so we could compare the results, but I respect your decision if you believe it's better not to, for whatever reason. 4) should help to test this in the next build anyway if I understand you correctly.

Thanks again for these explanations, especially 4) and 5). Much appreciated.

madshi
3rd January 2016, 12:19
The "2020 -> P3" is not necessarily a representation of the processing pipeline, but just the best I could up with to show the 2086 metadata in the OSD. The meaning is simply "2020 container -> P3 2086 metadata". Whether or not madVR remaps the 2020 coordinates to P3 depends on the exact calibration configuration. The exact gamut processing pipeline is not shown in the OSD.

Manni
3rd January 2016, 12:25
The "2020 -> P3" is not necessarily a representation of the processing pipeline, but just the best I could up with to show the 2086 metadata in the OSD. The meaning is simply "2020 container -> P3 2086 metadata". Whether or not madVR remaps the 2020 coordinates to P3 depends on the exact calibration configuration. The exact gamut processing pipeline is not shown in the OSD.

Thanks again for this clarification. I've edited my post above as I understood further (I think) what 4) could help us to do in the next build.

chros
3rd January 2016, 15:11
Those statistics can be deceiving, there shouldn't be any real performance difference between D3D9 or 11 path.
The differences in overhead or whatever between the APIs are neglectable compared to shader run times.
As I said couple of times, there's a huge performance difference between FSE D3D9 Old Path and the rest of the modes on my optimus system while others couldn't confirm this (they are not using the same hardware).

mark0077
3rd January 2016, 16:24
It will say the same. What's interesting is not the used power state but the actual clocks.

OK with gpu-z I have looked at the core and memory clocks when using the D3D9 vs D3D11 paths.

The small change in mhz definitely doesn't explain the huge advantage D3D11 gives. I'll certainly be sticking with D3D11 on my machine anyways.

D3D9
Core Clock: 1215
Memory Clock: 1502
Rendering Time Average: 15.95ms

D3D11
Core Clock: 1328
Memory Clock: 1502
Rendering Time Average: 3.34ms

On my older GTX 295 I had to tick "present a frame for every VSync" to avoid glitches, but not so on the GTX 980. I guess it shows its worth trying these options out.

Maybe itd be a good idea for madVR 2.0 in a few decades time, to have an auto setup feature that could try various combinations of these settings on the users sytem, and analyze their behaviour very quickly by playing a few seconds of a clip and seeing how each performs, and automatically choosing what gives the best results.

aufkrawall
3rd January 2016, 18:02
I suspect the statistics to be misleading in this case, maybe it's simply a bug how they got calculated or whatever.
When the GPU runs with a higher clock, this usually means that the load is higher.
The difference in your case is small however. Are you sure these clocks are reproducible? Sometimes the driver may decide differently.

mark0077
3rd January 2016, 19:02
Yeah the core clock can deviate slightly but all in or around the 1200 - 1350 mark, so nothing that explains a 500% increase. I guess its either a calculation error or there is something else funny going on. Strange thing is, with D3D9 in non fullscreen windowed mode, its around 3ms also. Even if I drag the size of the mpc-be window to pretty much fullscreen, its 3ms. Its only when it goes into the fully maximized mode that it makes the jump to ~16ms. Whats different between the two I do not know.

huhn
3rd January 2016, 21:17
there is something wrong why should the GPU even use a high clock like this if it can be done in 3 ms.

mark0077
3rd January 2016, 21:29
Well I use SVP to get to 60fps so I'm not surprised my gpu is working reasonably hard.

aufkrawall
3rd January 2016, 21:42
there is something wrong why should the GPU even use a high clock like this if it can be done in 3 ms.
It starts with a high clock and then should fall if load isn't high.

Shiandow
4th January 2016, 00:28
KNLMeansCL was initially an OpenCL version of TNLMeans, so I guess yeah,
parameters used in chromareconstructor:
ax=ay= radius
az=0
sx=sy=bx=by=0
a=1.0
h=str
ssd=1
"rclip" (external clip as the weighting reference) wasn't implemented in TNLMeans, guess you have to do that by yourself, but it should be pretty easy..

That looks pretty similar to what the Bilateral chroma scaler does, only with a much larger radius.

ryrynz
4th January 2016, 04:51
SD -> 1080p (crispen edges (1.0), SuperRes (3))
720p -> 1080p (SuperRes (1))
1080p -> 1080p (sharpen edges (0.5))



Why just the one pass at 720? Is performance an issue with more than one pass?

Warner306
4th January 2016, 08:35
Why just the one pass at 720? Is performance an issue with more than one pass?

No, I was aiming more for accuracy. Higher values look too aggressive to my eyes. 720p really isn't that far behind 1080p in terms of detail. Not a whole lot of sharpening is required. Granted, that is the only profile I still experiment with. What do you prefer?

madshi
4th January 2016, 09:17
That looks pretty similar to what the Bilateral chroma scaler does, only with a much larger radius.
Hmmmm... Overall it looks like a quite different algo to me. The radius is bigger, obviously. But also letting a "normal" upscaling algo do the initial upscaling is different, then using supersampling to do the corrections, not using the distance in the weight calculation and finally the way the corrections are "applied" to the original upscaled chroma channels. That's all different.

Shiandow
4th January 2016, 11:14
Hmmmm... Overall it looks like a quite different algo to me. The radius is bigger, obviously. But also letting a "normal" upscaling algo do the initial upscaling is different, then using supersampling to do the corrections, not using the distance in the weight calculation and finally the way the corrections are "applied" to the original upscaled chroma channels. That's all different.

Yeah, I was just referring to the "NLmeans" part. In general the NLmeans algorithm is different because it takes into account the neighbourhood of pixels, but with those parameter the neighbourhood has a radius of 1.

bran
4th January 2016, 19:25
I'm getting a very dark almost black/sepia image when trying to watch HDR clips with madVR.

http://i.imgur.com/N5jWTdB.png

For example the "Life of Pi HDR" demo (http://demo-uhd3d.com/fiche.php?cat=uhd&id=88). But happening on all of the few HDR clips I've found.

This is happening on both my computers. Both having a GTX 980Ti and madVR 0.89.19. Using the latest stable build of mpc-hc or the nightly LAV Filters makes no difference.

One computer is connected to my Samsung JS9505 SUHD TV (12-bit reported in nvidia control panel), the other to my LG 34UM95 10-bit monitor (10 bit nvidia ctrl panel). Obviously the computer monitor can't do HDR, but at least before (I just reinstalled Windows with latest nvidia drivers and madvr/mpc-hc) I got a washed out colour picture.

Trying the different "this monitor is already calibrated" options makes no big difference either, the sepia is just turned towards a more orangish tone.

Changing to EVR the clips are displayed as expected, the right colour but washed out.

madshi
4th January 2016, 19:29
Try resetting madVR to default settings. Are you using DXVA copyback decoding? Try disabling everything DXVA in the madVR settings. If you can't get it to work, enable the OSD (Ctrl+j) and post a screenshot with the OSD on.

Probe
4th January 2016, 19:48
I'm getting a very dark almost black/sepia image when trying to watch HDR clips with madVR.


I had the same problem with my GTX 960...only enabling DVXA gpu decoding bypassed the corruption for whatever reason. Seems to happen after playing with the full and limited range settings. The only way I found to resolve the issue was to create a new OS user profile, which cleared up the corruption.

bran
4th January 2016, 19:55
Try resetting madVR to default settings. Are you using DXVA copyback decoding? Try disabling everything DXVA in the madVR settings. If you can't get it to work, enable the OSD (Ctrl+j) and post a screenshot with the OSD on.

I was using DXVA copyback, yes. However I had tried just software as well. Resetting the settings with the .bat-file now renders the video in windowed mode. But going fullscreen just gives audio playing with a black screen, no OSD or nothing. I've disabled what I could find regarding DXVA.

http://i.imgur.com/NZ7MgWr.jpg

Changing to 10-bit for the monitor in madVR didn't help either.

EDIT: Changing to DX11 is now rendering the video in FS as well.

EDIT2: !!! Enabling "Activate SuperRes Filter" is what is yielding the sepia image. !!!

Uoppi
4th January 2016, 21:30
Which would be more preferable and why (SD -> 1080p upscale):
- Double luma at NNEDI3 256 (no quadrupling)
or
- Use luma quadrupling at NNEDI3 32 and doubling at however high you can go with NNEDI3 (which would be significantly less than the 256 above, of course)

Assuming in both cases the resulting resource expenditure is about equal, that is, near the absolute max available.

aufkrawall
4th January 2016, 21:55
Quadrupling doesn't make much sense in this situation since 576p or 480p doubled is already more than 1080p or almost as much.
Instead of using that many neurons, I'd suggest SuperRes. NNEDI3 is mostly very artifact free, but it can look a bit artificial. SuperRes can help a lot against this.
e.g. try NNEDI3 64 doubling with SuperRes strength 2 or 3. You can also put a little of sharpen edges, enhance detail or Adpative Sharpen on top of that.

Uoppi
5th January 2016, 01:37
Quadrupling doesn't make much sense in this situation since 576p or 480p doubled is already more than 1080p or almost as much.
Instead of using that many neurons, I'd suggest SuperRes. NNEDI3 is mostly very artifact free, but it can look a bit artificial. SuperRes can help a lot against this.
e.g. try NNEDI3 64 doubling with SuperRes strength 2 or 3. You can also put a little of sharpen edges, enhance detail or Adpative Sharpen on top of that.

Hmm, you're right. Maybe I thought of quadrupling because horizontally 720 -> 1920 is almost a 3x upscale. Still, a waste of resources though.

So for SD -> 1080p upscale the "correct" way is to use doubling with the setting "only when scaling factor is 1.5 or more"? I think for 720p I've got it set at "always when needed".

I use SuperRes (at 1 or 2) with NNEDI3 (32 and more) for all upscales. And I don't usually want any further sharpening (even the sharpness setting on my tv is at 0).

aufkrawall
5th January 2016, 02:10
Hmm, you're right. Maybe I thought of quadrupling because horizontally 720 -> 1920 is almost a 3x upscale. Still, a waste of resources though.

Yeah, I forgot that there can be many differences in horizontal resolutions.
I'd use super-xbr for quadrupling after NNEDI3 doubling in such situations then. Someone claimed here that it would look pixelated compared to pure NNEDI3 quadrupling, but I'm not aware of any proof for that. With my tests, I could hardly distinguish NNEDI3 64 doubling + super-xbr 75 quadrupling vs. NNEDI3 64 doubling + NNEDI3 64 quadrupling. SuperRes also reduces the remaining differences.

GCRaistlin
5th January 2016, 02:30
I get dropped frames playing NTSC SD video (http://mir.cr/0JGNT9O8) on 30 Hz and no dropped frames playing it on 60 Hz. Also, I get dropped frames playing PAL SD video (http://mir.cr/0TO7HKQ7) on 24 Hz (with ReClock) and no dropped frames playing it on 50 Hz (and no such issue when playing NTSC HD video on 24 Hz).
HD5770 + Catalyst 14.4, WinXP SP3, MPC-HC 1.7.10.40, madVR 0.89.19

huhn
5th January 2016, 03:54
without OSD screenshots it's hard to judge.

but the NTSC SD file is 60 HZ and should be watched at that.

e-t172
5th January 2016, 18:08
Not entirely related to madVR, but wanted to share that the "UHD Premium" announcement (http://arstechnica.com/gadgets/2016/01/just-after-you-bought-a-4k-tv-for-christmas-uhd-alliance-announces-uhd-premium/) might end up bringing order into the chaos that HDR currently is. Hopefully.

nevcairiel
5th January 2016, 18:55
Not entirely related to madVR, but wanted to share that the "UHD Premium" announcement (http://arstechnica.com/gadgets/2016/01/just-after-you-bought-a-4k-tv-for-christmas-uhd-alliance-announces-uhd-premium/) might end up bringing order into the chaos that HDR currently is. Hopefully.

Unfortunately it still doesn't seem to specify how to actually process the HDR data, so experience between TV sets may differ.

Uoppi
5th January 2016, 20:10
Yeah, I forgot that there can be many differences in horizontal resolutions.
I'd use super-xbr for quadrupling after NNEDI3 doubling in such situations then. Someone claimed here that it would look pixelated compared to pure NNEDI3 quadrupling, but I'm not aware of any proof for that. With my tests, I could hardly distinguish NNEDI3 64 doubling + super-xbr 75 quadrupling vs. NNEDI3 64 doubling + NNEDI3 64 quadrupling. SuperRes also reduces the remaining differences.

I actually tried NNEDI3 doubling + Super-XBR quadrupling at one point and it looked fine but I remember I opted to "go all out" with NNEDI3 doubling instead (128 or 256).

So from what I can gather, it would indeed be a good strategy to use a moderate NNEDI3 count for doubling + Super-XBR for quadrupling (to kick in for higher upscales) INSTEAD of allocating all available resources towards maxing NNEDI3 doubling? I mean, I'm having a hard time spotting differences between 64 vs. 256 neurons anyway unless zooming up close.

Thunderbolt8
5th January 2016, 21:15
a question regarding range conversion. what is the recommendation here for a TV, set the graphic card to 0-255 and then let madVR do the conversion to 16-235? someone I know who has a Panasonic plasma TV says that when he does so, forcing the nvidia driver to output 0-255, and then setting 16-235 in madVR will leave whiter than whites (236-255) pass through and make 235, which is supposed to be white, darker. According to him the only way to get proper output with nvidia is to set the gpu to 16-235 and madvr to 0-255.

he made some pictures using the AVSHD calibration disc:

madvr 16-235, GPU 0-255: http://someimage.com/TIY4nz2

madvr 0-255, GPU 16-235: http://someimage.com/uy1kWWj

huhn
5th January 2016, 21:30
depends on the screen setting.
madvr 16-235, GPU 0-255 and madvr 0-255, GPU 16-235 should result in the same output type (limited) which should look the same.

so either the TV settings are changed or the screen act strange with a full range signal which doesn't make a lot of sense.

or in "short" this should count:
There are 3 possible HTPC level configurations, when using madVR:

(1) Display wants 0-255. GPU and madVR are consequently also both set to 0-255.

This is the most recommended setup because it doesn't (shouldn't) have any banding problems, and still has all video, desktop and games with correct black/white levels. In this case test patterns need to have black at 0,0,0, obviously.

(2) Display wants 16-235. GPU is set to 16-235. madVR has to be set to 0-255.

This is not recommended, because the GPU stretches the madVR output, probably in 8bit without dithering, so banding could be introduced. However, this is not a big problem for ArgyllCMS. Argyll still needs to create test patterns with black at 0,0,0. The GPU will then stretch the test patterns from 0-255 to 16-235, so the display will get 16,16,16, although Argyll rendered 0,0,0. So the levels are correct.

(3) Display wants 16-235. GPU is set to 0-255. madVR is set to 16-235.

This is the recommended setup for best image quality if your display can't do 0-255. This setup results in banding-free madVR image quality. However, levels for desktop and games will be incorrect, because desktop and games will render black at 0,0,0, while the display expects black at 16,16,16. This is a problem for ArgyllCMS, because Argyll will create test patterns with black at 0,0,0, and the display will also receive these at 0,0,0. So basically Argyll test patterns will have wrong levels, which will screw up the whole calibration.

It is my understanding that Graeme implemented the -E switch specifically for (3), because without the -E switch Argyll test patterns would send wrong levels to the display. Basically the -E switch tells Argyll to render test patterns with black at 16,16,16 and white at 235,235,235, which Argyll never had to do before. When using VMR/EVR, you usually switch your GPU to 0-255 or 16-235. In both cases Argyll can render test patterns with black at 0,0,0, and they will still be sent to the display with the correct levels. However, due to my recommendation to use (3) if your display doesn't support 0-255, Argyll suddenly needs to render test patterns differently. Hence Graeme implemented the -E switch.

So my understanding is that -E should be used only for (3) and in no other situation. If you use the -E switch for (1), Argyll will create test patterns with black at 16,16,16 which would be incorrect!

source: http://www.avsforum.com/forum/139-display-calibration/1471169-madvr-argyllcms.html#post23274961

KoD
5th January 2016, 21:31
Nvidia GPUs and drivers are able to properly output a full range [0-255] signal, it's Panasonic plasmas that used to not accept full range signals. I know this first hand, I had a Panasonic plasma myself. More recent models might no longer have this issue though.

So what your friend does is the right thing to do for him. He has to set his output to [16-235] in the GPU because his TV set would ignore the [0-16] and [235-255] range of values were he to send a full range signal [0-255]. This is option (2) in the quote from huhn's post. I do not agree that option (3) in huhn's quoted post is preferable to (2) for two reasons: one is that we don't use TVs to see movies only, but we also want the desktop, images, games and everything else to be displayed properly - and this is not what happens with option (3); and second, because from my experience the [0-255] signal is not properly interpreted by a TV which only expects [16-235] - the gamma or something else is not right, the image in movies does not look quite the same as when you use option (2).


If you have a TV that accepts a full range signal, the best thing to do is to output full range from the GPU [0-255] and configure madVR to do the conversion from 16-235 to [0-255] as intended - that's exactly option (1) from the post quoted above. You need to look into the controls of your TV set to enable it to accept a full range signal though. How to do this varies from brand to brand and model to model. It may involve setting the input as a PC input, or activating some mode (like "Game"), or toggling some "black level" option. On my Sony TV, everything is properly working out of the box with its auto setting, the TV properly recognizes when the GPU sends limited range or full range signals. But if I were to force full range for an input, what I would have to do would be to set Display -> Video Input Settings -> HDMI Dynamic Range to "Full" for that HDMI port.

In the past some TVs were not being able to accept a full range signal at all.

Manni
5th January 2016, 22:10
Unfortunately it still doesn't seem to specify how to actually process the HDR data, so experience between TV sets may differ.

This is just the press release, signatories of the UHD Alliance have access to the full specs.

Thunderbolt8
5th January 2016, 22:12
madvr 16-235, GPU 0-255 and madvr 0-255, GPU 16-235 should result in the same output type (limited) which should look the samebut they arent as you can see in the pictures. his TV only accepts 16-235 via HMDI.

Razoola
5th January 2016, 22:52
a question regarding range conversion. what is the recommendation here for a TV, set the graphic card to 0-255 and then let madVR do the conversion to 16-235? someone I know who has a Panasonic plasma TV says that when he does so, forcing the nvidia driver to output 0-255, and then setting 16-235 in madVR will leave whiter than whites (236-255) pass through and make 235, which is supposed to be white, darker. According to him the only way to get proper output with nvidia is to set the gpu to 16-235 and madvr to 0-255.

he made some pictures using the AVSHD calibration disc:

madvr 16-235, GPU 0-255: http://someimage.com/TIY4nz2

madvr 0-255, GPU 16-235: http://someimage.com/uy1kWWj

This problem does not just affect Panasonic plasmas. I have a Samsung and see the same problem. In fact, its always been like this with all tvs I have used with madVR (Samsung, Panasonic and Philips). Its been an issue since forever and was brought up by someone years back.

I have tv set to accept full RGB, NVidia driver to send full range RGB and madVR to send limited range (16-235)... In this setup whiter than white is sent (236-255) but blacker than black is not (0-16). If you however change madVR color range to custom and then select the range (16-255) madVR will then loose the whiter than white and the color range will be correct between 16-235 with the avshd tests. Its not logical but it works.

Raz

David
5th January 2016, 23:18
I have tv set to accept full RGB, NVidia driver to send full range RGB and madVR to send limited range (16-235)... In this setup whiter than white is sent (236-255) but blacker than black is not (0-16). If you however change madVR color range to custom and then select the range (16-255) madVR will then loose the whiter than white and the color range will be correct between 16-235 with the avshd tests. Its not logical but it works.

If you set madvr to sending 16-235 and GPU driver to sending 0-255 then you will be sending 16-235 (16 reference black and 235 reference white, plus BTB&WTW). So your TV have to be set to accept 16-235. Desktop will be wrong levels.

raymondjpg
6th January 2016, 00:42
Using latest versions of madVR 89.19 and Emby for WMC (Windows 7 Professional). With MPC-HC 1.7.10 after refresh rate switching by madVR (windowed overlay mode) then video hangs and does not play. Video will play after closing then re-starting MPC.

Refresh rate switching when using MPC-HC 1.7.9 works with video playing fine after refresh rate switching.

Has anyone else seen this, better still have a solution for it? I have also posted this in the MPC-HC forum as I suspect it is more of an issue with the latest version of MPC-HC than madVR.

Warner306
6th January 2016, 01:47
I actually tried NNEDI3 doubling + Super-XBR quadrupling at one point and it looked fine but I remember I opted to "go all out" with NNEDI3 doubling instead (128 or 256).

So from what I can gather, it would indeed be a good strategy to use a moderate NNEDI3 count for doubling + Super-XBR for quadrupling (to kick in for higher upscales) INSTEAD of allocating all available resources towards maxing NNEDI3 doubling? I mean, I'm having a hard time spotting differences between 64 vs. 256 neurons anyway unless zooming up close.

I thought you were upscaling DVDs? This would be a 2x to 2.25x resize, no?

Thunderbolt8
6th January 2016, 03:58
same RGB range question for my old AMD laptop. in the video settings under colour there is the setting dynamic range. the options here are full, limited or leave this option unticked. unticked appears to be the same as full though. not sure if theres really a difference here. I unticked all video & quality options in the AMD settings just to be sure drivers dont mess with the content. so should I leave the dynamic range option as well unticked or set it to full?

madvr: is currently set to display expects PC levels (default).

with my panasonic plasma (VT60) I can choose HDMI range normal (default setting) or full. when I set it to full though then black becomes gray. but according to "(1) Display wants 0-255. GPU and madVR are consequently also both set to 0-255." setting it to full range should be right, shouldnt it?

another thing: with my TV theres also an option called HDMI content type from which I can choose Auto (default), graphics, foto or off. which is the recommended setting here when watching movies? auto, graphic and foto look all the same, that setting is a little bit brighter than off.


edit: I need to double check if I really read the RGB level values for my TV in madVR or my laptop screen, not sure any more. will do tomorrow.